Fix sigpause namespace (bug 21554).
[glibc.git] / ChangeLog
blob29f3dab4013b41408417f2638cb2d16c9fcd7261
1 2017-06-09  Joseph Myers  <joseph@codesourcery.com>
3         [BZ #21554]
4         * signal/signal.h (sigpause):: Declare if [__USE_XOPEN_EXTENDED],
5         not [__USE_XOPEN].
7         [BZ #21560]
8         * posix/sys/wait.h: Condition include of <signal.h> on
9         [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8].  Include <bits/types.h>
10         unconditionally.
11         [!__pid_t_defined] (pid_t): Define typedef.
13 2017-06-09  Zack Weinberg  <zackw@panix.com>
15         * include/errno.h (__errno_location): Use __attribute_const__
16         instead of bare __attribute__.
18 2017-06-09  Zack Weinberg  <zackw@panix.com>
20         * Makeconfig (dl-tunable-list.h): Generate using a stamp file.
21         (common-generated): Add libc-modules.h and libc-modules.stmp in a
22         more appropriate location. Also add dl-tunable-list.h and
23         dl-tunable-list.stmp.
25 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
27         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Correct comments.
29 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
31         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32         strrchr-sse2, strrchr-avx2, wcsrchr-sse2 and wcsrchr-avx2.
33         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
34         (__libc_ifunc_impl_list): Add tests for __strrchr_avx2,
35         __strrchr_sse2, __wcsrchr_avx2 and __wcsrchr_sse2.
36         * sysdeps/x86_64/multiarch/strrchr-avx2.S: New file.
37         * sysdeps/x86_64/multiarch/strrchr-sse2.S: Likewise.
38         * sysdeps/x86_64/multiarch/strrchr.c: Likewise.
39         * sysdeps/x86_64/multiarch/wcsrchr-avx2.S: Likewise.
40         * sysdeps/x86_64/multiarch/wcsrchr-sse2.S: Likewise.
41         * sysdeps/x86_64/multiarch/wcsrchr.c: Likewise.
43 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
45         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46         memrchr-sse2 and memrchr-avx2.
47         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
48         (__libc_ifunc_impl_list): Add tests for __memrchr_avx2 and
49         __memrchr_sse2.
50         * sysdeps/x86_64/multiarch/memrchr-avx2.S: New file.
51         * sysdeps/x86_64/multiarch/memrchr-sse2.S: Likewise.
52         * sysdeps/x86_64/multiarch/memrchr.c: Likewise.
54 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
56         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57         strchr-sse2, strchrnul-sse2, strchr-avx2, strchrnul-avx2,
58         wcschr-sse2 and wcschr-avx2.
59         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
60         (__libc_ifunc_impl_list): Add tests for __strchr_avx2,
61         __strchrnul_avx2, __strchrnul_sse2, __wcschr_avx2 and
62         __wcschr_sse2.
63         * sysdeps/x86_64/multiarch/strchr-avx2.S: New file.
64         * sysdeps/x86_64/multiarch/strchr-sse2.S: Likewise.
65         * sysdeps/x86_64/multiarch/strchr.c: Likewise.
66         * sysdeps/x86_64/multiarch/strchrnul-avx2.S: Likewise.
67         * sysdeps/x86_64/multiarch/strchrnul-sse2.S: Likewise.
68         * sysdeps/x86_64/multiarch/strchrnul.c: Likewise.
69         * sysdeps/x86_64/multiarch/wcschr-avx2.S: Likewise.
70         * sysdeps/x86_64/multiarch/wcschr-sse2.S: Likewise.
71         * sysdeps/x86_64/multiarch/wcschr.c: Likewise.
72         * sysdeps/x86_64/multiarch/strchr.S: Removed.
74 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
76         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77         strlen-sse2, strnlen-sse2, strlen-avx2, strnlen-avx2,
78         wcslen-sse2, wcslen-avx2 and wcsnlen-avx2.
79         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
80         (__libc_ifunc_impl_list): Add tests for __strlen_avx2,
81         __strlen_sse2, __strnlen_avx2, __strnlen_sse2, __wcslen_avx2,
82         __wcslen_sse2 and __wcsnlen_avx2.
83         * sysdeps/x86_64/multiarch/strlen-avx2.S: New file.
84         * sysdeps/x86_64/multiarch/strlen-sse2.S: Likewise.
85         * sysdeps/x86_64/multiarch/strlen.c: Likewise.
86         * sysdeps/x86_64/multiarch/strnlen-avx2.S: Likewise.
87         * sysdeps/x86_64/multiarch/strnlen-sse2.S: Likewise.
88         * sysdeps/x86_64/multiarch/strnlen.c: Likewise.
89         * sysdeps/x86_64/multiarch/wcslen-avx2.S: Likewise.
90         * sysdeps/x86_64/multiarch/wcslen-sse2.S: Likewise.
91         * sysdeps/x86_64/multiarch/wcslen.c: Likewise.
92         * sysdeps/x86_64/multiarch/wcsnlen-avx2.S: Likewise.
93         * sysdeps/x86_64/multiarch/wcsnlen.c (OPTIMIZE (avx2)): New.
94         (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX2 machines where
95         vzeroupper is preferred and AVX unaligned load is fast.
97 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
99         * sysdeps/x86_64/memchr.S (MEMCHR): New.  Depending on if
100         USE_AS_WMEMCHR is defined.
101         (PCMPEQ): Likewise.
102         (memchr): Renamed to ...
103         (MEMCHR): This.  Support wmemchr if USE_AS_WMEMCHR is defined.
104         Replace pcmpeqb with PCMPEQ.
105         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
106         memchr-sse2, rawmemchr-sse2, memchr-avx2, rawmemchr-avx2,
107         wmemchr-sse4_1, wmemchr-avx2 and wmemchr-c.
108         * sysdeps/x86_64/multiarch/ifunc-avx2.h: New file.
109         * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
110         * sysdeps/x86_64/multiarch/memchr-sse2.S: Likewise.
111         * sysdeps/x86_64/multiarch/memchr.c: Likewise.
112         * sysdeps/x86_64/multiarch/rawmemchr-avx2.S: Likewise.
113         * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Likewise.
114         * sysdeps/x86_64/multiarch/rawmemchr.c: Likewise.
115         * sysdeps/x86_64/multiarch/wmemchr-avx2.S: Likewise.
116         * sysdeps/x86_64/multiarch/wmemchr-sse2.S: Likewise.
117         * sysdeps/x86_64/multiarch/wmemchr.c: Likewise.
118         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
119         (__libc_ifunc_impl_list): Test __memchr_avx2, __memchr_sse2,
120         __rawmemchr_avx2, __rawmemchr_sse2, __wmemchr_avx2 and
121         __wmemchr_sse2.
123 2017-06-09  Florian Weimer  <fweimer@redhat.com>
125         * malloc/Makefile (test-srcs): Remove tst-dynarray,
126         tst-dynarray-fail.
128 2017-06-09  Florian Weimer  <fweimer@redhat.com>
130         Expose TEST_VERIFY_EXIT process termination to GCC optimizers.
131         * support/support_test_verify_impl.c
132         (support_test_verify_exit_impl): Split from
133         support_test_verify_impl.
134         * support/check.h (TEST_VERIFY): Drop status argument from
135         support_test_verify_impl call.
136         (TEST_VERIFY_EXIT): Call support_test_verify_exit_impl.
137         (support_test_verify_impl): Remove status argument.
138         (support_test_verify_exit_impl): Declare.
140 2017-06-09  Siddhesh Poyarekar  <siddhesh@sourceware.org>
142         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: Remove
143         mention of magic numbers in comments.
144         (_dl_procinfo): Fix undefined behavior
146 2017-06-08  Joseph Myers  <joseph@codesourcery.com>
148         * conform/data/sys/wait.h-data (WIFCONTINUED): Do not expect for
149         [XPG4].
150         (WEXITED): Likewise.
151         (WSTOPPED): Likewise.
152         (WCONTINUED): Likewise.
153         (WNOHANG): Likewise.
154         (WNOWAIT): Likewise.
155         (idtype_t): Likewise.
156         (P_ALL): Likewise.
157         (P_PID): Likewise.
158         (P_PGID): Likewise.
159         (id_t): Likewise.
160         (siginfo_t): Likewise.
161         (wait3): Likewise.
162         (waitid): Likewise.
163         (signal.h): Do not allow header for [XPG4].
164         (sys/resource.h): Likewise.
165         (si_*): Do not allow for [XPG4].
166         (W*): Likewise.
167         (P_*): Likewise.
168         (BUS_): Likewise.
169         (CLD_): Likewise.
170         (FPE_): Likewise.
171         (ILL_): Likewise.
172         (POLL_): Likewise.
173         (SEGV_): Likewise.
174         (SI_): Likewise.
175         (TRAP_): Likewise.
176         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): New
177         variable.
179 2017-06-08  H.J. Lu  <hongjiu.lu@intel.com>
181         [BZ #21528]
182         * elf/dl-minimal.c (__strtoul_internal): Removed.
183         (strtoul): Likewise.
184         * elf/dl-misc.c (_dl_strtoul): New function.
185         * elf/dl-tunables.c (tunables_strtoul): Removed.
186         (tunable_initialize): Replace tunables_strtoul with _dl_strtoul.
187         * elf/rtld.c (process_envvars): Likewise.
188         * sysdeps/unix/sysv/linux/dl-librecon.h (_dl_osversion_init):
189         Likewise.
190         * sysdeps/generic/ldsodefs.h (_dl_strtoul): New prototype.
192 2017-06-08  Zack Weinberg  <zackw@panix.com>
194         * libio/bits/types/FILE.h, libio/bits/types/__FILE.h
195         * wcsmbs/bits/types/mbstate_t.h, wcsmbs/bits/types/__mbstate_t.h
196         * wcsmbs/bits/types/wint_t.h: New single-type definition files.
197         * wctype/bits/wctype-wchar.h: New file holding declarations shared
198         between wctype.h and wchar.h.
200         * libio/Makefile, wcsmbs/Makefile, wctype/Makefile:
201         Install them.
203         * include/bits/types/FILE.h, include/bits/types/__FILE.h
204         * include/bits/types/mbstate_t.h, include/bits/types/__mbstate_t.h
205         * include/bits/types/wint_t.h, include/bits/wcsmbs-wchar.h:
206         New wrappers.
207         * include/stdio.h, include/wchar.h, include/wctype.h:
208         No need to handle __need macros.
210         * grp/grp.h, gshadow/gshadow.h, hurd/hurd.h, iconv/gconv.h
211         * libio/stdio.h, mach/mach.h, misc/mntent.h, pwd/pwd.h
212         * shadow/shadow.h, stdio-common/printf.h, wcsmbs/uchar.h
213         * wcsmbs/wchar.h, wctype/wctype.h
214         * sysdeps/generic/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h
215         Use the new files instead of __need macros.
217 2017-06-08  H.J. Lu  <hongjiu.lu@intel.com>
219         * string/test-memrchr.c (test_main): Add tests for len == 0
220         and tests for positions close to the beginning, which are
221         equivalent to positions close to the end for memchr.
223 2017-06-07  H.J. Lu  <hongjiu.lu@intel.com>
225         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update
226         comments.
227         * sysdeps/x86_64/multiarch/wmemset.c: Include ifunc-wmemset.h
228         instead of wmemset.h.
229         * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
230         * sysdeps/x86_64/multiarch/wmemset.h: Renamed to ...
231         * sysdeps/x86_64/multiarch/ifunc-wmemset.h: This.
233 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
235         * stdio-common/printf-parsemb.c (__parse_one_specmb): Initialize
236         spec->info.is_binary128 to zero.
237         * stdio-common/printf.h (printf_info): Add new member is_binary128
238         to indicate that the number being converted to string is compatible
239         with the IEC 60559 binary128 format.
240         * stdio-common/printf_fp.c (__printf_fp_l): Add code to deal with
241         _Float128 numbers.
242         * stdio-common/printf_fphex.c: Include ieee754_float128.h and
243         ldbl-128/printf_fphex_macros.h
244         (__printf_fphex): Add code to deal with _Float128 numbers.
245         * stdio-common/printf_size.c (__printf_size): Likewise.
246         * stdio-common/vfprintf.c (process_arg): Initialize member
247         info.is_binary128 to zero.
248         * stdlib/fpioconst.h (FLT128_MAX_10_EXP_LOG): New macro.
249         * stdlib/stdlib.h: Include bits/floatn.h for _Float128 support.
250         (strfromf128): New declaration.
251         * stdlib/strfrom-skeleton.c (STRFROM): Set member info.is_binary128
252         to one.
253         * sysdeps/ieee754/float128/Makefile: Add strfromf128.
254         * sysdeps/ieee754/float128/Versions: Likewise.
255         * sysdeps/ieee754/float128/strfromf128.c: New file.
257 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
259         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Include
260         ldbl-128/printf_fphex_macros.h for the definition of PRINT_FPHEX.
261         (PRINT_FPHEX_LONG_DOUBLE): Define based on PRINT_FPHEX.
262         * sysdeps/ieee754/ldbl-128/printf_fphex_macros.h
263         (PRINT_FPHEX): New function-like macro that can be used for long
264         double, as well as for _Float128
266 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
268         * stdio-common/printf_fp.c (PRINTF_FP_FETCH): New macro.
269         (__printf_fp_l): Use the new macro to avoid duplicating code.
270         * stdio-common/printf_fphex.c (PRINTF_FPHEX_FETCH): New macro.
271         (__printf_fphex): Use the new macro to avoid duplicating code.
272         * stdio-common/printf_size.c (PRINTF_SIZE_FETCH): New macro.
273         (__printf_size): Use the new macro to avoid duplicating code.
275 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
277         * include/gmp.h: Include bits/floatn.h
278         (__mpn_extract_float128): Declare when __HAVE_DISTINCT_FLOAT128 is 1.
279         * stdlib/gmp-impl.h: Also check if alloca is not defined before
280         including stack-alloc.h.  It could have been defined by other header
281         which not necessarily defines HAVE_ALLOCA.
282         * sysdeps/ieee754/float128/Makefile: New file.
283         * sysdeps/ieee754/float128/float1282mpn.c: New file.
284         * sysdeps/ieee754/float128/float128_private.h: Include gmp.h before
285         redefining __mpn_extract_long_double to __mpn_extract_float128, then
286         redefine __mpn_extract_long_double to __mpn_extract_float128.
287         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Replace long double with
288         _Float128 to allow float128_private.h overrides.
290 2017-06-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
292         * stdlib/fpioconst.h: Include bits/floatn.h.
293         (FPIOCONST_HAVE_EXTENDED_RANGE): New macro for testing how big the
294         power of ten table should be.
295         (FPIOCONST_POW10_ARRAY_SIZE): Use larger table if above is true.
296         * stdlib/fpioconst.c (__tens): Use FPIOCONST_HAVE_EXTENDED_RANGE
297         to include larger tables when _Float128 support is enabled.
298         (_fpioconst_pow10): Likewise.
300 2017-06-07  Joseph Myers  <joseph@codesourcery.com>
302         * include/bits/types/clock_t.h: Use #include <path> instead of
303         #include "../../path".
304         * include/bits/types/clockid_t.h: Likewise.
305         * include/bits/types/struct_iovec.h: Likewise.
306         * include/bits/types/struct_itimerspec.h: Likewise.
307         * include/bits/types/struct_osockaddr.h: Likewise.
308         * include/bits/types/struct_sigstack.h: Likewise.
309         * include/bits/types/struct_timespec.h: Likewise.
310         * include/bits/types/struct_timeval.h: Likewise.
311         * include/bits/types/struct_tm.h: Likewise.
312         * include/bits/types/time_t.h: Likewise.
313         * include/bits/types/timer_t.h: Likewise.
315         [BZ #14096]
316         * timezone/Makefile ($(objpfx)tst-timezone.out): Depend on
317         America/New_York.
319 2017-06-07  H.J. Lu  <hongjiu.lu@intel.com>
321         * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: Removed and folded
322         into ...
323         * sysdeps/x86_64/multiarch/wcsnlen.c: Here.  Don't include
324         ifunc-sse4_1.h.
326 2017-06-07  Arjun Shankar  <arjun.is@lostca.se>
328         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal):
329         Remove check for NULL 'buf'.
330         * login/tst-ptsname.c (do_test): Remove test with NULL 'buf'.
332 2017-06-07  Arjun Shankar  <arjun.is@lostca.se>
334         * sysdeps/unix/sysv/linux/tst-clone2.c: Do not
335         include test-skeleton.c.
336         Include support/check.h and support/test-driver.c.
338 2017-06-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
340         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
341         (_dl_aarch64_cap_flags): New array.
342         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
343         (_dl_hwcap_string, _dl_string_hwcap, _dl_procinfo): Implement
344         functions.
346         * elf/dl-hwcaps.h [HAVE_TUNABLES]: Always read hwcap_mask.
347         * sysdeps/sparc/sparc32/dl-machine.h [HAVE_TUNABLES]:
348         Likewise.
349         * sysdeps/x86/cpu-features.c (init_cpu_features): Always set
350         up hwcap and hwcap_mask.
352         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
353         (init_cpu_features): Use glibc.tune.hwcap_mask.
354         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: New file.
356         * elf/dl-hwcaps.h: New file.
357         * elf/dl-hwcaps.c: Include it.
358         (_dl_important_hwcaps)[HAVE_TUNABLES]: Read and update
359         glibc.tune.hwcap_mask.
360         * elf/dl-cache.c: Include dl-hwcaps.h.
361         (_dl_load_cache_lookup)[HAVE_TUNABLES]: Read
362         glibc.tune.hwcap_mask.
363         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
364         * elf/dl-support.c (_dl_hwcap2)[HAVE_TUNABLES]: Drop
365         _dl_hwcap_mask.
366         * elf/rtld.c (rtld_global_ro)[HAVE_TUNABLES]: Drop
367         _dl_hwcap_mask.
368         (process_envvars)[HAVE_TUNABLES]: Likewise.
369         * sysdeps/generic/ldsodefs.h (rtld_global_ro)[HAVE_TUNABLES]:
370         Likewise.
371         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't
372         initialize dl_hwcap_mask when tunables are enabled.
374         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add include
375         guard.
376         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
378         * elf/dl-tunables.list: Add glibc.tune.hwcap_mask.
379         * scripts/gen-tunables.awk: Include dl-procinfo.h.
380         * manual/tunables.texi: Document glibc.tune.hwcap_mask.
382         * elf/Versions (__tunable_set_val): Rename to __tunable_get_val.
383         * elf/dl-tunables.c: Likewise.
384         (do_tunable_update_val): New function.
385         (__tunable_set_val): New function.
386         (__tunable_get_val): Call CB only if the tunable was externally
387         initialized.
388         (tunables_strtoul): Replace strval with initialized.
389         * elf/dl-tunables.h (strval): Replace with a bool initialized.
390         (TUNABLE_ENUM_NAME, TUNABLE_ENUM_NAME1): Adjust names to
391         prevent collision.
392         (__tunable_set_val): New function.
393         (TUNABLE_GET, TUNABLE_GET_FULL): New macros.
394         (TUNABLE_SET, TUNABLE_SET_FULL): Likewise.
395         (TUNABLE_SET_VAL): Remove.
396         (TUNABLE_SET_VAL_WITH_CALLBACK): Likewise.
397         * README.tunables: Document the new macros.
398         * malloc/arena.c (ptmalloc_init): Adjust.
400 2017-06-06  H.J. Lu  <hongjiu.lu@intel.com>
402         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
403         wcsnlen-sse4_1 and wcsnlen-c.
404         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
405         (__libc_ifunc_impl_list): Test __wcsnlen_sse4_1 and
406         __wcsnlen_sse2.
407         * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: New file.
408         * sysdeps/x86_64/multiarch/wcsnlen-c.c: Likewise.
409         * sysdeps/x86_64/multiarch/wcsnlen-sse4_1.S: Likewise.
410         * sysdeps/x86_64/multiarch/wcsnlen.c: Likewise.
411         * sysdeps/x86_64/wcsnlen.S: Removed.
413 2017-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
415         * sysdeps/s390/nptl/pthread_spin_init.c: Delete File.
416         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
417         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
418         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
420 2017-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
422         * NEWS: Mention new spinlock implementation.
423         * include/atomic.h:
424         (__atomic_val_bysize): Cast type to omit volatile qualifier.
425         (atomic_exchange_acq): Likewise.
426         (atomic_load_relaxed): Likewise.
427         (ATOMIC_EXCHANGE_USES_CAS): Check definition.
428         * nptl/pthread_spin_init.c (pthread_spin_init):
429         Use atomic_store_relaxed.
430         * nptl/pthread_spin_lock.c (pthread_spin_lock):
431         Use C11-like atomic macros.
432         * nptl/pthread_spin_trylock.c (pthread_spin_trylock):
433         Likewise.
434         * nptl/pthread_spin_unlock.c (pthread_spin_unlock):
435         Use atomic_store_release.
436         * sysdeps/aarch64/nptl/pthread_spin_lock.c: Delete File.
437         * sysdeps/arm/nptl/pthread_spin_lock.c: Likewise.
438         * sysdeps/hppa/nptl/pthread_spin_lock.c: Likewise.
439         * sysdeps/m68k/nptl/pthread_spin_lock.c: Likewise.
440         * sysdeps/microblaze/nptl/pthread_spin_lock.c: Likewise.
441         * sysdeps/mips/nptl/pthread_spin_lock.c: Likewise.
442         * sysdeps/nios2/nptl/pthread_spin_lock.c: Likewise.
443         * sysdeps/aarch64/atomic-machine.h (ATOMIC_EXCHANGE_USES_CAS): Define.
444         * sysdeps/alpha/atomic-machine.h: Likewise.
445         * sysdeps/arm/atomic-machine.h: Likewise.
446         * sysdeps/i386/atomic-machine.h: Likewise.
447         * sysdeps/ia64/atomic-machine.h: Likewise.
448         * sysdeps/m68k/coldfire/atomic-machine.h: Likewise.
449         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: Likewise.
450         * sysdeps/microblaze/atomic-machine.h: Likewise.
451         * sysdeps/mips/atomic-machine.h: Likewise.
452         * sysdeps/powerpc/powerpc32/atomic-machine.h: Likewise.
453         * sysdeps/powerpc/powerpc64/atomic-machine.h: Likewise.
454         * sysdeps/s390/atomic-machine.h: Likewise.
455         * sysdeps/sparc/sparc32/atomic-machine.h: Likewise.
456         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: Likewise.
457         * sysdeps/sparc/sparc64/atomic-machine.h: Likewise.
458         * sysdeps/tile/tilegx/atomic-machine.h: Likewise.
459         * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
460         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Likewise.
461         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: Likewise.
462         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: Likewise.
463         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: Likewise.
464         * sysdeps/x86_64/atomic-machine.h: Likewise.
466 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
468         * sysdeps/x86/cacheinfo.c (intel_check_word): Accept cpu_features
469         and use it instead of dl_x86_cpu_features.
470         (handle_intel): Replace maxidx with cpu_features.  Pass
471         cpu_features to intel_check_word.
472         (__cache_sysconf): Pass cpu_features to handle_intel.
473         (init_cacheinfo): Likewise.  Use cpu_features instead of
474         dl_x86_cpu_features.
476 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
478         * sysdeps/x86/cpu-features.h (index_cpu_MOVBE): New.
479         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
480         memcmp-avx2 and wmemcmp-avx2.
481         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
482         (__libc_ifunc_impl_list): Test __memcmp_avx2 and __wmemcmp_avx2.
483         * sysdeps/x86_64/multiarch/memcmp-avx2.S: New file.
484         * sysdeps/x86_64/multiarch/wmemcmp-avx2.S: Likewise.
485         * sysdeps/x86_64/multiarch/memcmp.S: Use __memcmp_avx2 on AVX
486         2 machines if AVX unaligned load is fast and vzeroupper is
487         preferred.
488         * sysdeps/x86_64/multiarch/wmemcmp.S: Use __wmemcmp_avx2 on AVX
489         2 machines if AVX unaligned load is fast and vzeroupper is
490         preferred.
492 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
494         * include/wchar.h (__wmemset_chk): New.
495         * sysdeps/x86_64/memset.S (VDUP_TO_VEC0_AND_SET_RETURN): Renamed
496         to MEMSET_VDUP_TO_VEC0_AND_SET_RETURN.
497         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
498         (WMEMSET_CHK_SYMBOL): Likewise.
499         (WMEMSET_SYMBOL): Likewise.
500         (__wmemset): Add hidden definition.
501         (wmemset): Add weak hidden definition.
502         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
503         wmemset_chk-nonshared.
504         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
505         (__libc_ifunc_impl_list): Add __wmemset_sse2_unaligned,
506         __wmemset_avx2_unaligned, __wmemset_avx512_unaligned,
507         __wmemset_chk_sse2_unaligned, __wmemset_chk_avx2_unaligned
508         and __wmemset_chk_avx512_unaligned.
509         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S
510         (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
511         (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
512         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
513         (WMEMSET_SYMBOL): Likewise.
514         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S
515         (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
516         (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
517         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
518         (WMEMSET_SYMBOL): Likewise.
519         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Updated.
520         (WMEMSET_CHK_SYMBOL): New.
521         (WMEMSET_CHK_SYMBOL (__wmemset_chk, unaligned)): Likewise.
522         (WMEMSET_SYMBOL (__wmemset, unaligned)): Likewise.
523         * sysdeps/x86_64/multiarch/memset.S (WMEMSET_SYMBOL): New.
524         (libc_hidden_builtin_def): Also define __GI_wmemset and
525         __GI___wmemset.
526         (weak_alias): New.
527         * sysdeps/x86_64/multiarch/wmemset.c: New file.
528         * sysdeps/x86_64/multiarch/wmemset.h: Likewise.
529         * sysdeps/x86_64/multiarch/wmemset_chk-nonshared.S: Likewise.
530         * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
531         * sysdeps/x86_64/wmemset.c: Likewise.
532         * sysdeps/x86_64/wmemset_chk.c: Likewise.
534 2017-06-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
535             H.J. Lu  <hongjiu.lu@intel.com>
537         * sysdeps/x86/init-arch.h (PASTER1): New.
538         (EVALUATOR1): Likewise.
539         (PASTER2): Likewise.
540         (EVALUATOR2): Likewise.
541         (REDIRECT_NAME): Likewise.
542         (OPTIMIZE): Likewise.
543         (IFUNC_SELECTOR): Likewise.
545 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
547         * sysdeps/x86_64/strlen.S (PMINU): New.
548         (PCMPEQ): Likewise.
549         (SHIFT_RETURN): Likewise.
550         (FIND_ZERO): Replace pcmpeqb with PCMPEQ.
551         (strlen): Add SHIFT_RETURN before ret.  Replace pcmpeqb and
552         pminub with PCMPEQ and PMINU.
553         * sysdeps/x86_64/wcsnlen.S: New file.
555 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
557         * sysdeps/x86_64/memrchr.S (__memrchr): Use 32-bit registers for
558         the lower 32 bits.  Remove redundant instructions.
560 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
562         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): Pass
563         0 as the high part of offset.
564         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h (LO_HI_LONG): New.
566 2017-06-05  Joseph Myers  <joseph@codesourcery.com>
568         [BZ #21538]
569         * bits/signum.h (SIG_HOLD): Define if [__USE_XOPEN], not
570         [__USE_UNIX98].
571         * sysdeps/unix/bsd/bits/signum.h (SIG_HOLD): Likewise.
572         * sysdeps/unix/sysv/linux/alpha/bits/signum.h (SIG_HOLD):
573         Likewise.
574         * sysdeps/unix/sysv/linux/bits/signum.h (SIG_HOLD): Likewise.
575         * sysdeps/unix/sysv/linux/hppa/bits/signum.h (SIG_HOLD): Likewise.
576         * sysdeps/unix/sysv/linux/mips/bits/signum.h (SIG_HOLD): Likewise.
577         * sysdeps/unix/sysv/linux/sparc/bits/signum.h (SIG_HOLD):
578         Likewise.
580         [BZ #21517]
581         * bits/types/stack_t.h (stack_t): Remove struct tag.
582         * sysdeps/unix/sysv/linux/bits/types/stack_t.h (stack_t):
583         Likewise.
584         * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h (stack_t):
585         Likewise.
586         * debug/segfault.c (install_handler): Use stack_t instead of
587         struct sigaltstack.
588         * hurd/hurd/signal.h (struct hurd_sigstate): Likewise.
589         * hurd/trampoline.c (_hurd_setup_sighandler): Likewise.
590         * include/signal.h (__sigaltstack): Likwise.
591         * signal/sigaltstack.c (__sigaltstack): Likewise.
592         * signal/signal.h (sigaltstack): Likewise.
593         * sysdeps/mach/hurd/i386/signal-defines.sym
594         (SIGALTSTACK__SS_SP__OFFSET): Likewise.
595         (SIGALTSTACK__SS_SIZE__OFFSET): Likewise.
596         (SIGALTSTACK__SS_FLAGS__OFFSET): Likewise.
597         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
598         * sysdeps/mach/hurd/sigstack.c (sigstack): Likewise.
599         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h (struct
600         elf_prstatus): Likewise.
601         * sysdeps/unix/sysv/linux/hppa/____longjmp_chk.c (CHECK_SP):
602         Likewise.
603         * sysdeps/unix/sysv/linux/ia64/sys/procfs.h (struct elf_prstatus):
604         Likewise.
605         * sysdeps/unix/sysv/linux/m68k/____longjmp_chk.c (CHECK_SP):
606         Likewise.
607         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (struct
608         elf_prstatus): Likewise.
609         * sysdeps/unix/sysv/linux/sh/sys/procfs.h (struct elf_prstatus):
610         Likewise.
611         * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prstatus):
612         Likewise.
614 2017-06-04  Zack Weinberg  <zackw@panix.com>
616         * sysdeps/gnu/errlist.c: Regenerate.
618 2017-06-04  H.J. Lu  <hongjiu.lu@intel.com>
620         * benchtests/bench-memchr.c (do_test): Print out both length
621         and position.
622         (test_main): Also test the position close to the beginning for
623         memrchr.
625 2017-06-04  Zack Weinberg  <zackw@panix.com>
627         * nis/nis_add.c, nis/nis_addmember.c, nis/nis_call.c
628         * nis/nis_checkpoint.c, nis/nis_clone_dir.c, nis/nis_clone_obj.c
629         * nis/nis_clone_res.c, nis/nis_creategroup.c, nis/nis_defaults.c
630         * nis/nis_destroygroup.c, nis/nis_domain_of.c
631         * nis/nis_domain_of_r.c, nis/nis_error.c, nis/nis_file.c
632         * nis/nis_free.c, nis/nis_getservlist.c, nis/nis_ismember.c
633         * nis/nis_local_names.c, nis/nis_lookup.c, nis/nis_mkdir.c
634         * nis/nis_modify.c, nis/nis_ping.c, nis/nis_print.c
635         * nis/nis_print_group_entry.c, nis/nis_remove.c
636         * nis/nis_removemember.c, nis/nis_rmdir.c, nis/nis_server.c
637         * nis/nis_subr.c, nis/nis_table.c, nis/nis_util.c
638         * nis/nis_verifygroup.c, nis/nis_xdr.c, nis/yp_xdr.c
639         * nis/ypclnt.c, nis/ypupdate_xdr.c, sunrpc/auth_des.c
640         * sunrpc/auth_none.c, sunrpc/auth_unix.c, sunrpc/authdes_prot.c
641         * sunrpc/authuxprot.c, sunrpc/clnt_gen.c, sunrpc/clnt_perr.c
642         * sunrpc/clnt_raw.c, sunrpc/clnt_simp.c, sunrpc/clnt_tcp.c
643         * sunrpc/clnt_udp.c, sunrpc/clnt_unix.c, sunrpc/des_crypt.c
644         * sunrpc/des_soft.c, sunrpc/get_myaddr.c, sunrpc/key_call.c
645         * sunrpc/key_prot.c, sunrpc/netname.c, sunrpc/pm_getmaps.c
646         * sunrpc/pm_getport.c, sunrpc/pmap_clnt.c, sunrpc/pmap_prot.c
647         * sunrpc/pmap_prot2.c, sunrpc/pmap_rmt.c, sunrpc/publickey.c
648         * sunrpc/rpc_cmsg.c, sunrpc/rpc_dtable.c, sunrpc/rpc_prot.c
649         * sunrpc/rpc_thread.c, sunrpc/rtime.c, sunrpc/svc.c
650         * sunrpc/svc_auth.c, sunrpc/svc_raw.c, sunrpc/svc_run.c
651         * sunrpc/svc_tcp.c, sunrpc/svc_udp.c, sunrpc/svc_unix.c
652         * sunrpc/svcauth_des.c, sunrpc/xdr.c, sunrpc/xdr_array.c
653         * sunrpc/xdr_float.c, sunrpc/xdr_intXX_t.c, sunrpc/xdr_mem.c
654         * sunrpc/xdr_rec.c, sunrpc/xdr_ref.c, sunrpc/xdr_sizeof.c
655         * sunrpc/xdr_stdio.c: Include shlib-compat.h.
657         * sunrpc/des_crypt.c, sunrpc/des_soft.c: No need to include
658         abi-versions.h as well as shlib-compat.h.
659         * sunrpc/get_myaddr.c: Remove obsolete comment.
660         * sunrpc/pmap_rmt.c: Remove obsolete comment and #undef.
661         * sunrpc/rpc_thread.c: Include libc-lock.h only once.
662         * resolv/res_libc.c: Include shlib-compat.h only once.
664 2017-06-03  Florian Weimer  <fweimer@redhat.com>
666         * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __strdup instead
667         of strdup.
669 2017-06-02  H.J. Lu  <hongjiu.lu@intel.com>
671         * sysdeps/x86/cacheinfo.c (__x86_shared_non_temporal_threshold):
672         Set to the 3/4 of the total shared cache size.
674 2017-06-02  Rical Jasan  <ricaljasan@pacific.net>
676         * manual/errno.texi: Remove redundant error strings.
677         * manual/macros.texi (@errno): Render the error string in every
678         description.
680 2017-06-02  Joseph Myers  <joseph@codesourcery.com>
682         [BZ #21543]
683         * signal/signal.h: Only include <bits/types/sigevent_t.h> and
684         <bits/sigevent-consts.h> if [__USE_POSIX199309], not if
685         [__USE_XOPEN_EXTENDED].
687 2017-06-02  Florian Weimer  <fweimer@redhat.com>
689         * sysdeps/posix/getaddrinfo.c (gethosts): Eliminate another
690         strdupa.
691         (getcanonname): Use __strdup instead of strdup.
693 2017-06-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
695         * misc/Makefile (CFLAGS-preadv2.c): New rule.
696         (CFLAGS-preadv64v2.c): Likewise.
697         (CFLAGS-pwritev2.c): Likewise.
698         (CFLAGS-pwritev64v2.c): Likewise.
700 2017-06-02  Florian Weimer  <fweimer@redhat.com>
702         Test res_init with several configuration files.
703         * resolv/Makefile [build-shared] (tests-internal): Add
704         tst-resolv-res_init, tst-resolv-res_init-thread.
705         (tst-resolv-res_init): Link against libdl, libresolv.
706         (tst-resolv-res_init-thread): Link against libdl, libresolv,
707         libpthread.
708         * resolv/tst-resolv-res_init.c: New file.
709         * resolv/tst-resolv-res_init-skeleton.c: Likewise.
710         * resolv/tst-resolv-res_init-thread.c: Likewise.
711         * support/Makefile (libsupport-routines): Add support-xstat,
712         support_can_chroot, support_capture_subprocess_check,
713         support_isolate_in_subprocess, support_shared_allocate,
714         support_write_file_string, xchroot, xmkdir, xopen.
715         * support/capture_subprocess.h (enum support_capture_allow): Define.
716         (support_capture_subprocess_check): Declare.
717         * support/namespace.h (support_can_chroot)
718         (support_isolate_in_subprocess): Declare.
719         * support/support-xstat.c: New file.
720         * support/support.h (support_shared_allocate, support_shared_free)
721         (support_write_file_string): Declare.
722         * support/support_can_chroot.c: New file.
723         * support/support_capture_subprocess_check.c: Likewise.
724         * support/support_isolate_in_subprocess.c: Likewise.
725         * support/support_shared_allocate.c: Likewise.
726         * support/support_write_file_string.c: Likewise.
727         * support/xchroot.c: Likwise.
728         * support/xmkdir.c: Likwise.
729         * support/xopen.c: Likwise.
730         * support/xunistd.h (xopen, xstat, xmkdir, xchroot): Declare.
732 2017-06-02  Florian Weimer  <fweimer@redhat.com>
734         * sysdeps/posix/getaddrinfo.c (getcanonname): New function.
735         (gaih_inet): Remove malloc_canonbuf variable.  Call getcanonname.
737 2017-06-02  Florian Weimer  <fweimer@redhat.com>
739         * malloc/Makefile (routines): Add dynarray_at_failure,
740         dynarray_emplace_enlarge, dynarray_finalize.
741         (tests-internal): Add tst-dynarray, tst-dynarray-fail,
742         tst-dynarray-at-fail.
743         (tests-srcs): Add tst-dynarray, tst-dynarray-fail.
744         (tests-special): Add tst-dynarray-mem.out,
745         tst-dynarray-mem-fail.out.
746         (tst-dynarray-ENV, tst-dynarray-fail-ENV): Set.
747         (tst-dynarray-mem.out, tst-dynarray-fail-mem.out): Generate using
748         mtrace.
749         * malloc/Versions (__libc_dynarray_at_failure)
750         (__libc_dynarray_emplace_enlarge, __libc_dynarray_finalize)
751         (__libc_dynarray_resize, __libc_dynarray_resize_clear): Export as
752         GLIBC_PRIVATE.
753         * malloc/dynarray.h: New file.
754         * malloc/dynarray-skeleton.c: Likewise.
755         * malloc/dynarray_at_failure.c: Likewise.
756         * malloc/dynarray_emplace_enlarge.c: Likewise.
757         * malloc/dynarray_finalize.c: Likewise.
758         * malloc/dynarray_resize.c: Likewise.
759         * malloc/dynarray_resize_clear.c: Likewise.
760         * malloc/tst-dynarray.c: Likewise.
761         * malloc/tst-dynarray-fail.c: Likewise.
762         * malloc/tst-dynarray-at-fail.c: Likewise.
763         * malloc/tst-dynarray-shared.h: Likewise.
764         * support/Makefile (libsupport-routines): Add
765         support_capture_subprocess, xdup2, xpipe.
766         (tests): Add tst-support_capture_subprocess.
767         * support/capture_subprocess.h: New file.
768         * support/support_capture_subprocess.c: Likewise.
769         * support/tst-support_capture_subprocess.c: Likewise.
770         * support/xdup2.c: Likewise.
771         * support/xpipe.c: Likewise.
772         * support/xunistd.h (xdup2, xpipe): Declare.
774 2017-06-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
776         * stdlib/gmp-impl.h: Include sys/param.h instead of redefining the
777         macros MAX and MIN.
779 2017-06-01  Joseph Myers  <joseph@codesourcery.com>
781         * conform/data/signal.h-data (sa_sigaction): Do not expect for
782         [XPG4].
783         (SA_SIGINFO): Likewise.
784         (SA_ONSTACK): Likewise.
785         (SA_RESETHAND): Likewise.
786         (SA_RESTART): Likewise.
787         (SA_NOCLDWAIT): Likewise.
788         (SA_NODEFER): Likewise.
789         (SS_ONSTACK): Likewise.
790         (SS_DISABLE): Likewise.
791         (MINSIGSTKSZ): Likewise.
792         (SIGSTKSZ): Likewise.
793         (ucontext_t): Likewise.
794         (stack_t): Likewise.
795         (struct sigstack): Likewise.
796         (SI_USER): Do not expect for [XPG4 || XPG42].
797         (SI_QUEUE): Likewise.
798         (SI_TIMER): Likewise.
799         (SI_ASYNCIO): Likewise.
800         (SI_MESGQ): Likewise.
801         (bsd_signal): Do not expect for [XPG4].
802         (killpg): Likewise.
803         (sigaltstack): Likewise.
804         (sighold): Likewise.
805         (sigignore): Likewise.
806         (siginterrupt): Likewise.
807         (sigpause): Likewise.
808         (sigrelse): Likewise.
809         (sigset): Likewise.
810         (sigwait): Do not expect for [XPG4 || XPG42].
812 2017-06-01  Zack Weinberg  <zackw@panix.com>
814         [BZ #21514]
815         * sysdeps/unix/sysv/linux/include/bits/syscall.h: New shim header
816         pointing to the generated file in <builddir>/misc/bits/syscall.h.
818 2017-06-01  Joseph Myers  <joseph@codesourcery.com>
820         [BZ #21457]
821         * sysdeps/arm/sys/ucontext.h (NGREG): Rename to __NGREG and define
822         NGREG to __NGREG if [__USE_MISC].
823         (gregset_t): Define using __NGREG.
824         (__ctx): New macro.
825         (mcontext_t): Use __ctx in defining fields.
826         * sysdeps/i386/sys/ucontext.h (NGREG): Rename to __NGREG and
827         define NGREG to __NGREG if [__USE_MISC].
828         (gregset_t): Define using __NGREG.
829         (__ctx): New macro.
830         (__ctxt): Likewise.
831         (fpregset_t): Use __ctx and __ctxt in defining fields.
832         (mcontext_t): Likewise.
833         * sysdeps/m68k/sys/ucontext.h (NGREG): Rename to __NGREG and
834         define NGREG to __NGREG if [__USE_MISC].
835         (gregset_t): Define using __NGREG.
836         (__ctx): New macro.
837         (mcontext_t): Use __ctx in defining fields.
838         * sysdeps/mips/sys/ucontext.h (NGREG): Rename to __NGREG and
839         define NGREG to __NGREG if [__USE_MISC].
840         (gregset_t): Define using __NGREG.
841         (__ctx): New macro.
842         (fpregset_t): Use __ctx in defining fields.
843         (mcontext_t): Likewise.
844         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (NGREG): Rename to
845         __NGREG and define NGREG to __NGREG if [__USE_MISC].
846         (gregset_t): Define using __NGREG.
847         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
848         [__USE_MISC].
849         (fpregset_t): Define using __NFPREG.
850         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (NGREG): Rename to
851         __NGREG and define NGREG to __NGREG if [__USE_MISC].
852         (gregset_t): Define using __NGREG.
853         (__ctx): New macro.
854         (fpregset_t): Use __ctx in defining fields.
855         (mcontext_t): Likewise.
856         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (NGREG): Rename to
857         __NGREG and define NGREG to __NGREG if [__USE_MISC].
858         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
859         [__USE_MISC].
860         (gregset_t): Define using __NGREG.
861         (__ctx): New macro.
862         (fpregset_t): Use __ctx in defining fields.
863         (mcontext_t): Likewise.
864         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): New macro.
865         (mcontext_t): Use __ctx in defining fields.
866         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (__ctx): New
867         macro.
868         [__WORDSIZE == 32] (NGREG): Rename to __NGREG and define NGREG to
869         __NGREG if [__USE_MISC].
870         [__WORDSIZE == 32] (gregset_t): Define using __NGREG.
871         [__WORDSIZE == 32] (fpregset_t): Use __ctx in defining fields.
872         (mcontext_t): Likewise.
873         [__WORDSIZE != 32] (NGREG): Rename to __NGREG and define NGREG to
874         __NGREG if [__USE_MISC].
875         [__WORDSIZE != 32] (NFPREG): Rename to __NFPREG and define NFPREG
876         to __NFPREG if [__USE_MISC].
877         [__WORDSIZE != 32] (NVRREG): Rename to __NVRREG and define NVRREG
878         to __NVRREG if [__USE_MISC].
879         [__WORDSIZE != 32] (gregset_t): Define using __NGREG.
880         [__WORDSIZE != 32] (fpregset_t): Define using __NFPREG.
881         [__WORDSIZE != 32] (vscr_t): Use __ctx in defining fields.
882         [__WORDSIZE != 32] (vrregset_t): Likewise.
883         [__WORDSIZE != 32] (mcontext_t): Likewise.
884         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): New macro.
885         (__psw_t): Use __ctx in defining fields.
886         (NGREG): Rename to __NGREG and define NGREG to __NGREG if
887         [__USE_MISC].
888         (gregset_t): Define using __NGREG.
889         (fpreg_t): Use __ctx in defining fields.
890         (fpregset_t): Likewise.
891         (mcontext_t): Likewise.
892         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGREG): Rename to
893         __NGREG and define NGREG to __NGREG if [__USE_MISC].
894         (gregset_t): Define using __NGREG.
895         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
896         [__USE_MISC].
897         (fpregset_t): Define using __NFPREG.
898         (__ctx): New macro.
899         (mcontext_t): Use __ctx in defining fields.
900         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (__ctx): New macro.
901         [__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
902         __NGREG if [__USE_MISC].
903         [__x86_64__] (gregset_t): Define using __NGREG.
904         [__x86_64__] (struct _libc_fpxreg): Use __ctx in defining fields.
905         [__x86_64__] (struct _libc_fpstate): Likewise.
906         [__x86_64__] (mcontext_t): Likewise.
907         [!__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
908         __NGREG if [__USE_MISC].
909         [!__x86_64__] (gregset_t): Define using __NGREG.
910         [!__x86_64__] (struct _libc_fpreg): Use __ctx in defining fields.
911         [!__x86_64__] (struct _libc_fpstate): Likewise.
912         [!__x86_64__] (mcontext_t): Likewise.
914 2017-06-01  Zack Weinberg  <zackw@panix.com>
916         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Don't include
917         alpha/pt-vfork.S.  Provide own compat shim for vfork and __vfork.
918         * sysdeps/unix/sysv/linux/microblaze/vfork.S: Add __libc_vfork alias.
919         * sysdeps/unix/sysv/linux/microblaze/localplt.data:
920         libpthread.so no longer references __errno_location.
922 2017-05-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
924         * NEWS: Add note about pwritev2 and preadv2 inclusion.
925         * misc/Makefile (routines): Add preadv2, preadv64v2, pwritev2, and
926         pwritev64v2.
927         (tests): Add tst-preadvwritev2 and tst-preadvwritev64v2.
928         * misc/Versions (GLIBC_2.26): Add preadv2, preadv64v2, pwritev2, and
929         pwritev64v2.
930         * misc/preadv2.c: New file.
931         * misc/preadv64v2.c: Likewise.
932         * misc/pwritev2.c: Likewise.
933         * misc/pwritev64v2.c: Likewise.
934         * misc/tst-preadvwritev2.c: Likewise.
935         * misc/tst-preadvwritev64v2.c: Likewise.
936         * manual/llio.texi: Add preadv2 and pwritev2 documentation.
937         * misc/sys/uio.h [__USE_GNU && !__USE_FILE_OFFSET64] (preadv2): New
938         prototype.
939         [__USE_GNU && !__USE_FILE_OFFSET64] (pwritev2): Likewise.
940         [__USE_GNU && __USE_FILE_OFFSET64] (preadv64v2): Likewise.
941         [__USE_GNU && __USE_FILE_OFFSET64] (pwritev64v2): Likewise.
942         * misc/tst-preadvwritev-common.c (PREADV): Define if not defined.
943         (PWRITEV): Likewise.
944         (do_test_with_offset): Use PREADV and PWRITEV macros and check for
945         ENOSYS.
946         * nptl/tst-cancel4.c (tf_pwritev2): New test.
947         (tf_preadv2): Likewise.
948         (tf_fsync): Add tf_pwritev2 and tf_preadv2.
949         * sysdeps/posix/preadv2.c: Likewise.
950         * sysdeps/posix/preadv64v2.c: Likewise.
951         * sysdeps/posix/pwritev2.c: Likewise.
952         * sysdeps/posix/pwritev64v2.c: Likewise.
953         * sysdeps/unix/sysv/linux/kernel-features.h: Add comment for syscall
954         support in kernel.
955         * sysdeps/unix/sysv/linux/preadv2.c: Likewise.
956         * sysdeps/unix/sysv/linux/preadv64v2.c: Likewise.
957         * sysdeps/unix/sysv/linux/pwritev2.c: Likewise.
958         * sysdeps/unix/sysv/linux/pwritev64v2.c: Likewise.
959         * sysdeps/unix/sysv/linux/preadv.c (preadv): Add libc_hidden_def.
960         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
961         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
962         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
963         * sysdeps/unix/sysv/linux/bits/uio.h: Add supported preadv2/pwritev2
964         support flags on Linux.
965         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.26): Add
966         preadv2, preadv64v2, pwritev2, pwritev64v2.
967         * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.26): Likewise.
968         * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.26): Likewise.
969         * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.26): Likewise.
970         * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.26): Likewise.
971         * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.26): Likewise.
972         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.26):
973         Likewise.
974         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.26):
975         Likewise.
976         * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.26):
977         Likewise.
978         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist (GLIBC_2.26):
979         Likewise.
980         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist (GLIBC_2.26):
981         Likewise.
982         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist (GLIBC_2.26):
983         Likewise.
984         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist (GLIBC_2.26):
985         Likewise.
986         * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.26): Likewise.
987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
988         (GLIBC_2.26): Likewise.
989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
990         (GLIBC_2.26): Likewise.
991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist (GLIBC_2.26):
992         Likewise.
993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
994         (GLIBC_2.26): Likewise.
995         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.26):
996         Likewise.
997         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.26):
998         Likewise.
999         * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.26): Likewise.
1000         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.26):
1001         Likewise.
1002         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.26):
1003         Likewise.
1004         * sysdeps/sysv/linux/tile/tilegx/tilegx32/libc.abilist (GLIBC_2.26):
1005         Likewise.
1006         * sysdeps/sysv/linux/tile/tilegx/tilegx64/libc.abilist (GLIBC_2.26):
1007         Likewise.
1008         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist (GLIBC_2.26):
1009         Likewise.
1010         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.26):
1011         Likewise.
1012         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.26):
1013         Likewise.
1015 2017-05-31  Andreas Schwab  <schwab@suse.de>
1017         * nptl/tst-fork3.c: Include <support/test-driver.c>.
1018         (main): Rename to do_test and make static.
1020 2017-05-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1022         * csu/libc-start.c [!ARCH_INIT_CPU_FEATURES]: Define
1023         ARCH_INIT_CPU_FEATURES.
1024         (LIBC_START_MAIN): Call it.
1025         * sysdeps/unix/sysv/linux/aarch64/libc-start.c
1026         (__libc_start_main): Remove.
1027         (ARCH_INIT_CPU_FEATURES): New macro.
1028         * sysdeps/x86/libc-start.c (__libc_start_main): Remove.
1029         (ARCH_INIT_CPU_FEATURES): New macro.
1031 2017-05-30  Dennis Wölfing  <denniswoelfing@gmx.de>
1032             Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
1034         * include/stdlib.h (__libc_reallocarray): New declaration.
1035         * malloc/Makefile (routines): Add reallocarray.
1036         (tests): Add tst-reallocarray.c.
1037         * malloc/Versions: Add reallocarray and __libc_reallocarray.
1038         * malloc/malloc-internal.h (check_mul_overflow_size_t): New inline
1039         function.
1040         * malloc/malloc.h (reallocarray): New declaration.
1041         * stdlib/stdlib.h (reallocarray): Likewise.
1042         * malloc/reallocarray.c: New file.
1043         * malloc/tst-reallocarray.c: New test file.
1044         * manual/memory.texi: Document reallocarray.
1045         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add reallocarray.
1046         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1047         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1048         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1049         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1050         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1051         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1052         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1053         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1054         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1055         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1056         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1057         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1058         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1060         Likewise.
1061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1062         Likewise.
1063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1065         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1066         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1067         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1068         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1069         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1070         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1071         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1072         * sysdeps/unix/sysv/linux/tilepro/libc.abilist: Likewise.
1073         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1074         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1076 2017-05-30  H.J. Lu  <hongjiu.lu@intel.com>
1078         * sysdeps/x86_64/memchr.S (memchr): Use 32-bit registers for
1079         the lower 32 bits.
1081 2017-05-29  Andreas Schwab  <schwab@linux-m68k.org>
1083         * sysdeps/m68k/Makefile (ASFLAGS-.o) [$(subdir) = csu &&
1084         $(build-pie-default) = yes]: Define.
1086 2017-05-25  H.J. Lu  <hongjiu.lu@intel.com>
1088         * string/test-memchr.c (test_main): Add tests for n == 0.
1090 2017-05-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1092         * nptl/Makefile (tests): Move nptl/tst-mutex8, nptl/tst-mutex8-static,
1093         nptl/tst-mutexpi8 and nptl/tst-mutexpi8-static to...
1094         (tests-internal): ... here.
1096 2017-05-25   Siddhesh Poyarekar  <siddhesh@sourceware.org>
1097              H.J. Lu  <hongjiu.lu@intel.com>
1099         * elf/dl-tunables.c (__tunable_set_val): Make a hidden alias.
1100         * elf/dl-tunables.h (__tunables_init): Mark it hidden in rtld.
1101         (__tunable_set_val): Likewise.
1103 2017-05-25  H.J. Lu  <hongjiu.lu@intel.com>
1105         * Makeconfig ($(common-objpfx)dl-tunable-list.h): Also check
1106         dl-tunables.list in subdirectories.
1108 2017-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1109             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1110             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1112         * math/math.h [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1113         (SNANF128): New macro.
1114         * math/e_sqrtf128.c: New file.
1115         * math/s_fmaxmag_template.c: Include math_private.h in order to
1116         make inline expansion of fabs128().
1117         * math/s_fminmag_template.c: Likewise.
1119         * sysdeps/ieee754/float128/e_acosf128.c: New file.
1120         * sysdeps/ieee754/float128/e_acoshf128.c: New file.
1121         * sysdeps/ieee754/float128/e_asinf128.c: New file.
1122         * sysdeps/ieee754/float128/e_atan2f128.c: New file.
1123         * sysdeps/ieee754/float128/e_atanhf128.c: New file.
1124         * sysdeps/ieee754/float128/e_coshf128.c: New file.
1125         * sysdeps/ieee754/float128/e_exp10f128.c: New file.
1126         * sysdeps/ieee754/float128/e_expf128.c: New file.
1127         * sysdeps/ieee754/float128/e_fmodf128.c: New file.
1128         * sysdeps/ieee754/float128/e_gammaf128_r.c: New file.
1129         * sysdeps/ieee754/float128/e_hypotf128.c: New file.
1130         * sysdeps/ieee754/float128/e_ilogbf128.c: New file.
1131         * sysdeps/ieee754/float128/e_j0f128.c: New file.
1132         * sysdeps/ieee754/float128/e_j1f128.c: New file.
1133         * sysdeps/ieee754/float128/e_jnf128.c: New file.
1134         * sysdeps/ieee754/float128/e_lgammaf128_r.c: New file.
1135         * sysdeps/ieee754/float128/e_log10f128.c: New file.
1136         * sysdeps/ieee754/float128/e_log2f128.c: New file.
1137         * sysdeps/ieee754/float128/e_logf128.c: New file.
1138         * sysdeps/ieee754/float128/e_powf128.c: New file.
1139         * sysdeps/ieee754/float128/e_rem_pio2f128.c: New file.
1140         * sysdeps/ieee754/float128/e_remainderf128.c: New file.
1141         * sysdeps/ieee754/float128/e_scalbf128.c: New file.
1142         * sysdeps/ieee754/float128/e_sinhf128.c: New file.
1143         * sysdeps/ieee754/float128/float128_private.h: New file.
1144         * sysdeps/ieee754/float128/gamma_productf128.c: New file.
1145         * sysdeps/ieee754/float128/ieee754_float128.h: New file.
1146         * sysdeps/ieee754/float128/k_cosf128.c: New file.
1147         * sysdeps/ieee754/float128/k_sincosf128.c: New file.
1148         * sysdeps/ieee754/float128/k_sinf128.c: New file.
1149         * sysdeps/ieee754/float128/k_tanf128.c: New file.
1150         * sysdeps/ieee754/float128/lgamma_negf128.c: New file.
1151         * sysdeps/ieee754/float128/lgamma_productf128.c: New file.
1152         * sysdeps/ieee754/float128/s_asinhf128.c: New file.
1153         * sysdeps/ieee754/float128/s_atanf128.c: New file.
1154         * sysdeps/ieee754/float128/s_cbrtf128.c: New file.
1155         * sysdeps/ieee754/float128/s_ceilf128.c: New file.
1156         * sysdeps/ieee754/float128/s_copysignf128.c: New file.
1157         * sysdeps/ieee754/float128/s_cosf128.c: New file.
1158         * sysdeps/ieee754/float128/s_erff128.c: New file.
1159         * sysdeps/ieee754/float128/s_expm1f128.c: New file.
1160         * sysdeps/ieee754/float128/s_fabsf128.c: New file.
1161         * sysdeps/ieee754/float128/s_finitef128.c: New file.
1162         * sysdeps/ieee754/float128/s_floorf128.c: New file.
1163         * sysdeps/ieee754/float128/s_fmaf128.c: New file.
1164         * sysdeps/ieee754/float128/s_fpclassifyf128.c: New file.
1165         * sysdeps/ieee754/float128/s_frexpf128.c: New file.
1166         * sysdeps/ieee754/float128/s_fromfpf128.c: New file.
1167         * sysdeps/ieee754/float128/s_fromfpxf128.c: New file.
1168         * sysdeps/ieee754/float128/s_getpayloadf128.c: New file.
1169         * sysdeps/ieee754/float128/s_isinff128.c: New file.
1170         * sysdeps/ieee754/float128/s_isnanf128.c: New file.
1171         * sysdeps/ieee754/float128/s_issignalingf128.c: New file.
1172         * sysdeps/ieee754/float128/s_llrintf128.c: New file.
1173         * sysdeps/ieee754/float128/s_llroundf128.c: New file.
1174         * sysdeps/ieee754/float128/s_log1pf128.c: New file.
1175         * sysdeps/ieee754/float128/s_logbf128.c: New file.
1176         * sysdeps/ieee754/float128/s_lrintf128.c: New file.
1177         * sysdeps/ieee754/float128/s_lroundf128.c: New file.
1178         * sysdeps/ieee754/float128/s_modff128.c: New file.
1179         * sysdeps/ieee754/float128/s_nearbyintf128.c: New file.
1180         * sysdeps/ieee754/float128/s_nextafterf128.c: New file.
1181         * sysdeps/ieee754/float128/s_nexttowardf128.c: New file.
1182         * sysdeps/ieee754/float128/s_nextupf128.c: New file.
1183         * sysdeps/ieee754/float128/s_remquof128.c: New file.
1184         * sysdeps/ieee754/float128/s_rintf128.c: New file.
1185         * sysdeps/ieee754/float128/s_roundevenf128.c: New file.
1186         * sysdeps/ieee754/float128/s_roundf128.c: New file.
1187         * sysdeps/ieee754/float128/s_scalblnf128.c: New file.
1188         * sysdeps/ieee754/float128/s_scalbnf128.c: New file.
1189         * sysdeps/ieee754/float128/s_setpayloadf128.c: New file.
1190         * sysdeps/ieee754/float128/s_setpayloadsigf128.c: New file.
1191         * sysdeps/ieee754/float128/s_signbitf128.c: New file.
1192         * sysdeps/ieee754/float128/s_significandf128.c: New file.
1193         * sysdeps/ieee754/float128/s_sincosf128.c: New file.
1194         * sysdeps/ieee754/float128/s_sinf128.c: New file.
1195         * sysdeps/ieee754/float128/s_tanf128.c: New file.
1196         * sysdeps/ieee754/float128/s_tanhf128.c: New file.
1197         * sysdeps/ieee754/float128/s_totalorderf128.c: New file.
1198         * sysdeps/ieee754/float128/s_totalordermagf128.c: New file.
1199         * sysdeps/ieee754/float128/s_truncf128.c: New file.
1200         * sysdeps/ieee754/float128/s_ufromfpf128.c: New file.
1201         * sysdeps/ieee754/float128/s_ufromfpxf128.c: New file.
1202         * sysdeps/ieee754/float128/t_sincosf128.c: New file.
1203         * sysdeps/ieee754/float128/x2y2m1f128.c: New file.
1205         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h:
1206         (__iscanonicalf128): Define as a macro.
1208 2017-05-24  Steve Ellcey  <sellcey@caviumnetworks.com>
1210         * sysdeps/aarch64/memcpy.S (MEMMOVE, MEMCPY): New macros.
1211         (memmove): Use MEMMOVE for name.
1212         (memcpy): Use MEMCPY for name.  Change internal labels
1213         to external labels.
1214         * sysdeps/aarch64/multiarch/Makefile: New file.
1215         * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Likewise.
1216         * sysdeps/aarch64/multiarch/init-arch.h: Likewise.
1217         * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
1218         * sysdeps/aarch64/multiarch/memcpy_generic.S: Likewise.
1219         * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Likewise.
1220         * sysdeps/aarch64/multiarch/memmove.c: Likewise.
1222 2017-05-24  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1224         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
1225         (_dl_arm_cap_flags): Fix array subscript.
1226         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
1227         Fix count.
1229 2017-05-24  H.J. Lu  <hongjiu.lu@intel.com>
1231         * sysdeps/x86/cacheinfo.c: Skip if not in libc.
1233 2017-05-24  H.J. Lu  <hongjiu.lu@intel.com>
1235         * sysdeps/x86/cacheinfo.c (is_intel): Removed.
1236         (is_amd): Likewise.
1237         (max_cpuid): Likewise.
1238         (__cache_sysconf): Use __get_cpu_features to get cpu_features.
1239         (init_cacheinfo): Likewise.
1241 2017-05-23  Joseph Myers  <joseph@codesourcery.com>
1243         [BZ #21511]
1244         * signal/signal.h: Include <bits/types/struct_sigstack.h> only if
1245         [(__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8) || __USE_MISC].
1246         (sigstack): Declare only if [(__USE_XOPEN_EXTENDED &&
1247         !__USE_XOPEN2K) || __USE_MISC].
1248         * conform/data/signal.h-data (struct sigstack): Expect type only
1249         if [!XOPEN2K8 && !POSIX2008].
1250         (sigstack): Expect function only if [XPG42 || UNIX98].
1252         [BZ #21457]
1253         * sysdeps/arm/sys/ucontext.h: Do not include <signal.h>,
1254         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1255         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1256         <bits/types/__sigset_t.h>.
1257         (ucontext_t): Use sigset_t instead of __sigset_t.
1258         * sysdeps/generic/sys/ucontext.h: Do not include <signal.h>,
1259         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1260         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1261         <bits/types/__sigset_t.h>.
1262         (ucontext_t): Use sigset_t instead of __sigset_t.
1263         * sysdeps/i386/sys/ucontext.h: Do not include <signal.h>,
1264         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1265         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1266         <bits/types/__sigset_t.h>.
1267         (ucontext_t): Use sigset_t instead of __sigset_t.
1268         * sysdeps/m68k/sys/ucontext.h: Do not include <signal.h>,
1269         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1270         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1271         <bits/types/__sigset_t.h>.
1272         (ucontext_t): Use sigset_t instead of __sigset_t.
1273         * sysdeps/mips/sys/ucontext.h: Do not include <signal.h>,
1274         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1275         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1276         <bits/types/__sigset_t.h>.
1277         (ucontext_t): Use sigset_t instead of __sigset_t.
1278         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
1279         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1280         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1281         <bits/types/__sigset_t.h>.
1282         (ucontext_t): Use sigset_t instead of __sigset_t.
1283         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
1284         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1285         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1286         <bits/types/__sigset_t.h>.
1287         (ucontext_t): Use sigset_t instead of __sigset_t.
1288         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
1289         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1290         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1291         <bits/types/__sigset_t.h>.
1292         (ucontext_t): Use sigset_t instead of __sigset_t.
1293         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
1294         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1295         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1296         <bits/types/__sigset_t.h>.
1297         (ucontext_t): Use sigset_t instead of __sigset_t.
1298         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
1299         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1300         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h>.
1301         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
1302         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1303         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1304         <bits/types/__sigset_t.h>.
1305         (ucontext_t): Use sigset_t instead of __sigset_t.
1306         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
1307         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1308         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1309         <bits/types/__sigset_t.h>.
1310         (ucontext_t): Use sigset_t instead of __sigset_t.
1311         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
1312         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1313         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1314         <bits/types/__sigset_t.h>.
1315         (ucontext_t): Use sigset_t instead of __sigset_t.
1316         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
1317         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1318         <bits/ss_flags.h>.
1319         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
1320         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1321         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1322         <bits/types/__sigset_t.h>.
1323         (ucontext_t): Use sigset_t instead of __sigset_t.
1324         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
1325         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1326         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1327         <bits/types/__sigset_t.h>.
1328         (ucontext_t): Use sigset_t instead of __sigset_t.
1329         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
1330         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1331         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1332         <bits/types/__sigset_t.h>.
1333         (ucontext_t): Use sigset_t instead of __sigset_t.
1334         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
1335         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1336         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1337         <bits/types/__sigset_t.h>.
1338         (ucontext_t): Use sigset_t instead of __sigset_t.
1339         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: Include
1340         <bits/types.h>.
1341         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
1342         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1343         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1344         <bits/types/__sigset_t.h>.
1345         (ucontext_t): Use sigset_t instead of __sigset_t.
1347 2017-05-22  Zack Weinberg  <zackw@panix.com>
1349         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
1350         (__SI_ASYNCIO_AFTER_SIGIO): Define default after including
1351         bits/siginfo-arch.h, only if not already defined.
1352         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
1353         (__SI_ALIGNMENT, __SI_BAND_TYPE, __SI_CLOCK_T)
1354         (__SI_ERRNO_THEN_CODE, __SI_HAVE_SIGSYS, __SI_SEGFAULT_ADDL):
1355         Likewise.
1357         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
1358         * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
1359         * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
1360         * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
1361         * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
1362         Unconditionally define __SI_* macros.
1364 2017-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1366         [BZ #21393]
1367         * libio/freopen.c (freopen): Avoid dup already opened file descriptor
1368         and add a check for dup3 failure.
1369         * libio/freopen64.c (freopen64): Likewise.
1370         * libio/tst-freopen.c (do_test): Rename to do_test_basic and use
1371         libsupport.
1372         (do_test_bz21398): New test.
1373         * manual/stdio.texi (freopen): Add documentation of EBUSY failure.
1375 2017-05-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1377         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
1378         Remove invalid comment.
1380 2017-05-21  Zack Weinberg  <zackw@panix.com>
1382         * signal/Makefile (headers): Add bits/types/sigval_t.h.
1384 2017-05-20  Zack Weinberg  <zackw@panix.com>
1386         * bits/sigevent-consts.h
1387         * bits/siginfo-consts.h
1388         * bits/types/__sigset_t.h
1389         * bits/types/sigevent_t.h
1390         * bits/types/siginfo_t.h
1391         * sysdeps/unix/sysv/linux/bits/sigevent-consts.h
1392         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
1393         * sysdeps/unix/sysv/linux/bits/types/__sigset_t.h
1394         * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h
1395         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h:
1396         New system-dependent bits headers.
1398         * sysdeps/unix/sysv/linux/bits/siginfo-arch.h
1399         * sysdeps/unix/sysv/linux/bits/siginfo-consts-arch.h
1400         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
1401         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
1402         * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
1403         * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
1404         * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
1405         * sysdeps/unix/sysv/linux/tile/bits/siginfo-consts-arch.h
1406         * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
1407         New Linux-only system-dependent bits headers.
1409         * signal/bits/types/sig_atomic_t.h
1410         * signal/bits/types/sigset_t.h
1411         * signal/bits/types/sigval_t.h:
1412         New non-system-dependent bits headers.
1414         * sysdeps/generic/sigsetops.h
1415         * sysdeps/unix/sysv/linux/sigsetops.h:
1416         New internal headers.
1418         * include/bits/types/sig_atomic_t.h
1419         * include/bits/types/sigset_t.h
1420         * include/bits/types/sigval_t.h:
1421         New wrappers.
1423         * signal/sigsetops.h
1424         * bits/siginfo.h
1425         * bits/sigset.h
1426         * sysdeps/unix/sysv/linux/bits/siginfo.h
1427         * sysdeps/unix/sysv/linux/bits/sigset.h
1428         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h
1429         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h
1430         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h
1431         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h
1432         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h
1433         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h:
1434         Deleted.
1436         * signal/Makefile, sysdeps/unix/sysv/linux/Makefile:
1437         Update lists of installed headers.
1439         * posix/bits/types.h: Define __sig_atomic_t here.
1440         * signal/signal.h: Use the new bits headers; no need to handle
1441         __need_sig_atomic_t nor __need_sigset_t.  Don't use __sigmask
1442         to define sigmask.
1443         * include/signal.h: No need to handle __need_sig_atomic_t
1444         nor __need_sigset_t.  Don't define __sigemptyset.
1446         * io/sys/poll.h, setjmp/setjmp.h
1447         * sysdeps/arm/sys/ucontext.h, sysdeps/generic/sys/ucontext.h
1448         * sysdeps/i386/sys/ucontext.h, sysdeps/m68k/sys/ucontext.h
1449         * sysdeps/mach/hurd/i386/bits/sigcontext.h
1450         * sysdeps/mips/sys/ucontext.h, sysdeps/powerpc/novmxsetjmp.h
1451         * sysdeps/pthread/bits/sigthread.h
1452         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
1453         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
1454         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
1455         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
1456         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
1457         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
1458         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
1459         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
1460         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
1461         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
1462         Use bits/types/__sigset_t.h.
1464         * misc/sys/select.h, posix/spawn.h
1465         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
1466         * sysdeps/unix/sysv/linux/sys/epoll.h
1467         * sysdeps/unix/sysv/linux/sys/signalfd.h:
1468         Use bits/types/sigset_t.h.
1470         * resolv/netdb.h, rt/mqueue.h: Use bits/types/sigevent_t.h.
1471         * rt/aio.h: Use bits/types/sigevent_t.h and bits/sigevent-consts.h.
1472         * socket/sys/socket.h: Don't include bits/sigset.h.
1474         * login/utmp_file.c, shadow/lckpwdf.c, signal/sigandset.c
1475         * signal/sigisempty.c, stdlib/abort.c, sysdeps/posix/profil.c
1476         * sysdeps/posix/sigignore.c, sysdeps/posix/sigintr.c
1477         * sysdeps/posix/signal.c, sysdeps/posix/sigset.c
1478         * sysdeps/posix/sprofil.c, sysdeps/posix/sysv_signal.c
1479         * sysdeps/unix/sysv/linux/nptl-signals.h:
1480         Include sigsetops.h.
1482         * signal/sigaddset.c, signal/sigandset.c, signal/sigdelset.c
1483         * signal/sigorset.c, stdlib/abort.c, sysdeps/posix/sigignore.c
1484         * sysdeps/posix/signal.c, sysdeps/posix/sigset.c:
1485         __sigaddset, __sigandset, __sigdelset, __sigemptyset, __sigorset
1486         now return no value.
1488         * signal/sigaddset.c, signal/sigdelset.c, signal/sigismem.c
1489         Include <errno.h>, <signal.h>, and <sigsetops.h> instead of
1490         "sigsetops.h".
1492         * signal/sigsetops.c: Explicitly define __sigismember,
1493         __sigaddset, and __sigdelset as compatibility symbols.
1495         * signal/Versions: Correct commentary on __sigpause,
1496         __sigaddset, __sigdelset, __sigismember.
1498         * inet/rcmd.c: Include sigsetops.h.  Convert old code using
1499         __sigblock/__sigsetmask to use __sigprocmask and friends.
1501         * resolv/resolv.h: Remove __need_res_state logic.
1502         Move definition of res_state and related constants to ...
1503         * resolv/bits/types/res_state.h: ...this new file.
1504         * resolv/Makefile: Install bits/types/res_state.h.
1505         * include/bits/types/res_state.h: New wrapper.
1506         * include/list.h: Remove __need_list_t logic.
1507         Move definition of list_t to ...
1508         * include/list_t.h: ...this new file.
1510         * nptl/descr.h: Include list_t.h and bits/types/res_state.h
1511         instead of list.h and resolv.h.
1513         * resolv/resolv.h: Remove __need_res_state logic.
1514         Move definition of res_state and related constants to ...
1515         * resolv/bits/types/res_state.h: ...this new file.
1516         * resolv/Makefile: Install bits/types/res_state.h.
1517         * include/bits/types/res_state.h: New wrapper.
1518         * include/list.h: Remove __need_list_t logic.
1519         Move definition of list_t to ...
1520         * include/list_t.h: ...this new file.
1522         * nptl/descr.h: Include list_t.h and bits/types/res_state.h
1523         instead of list.h and resolv.h.
1525 2017-05-20  H.J. Lu  <hongjiu.lu@intel.com>
1527         * sysdeps/x86_64/rawmemchr.S (L(return_null)): Removed.
1529 2017-05-20  Zack Weinberg  <zackw@panix.com>
1531         * sysdeps/arm/sysdep.h
1532         (ARM_SFI_MACROS, sfi_breg, sfi_pld, sfi_sp): Delete definitions.
1534         * sysdeps/arm/__longjmp.S, sysdeps/arm/add_n.S
1535         * sysdeps/arm/addmul_1.S, sysdeps/arm/arm-mcount.S
1536         * sysdeps/arm/armv6/rawmemchr.S, sysdeps/arm/armv6/strchr.S
1537         * sysdeps/arm/armv6/strcpy.S, sysdeps/arm/armv6/strlen.S
1538         * sysdeps/arm/armv6/strrchr.S, sysdeps/arm/armv6t2/memchr.S
1539         * sysdeps/arm/armv6t2/strlen.S
1540         * sysdeps/arm/armv7/multiarch/memcpy_impl.S
1541         * sysdeps/arm/armv7/strcmp.S, sysdeps/arm/dl-tlsdesc.S
1542         * sysdeps/arm/memcpy.S, sysdeps/arm/memmove.S
1543         * sysdeps/arm/memset.S, sysdeps/arm/setjmp.S
1544         * sysdeps/arm/strlen.S, sysdeps/arm/submul_1.S:
1545         Remove all uses of sfi_breg, sfi_pld, and sfi_sp.
1547 2017-05-20  Zack Weinberg  <zackw@panix.com>
1549         Remove the NaCl port.
1550         * sysdeps/arm/nacl: Remove directory and contents.
1551         * sysdeps/nacl: Remove directory and contents.
1552         * abi-tags: Remove .*-.*-nacl.* entry.
1554 2017-05-19  Rical Jasan  <ricaljasan@pacific.net>
1556         * manual/errno.texi: Convert @comment-based errno documentation to
1557         @errno.
1558         * manual/macros.texi (@errno): New macro.  Consolidate errors,
1559         their values, and messages, adding the error string to the Concept
1560         Index.  Provide a warning in the comment about external (to the
1561         manual) dependencies.
1562         * sysdeps/gnu/errlist.awk: Use @errno instead of @comments.
1563         * sysdeps/mach/hurd/errnos.awk: Likewise.
1565 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
1567         * bits/ss_flags.h: New file.
1568         * bits/types/stack_t.h: Likewise.
1569         * include/bits/types/struct_sigstack.h: Likewise.
1570         * signal/bits/types/struct_sigstack.h: Likewise.
1571         * sysdeps/unix/sysv/linux/bits/ss_flags.h: Likewise.
1572         * sysdeps/unix/sysv/linux/bits/types/stack_t.h: Likewise.
1573         * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h: Likewise.
1574         * signal/Makefile (headers): Add bits/types/struct_sigstack.h,
1575         bits/types/stack_t.h and bits/ss_flags.h.
1576         * signal/signal.h [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]:
1577         Include <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
1578         <bits/ss_flags.h>.
1579         * bits/sigstack.h (struct sigstack): Remove.
1580         (stack_t): Likewise.
1581         (SS_ONSTACK): Likewise.
1582         (SS_DISABLE): Likewise.
1583         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
1584         (struct sigstack): Likewise.
1585         (stack_t): Likewise.
1586         (SS_ONSTACK): Likewise.
1587         (SS_DISABLE): Likewise.
1588         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h (struct sigstack):
1589         Likewise.
1590         (stack_t): Likewise.
1591         (SS_ONSTACK): Likewise.
1592         (SS_DISABLE): Likewise.
1593         * sysdeps/unix/sysv/linux/bits/sigstack.h (struct sigstack):
1594         Likewise.
1595         (stack_t): Likewise.
1596         (SS_ONSTACK): Likewise.
1597         (SS_DISABLE): Likewise.
1598         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: Likewise.
1599         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (struct sigstack):
1600         Likewise.
1601         (stack_t): Likewise.
1602         (SS_ONSTACK): Likewise.
1603         (SS_DISABLE): Likewise.
1604         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
1605         (struct sigstack): Likewise.
1606         (stack_t): Likewise.
1607         (SS_ONSTACK): Likewise.
1608         (SS_DISABLE): Likewise.
1609         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h (struct sigstack):
1610         Likewise.
1611         (stack_t): Likewise.
1612         (SS_ONSTACK): Likewise.
1613         (SS_DISABLE): Likewise.
1614         * sysdeps/arm/sys/ucontext.h: Include
1615         <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
1616         <bits/ss_flags.h>.
1617         * sysdeps/generic/sys/ucontext.h: Likewise.
1618         * sysdeps/i386/sys/ucontext.h: Likewise.
1619         * sysdeps/m68k/sys/ucontext.h: Likewise.
1620         * sysdeps/mips/sys/ucontext.h: Likewise.
1621         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Likewise.
1622         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Likewise.
1623         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Likewise.
1624         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
1625         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Likewise.
1626         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Likewise.
1627         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Likewise.
1628         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
1629         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Likewise.
1630         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1631         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Likewise.
1632         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Likewise.
1633         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Likewise.
1634         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Likewise.
1635         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Likewise.
1637 2017-05-19  H.J. Lu  <hongjiu.lu@intel.com>
1639         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Use
1640         "edx + ecx - 16" to avoid possible addition overflow.
1641         * sysdeps/x86_64/memchr.S (memchr): Likewise.
1643 2017-05-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1645         * misc/Makefile (CFLAGS-vmsplice.c): Remove rule.
1646         (CFLAGS-splice.c): Likewise.
1647         (CFLAGS-open_by_handle_at.c): Likewise.
1648         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New rule.
1649         (CFLAGS-splice.c): Likewise.
1650         (CFLAGS-open_by_handle_at.c): Likewise.
1652 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
1654         * scripts/versions.awk: Generate ldbl-compat-choose.h.
1655         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Include
1656         <ldbl-compat-choose.h>.
1657         (maybe_long_double_symbol): New macro.
1658         [!declare_mgen_alias] (declare_mgen_alias): Use
1659         maybe_long_double_symbol.
1660         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Remove.
1661         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
1662         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
1663         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: Likewise.
1664         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
1665         * Makerules [$(build-shared) = yes && !avoid-generated]
1666         (before-compile): Add $(common-objpfx)ldbl-compat-choose.h.
1667         [$(build-shared) = yes && !avoid-generated]
1668         ($(common-objpfx)ldbl-compat-choose.h): New target.
1670         * scripts/versions.awk: Generate first-versions.h.
1671         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Include
1672         <first-versions.h>.
1673         (LDOUBLE_cabsl_libm_version): Remove macro.
1674         (LDOUBLE_cargl_libm_version): Likewise.
1675         (LDOUBLE_cimagl_libm_version): Likewise.
1676         (LDOUBLE_conjl_libm_version): Likewise.
1677         (LDOUBLE_creall_libm_version): Likewise.
1678         (LDOUBLE_cacosl_libm_version): Likewise.
1679         (LDOUBLE_cacoshl_libm_version): Likewise.
1680         (LDOUBLE_ccosl_libm_version): Likewise.
1681         (LDOUBLE_ccoshl_libm_version): Likewise.
1682         (LDOUBLE_casinl_libm_version): Likewise.
1683         (LDOUBLE_csinl_libm_version): Likewise.
1684         (LDOUBLE_casinhl_libm_version): Likewise.
1685         (LDOUBLE_csinhl_libm_version): Likewise.
1686         (LDOUBLE_catanl_libm_version): Likewise.
1687         (LDOUBLE_catanhl_libm_version): Likewise.
1688         (LDOUBLE_ctanl_libm_version): Likewise.
1689         (LDOUBLE_ctanhl_libm_version): Likewise.
1690         (LDOUBLE_cexpl_libm_version): Likewise.
1691         (LDOUBLE_clogl_libm_version): Likewise.
1692         (LDOUBLE_cprojl_libm_version): Likewise.
1693         (LDOUBLE_csqrtl_libm_version): Likewise.
1694         (LDOUBLE_cpowl_libm_version): Likewise.
1695         (LDOUBLE_clog10l_libm_version): Likewise.
1696         (LDOUBLE___clog10l_libm_version): Likewise.
1697         (LDOUBLE_fdiml_libm_version): Likewise.
1698         (LDOUBLE_fmaxl_libm_version): Likewise.
1699         (LDOUBLE_fminl_libm_version): Likewise.
1700         (LDOUBLE_ilogbl_libm_version): Likewise.
1701         (LDOUBLE_nanl_libm_version): Likewise.
1702         [!M_LIBM_NEED_COMPAT] (M_LIBM_NEED_COMPAT): Use
1703         FIRST_VERSION_libm_* macros.
1704         [!declare_mgen_libm_compat] (declare_mgen_libm_compat): Likewise.
1705         * Makerules [$(build-shared) = yes && !avoid-generated]
1706         (before-compile): Add $(common-objpfx)first-versions.h.
1707         [$(build-shared) = yes && !avoid-generated]
1708         ($(common-objpfx)first-versions.h): New target.
1709         ($(common-objpfx)sysd-versions): Depend on and change to rule for
1710         building $(common-objpfx)versions.stmp.
1712 2017-05-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1714         * rt/Makefile (CFLAGS-mq_timedsend.c): New flag.
1715         * sysdeps/unix/sysv/linux/mq_timedsend.c: New file.
1716         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Remove from
1717         auto-generation list.
1719         * rt/Makefile (CFLAGS-mq_timedreceive.c): New flag.
1720         * sysdeps/unix/sysv/linux/mq_timedreceive.c: New file.
1721         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedreceive): Remove
1722         from auto-generation list.
1724         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
1725         open_by_handle_at.
1726         (CFLAGS-open_by_handle_at.c): New flag.
1727         * sysdeps/unix/sysv/linux/open_by_handle_at.c: New file.
1728         * sysdeps/unix/sysv/linux/syscalls.list (open_by_handle_at): New
1729         file.
1730         * misc/Makefile (CFLAGS-open_by_handle_at.c): New rule.
1732         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add splice.
1733         (CFLAGS-splice.c): New flag.
1734         * sysdeps/unix/sysv/linux/splice.c: New file.
1735         * sysdeps/unix/sysv/linux/syscalls.list (splice): Remove from
1736         auto-generation syscall list.
1737         * misc/Makefile (CFLAGS-splice.c): New rule.
1739         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New flag.
1740         * sysdeps/unix/sysv/linux/syscalls.list (vmsplice): Remove from
1741         auto-generation syscall list.
1742         * sysdeps/unix/sysv/linux/vmsplice.c: New file.
1743         * misc/Makefile (CFLAGS-vmsplice.c): New rule.
1745         * misc/Makefile (CFLAGS-fsync.c): New flag.
1746         * nptl/Makefile (CFLAGS-fsync.c): Likewise.
1747         * sysdeps/unix/syscalls.list (fsync): Remove from auto-generation
1748         syscall list.
1749         * sysdeps/unix/sysv/linux/fsync.c: New file.
1750         * sysdeps/unix/sysv/linux/arm/localplt.data [libpthread.so]
1751         (__errno_location): Remove.
1753         * misc/Makefile (CFLAGS-fdatasync.c): New rule.
1754         * nptl/Makefile (CFLAGS-fdatasync.c): Likewise.
1755         * sysdeps/unix/syscalls.list: Remove fdatasync from auto-generation
1756         list.
1757         * sysdeps/unix/sysv/linux/fdatasync.c: New file.
1759         * misc/Makefile (CFLAGS-msync.c): New rule.
1760         * nptl/Makefile (CFLAGS-msync.c): Likewise.
1761         * sysdeps/unix/syscalls.list: Remove msync from auto-generation list.
1762         * sysdeps/unix/sysv/linux/msync.c: New file.
1764         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Remove file.
1765         * sysdeps/unix/sysv/linux/sigsuspend.c: Simplify include list.
1766         * nptl/Makefile (CFLAGS-sigsuspend.c): New rule.
1767         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
1768         (CFLAGS-sigsuspend.c): Remove rule.
1770         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add tee.
1771         (CFLAGS-tee.c): New rule.
1772         * sysdeps/unix/sysv/linux/syscalls.list: Remove tee from
1773         auto-generated list.
1774         * sysdeps/unix/sysv/linux/tee.c: New file.
1776         * nptl/Makefile (CFLAGS-nanosleep.c): New rule.
1777         * posix/Makefile (CFLAGS-nanosleep.c): Likewise.
1778         * sysdeps/unix/sysv/linux/nanosleep.c: New file.
1779         * sysdeps/unix/sysv/linux/syscalls.list: Remove nanosleep from
1780         auto-generated list.
1782         * sysdeps/unix/sysv/linux/sh/syscalls.list: Remove waitid from
1783         auto-generated list.
1784         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
1785         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
1786         * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove file.
1787         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1788         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
1790         * sysdeps/unix/sysv/linux/generic/pause.c: Remove file.
1791         * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Likewise.
1792         * sysdeps/unix/sysv/linux/sparc/kernel-features.h [__arch64__]
1793         (__NR_pause): Undefine.
1794         * sysdeps/unix/sysv/linux/pause.c: New file.
1795         * sysdeps/unix/sysv/linux/syscalls.list: Remove pause from
1796         auto-generation list.
1797         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (CFLAGS-pause.c):
1798         Remove rule.
1799         * posix/Makefile (CFLAGS-pause.c): Remove redundant rule.
1801 2017-05-18  H.J. Lu  <hongjiu.lu@intel.com>
1803         * sysdeps/x86_64/multiarch/memcmp.S (__GI_memcmp): Correct
1804         comments.
1806 2017-05-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1808         * elf/Makefile (tst-env-setuid-ENV): Reduce value of
1809         LD_HWCAP_MASK.
1811 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
1813         * manual/conf.texi: Convert @tables of annotated @items to
1814         @vtables.
1815         * manual/lang.texi: Likewise.
1816         * manual/pattern.texi: Likewise.
1817         * manual/resource.texi: Likewise.
1818         * manual/socket.texi: Likewise.
1820 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
1822         * manual/crypt.texi: Move a comment out of an @*x list.
1823         * manual/filesys.texi: Refactor some comments, one of which looks
1824         like a standard.  Fix incorrectly separated standards.
1825         * manual/locale.texi: Invert an annotation.
1826         * manual/resource.texi: Fix incorrectly separated standards.
1827         * manual/time.texi: Refactor a @vtable that obscures an
1828         annotation.
1829         * manual/users.texi: Refactor multiple headers to occupy a single
1830         @comment.
1832 2017-05-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1834         * sysdeps/powerpc/powerpc64/multiarch/Makefile
1835         (sysdep_routines): Add memcmp-power8.
1836         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1837         (memcmp): Add __memcmp_power8 to list of memcmp functions.
1838         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c
1839         (memcmp): Add __memcmp_power8 to ifunc list.
1840         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: New file.
1841         * sysdeps/powerpc/powerpc64/power8/memcmp.S: New file.
1843 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1844             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1846         * math/math.h (__MATH_TG): Extend the conditions to add
1847         _Float128 support.
1848         * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): New macro.
1850 2017-05-17  Paul A. Clarke  <pc@us.ibm.com>
1852         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1853         [$(subdir) = math] (libm-sysdep_routines): Add s_cosf-power8 and
1854         s_cosf-ppc64.
1855         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: New file.
1856         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
1857         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
1858         * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
1860 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1862         * math/Makefile (libm-calls): Move e_exp2F to gen-libm-calls.
1863         (gen-libm-calls): Add e_exp2F to use the template.
1864         * math/e_exp2l.c: Rename to math/e_exp2_template.c.
1865         * math/e_exp2_template.c: New file, renamed from
1866         math/e_exp2l.c, and made into a template.
1867         * sysdeps/generic/math-type-macros.h (M_MIN_EXP): New macro.
1869 2017-05-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1871         * elf/dl-tunable-types.h (tunable_type_code_t): New type
1872         TUNABLE_TYPE_UINT_64.
1873         * elf/dl-tunables.c (tunables_strtoul): Return uint64_t.
1874         Simplify computation of overflow.
1875         (tunable_set_val_if_valid_range_signed,
1876         tunable_set_val_if_valid_range_unsigned): Remove and replace
1877         with this...
1878         (TUNABLE_SET_VAL_IF_VALID_RANGE): ... New macro.
1879         (tunable_initialize): Adjust.  Add uint64_t support.
1880         (__tunable_set_val): Add uint64_t support.
1881         * README.tunables: Document it.
1883         * scripts/gen-tunables.awk: Recognize 'default' keyword in
1884         dl-tunables.list.
1885         * README.tunables: Document it.
1887 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1889         * sysdeps/posix/preadv.c: Use sysdeps/posix/preadv_common.c.
1890         * sysdeps/posix/preadv64.c: Likewise.
1891         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
1892         * sysdeps/unix/sysv/linux/preadv64.c: Likewise.
1893         * sysdeps/posix/pwritev.c: Use sysdeps/posix/pwritev_common.c.
1894         * sysdeps/posix/pwritev64.c: Likewise.
1895         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
1896         * sysdeps/unix/sysv/linux/pwritev64.c: Likewise.
1897         * sysdeps/posix/preadv_common.c: New file.
1898         * sysdeps/posix/pwritev_common.c: Likewise.
1900 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1902         * sysdeps/generic/math-type-macros-float128.h
1903         (__USE_WRAPPER_TEMPLATE): Define to 1 to enable use of the
1904         wrapper templates.
1906 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1907             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1909         * include/complex.h (__kernel_casinhf128): New declaration.
1910         * include/float.h: New file.
1911         * include/math.h (__finitef128): Add a hidden def.
1912         (__isinff128): Likewise.
1913         (__isnanf128): Likewise.
1914         (__fpclassify): Likewise.
1915         (__issignalling): Likewise.
1916         (__expf128): Likewise.
1917         (__expm1f128): Likewise.
1919         * sysdeps/generic/fix-fp-int-convert-overflow.h:
1920         (FIX_FLT128_LONG_CONVERT_OVERFLOW): New macro.
1921         (FIX_FLT128_LLONG_CONVERT_OVERFLOW): Likewise.
1923         * sysdeps/generic/math-type-macros-float128.h: New file.
1925         * sysdeps/generic/math_private.h: Include bits/floatn.h and
1926         math_private_calls.h for _Float128.
1927         (__isinff128): New inline implementation used when GCC < 7.0,
1928         since in this case __builtin_isinf_sign is broken.
1929         (fabsf128): New inline implementation that calls the builtin.
1930         (__EXPR_FLT128): New macro.
1931         (min_of_type): Optionally include _Float128 types too.
1933         * sysdeps/generic/math_private_calls.h (__kernel_sincos):
1934         Declare for _Float128.
1935         (__kernel_rem_pio2): Likewise.
1937         * sysdeps/ieee754/ldbl-opt/s_sin.c:
1938         (__DECL_SIMD_sincos_disablef128): New macro.
1940 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1942         * math/math.h: Include bits/math-finite.h for float128.
1943         (__MATH_DECLARING_FLOATN): Define to control declaration of
1944         float128 functions.
1945         * math/bits/math-finite.h (pow10): Do not declare for float128.
1946         (gamma): Likewise.
1947         (scalb): Likewise.
1949 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1950             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1952         * bits/floatn.h: New file.
1953         * bits/huge_val_flt128.h: Likewise.
1955         * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf128): New macro.
1956         (__DECL_SIMD_sinf128): Likewise.
1957         (__DECL_SIMD_sincosf128): Likewise.
1958         (__DECL_SIMD_logf128): Likewise.
1959         (__DECL_SIMD_expf128): Likewise.
1960         (__DECL_SIMD_powf128): Likewise.
1962         * math/Makefile (headers): Install bits/floatn.h and
1963         bits/huge_val_flt128.h.
1965         * math/bits/cmathcalls.h (_Mdouble_complex_): Only define if not
1966         defined.
1968         * math/bits/mathcalls.h (pow10, isinf, finite, drem, significand)
1969         (isnan, gamma, nexttoward, scalb): Only define if not
1970         __MATH_DECLARING_FLOATN.
1971         (nextdown, nextup, llogb, roundeven, fromfp, ufromfp, fromfpx)
1972         (ufromfpx, fmaxmag, fminmag, totalorder, totalordermag)
1973         (canonicalize, getpayload, setpayload, setpayloadsig): Declare for
1974         _FloatN even if __STDC_WANT_IEC_60559_BFP_EXT__ is not defined.
1976         * math/complex.h: Include bits/libc-header-start.h and bits/floatn.h.
1977         Include bits/cmathcalls.h to get the declarations of _Float128
1978         versions of complex functions.
1979         [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF128):
1980         Define macro.
1982         * math/math.h: Include bits/floatn.h and bits/huge_val_flt128.h.
1983         Include bits/mathcalls-helper-functions.h and bits/mathcalls.h to
1984         get the declarations of _Float128 versions of math functions.
1985         (__MATH_DECLARING_FLOATN): New macro to control declaration of
1986         _FloatN types.
1987         [__GNUC_PREREQ (6,0)] (signbit): Since GCC 6.0, __builtin_signbit
1988         is type-generic, so use it without __MATH_TG.
1989         [__HAVE_DISTINCT_FLOAT128] (isinf): This builtin is broken for
1990         _Float128 type on GCC < 7.0.  Explicitly call __isinff128 for
1991         _Float128 type and GCC < 7.0, otherwise use the builtin.
1992         [__HAVE_FLOAT128 && defined __USE_GNU] (M_Ef128, M_LOG2Ef128)
1993         (M_LOG10Ef128, M_LN2f128, M_LN10f128, M_PIf128, M_PI_2f128)
1994         (M_PI_4f128, M_1_PIf128, M_2_PIf128, M_SQRT2f128, M_SQRT1_2f128):
1995         New _GNU_SOURCE enabled macros.
1997 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
1999         * sysdeps/sparc/sparc32/fpu/s_signbit.S (signbit): Remove alias.
2000         (signbitf): Likewise.
2001         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S (signbit):
2002         Likewise.
2003         (signbitl): Likewise.
2004         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S (signbitf):
2005         Likewise.
2006         * sysdeps/sparc/sparc64/fpu/s_signbit.S (signbit): Likewise.
2007         (signbitl): Likewise.
2008         * sysdeps/sparc/sparc64/fpu/s_signbitf.S (signbitf): Likewise.
2010 2017-05-12  Florian Weimer  <fweimer@redhat.com>
2012         [BZ #21386]
2013         * sysdeps/nptl/fork.c (__libc_fork): Remove assertions on the
2014         parent PID.  The assertion in the child is incorrect with PID
2015         namespaces.
2017 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
2019         * sysdeps/unix/sysv/linux/kernel-features.h
2020         (__ASSUME_STATFS_F_FLAGS): Remove macro.
2021         * sysdeps/unix/sysv/linux/internal_statvfs.c
2022         [!__ASSUME_STATFS_F_FLAGS]: Remove conditional code.
2024 2017-05-11  Zack Weinberg  <zackw@panix.com>
2026         * Makerules: New subdir configuration variables 'tests-internal'
2027         and 'test-internal-extras'.  Test files in these categories will
2028         still be compiled with MODULE_NAME=nonlib.  Test files in the
2029         existing categories (tests, xtests, test-srcs, test-extras) are
2030         now compiled with MODULE_NAME=testsuite.
2031         New subdir configuration variable 'modules-names-tests'.  Files
2032         which are in both 'modules-names' and 'modules-names-tests' will
2033         be compiled with MODULE_NAME=testsuite instead of
2034         MODULE_NAME=extramodules.
2035         (gen-as-const-headers): Move to tests-internal.
2036         (do-tests-clean, common-mostlyclean): Support tests-internal.
2037         * Makeconfig (built-modules): Add testsuite.
2038         * Makefile: Change libof-check-installed-headers-c and
2039         libof-check-installed-headers-cxx to 'testsuite'.
2040         * Rules: Likewise.  Support tests-internal.
2041         * benchtests/strcoll-inputs/filelist#en_US.UTF-8:
2042         Remove extra-modules.mk.
2044         * config.h.in: Don't check for __OPTIMIZE__ or __FAST_MATH__ here.
2045         * include/libc-symbols.h: Move definitions of _GNU_SOURCE,
2046         PASTE_NAME, PASTE_NAME1, IN_MODULE, IS_IN, and IS_IN_LIB to the
2047         very top of the file and rationalize their order.
2048         If MODULE_NAME is not defined at all, define IS_IN to always be
2049         false, and don't define _ISOMAC.
2050         If any of IS_IN (testsuite), IS_IN_build, or __cplusplus are
2051         true, define _ISOMAC and suppress everything else in this file,
2052         starting with the inclusion of config.h.
2053         Do check for inappropriate definitions of __OPTIMIZE__ and
2054         __FAST_MATH__ here, but only if _ISOMAC is not defined.
2055         Correct some out-of-date commentary.
2057         * include/math.h: If _ISOMAC is defined, undefine NO_LONG_DOUBLE
2058         and _Mlong_double_ before including math.h.
2059         * include/string.h: If _ISOMAC is defined, don't expose
2060         _STRING_ARCH_unaligned. Move a comment to a more appropriate
2061         location.
2063         * include/errno.h, include/stdio.h, include/stdlib.h, include/string.h
2064         * include/time.h, include/unistd.h, include/wchar.h: No need to
2065         check __cplusplus nor use __BEGIN_DECLS/__END_DECLS.
2067         * misc/sys/cdefs.h (__NTHNL): New macro.
2068         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h
2069         (__m81_defun): Use __NTHNL to avoid errors with GCC 6.
2071         * elf/tst-env-setuid-tunables.c: Include config.h with _LIBC
2072         defined, for HAVE_TUNABLES.
2073         * inet/tst-checks-posix.c: No need to define _ISOMAC.
2074         * intl/tst-gettext2.c: Provide own definition of N_.
2075         * math/test-signgam-finite-c99.c: No need to define _ISOMAC.
2076         * math/test-signgam-main.c: No need to define _ISOMAC.
2077         * stdlib/tst-strtod.c: Convert to test-driver. Split locale_test to...
2078         * stdlib/tst-strtod1i.c: ...this new file.
2079         * stdlib/tst-strtod5.c: Convert to test-driver and add copyright notice.
2080         Split tests of __strtod_internal to...
2081         * stdlib/tst-strtod5i.c: ...this new file.
2082         * string/test-string.h: Include stdint.h. Duplicate definition of
2083         inhibit_loop_to_libcall here (from libc-symbols.h).
2084         * string/test-strstr.c: Provide dummy definition of
2085         libc_hidden_builtin_def when including strstr.c.
2086         * sysdeps/ia64/fpu/libm-symbols.h: Suppress entire file in _ISOMAC
2087         mode; no need to test __STRICT_ANSI__ nor __cplusplus as well.
2088         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
2089         Don't include init-arch.h.
2090         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
2091         Don't include init-arch.h.
2093         * elf/Makefile: Move tst-ptrguard1-static, tst-stackguard1-static,
2094         tst-tls1-static, tst-tls2-static, tst-tls3-static, loadtest,
2095         unload, unload2, circleload1, neededtest, neededtest2,
2096         neededtest3, neededtest4, tst-tls1, tst-tls2, tst-tls3,
2097         tst-tls6, tst-tls7, tst-tls8, tst-dlmopen2, tst-ptrguard1,
2098         tst-stackguard1, tst-_dl_addr_inside_object, and all of the
2099         ifunc tests to tests-internal.
2100         Don't add $(modules-names) to test-extras.
2101         * inet/Makefile: Move tst-inet6_scopeid_pton to tests-internal.
2102         Add tst-deadline to tests-static-internal.
2103         * malloc/Makefile: Move tst-mallocstate and tst-scratch_buffer to
2104         tests-internal.
2105         * misc/Makefile: Move tst-atomic and tst-atomic-long to tests-internal.
2106         * nptl/Makefile: Move tst-typesizes, tst-rwlock19, tst-sem11,
2107         tst-sem12, tst-sem13, tst-barrier5, tst-signal7, tst-tls3,
2108         tst-tls3-malloc, tst-tls5, tst-stackguard1, tst-sem11-static,
2109         tst-sem12-static, and tst-stackguard1-static to tests-internal.
2110         Link tests-internal with libpthread also.
2111         Don't add $(modules-names) to test-extras.
2112         * nss/Makefile: Move tst-field to tests-internal.
2113         * posix/Makefile: Move bug-regex5, bug-regex20, bug-regex33,
2114         tst-rfc3484, tst-rfc3484-2, and tst-rfc3484-3 to tests-internal.
2115         * stdlib/Makefile: Move tst-strtod1i, tst-strtod3, tst-strtod4,
2116         tst-strtod5i, tst-tls-atexit, and tst-tls-atexit-nodelete to
2117         tests-internal.
2118         * sunrpc/Makefile: Move tst-svc_register to tests-internal.
2119         * sysdeps/powerpc/Makefile: Move test-get_hwcap and
2120         test-get_hwcap-static to tests-internal.
2121         * sysdeps/unix/sysv/linux/Makefile: Move tst-setgetname to
2122         tests-internal.
2123         * sysdeps/x86_64/fpu/Makefile: Add all libmvec test modules to
2124         modules-names-tests.
2126 2017-05-11  Zack Weinberg  <zackw@panix.com>
2128         * libio/libio.h: Condition dummy definition of _IO_lock_t on
2129         _IO_lock_t_defined, not _IO_MTSAFE_IO. Unconditionally use the
2130         non-_IO_MTSAFE_IO definitions for _IO_peekc, _IO_flockfile,
2131         _IO_funlockfile, and _IO_ftrylockfile.  Only define
2132         _IO_cleanup_region_start and _IO_cleanup_region_end if not
2133         already defined.
2134         * include/libio.h: If _IO_MTSAFE_IO is defined, redefine
2135         _IO_peekc, _IO_flockfile, _IO_funlockfile, and _IO_ftrylockfile
2136         appropriately.
2137         * sysdeps/generic/stdio-lock.h, sysdeps/nptl/stdio-lock.h:
2138         Define _IO_lock_t_defined after defining _IO_lock_t.
2140 2016-05-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2142         * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address): Use
2143         void* for argument type and use VDSO_SYMBOL macro.
2144         (is_sigtramp_address_rt): Likewise.
2145         (__backtrace): Setup expected frame pointer address for signal
2146         handling.
2147         * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address): Use
2148         void* for argumetn type and use VSDO_SYMBOL macro.
2149         (__backtrace): Setup expected frame pointer address for signal
2150         handling.
2152         * sysdeps/unix/sysv/linux/writev.c: New file.
2154         * sysdeps/unix/sysv/linux/readv.c: New file.
2156         * include/unistd.h (write): Add hidden proto.
2157         * io/Makefile (CFLAGS-write.c): New define.
2158         * nptl/Makefile (CFLAGS-write.c): Likewise.
2159         * sysdeps/unix/sysv/linux/write.c: New file.
2161         [BZ #21428]
2162         * include/unistd.h (read): Add hidden proto.
2163         * io/Makefile (CFLAGS-read.c): New define.
2164         * nptl/Makefile (CFLAGS-read.c): Likewise.
2165         * sysdeps/unix/sysv/linux/read.c: New file.
2167         * io/Makefile (CFLAGS-creat.c): New rule.
2168         (CFLAGS-creat64.c): Likewise.
2169         * sysdeps/unix/sysv/linux/alpha/creat.c: Remove file.
2170         * sysdeps/unix/sysv/linux/generic/creat.c: Likewise.
2171         * sysdeps/unix/sysv/linux/wordsize-64/creat64.c: Likewise.
2172         * sysdeps/unix/sysv/linux/creat.c: New file.
2173         * sysdeps/unix/sysv/linux/creat64.c: Likewise.
2174         * sysdeps/unix/sysv/linux/syscalls.list: Remove create from
2175         auto-generated list.
2176         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
2178         * sysdeps/unix/sysv/linux/generic/open.c: Remove file.
2179         * sysdeps/unix/sysv/linux/generic/open64.c: Likewise.
2180         * sysdeps/unix/sysv/linux/wordsize-64/open64.c: Likewise.
2181         * sysdeps/unix/sysv/linux/open.c: New file.
2182         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Define symbol
2183         iff __WORDSIZE != 64 and use __NR_openat when available.
2184         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove open
2185         from auto-generated list.
2187         * nptl/Makefile (CFLAGS-close.c): New flag.
2188         * sysdeps/unix/sysv/linux/close.c: New file.
2190 2017-05-11  DJ Delorie  <dj@redhat.com>
2192         * MAINTAINERS: New.  Points to wiki.
2194 2017-05-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2196         * scripts/gen-tunables.awk: Add attribute_relro to
2197         tunable_list.
2199 2017-05-11  Joseph Myers  <joseph@codesourcery.com>
2201         [BZ #21457]
2202         * sysdeps/arm/sys/ucontext.h (R0): Condition on [__USE_MISC].
2203         (R1): Likewise.
2204         (R2): Likewise.
2205         (R3): Likewise.
2206         (R4): Likewise.
2207         (R5): Likewise.
2208         (R6): Likewise.
2209         (R7): Likewise.
2210         (R8): Likewise.
2211         (R9): Likewise.
2212         (R10): Likewise.
2213         (R11): Likewise.
2214         (R12): Likewise.
2215         (R13): Likewise.
2216         (R14): Likewise.
2217         (R15): Likewise.
2218         * sysdeps/i386/sys/ucontext.h (REG_GS): Likewise.
2219         (REG_FS): Likewise.
2220         (REG_ES): Likewise.
2221         (REG_DS): Likewise.
2222         (REG_EDI): Likewise.
2223         (REG_ESI): Likewise.
2224         (REG_EBP): Likewise.
2225         (REG_ESP): Likewise.
2226         (REG_EBX): Likewise.
2227         (REG_EDX): Likewise.
2228         (REG_ECX): Likewise.
2229         (REG_EAX): Likewise.
2230         (REG_TRAPNO): Likewise.
2231         (REG_ERR): Likewise.
2232         (REG_EIP): Likewise.
2233         (REG_CS): Likewise.
2234         (REG_EFL): Likewise.
2235         (REG_UESP): Likewise.
2236         (REG_SS): Likewise.
2237         * sysdeps/m68k/sys/ucontext.h (R_D0): Likewise.
2238         (R_D1): Likewise.
2239         (R_D2): Likewise.
2240         (R_D3): Likewise.
2241         (R_D4): Likewise.
2242         (R_D5): Likewise.
2243         (R_D6): Likewise.
2244         (R_D7): Likewise.
2245         (R_A0): Likewise.
2246         (R_A1): Likewise.
2247         (R_A2): Likewise.
2248         (R_A3): Likewise.
2249         (R_A4): Likewise.
2250         (R_A5): Likewise.
2251         (R_A6): Likewise.
2252         (R_A7): Likewise.
2253         (R_SP): Likewise.
2254         (R_PC): Likewise.
2255         (R_PS): Likewise.
2256         (fpregset_t): Likewise.
2257         (MCONTEXT_VERSION): Likewise.
2258         * sysdeps/mips/sys/ucontext.h (CTX_R0): Likewise.
2259         (CTX_AT): Likewise.
2260         (CTX_V0): Likewise.
2261         (CTX_V1): Likewise.
2262         (CTX_A0): Likewise.
2263         (CTX_A1): Likewise.
2264         (CTX_A2): Likewise.
2265         (CTX_A3): Likewise.
2266         (CTX_T0): Likewise.
2267         (CTX_T1): Likewise.
2268         (CTX_T2): Likewise.
2269         (CTX_T3): Likewise.
2270         (CTX_T4): Likewise.
2271         (CTX_T5): Likewise.
2272         (CTX_T6): Likewise.
2273         (CTX_T7): Likewise.
2274         (CTX_S0): Likewise.
2275         (CTX_S1): Likewise.
2276         (CTX_S2): Likewise.
2277         (CTX_S3): Likewise.
2278         (CTX_S4): Likewise.
2279         (CTX_S5): Likewise.
2280         (CTX_S6): Likewise.
2281         (CTX_S7): Likewise.
2282         (CTX_T8): Likewise.
2283         (CTX_T9): Likewise.
2284         (CTX_K0): Likewise.
2285         (CTX_K1): Likewise.
2286         (CTX_GP): Likewise.
2287         (CTX_SP): Likewise.
2288         (CTX_S8): Likewise.
2289         (CTX_RA): Likewise.
2290         (CTX_MDLO): Likewise.
2291         (CTX_MDHI): Likewise.
2292         (CTX_CAUSE): Likewise.
2293         (CTX_EPC): Likewise.
2294         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Condition
2295         inclusion of <sys/procfs.h> on [__USE_MISC].
2296         (greg_t): Condition on [__USE_MISC].
2297         (gregset_t): Likewise.
2298         (fpregset_t): Likewise.
2299         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (greg_t): Likewise.
2300         (NGREG): Likewise.
2301         (gregset_t): Likewise.
2302         (REG_R0): Likewise.
2303         (REG_R1): Likewise.
2304         (REG_R2): Likewise.
2305         (REG_R3): Likewise.
2306         (REG_R4): Likewise.
2307         (REG_R5): Likewise.
2308         (REG_R6): Likewise.
2309         (REG_R7): Likewise.
2310         (REG_R8): Likewise.
2311         (REG_R9): Likewise.
2312         (REG_R10): Likewise.
2313         (REG_R11): Likewise.
2314         (REG_R12): Likewise.
2315         (REG_R13): Likewise.
2316         (REG_R14): Likewise.
2317         (REG_R15): Likewise.
2318         (struct _libc_fpstate): Likewise.
2319         (fpregset_t): Likewise.
2320         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG): Likewise.
2321         (NFPREG): Likewise.
2322         (gregset_t): Likewise.
2323         (fpregset_t): Likewise.
2324         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (R_D0): Likewise.
2325         (R_D1): Likewise.
2326         (R_D2): Likewise.
2327         (R_D3): Likewise.
2328         (R_D4): Likewise.
2329         (R_D5): Likewise.
2330         (R_D6): Likewise.
2331         (R_D7): Likewise.
2332         (R_A0): Likewise.
2333         (R_A1): Likewise.
2334         (R_A2): Likewise.
2335         (R_A3): Likewise.
2336         (R_A4): Likewise.
2337         (R_A5): Likewise.
2338         (R_A6): Likewise.
2339         (R_A7): Likewise.
2340         (R_SP): Likewise.
2341         (R_PC): Likewise.
2342         (R_PS): Likewise.
2343         (fpregset_t): Likewise.
2344         (MCONTEXT_VERSION): Likewise.
2345         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (MCONTEXT_VERSION):
2346         Likewise.
2347         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (REG_R0): Likewise.
2348         (REG_R1): Likewise.
2349         (REG_R2): Likewise.
2350         (REG_R3): Likewise.
2351         (REG_R4): Likewise.
2352         (REG_R5): Likewise.
2353         (REG_R6): Likewise.
2354         (REG_R7): Likewise.
2355         (REG_R8): Likewise.
2356         (REG_R9): Likewise.
2357         (REG_R10): Likewise.
2358         (REG_R11): Likewise.
2359         (REG_R12): Likewise.
2360         (REG_R13): Likewise.
2361         (REG_R14): Likewise.
2362         (REG_R15): Likewise.
2363         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Condition inclusion
2364         of <arch/abi.h> on [__USE_MISC].
2365         (greg_t): Condition on [__USE_MISC].
2366         (NGREG): Likewise.
2367         (gregset_t): Likewise.
2369 2017-05-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2371         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
2372         (__pthread_rwlock_arch_t): Remove __data definition.
2373         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
2374         (__pthread_rwlock_arch_t): Likewise.
2376 2017-05-11  Florian Weimer  <fweimer@redhat.com>
2378         * resolv/inet_pton.c: Reformat in GNU style.  Remove
2379         internal_function on static functions.
2381 2017-05-11  Florian Weimer  <fweimer@redhat.com>
2383         * support/support_format_addrinfo.c (format_ai_flags_1): Renamed
2384         from format_ai_flags.
2385         (format_ai_flags): New function.  Incorporate flag formatting code
2386         from format_ai_one.
2387         (format_ai_canonname): New function.
2388         (format_ai_one): Remove flags parameter.
2389         (format_ai_family): Likewise.
2390         (support_format_addrinfo): Call format_ai_flags,
2391         format_ai_canonname.
2392         * resolv/tst-resolv-basic.c (check_ai_hints): Extracted from
2393         check_ai.
2394         (check_ai): Call check_ai_hints.
2395         (do_test): Add AI_CANONNAME tests.
2397 2017-05-11  Florian Weimer  <fweimer@redhat.com>
2399         * sysdeps/posix/getaddrinfo.c (gethosts): Remove malloc_addrmem.
2400         (gaih_inet): Likewise.
2402 2017-05-10  Andreas Schwab  <schwab@suse.de>
2404         * nptl/tst-fork1.c: Include <support/test-driver.c>.
2405         (main): Rename to do_test and make static.
2407 2017-05-10  Joseph Myers  <joseph@codesourcery.com>
2409         * string/rawmemchr.c: Include <libc-diag.h>.
2410         (RAWMEMCHR): Disable -Wstringop-overflow around call to memchr
2411         with size (size_t)-1.
2413 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
2415         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Remove file.
2416         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
2417         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
2419         * sysdeps/unix/sysv/linux/accept4.c (accept4): Use syscall if
2420         [__ASSUME_ACCEPT4_SYSCALL], otherwise socketcall.
2421         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Use syscall if
2422         [__ASSUME_RECVMMSG_SYSCALL], otherwise socketcall.
2423         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Use syscall if
2424         [__ASSUME_SENDMMSG_SYSCALL], otherwise socketcall.
2425         * sysdeps/unix/sysv/linux/kernel-features.h
2426         (__ASSUME_ACCEPT4_SYSCALL): Move to general list of macros for
2427         socket syscalls.
2428         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2429         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2430         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2431         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
2432         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2433         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2434         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
2435         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2436         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2437         * sysdeps/unix/sysv/linux/sh/kernel-features.h
2438         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2439         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2440         (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2441         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2442         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2444 2017-05-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2446         * posix/Makefile (headers): Add pthreadtypes-arch.h and
2447         thread-shared-types.h.
2448         * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h: New file: arch
2449         specific thread definition.
2450         * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h: Likewise.
2451         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h: Likewise.
2452         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h: Likewise.
2453         * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h: Likewise.
2454         * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h: Likewise.
2455         * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h: Likewise.
2456         * sysdeps/mips/nptl/bits/pthreadtypes-arch.h: Likewise.
2457         * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h: Likewise.
2458         * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h: Likewise.
2459         * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
2460         * sysdeps/sh/nptl/bits/pthreadtypes-arch.h: Likewise.
2461         * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h: Likewise.
2462         * sysdeps/tile/nptl/bits/pthreadtypes-arch.h: Likewise.
2463         * sysdeps/x86/nptl/bits/pthreadtypes-arch.h: Likewise.
2464         * sysdeps/nptl/bits/thread-shared-types.h: New file: shared
2465         thread definition between POSIX and C11.
2466         * sysdeps/aarch64/nptl/bits/pthreadtypes.h.: Remove file.
2467         * sysdeps/alpha/nptl/bits/pthreadtypes.h: Likewise.
2468         * sysdeps/arm/nptl/bits/pthreadtypes.h: Likewise.
2469         * sysdeps/hppa/nptl/bits/pthreadtypes.h: Likewise.
2470         * sysdeps/m68k/nptl/bits/pthreadtypes.h: Likewise.
2471         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Likewise.
2472         * sysdeps/mips/nptl/bits/pthreadtypes.h: Likewise.
2473         * sysdeps/nios2/nptl/bits/pthreadtypes.h: Likewise.
2474         * sysdeps/ia64/nptl/bits/pthreadtypes.h: Likewise.
2475         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: Likewise.
2476         * sysdeps/s390/nptl/bits/pthreadtypes.h: Likewise.
2477         * sysdeps/sh/nptl/bits/pthreadtypes.h: Likewise.
2478         * sysdeps/sparc/nptl/bits/pthreadtypes.h: Likewise.
2479         * sysdeps/tile/nptl/bits/pthreadtypes.h: Likewise.
2480         * sysdeps/x86/nptl/bits/pthreadtypes.h: Likewise.
2481         * sysdeps/nptl/bits/pthreadtypes.h: New file: common thread
2482         definitions shared across all architectures.
2484 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
2486         * sysdeps/unix/sysv/linux/kernel-features.h
2487         (__ASSUME_SENDMMSG_SYSCALL): Define unconditionally.
2488         (__ASSUME_SENDMMSG): Likewise.
2489         (__ASSUME_SENDMMSG_SOCKETCALL): Remove macro.
2490         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Define using
2491         sendmmsg syscall if that can be assumed to be present, socketcall
2492         otherwise, with no fallback for runtime failure.
2494         * sysdeps/unix/sysv/linux/kernel-features.h
2495         (__ASSUME_RECVMMSG_SYSCALL): Define unconditionally.
2496         (__ASSUME_RECVMMSG_SOCKETCALL): Remove macro.
2497         (__ASSUME_RECVMMSG): Likewise.
2498         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Define using
2499         recvmmsg syscall if it can be assumed to be present, socketcall
2500         otherwise, with no fallback for runtime failure.
2502 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2503             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2505         * bits/libc-header-start.h:
2506         (__GLIBC_USE_IEC_60559_TYPES_EXT): New macro.
2507         * include/features.h: Describe __STDC_WANT_IEC_60559_TYPES_EXT__.
2508         * manual/creature.texi: Likewise.
2510 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2511             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2513         * math/Makefile:
2514         (type-float128-suffix): New variable
2515         (type-float128-routines): Likewise
2516         (type-float128-yes): Likewise
2517         (types): Append float128 if supported
2518         (types-basic): New variable to control the use of templates for
2519         float, double, and long double, but not for float128 or newer types.
2520         (type-basic-foreach): Likewise.
2522         * sysdeps/ieee754/float128/Makeconfig: New file.
2523         * sysdeps/ieee754/float128/Versions: New file.
2525 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
2527         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PRLIMIT64):
2528         Remove macro.
2529         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Assume
2530         prlimit64 is always available and does not give an ENOSYS error.
2531         * sysdeps/unix/sysv/linux/prlimit.c [__NR_prlimit64]: Make code
2532         unconditional.
2533         [!__NR_prlimit64]: Remove conditional code.
2534         * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Assume
2535         prlimit64 is always available and does not give an ENOSYS error.
2536         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit64): Likewise.
2538 2017-05-09  Zack Weinberg  <zackw@panix.com>
2540         * sunrpc/tst-xdrmem2.c: Include stdint.h.
2542 2017-05-09  Florian Weimer  <fweimer@redhat.com>
2544         [BZ #21474]
2545         * resolv/res_libc.c (res_init): Use RES_DFLRETRY.
2546         (__res_maybe_init): Likewise.
2548 2017-05-09  Zack Weinberg  <zackw@panix.com>
2550         * extra-modules.mk: Delete file.
2551         * cppflags-iterator.mk: Rename to ...
2552         * libof-iterator.mk: ...this.  Adjust comments.
2554         * Makerules, extra-lib.mk, benchtests/Makefile, elf/Makefile
2555         * elf/rtld-Rules, iconv/Makefile, locale/Makefile, malloc/Makefile
2556         * nscd/Makefile, sunrpc/Makefile, sysdeps/s390/Makefile:
2557         Use libof-iterator.mk instead of cppflags-iterator.mk or
2558         extra-modules.mk.
2560         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Remove
2561         extra-modules.mk and cppflags-iterator.mk, add libof-iterator.mk.
2563 2017-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
2565         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2567 2017-05-08  Carlos O'Donell  <carlos@redhat.com>
2569         * stdio-common/vfprintf.c (EXTSIZ): Define.
2570         (vfprintf): Use EXTSIZ.
2571         (printf_positional): Likewise.
2573 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
2575         * sysdeps/unix/sysv/linux/kernel-features.h
2576         (__ASSUME_PROC_PID_TASK_COMM): Remove macro.
2577         * sysdeps/unix/sysv/linux/tst-setgetname.c: Do not include
2578         <kernel-features.h>.
2579         (do_test) [!__ASSUME_PROC_PID_TASK_COMM]: Remove conditional code.
2581         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
2582         (__ASSUME_GETCPU_SYSCALL): Remove macro.
2584 2017-05-08  Florian Weimer  <fweimer@redhat.com>
2586         Prevent multiple deletion of temporary files.
2587         * support/temp_file.c (struct temp_name_list): Add owner member.
2588         (add_temp_file): Record owner.
2589         (support_delete_temp_files): Delete file only if owner matches.
2590         * posix/tst-exec.c (temp_fd1, temp_fd2): Define.
2591         (do_prepare): Use create_temp_file instead of add_temp_file.
2592         Initialize temp_fd1, temp_fd2.
2593         (do_test): Use global temp_fd1, temp_fd2 variables.  Let the test
2594         framework remove the temporary files.
2595         * posix/tst-exec.c (temp_fd1, temp_fd2, temp_fd3): Define.
2596         (do_prepare): Use create_temp_file instead of add_temp_file.
2597         Initialize temp_fd1, temp_fd2, temp_fd3.
2598         (do_test): Use global temp_fd1, temp_fd2, temp_fd3 variables.  Let
2599         the test framework remove the temporary files.
2600         * posix/tst-vfork3.c (do_prepare): Adjust for LIFO order of file
2601         deletion.
2602         * posix/tst-pathconf.c (do_test): Do not call rmdir on the
2603         temporary directory.  It is removed by the test framework.
2604         * dirent/tst-scandir.c (do_test): Likewise.
2606 2017-05-08  Florian Weimer  <fweimer@redhat.com>
2608         Delete temporary files in LIFO order.
2609         * support/temp_file.c (struct temp_name_list): Replace q member
2610         with next.
2611         (add_temp_file): Add new file to front of linked list.
2612         (support_delete_temp_files): Use next member.
2613         (support_print_temp_files): Likewise.
2615 2017-05-08  Florian Weimer  <fweimer@redhat.com>
2617         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
2618         sys/ultrasound.h.
2619         * sysdeps/unix/sysv/linux/sys/ultrasound.h: Remove file.
2621 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
2623         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
2624         Remove.
2625         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
2626         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
2627         (arch_minimum_kernel): Remove.
2628         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
2629         * README: Update statement about Linux kernel requirements.
2631 2017-05-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2633         * manual/llio.texi: Add preadv and pwritev documentation.
2635 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
2637         [BZ #21455]
2638         * bits/stdint-intn.h: New file.
2639         * bits/stdint-uintn.h: Likewise.
2640         * stdlib/Makefile (headers): Add bits/stdint-intn.h and
2641         bits/stdint-uintn.h.
2642         * inet/netinet/in.h: Include <bits/stdint-uintn.h> instead of
2643         <stdint.h>.
2644         * posix/sys/types.h: Include <bits/stdint-intn.h>.
2645         (__int8_t_defined): Do not define here.
2646         (int8_t): Likewise.
2647         (int16_t): Likewise.
2648         (int32_t): Likewise.
2649         (int64_t): Likewise.
2650         [__GNUC_PREREQ (2, 7)] (__intN_t): Likewise.
2651         * resolv/netdb.h: Include <bits/stdint-uintn.h> instead of
2652         <stdint.h>.
2653         * include/netdb.h [_ISOMAC]: Do not include <stdint.h>.
2654         * sysdeps/generic/stdint.h: Include <bits/stdint-intn.h> and
2655         <bits/stdint-uintn.h>.
2656         (int8_t): Do not define here.
2657         (int16_t): Likewise.
2658         (int32_t): Likewise.
2659         (int64_t): Likewise.
2660         (uint8_t): Likewise.
2661         (uint16_t): Likewise.
2662         (uint32_t): Likewise.
2663         (uint64_t): Likewise.
2664         * conform/Makefile (test-xfail-XPG42/arpa/inet.h/conform): Remove
2665         variable.
2666         (test-xfail-XPG42/netdb.h/conform): Likewise.
2667         (test-xfail-XPG42/netinet/in.h/conform): Likewise.
2668         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
2669         (test-xfail-UNIX98/netdb.h/conform): Likewise.
2670         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
2672 2017-05-04  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2674         * sysdeps/generic/math_private.h (mathx_hidden_def): New macro.
2675         * sysdeps/ieee754/ldbl-128/s_finitel.c: Replace hidden_def with
2676         the above.
2677         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
2678         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2680 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
2682         [BZ #21445]
2683         * signal/signal.h [__USE_XOPEN2K8] (bsd_signal): Do not declare.
2685         [BZ #21457]
2686         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
2687         [_MIPS_SIM != _ABIO32] (mcontext_t): Rename field reserved to
2688         __glibc_reserved1.
2689         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
2690         (struct _fpx_sw_bytes): Rename field padding to __glibc_reserved1.
2691         (struct _fpxreg): Likewise.
2692         [!__x86_64__] (struct _fpstate): Rename field reserved to
2693         __glibc_reserved1.  Rename field padding to __glibc_reserved2.
2694         [__x86_64__] (struct _fpstate): Rename field padding to
2695         __glibc_reserved1.
2696         (struct _xsave_hdr): Rename field reserved1 to __glibc_reserved1.
2697         Rename field reserved2 to __glibc_reserved2.
2698         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h
2699         [__x86_64__] (struct _libc_fpxreg): Rename field padding to
2700         __glibc_reserved1.
2701         [__x86_64__] (struct _libc_fpstate): Rename field padding to
2702         __glibc_reserved1.
2704 2017-05-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2706         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Correct hwcap
2707         variable name.
2709 2017-05-03  H.J. Lu  <hongjiu.lu@intel.com>
2711         [BZ #21391]
2712         * sysdeps/i386/dl-machine.h (dl_platform_init) [IS_IN (rtld)]:
2713         Only call init_cpu_features.
2714         [!IS_IN (rtld)]: Only set GLRO(dl_platform) to NULL if needed.
2715         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
2716         * sysdeps/i386/dl-procinfo.h: Removed.
2717         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Don't include
2718         <sysdeps/i386/dl-procinfo.h> nor <ldsodefs.h>.  Include
2719         <sysdeps/x86/dl-procinfo.h>.
2720         (_dl_procinfo): Replace _DL_HWCAP_COUNT with 32.
2721         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h [!IS_IN (ldconfig)]:
2722         Include <sysdeps/x86/dl-procinfo.h> instead of
2723          <sysdeps/generic/dl-procinfo.h>.
2724         * sysdeps/x86/cpu-features.c: Include <dl-hwcap.h>.
2725         (init_cpu_features): Set dl_platform, dl_hwcap and dl_hwcap_mask.
2726         * sysdeps/x86/cpu-features.h (bit_cpu_LZCNT): New.
2727         (bit_cpu_MOVBE): Likewise.
2728         (bit_cpu_BMI1): Likewise.
2729         (bit_cpu_BMI2): Likewise.
2730         (index_cpu_BMI1): Likewise.
2731         (index_cpu_BMI2): Likewise.
2732         (index_cpu_LZCNT): Likewise.
2733         (index_cpu_MOVBE): Likewise.
2734         (index_cpu_POPCNT): Likewise.
2735         (reg_BMI1): Likewise.
2736         (reg_BMI2): Likewise.
2737         (reg_LZCNT): Likewise.
2738         (reg_MOVBE): Likewise.
2739         (reg_POPCNT): Likewise.
2740         * sysdeps/x86/dl-hwcap.h: New file.
2741         * sysdeps/x86/dl-procinfo.h: Likewise.
2742         * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): New.
2743         (_dl_x86_platforms): Likewise.
2745 2017-05-03  DJ Delorie  <dj@redhat.com>
2747         [BZ #21411]
2748         * malloc/malloc.c: Tweak realloc/MREMAP comment to be more accurate.
2750 2017-05-03  Phil Blundell  <pb@pbcl.net>
2752         * inet/netinet/in.h (struct ip_mreq_source): Correct misplaced
2753         comments.
2755 2017-05-03  Carlos O'Donell  <carlos@redhat.com>
2757         [BZ #20116]
2758         * nptl/pthread_create.c: Expand comments to describe
2759         semaphore-like and mutex-like uses of PD->lock.
2761 2017-04-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2763         * sysdeps/unix/sysv/linux/epoll_wait.c: New file.
2764         * sysdeps/unix/sysv/linux/generic/epoll_wait.c: Remove file.
2765         * sysdeps/unix/sysv/linux/syscalls.list: Remove epoll_wait from
2766         auto-generation list.
2767         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
2768         epoll_wait.
2769         * sysdeps/unix/sysv/linux/generic/Makefile (sysdep_routines):
2770         Remove epoll_wait.
2772         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
2773         osf_select.
2774         * sysdeps/unix/sysv/linux/alpha/select.c: New file.
2775         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove select and
2776         osf_select from auto-generation list.
2777         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
2778         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2779         * sysdeps/unix/sysv/linux/generic/select.c: Remove file.
2780         * sysdeps/unix/sysv/linux/select.c: New file.
2782         * sysdeps/unix/sysv/linux/generic/poll.c: Remove file.
2783         * sysdeps/unix/sysv/linux/poll.c: New file.
2784         * sysdeps/unix/sysv/linux/syscalls.list: Remove poll from
2785         auto-generation list.
2787 2017-05-03  Joseph Myers  <joseph@codesourcery.com>
2789         * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDRDM):
2790         New macro.
2792 2017-05-02  Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
2794         [BZ #21179]
2795         * sysdeps/sparc/sparc64/dl-machine.h: Handle R_SPARC_DISP64 and
2796         R_SPARC_REGISTER relocations.
2798 2017-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2800         * include/unistd.h (__pread): Add libc_hidden_proto.
2801         (__pread64): Likewise.
2802         (__pwrite): Likewise.
2803         * sysdeps/unix/sysv/linux/microblaze/localplt.data [libc.so]
2804         (__pread64): Remove.
2805         * sysdeps/unix/sysv/linux/pread.c (__pread64): Add libc_hidden_weak.
2806         * sysdeps/unix/sysv/linux/pread64.c (__pread64): Likewise.
2807         * sysdeps/unix/sysv/linux/pwrite.c (__pwrite): Likewise.
2809 2017-05-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2811         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2813 2017-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2815         * nptl/tst-cancel4-common.c: Use libsupport.
2816         * nptl/tst-cancel4-common.h: Likewise.
2817         * nptl/tst-cancel4.c (tf_read): Likewise.
2818         (tf_readv): Likewise.
2819         (tf_write): Likewise.
2820         (tf_writev): Likewise.
2821         (tf_sleep): Likewise.
2822         (tf_usleep): Likewise.
2823         (tf_nanosleep): Likewise.
2824         (tf_select): Likewise.
2825         (tf_pselect): Likewise.
2826         (tf_poll): Likewise.
2827         (tf_ppoll): Likewise.
2828         (tf_wait): Likewise.
2829         (tf_waitpid): Likewise.
2830         (tf_waitid): Likewise.
2831         (tf_sigpause): Likewise.
2832         (tf_sigsuspend): Likewise.
2833         (tf_sigwait): Likewise.
2834         (tf_sigwaitinfo): Likewise.
2835         (tf_sigtimedwait): Likewise.
2836         (tf_pause): Likewise.
2837         (tf_accept): Likewise.
2838         (tf_send): Likewise.
2839         (tf_recv): Likewise.
2840         (tf_recvfrom): Likewise.
2841         (tf_recvmsg): Likewise.
2842         (tf_open): Likewise.
2843         (tf_close): Likewise.
2844         (tf_pread): Likewise.
2845         (tf_pwrite): Likewise.
2846         (tf_preadv): Likewise.
2847         (tf_pwritev): Likewise.
2848         (tf_fsync): Likewise.
2849         (tf_fdatasync): Likewise.
2850         (tf_msync): Likewise.
2851         (tf_sendto): Likewise.
2852         (tf_sendmsg): Likewise.
2853         (tf_creat): Likewise.
2854         (tf_connect): Likewise.
2855         (tf_tcdrain): Likewise.
2856         (tf_msgrcv): Likewise.
2857         (tf_msgsnd): Likewise.
2858         * nptl/tst-cancel4_1.c (tf_sendmmsg): Likewise.
2859         * nptl/tst-cancel4_2.c (tf_recvmmsg): Likewise.
2861         * misc/tst-preadvwritev-common.c (do_prepare): Use libsupport
2862         expected arguments.
2863         (do_test): Adapt to use libsupport.
2865 2017-05-01  Joseph Myers  <joseph@codesourcery.com>
2867         * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_CONNECT): New macro.
2869         * sysdeps/unix/sysv/linux/bits/socket.h (PF_SMC): New macro.
2870         (PF_MAX): Set to 44.
2871         (AF_SMC): New macro.
2873         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2874         kernel version to 4.11.
2876 2017-04-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2878         [BZ #21280]
2879         * sysdeps/powerpc/power7/fpu/s_logbl.c (__logbl): Ignore the
2880         signal of subnormals and adjust the exponent of power of 2 down
2881         when low part has opposite sign.
2883 2017-04-28  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2885         * sysdeps/powerpc/powerpc64le/Implies: New file.
2886         * sysdeps/powerpc/powerpc64le/fpu/Implies: New file.
2887         * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: New file.
2888         * sysdeps/powerpc/powerpc64le/multiarch/Implies: New file.
2889         * sysdeps/powerpc/powerpc64le/power7/Implies: New file.
2890         * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: New file.
2891         * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: New file.
2892         * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: New file.
2893         * sysdeps/powerpc/powerpc64le/power8/Implies: New file.
2894         * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: New file.
2895         * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: New file.
2896         * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: New file.
2897         * sysdeps/powerpc/powerpc64le/power9/Implies: New file.
2898         * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: New file.
2899         * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: New file.
2900         * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: New file.
2901         * sysdeps/powerpc/preconfigure: New file.
2902         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: New file.
2903         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: New file.
2905 2017-04-28  Joseph Myers  <joseph@codesourcery.com>
2907         * conform/data/semaphore.h-data [XOPEN2K] (time.h): Allow header
2908         inclusion.
2909         * conform/Makefile (test-xfail-XOPEN2K/semaphore.h/conform):
2910         Remove.
2912 2017-04-27  Joseph Myers  <joseph@codesourcery.com>
2914         * conform/GlibcConform.pm (XPG4): Rename standard to XPG42.
2915         (XPG3): Rename standard to XPG4.
2916         * conform/Makefile: Likewise.
2917         * conform/list-header-symbols.pl: Likewise.
2918         * conform/data/aio.h-data: Likewise.
2919         * conform/data/arpa/inet.h-data: Likewise.
2920         * conform/data/complex.h-data: Likewise.
2921         * conform/data/ctype.h-data: Likewise.
2922         * conform/data/dlfcn.h-data: Likewise.
2923         * conform/data/fcntl.h-data: Likewise.
2924         * conform/data/fenv.h-data: Likewise.
2925         * conform/data/float.h-data: Likewise.
2926         * conform/data/fmtmsg.h-data: Likewise.
2927         * conform/data/ftw.h-data: Likewise.
2928         * conform/data/grp.h-data: Likewise.
2929         * conform/data/inttypes.h-data: Likewise.
2930         * conform/data/iso646.h-data: Likewise.
2931         * conform/data/langinfo.h-data: Likewise.
2932         * conform/data/libgen.h-data: Likewise.
2933         * conform/data/limits.h-data: Likewise.
2934         * conform/data/locale.h-data: Likewise.
2935         * conform/data/math.h-data: Likewise.
2936         * conform/data/mqueue.h-data: Likewise.
2937         * conform/data/ndbm.h-data: Likewise.
2938         * conform/data/net/if.h-data: Likewise.
2939         * conform/data/netdb.h-data: Likewise.
2940         * conform/data/netinet/in.h-data: Likewise.
2941         * conform/data/poll.h-data: Likewise.
2942         * conform/data/pthread.h-data: Likewise.
2943         * conform/data/pwd.h-data: Likewise.
2944         * conform/data/sched.h-data: Likewise.
2945         * conform/data/search.h-data: Likewise.
2946         * conform/data/semaphore.h-data: Likewise.
2947         * conform/data/signal.h-data: Likewise.
2948         * conform/data/spawn.h-data: Likewise.
2949         * conform/data/stdbool.h-data: Likewise.
2950         * conform/data/stdint.h-data: Likewise.
2951         * conform/data/stdio.h-data: Likewise.
2952         * conform/data/stdlib.h-data: Likewise.
2953         * conform/data/string.h-data: Likewise.
2954         * conform/data/strings.h-data: Likewise.
2955         * conform/data/stropts.h-data: Likewise.
2956         * conform/data/sys/mman.h-data: Likewise.
2957         * conform/data/sys/resource.h-data: Likewise.
2958         * conform/data/sys/select.h-data: Likewise.
2959         * conform/data/sys/socket.h-data: Likewise.
2960         * conform/data/sys/stat.h-data: Likewise.
2961         * conform/data/sys/statvfs.h-data: Likewise.
2962         * conform/data/sys/time.h-data: Likewise.
2963         * conform/data/sys/timeb.h-data: Likewise.
2964         * conform/data/sys/types.h-data: Likewise.
2965         * conform/data/sys/uio.h-data: Likewise.
2966         * conform/data/sys/un.h-data: Likewise.
2967         * conform/data/sys/wait.h-data: Likewise.
2968         * conform/data/syslog.h-data: Likewise.
2969         * conform/data/termios.h-data: Likewise.
2970         * conform/data/tgmath.h-data: Likewise.
2971         * conform/data/time.h-data: Likewise.
2972         * conform/data/ucontext.h-data: Likewise.
2973         * conform/data/unistd.h-data: Likewise.
2974         * conform/data/utmpx.h-data: Likewise.
2975         * conform/data/varargs.h-data: Likewise.
2976         * conform/data/wchar.h-data: Likewise.
2977         * conform/data/wctype.h-data: Likewise.
2979 2017-04-26  Joseph Myers  <joseph@codesourcery.com>
2981         * scripts/build-many-glibcs.py (Context.checkout): Default gcc
2982         version to 7 branch.
2984 2017-04-25  Uros Bizjak  <ubizjak@gmail.com>
2986         * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Add
2987         earlyclobber to output operand of sqrt insn.
2988         (__ieee754_sqrtf): Ditto.
2990 2017-04-25  Joseph Myers  <joseph@codesourcery.com>
2992         [BZ #21426]
2993         * misc/bits/types/struct_iovec.h: New file.
2994         * misc/Makefile (headers): Add bits/types/struct_iovec.h.
2995         * include/bits/types/struct_iovec.h: New file.
2996         * bits/uio.h (struct iovec): Replace by inclusion of
2997         <bits/types/struct_iovec.h>.
2998         * sysdeps/unix/sysv/linux/bits/uio.h (struct iovec): Likewise.
2999         * socket/sys/socket.h: Include <bits/types/struct_iovec.h> instead
3000         of <sys/uio.h>.
3001         * nptl/tst-cancel4.c: Include <sys/uio.h>
3002         * posix/test-errno.c: Likewise.
3003         * support/resolv_test.c: Likewise.
3004         * conform/Makefile (test-xfail-POSIX2008/arpa/inet.h/conform):
3005         Remove.
3006         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
3007         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
3008         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
3010         * conform/data/sys/socket.h-data (*_t): Allow.
3012 2017-04-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3014         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Remove ununsed
3015         assignment.
3017 2017-04-24  Daurnimator  <quae@daurnimator.com>
3018             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3020         [BZ #21340]
3021         * posix/Makefile (tests): Add tst-posix_spawn-setsid to list of tests.
3022         * posix/spawn.h: define POSIX_SPAWN_SETSID flag.
3023         * posix/spawnattr_setflags.c (ALL_FLAGS): Add POSIX_SPAWN_SETSID to
3024         valid flags.
3025         * posix/tst-posix_spawn-setsid.c: Add test for POSIX_SPAWN_SETSID.
3026         * sysdeps/mach/hurd/spawni.c (__spawni): Implementation of
3027         POSIX_SPAWN_SETSID.
3028         * sysdeps/posix/spawni.c (__spawni): Likewise.
3029         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
3030         * NEWS: Add note about POSIX_SPAWN_SETSID support.
3032 2017-04-24  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3034         * sysdeps/generic/math_private.h: Move the declaration of many
3035         functions to sysdeps/generic/math_private_calls.h.
3036         * sysdeps/generic/math_private_calls.h: New file with the
3037         declarations of the functions removed from math_private.h
3038         macroized by floating-point type.
3040 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
3042         * sysdeps/s390/multiarch/utf8-utf32-z9.c: New File.
3043         * sysdeps/s390/utf8-utf32-z9.c: Move ifunc resolvers to multiarch
3044         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
3045         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
3046         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
3047         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
3049 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
3051         * sysdeps/s390/multiarch/utf16-utf32-z9.c: New File.
3052         * sysdeps/s390/utf16-utf32-z9.c: Move ifunc resolvers to multiarch
3053         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|VX].
3054         (HAVE_FROM_C, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, FROM_LOOP_DEFAULT,
3055         FROM_LOOP_C, FROM_LOOP_VX, TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX):
3056         New Define.
3058 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
3060         * sysdeps/s390/multiarch/utf8-utf16-z9.c: New File.
3061         * sysdeps/s390/utf8-utf16-z9.c: Move ifunc resolvers to multiarch
3062         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
3063         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
3064         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
3065         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
3067 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
3069         * sysdeps/s390/multiarch/ifunc-resolve.h
3070         (s390_libc_ifunc_expr_init, s390_libc_ifunc_expr): New Define.
3071         * sysdeps/s390/multiarch/8bit-generic.c
3072         (__to_generic, __from_generic): Use s390_libc_ifunc_expr to
3073         define ifunc resolvers.
3075 2017-04-21  Florian Weimer  <fweimer@redhat.com>
3077         [BZ #20424]
3078         * manual/memory.texi (Replacing malloc): New section.
3079         (Allocating Storage For Program Data): Reference it.
3080         (The GNU Allocator): Likewise.
3082 2017-04-20  Joseph Myers  <joseph@codesourcery.com>
3084         * stdlib/Versions (__strtod_internal): List explicitly, not as
3085         wildcard.
3086         (__strtof_internal): Likewise.
3087         (__strtold_internal): Likewise.
3088         (__strtol_internal): Likewise.
3089         (__strtoll_internal): Likewise.
3090         (__strtoul_internal): Likewise.
3091         (__strtoull_internal): Likewise.
3092         (__strtoq_internal): Likewise.
3093         (__strtouq_internal): Likewise.
3094         * wcsmbs/Versions (__wcstod_internal): Likewise.
3095         (__wcstof_internal): Likewise.
3096         (__wcstold_internal): Likewise.
3097         (__wcstol_internal): Likewise.
3098         (__wcstoll_internal): Likewise.
3099         (__wcstoul_internal): Likewise.
3100         (__wcstoull_internal): Likewise.
3102 2017-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3104         * io/sys/stat.h: Use __USE_XOPEN2K8 insteaf of __USE_ATFILE for
3105         struct timespec definition.
3107 2017-04-19  Florian Weimer  <fweimer@redhat.com>
3109         * resolv/nss_dns/dns-host.c (getanswer_r): Fix parentheses.
3111 2017-04-19  Florian Weimer  <fweimer@redhat.com>
3113         * inet/rcmd.c (rresvport_af): Fix typo in comment.
3114         * inet/rexec.c (rexec_af): Likewise.
3116 2017-04-19  Zack Weinberg  <zackw@panix.com>
3118         * posix/tst-mmap-offset.c: Include stdint.h.
3119         * resolv/tst-ns_name_compress.c: Include string.h.
3120         * resolv/tst-resolv-edns.c: Include resolv.h.
3122 2017-04-19  Florian Weimer  <fweimer@redhat.com>
3124         * resolv/gai_suspend.c (gai_suspend): Replace __builtin_expect
3125         with __glibc_likely.
3126         * resolv/nss_dns/dns-host.c (getanswer_r, gaih_getanswer_slice):
3127         Replace __builtin_expect with __glibc_unlikely.
3128         * resolv/res_init.c (__res_vinit): Likewise.
3129         * resolv/res_query.c (__libc_res_nquery): Likewise.
3130         * resolv/res_send.c (__libc_res_nsend): Likewise.
3132 2017-04-19  Florian Weimer  <fweimer@redhat.com>
3134         [BZ #15722]
3135         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Create socket
3136         with SOCK_CLOEXEC.
3137         * resolv/res_send.c (send_vc, reopen): Likewise.
3138         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
3139         * sysdeps/unix/sysv/linux/check_native.c (__check_native):
3140         Likewise.
3141         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_open): Likewise.
3142         * inet/rexec.c (rexec_af): Add comment.
3143         * inet/rcmd.c (rresvport_af): Likewise.
3145 2017-04-19  Florian Weimer  <fweimer@redhat.com>
3147         * nscd/connections.c (have_accept4): Removed definition.
3148         (nscd_run_worker, main_loop_poll, main_loop_epolll): Assume that
3149         accept4 works.
3150         * manual/install.texi (Linux): Require at least kernel 3.2.18 for
3151         ia64 because that was the first version with accept4 support.
3152         * support/Makefile (libsupport-routines): Add xaccept4.
3153         * support/xsocket.h (xaccept4): Declare.
3154         * support/xaccept4.c: New file.
3155         * socket/tst-accept4.c: New file.
3156         * socket/Makefile (tests): Add tst-accept4.
3157         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Remove
3158         definition.
3159         * sysdeps/nacl/kernel-features.h (__ASSUME_ACCEPT4): Remove
3160         comment.
3161         * sysdeps/unix/sysv/linux/accept4.c: Assume that an accept4
3162         implementation is available.
3163         (accept4): Use the system call if available, otherwise use the
3164         socket call.
3165         * sysdeps/unix/sysv/linux/ia64/configure.ac (arch_minimum_kernel):
3166         Set to 3.2.18.
3167         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3168         (__ASSUME_ACCEPT4_SYSCALL, __ASSUME_ACCEPT4): Do not undefine.
3169         accept4 is unconditionally available in later 3.2 stable kernels.
3170         (__ASSUME_ACCEPT4_SYSCALL): Define.
3171         * sysdeps/unix/sysv/linux/kernel-features.h
3172         (__ASSUME_ACCEPT4_SOCKETCALL, __ASSUME_ACCEPT4): Remove
3173         definitions.
3174         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3175         (__ASSUME_ACCEPT4_SYSCALL): Define for Linux 4.3 or later.
3177 2017-04-18  Joseph Myers  <joseph@codesourcery.com>
3179         * conform/Makefile (tests-special): Do not make addition of
3180         $(conformtest-header-tests) conditional on [$(cross-compiling) = no].
3181         (generated): Do not make addition of $(conformtest-header-base)
3182         conditional on [$(cross-compiling) = no].
3184         [BZ #21267]
3185         * sysdeps/unix/sysv/linux/bits/socket.h (IOCSIZE_MASK): Undefine
3186         if defined by <asm/socket.h> and not previously defined.
3187         (IOCSIZE_SHIFT): Likewise.
3188         (IOC_IN): Likewise.
3189         (IOC_INOUT): Likewise.
3190         (IOC_OUT): Likewise.
3192 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
3194         [BZ #21396]
3195         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
3196         Prefer_No_AVX512 if AVX512ER isn't available.
3197         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New.
3198         (index_arch_Prefer_No_AVX512): Likewise.
3199         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use
3200         AVX512 version if Prefer_No_AVX512 is set.
3201         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk):
3202         Likewise.
3203         * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise.
3204         * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk):
3205         Likewise.
3206         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
3207         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk):
3208         Likewise.
3209         * sysdeps/x86_64/multiarch/memset.S (memset): Likewise.
3210         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk):
3211         Likewise.
3213 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
3215         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
3216         Prefer_No_VZEROUPPER if AVX512ER is available.
3217         * sysdeps/x86/cpu-features.h
3218         (bit_cpu_AVX512PF): New.
3219         (bit_cpu_AVX512ER): Likewise.
3220         (bit_cpu_AVX512CD): Likewise.
3221         (bit_cpu_AVX512BW): Likewise.
3222         (bit_cpu_AVX512VL): Likewise.
3223         (index_cpu_AVX512PF): Likewise.
3224         (index_cpu_AVX512ER): Likewise.
3225         (index_cpu_AVX512CD): Likewise.
3226         (index_cpu_AVX512BW): Likewise.
3227         (index_cpu_AVX512VL): Likewise.
3228         (reg_AVX512PF): Likewise.
3229         (reg_AVX512ER): Likewise.
3230         (reg_AVX512CD): Likewise.
3231         (reg_AVX512BW): Likewise.
3232         (reg_AVX512VL): Likewise.
3234 2017-04-18  Florian Weimer  <fweimer@redhat.com>
3236         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Assume that
3237         O_CLOEXEC is defined.
3238         * include/fcntl.h (__have_o_cloexec): Remove declaration.
3239         * io/Makefile (aux): Remove.
3240         * io/have_o_cloexec.c: Remove file.
3241         * libio/fileops.c (_IO_new_file_fopen): Assume that O_CLOEXEC is
3242         defined and works.
3243         * libio/iopopen.c (_IO_new_proc_open): Assume that O_CLOEXEC is
3244         defined.
3245         * login/utmp_file.c (O_flags): Remove definition.
3246         (setutent_file): Use O_CLOEXEC instead of O_flags.  Assume that
3247         O_CLOEXEC works.
3248         (pututline_file): Likewise.
3249         * malloc/mtrace.c: Assume that O_CLOEXEC works.
3250         * nis/nss_compat/compat-grp.c (__compat_have_cloexec): Remove
3251         definition.
3252         (internal_setgrent): Assume that O_CLOEXEC works.
3253         * nis/nss_compat/compat-initgroups.c (__compat_have_cloexec):
3254         Remove definition.
3255         (internal_setgrent): Assume that O_CLOEXEC works.
3256         * nis/nss_compat/compat-pwd.c (__compat_have_cloexec): Remove
3257         definition.
3258         (internal_setpwent): Assume that O_CLOEXEC works.
3259         * nis/nss_compat/compat-spwd.c (__compat_have_cloexec): Remove
3260         definition.
3261         (internal_setspent): Assume that O_CLOEXEC works.
3262         * nscd/connections.c (EXTRA_O_FLAGS): Remove definition.
3263         (nscd_init): Use O_CLOEXEC instead of EXTRA_O_FLAGS.  Assume that
3264         O_CLOEXEC is defined and works.
3265         * nss/Makefile (libnss_files-routines): Remove
3266         files-have_o_cloexec.
3267         * nss/nss_db/db-open.c (internal_setent): Assume that O_CLOEXEC is
3268         defined.
3269         * nss/nss_files/files-XXX.c (internal_setent): Assume that
3270         O_CLOEXEC is defined and works.
3271         * nss/nss_files/files-alias.c (internal_setent): Likewise.
3272         * nss/nss_files/files-have_o_cloexec.c: Remove.
3273         * posix/wordexp.c (exec_comm_child): Assume that O_CLOEXEC is
3274         defined.
3275         * shadow/lckpwdf.c (__lckpwdf): Assume that O_CLOEXEC is defined
3276         and works.
3277         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_O_CLOEXEC): Remove
3278         definition.
3279         * sysdeps/nacl/kernel-features.h (__ASSUME_O_CLOEXEC): Likewise.
3280         * sysdeps/posix/getcwd.c (__getcwd): Assume that O_CLOEXEC works.
3281         * sysdeps/posix/opendir.c (opendir_oflags): Turn into enum constant.
3282         (__opendirat, __opendir): Adjust opendir_oflags call.
3283         (check_have_o_cloexec): Remove.
3284         (__alloc_dir): Assume that O_CLOEXEC is defined and works.
3285         * sysdeps/posix/shm_open.c (shm_open): Assume that O_CLOEXEC is
3286         defined.
3287         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_O_CLOEXEC):
3288         Remove definition.
3290 2017-04-18  Florian Weimer  <fweimer@redhat.com>
3292         * include/unistd.h (__have_dup3): Remove declaration.
3293         * libio/freopen.c (freopen): Assume that O_CLOEXEC is defined and
3294         dup3 is available.
3295         * libio/freopen64.c (freopen64): Likewise.
3296         * socket/Makefile (aux): Remove have_sock_cloexec.
3297         * socket/have_sock_cloexec.c: Remove file.
3298         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Remove
3299         definition.
3300         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_DUP3):
3301         Likewise.
3302         * sysdeps/nacl/kernel-features.h: Update comment.
3304 2017-04-18  Florian Weimer  <fweimer@redhat.com>
3306         * include/unistd.h (__have_pipe2): Remove declaration.
3307         * socket/have_sock_cloexec.c (__have_pipe2): Remove definition.
3308         * libio/iopopen.c (_IO_new_proc_open): Assume that pipe2 is
3309         available.
3310         * posix/wordexp.c (exec_comm_child, exec_comm): Likewise.
3311         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PIPE2):
3312         Remove definition.
3314 2017-04-18  Florian Weimer  <fweimer@redhat.com>
3316         * malloc/malloc.c (cfree): Turn into compat symbol.
3317         (__cfree): Remove alias.
3318         * stdlib/stdlib.h (cfree): Remove declaration.
3319         * malloc/malloc.h (cfree): Likewise.
3320         * manual/memory.texi (Freeing after Malloc): Remove cfree.
3321         * malloc/Versions (GLIBC_2.26): Add.
3323 2017-04-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3325         * sysdeps/powerpc/powerpc64/multiarch/Makefile
3326         (sysdep_routines): Add strrchr-power8.
3327         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3328         (strrchr): Add __strrchr_power8 to list of strrchr functions.
3329         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: New file.
3330         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c
3331         (strrchr): Add __strrchr_power8 to ifunc list.
3332         * sysdeps/powerpc/powerpc64/power8/strrchr.S: New file.
3334 2017-04-17  Rabin Vincent  <rabinv@axis.com>
3336         [BZ #21357]
3337         * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases):
3338         Call free() outside of mutex.
3340 2017-04-13  Florian Weimer  <fweimer@redhat.com>
3342         * csu/check_fds.c (__libc_check_standard_fds): Assume O_NOFOLLOW
3343         is defined.
3344         * elf/rtld.c (process_envvars): Likewise.
3345         * sysdeps/posix/shm_open.c (shm_open): Likewise.
3346         * elf/dl-profile.c (EXTRA_FLAGS): Remove definition.  Use
3347         O_NOFOLLOW directly.
3348         * gmon/gmon.c (O_NOFOLLOW): Remove definition.
3350 2017-04-13  Florian Weimer  <fweimer@redhat.com>
3352         [BZ #21369]
3353         Remove EDNS fallback.
3354         * resolv/res_query.c (__libc_res_nquery): Remove RES_F_EDNS0ERR
3355         handling.
3356         * resolv/res_send.c (send_dg): Likewise.
3357         * resolv/tst-resolv-edns.c (response): Handle "formerr." and
3358         "tcp." prefixes.
3359         (do_test): Send a "formerr."-prefixed query in an attempt to
3360         trigger EDNS fallback.
3362 2017-04-13  Florian Weimer  <fweimer@redhat.com>
3364         [BZ #21361]
3365         Limit EDNS buffer size to 1200 bytes.
3366         * include/resolv.h (__res_nopt): Remove declaration.
3367         * resolv/Makefile (tests): tst-resolv-edns.
3368         (tst-resolv-edns): Link with -lresolv, -lpthread.
3369         * resolv/res_mkquery.c (__res_ntop): Limit EDNS buffer size to the
3370         interval [512, 1200].
3371         * resolv/res_query.c (__libc_res_nquery): Use 1200 buffer size if
3372         we can resize the buffer.
3373         * resolv/resolv-internal.h (RESOLV_EDNS_BUFFER_SIZE): Define.
3374         (__res_nopt): Declare.
3375         * resolv/tst-resolv-edns.c: New file.
3376         * resolv/resolv_test.h (struct resolv_edns_info): Define.
3377         (struct resolv_response_context): Add edns member.
3378         * resolv/resolv_test.c (struct query_info): Add edns member.
3379         (parse_query): Extract EDNS information from the query.
3380         (server_thread_udp_process_one): Propagate EDNS data.
3381         (server_thread_tcp_client): Likewise.
3383 2017-04-13  Florian Weimer  <fweimer@redhat.com>
3385         [BZ #21359]
3386         * resolv/ns_name.c (ns_name_pack): Do not require an additional
3387         byte in the destination buffer.  Avoid out-of-bounds pointer
3388         arithmetic.
3389         * resolv/Makefile (tests): Add tst-ns_name_compress.
3390         (tst-ns_name_compress): Link with -lresolv.
3391         * resolv/tst-ns_name_compress.c: New file.
3392         * resolv/tst-resolv-basic.c (LONG_NAME): Define.
3393         (response): Recognize LONG_NAME.
3394         (do_test): Add LONG_NAME tests.
3395         * resolv/tst-ns_name.c (run_test_case): Fix expected data check
3396         for ns_name_unpack.  Add tests for ns_name_pton and
3397         ns_name_compress.
3399 2017-04-13  Florian Weimer  <fweimer@redhat.com>
3401         * resolv/resolv.h (RES_EXHAUSTIVE, p_section, res_npquery)
3402         (res_nisourserver): Remove definition.
3403         (p_section, res_npquery, res_nisourserver): Remove declaration.
3404         (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): Move ...
3405         * resolv/resolv-internal.h (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR):
3406         ... here.
3407         * resolv/res_send.c: Include <resolv/resolv-internal.h> instead of
3408         <resolv.h>.
3409         * resolv/res_query.c: Likewise.
3410         * resolv/res_debug.c (p_section): Define as static.
3412 2017-04-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3414         * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add
3415         strncat-power8.
3416         * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add
3417         __strncat_power8 to ifunc list.
3418         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3419         (strncat): Add __strncat_power8 to list of strncat functions.
3420         * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file.
3422 2017-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3424         [BZ #21270]
3425         * posix/tst-mmap-offset.c (do_prepare): New function.
3426         (do_test): Rename to do_test_bz18877 and use FAIL_RET.
3427         (do_test_bz21270): New function.
3428         * sysdeps/unix/sysv/linux/aarch64/mmap.c: Remove file.
3429         * sysdeps/unix/sysv/linux/arm/mmap.c: Remove file.
3430         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c: Likewise.
3431         * sysdeps/unix/sysv/linux/hppa/mmap.c: Likewise.
3432         * sysdeps/unix/sysv/linux/i386/mmap.c: Likewise.
3433         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
3434         * sysdeps/unix/sysv/linux/m68k/mmap64.c: Likewise.
3435         * sysdeps/unix/sysv/linux/microblaze/mmap.S: Likewise.
3436         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: Likewise.
3437         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: Likewise.
3438         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: Likewise.
3439         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
3440         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
3441         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
3442         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: Likewise.
3443         * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: Likewise.
3444         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
3445         * sysdeps/unix/sysv/linux/mmap_internal.h: New file.
3446         * sysdeps/unix/sysv/linux/m68k/mmap_internal.h: Likewise.
3447         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap_internal.h: Likewise.
3448         * sysdeps/unix/sysv/linux/s390/mmap_internal.h: Likewise.
3449         * sysdeps/unix/sysv/linux/x86_64/64/mmap_internal.h: Likewise.
3450         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Remove mmap
3451         from auto-generation list.
3452         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Likewise.
3453         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
3454         * sysdeps/unix/sysv/linux/mmap.c: New file.
3455         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Add check for invalid
3456         offsets and support for mmap2 syscall.
3458         * posix/globtest.sh: Add cleanup routine on trap 0.
3460 2017-04-11  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
3462         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Define the
3463         implementation-specific function name and remove unneeded
3464         macros definition.
3465         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
3466         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
3467         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Set a default function
3468         name if not defined and pass as parameter to macros accordingly.
3469         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
3470         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
3472         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Define the
3473         implementation-specific function name and remove unneeded
3474         macros definition.
3475         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
3476         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
3477         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
3478         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
3479         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
3480         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
3481         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Set a default function
3482         name if not defined and pass as parameter to macros accordingly.
3483         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3484         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3485         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3486         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3487         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
3488         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
3490         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Define the
3491         implementation-specific function name and remove unneeded macros
3492         definition.
3493         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
3494         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
3495         * sysdeps/powerpc/powerpc64/power7/memchr.S: Set a default
3496         function name if not defined and pass as parameter to macros
3497         accordingly.
3498         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
3499         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
3501         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Define the
3502         implementation-specific function name and remove unneeded macros
3503         definition.
3504         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
3505         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
3506         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
3507         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
3508         * sysdeps/powerpc/powerpc64/memset.S: Set a default function name if
3509         not defined and pass as parameter to macros accordingly.
3510         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
3511         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3512         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
3513         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
3515         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Define the
3516         strcasestr implementation name and remove unneeded macros definition.
3517         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
3518         strstr implementation name and remove unneeded macros definition.
3519         * sysdeps/powerpc/powerpc64/power7/strstr.S: Set a default function
3520         name if not defined and pass as parameter to macros accordingly.
3521         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
3523         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Define the
3524         implementation-specific function name and remove unneeded macros
3525         definition.
3526         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
3527         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
3528         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
3529         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
3530         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
3531         * sysdeps/powerpc/powerpc64/power7/strchr.S: Set a default
3532         function name if not defined and pass as parameter to macros
3533         accordingly.
3534         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
3535         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
3536         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
3537         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
3539         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Define
3540         the strlen implementation name and remove unneeded macros definition.
3541         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
3542         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
3543         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Define
3544         the strnlen implementation name and remove unneeded macros definition.
3545         * sysdeps/powerpc/powerpc64/power7/strlen.S: Set a default function
3546         name if not defined and pass as parameter to macros accordingly.
3547         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
3548         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
3549         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
3551         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define
3552         the implementation-specific function name and remove unneeded
3553         macros definition.
3554         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
3555         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise.
3556         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
3557         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
3558         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
3559         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
3560         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
3561         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
3562         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
3563         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function
3564         name if not defined and pass as parameter to macros accordingly.
3565         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
3566         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3567         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
3568         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
3569         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
3570         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
3571         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
3572         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3574         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the
3575         implementation-specific function name and remove unneeded macros
3576         definition.
3577         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
3578         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
3579         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
3580         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
3581         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
3582         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default
3583         function name if not defined.
3584         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
3585         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
3587 2017-04-11  Paul Clarke  <pc@us.ibm.com>
3589         * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
3590         AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
3591         AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New.  Add auxvec
3592         identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
3594 2017-04-11  Florian Weimer  <fweimer@redhat.com>
3595             Zack Weinberg  <zackw@panix.com>
3597         * manual/filesys.texi (Reading/Closing Directory): Mark readdir,
3598         readdir64 as thread-safe.  Update warning about readdir_r.
3600 2017-04-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3602         * sysdeps/unix/sysv/linux/x86/Implies: New file.
3603         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
3604         * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
3605         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
3606         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
3607         * sysdeps/x86/bits/pthreadtypes.h: Move to ...
3608         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
3610 2017-04-10  H.J. Lu  <hongjiu.lu@intel.com>
3612         * sysdeps/i386/dl-procinfo.c: Include
3613         <sysdeps/x86/dl-procinfo.c>.
3614         * sysdeps/x86_64/dl-procinfo.c: Likewise.
3615         * sysdeps/x86/dl-procinfo.c: New file.
3617 2017-04-10  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3619         * sysdeps/generic/math_private.h: Remove declarations of
3620         many functions that are already declared in math.h.
3621         * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the
3622         declaration for __frexpl.
3623         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get
3624         the declarations for __scalbnl and fabsl.
3626 2017-04-09  Dmitry V. Levin  <ldv@altlinux.org>
3628         [BZ #20831]
3629         * elf/dl-map-segments.h (_dl_map_segments): Check for failure
3630         of __mprotect to change protection on the excess portion
3631         to disallow all access.
3633 2017-04-07  H.J. Lu  <hongjiu.lu@intel.com>
3635         * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
3636         HAS_CPU_FEATURE to check for SSE.
3637         * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3638         * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
3639         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
3640         * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
3641         * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
3642         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
3643         * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
3644         * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
3645         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
3646         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
3647         * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
3648         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
3649         * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
3650         * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
3651         (index_cpu_SSE): Likewise.
3652         (reg_SSE): Likewise.
3654 2017-04-07  Paul Eggert  <eggert@cs.ucla.edu>
3656         * posix/getopt1.c: Include <config.h>, not "config.h".
3658 2017-04-07  Zack Weinberg  <zackw@panix.com>
3660         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
3661         * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
3662         Mention in top-of-file boilerplate that these files are shared
3663         with gnulib.
3664         * posix/getopt.h, posix/bits/getopt_posix.h:
3665         Mention in top-of-file boilerplate that these files are NOT shared
3666         with gnulib, unlike the rest of the getopt implementation.
3668         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
3669         New files, intended to be shared with gnulib.
3670         * posix/bits/getopt_posix.h:
3671         New file, not intended to be shared with gnulib.
3672         * posix/getopt.h: Now just includes features.h,
3673         bits/getopt_core.h, and bits/getopt_ext.h.  Will
3674         no longer be shared with gnulib.
3675         * include/bits/getopt_core.h, include/bits/getopt_ext.h
3676         * include/bits/getopt_posix.h: New wrappers.
3677         * posix/Makefile: Install new headers.
3678         * posix/unistd.h, libio/stdio.h:
3679         Include bits/getopt_posix.h instead of getopt.h.
3681         * include/libc-symbols.h: For gnulib compatibility, define
3682         _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
3683         _GL_ATTRIBUTE_CONST.
3684         * posix/getopt.c (_getopt_initialize): Mark argc and argv
3685         parameters with _GL_UNUSED.
3687         * posix/getopt.c: When used standalone, define __libc_use_alloca
3688         as always false and alloca to abort if called.
3689         (process_long_option): Rewrite handling of ambiguous long options
3690         to use a single boolean vector, not a linked list; use
3691         __libc_use_alloca to decide whether to allocate this using alloca.
3692         * posix/tst-getopt_long1.c: Adjust text of expected error message.
3694         * posix/getopt.c (process_long_option): New function split out
3695         from _getopt_internal_r.
3696         (_getopt_internal_r): Replace both copies of the long-option
3697         processing code with calls to process_long_option.
3698         * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
3699         (do_test): Differentiate argv[0] in the two subtests.
3701         * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
3702         * posix/getopt.c (_getopt_internal_r): Move some initialization code...
3703         (_getopt_initialize): ...here. Don't set d->__posixly_correct.
3705         * posix/getopt.h: Add backup definition of __nonnull for
3706         consistency with gnulib.  Define __getopt_argv_const to const
3707         if not already defined.
3708         (getopt): Update doc comment from gnulib.  Prototype
3709         unconditionally.  Add __nonnull annotation.
3710         (__posix_getopt): Add __nonnull annotation.
3711         (getopt_long, getopt_long_only): Use __getopt_argv_const in
3712         prototypes for consistency with gnulib.  Add __nonnull
3713         annotations.
3714         * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
3715         (getopt_internal): Change 'argv' argument to type 'char **'.
3716         Remove now-unnecessary casts.
3717         (getopt, __posix_getopt): Eliminate repetition with a macro.
3718         Cast 'argv' to 'char **' when calling _getopt_internal.
3719         * posix/getopt1.c (getopt_long, getopt_long_only):
3720         Use __getopt_argv_const for consistency with gnulib.
3721         Cast 'argv' to 'char **' when calling _getopt_internal.
3722         (_getopt_long_r, _getopt_long_only_r):
3723         Change 'argv' argument to type 'char **'.
3724         (main): Constify 'long_options'.
3725         * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
3726         (_getopt_long_r, _getopt_long_only_r):
3727         Change 'argv' argument to type 'char **'.
3729         * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
3730         (locked_vfxprintf): New helper function. Handle arbitrary
3731         multibyte strings, not just ASCII.
3732         * include/stdio.h: Declare __fxprintf_nocancel.
3733         * posix/getopt.c: When _LIBC is defined, define fprintf to
3734         __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
3735         to _IO_funlockfile.  When neither _LIBC nor
3736         _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
3737         funlockfile as no-ops.
3738         (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
3739         the standalone error-printing code can now be used for libc as
3740         well.  Add an flockfile/funlockfile pair around one case where
3741         the error message is printed in several chunks.  Don't use fputc.
3742         * posix/tst-getopt-cancel.c: New test.
3743         * posix/Makefile: Run it.
3745         * posix/getopt.c (_getopt_internal_r): Don't increment
3746         d->optind a second time when reporting ambiguous -W options.
3748         * posix/getopt_int.h: Include getopt.h.
3749         Use impl-namespace names for all arguments to _getopt_internal and
3750         _getopt_internal_r.
3751         Declare __ordering enum outside the struct.
3752         Harmonize comments with gnulib.
3753         * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
3754         ELIDE_CODE logic entirely.  Move inclusion of stdlib.h to
3755         #ifdef TEST block and make unconditional.  Do not define NULL.
3756         * posix/getopt.c: Partial merge from gnulib, covering the
3757         initial includes and global declarations, commentary, and
3758         a couple of semantically-neutral code changes.
3760         * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
3761         Use '...' instead of `...' for quotation marks inside
3762         comments and strings.
3764         * config.h.in (USE_NONOPTION_FLAGS): Remove.
3765         * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
3766         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
3767         * posix/getopt_int.h: Likewise.
3768         * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
3769         __libc_argc and __libc_argv externs, which were only used by
3770         #ifdef USE_NONOPTION_FLAGS blocks.
3771         * posix/getopt_init.c: Remove file.
3772         * posix/Makefile (routines): Remove getopt_init.
3773         * include/getopt.h: Don't declare __getopt_initialize_environment.
3774         * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
3775         a comment.
3777 2017-04-07  Florian Weimer  <fweimer@redhat.com>
3779         * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
3781 2017-04-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3783         * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
3784         * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
3785         to __wrap_.udiv.
3786         * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
3787         * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
3789         * sysdeps/i386/symbol-hacks.h: New file.
3790         * sysdeps/m68k/symbol-hacks.h: New file.
3791         * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
3792         * sysdeps/s390/s390-32/symbol-hacks.h: New file.
3793         * sysdeps/unix/sysv/linux/i386/Makefile
3794         [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
3795         [$(subdir) = csu] (sysdep-only-routines): Likewise.
3796         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
3797         * sysdeps/unix/sysv/linux/m68k/Makefile
3798         [$(subdir) = csu] (sysdep_routines): Likewise.
3799         [$(subdir) = csu] (sysdep-only-routines): Likewise.
3800         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
3801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
3802         [$(subdir) = csu] (sysdep_routines): Likewise.
3803         [$(subdir) = csu] (sysdep-only-routines): Likewise.
3804         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
3805         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
3806         [$(subdir) = csu] (sysdep_routines): Likewise.
3807         [$(subdir) = csu] (sysdep-only-routines): Likewise.
3808         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
3809         * sysdeps/wordsize-32/Makefile: Remove file.
3810         * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
3811         * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
3813 2017-04-05  H.J. Lu  <hongjiu.lu@intel.com>
3815         * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
3816         (TEST_FUNCTION_ARGV): New.
3818 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
3820         * elf/next.c: Import support/test-driver.c instead of
3821         test-skeleton.c and delete TEST_FUNCTION macro definition.
3822         * elf/nodelete.c: Likewise.
3823         * elf/order2.c: Likewise.
3824         * elf/tst-_dl_addr_inside_object.c: Likewise.
3825         * elf/tst-addr1.c: Likewise.
3826         * elf/tst-align.c: Likewise.
3827         * elf/tst-align2.c: Likewise.
3828         * elf/tst-audit11.c: Likewise.
3829         * elf/tst-audit12.c: Likewise.
3830         * elf/tst-audit2.c: Likewise.
3831         * elf/tst-audit9.c: Likewise.
3832         * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
3833         * elf/tst-deep1.c: Likewise.
3834         * elf/tst-dl-iter-static.c: Likewise.
3835         * elf/tst-dlmodcount.c: Likewise.
3836         * elf/tst-dlmopen1.c: Likewise.
3837         * elf/tst-dlmopen2.c: Likewise.
3838         * elf/tst-dlmopen3.c: Likewise.
3839         * elf/tst-dlopen-aout.c: Likewise.
3840         * elf/tst-dlopenrpath.c: Likewise.
3841         * elf/tst-dlsym-error.c: Likewise.
3842         * elf/tst-execstack-needed.c: Likewise.
3843         * elf/tst-execstack-prog.c: Likewise.
3844         * elf/tst-execstack.c: Likewise.
3845         * elf/tst-global1.c: Likewise.
3846         * elf/tst-gnu2-tls1.c: Likewise.
3847         * elf/tst-latepthread.c: Likewise.
3848         * elf/tst-leaks1.c: Likewise.
3849         * elf/tst-linkall-static.c: Likewise.
3850         (do_test): New function.
3851         * elf/tst-nodelete-opened.c: Likewise.
3852         * elf/tst-nodelete.cc: Likewise.
3853         * elf/tst-nodelete2.c: Likewise.
3854         * elf/tst-noload.c: Likewise.
3855         * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
3856         * elf/tst-order-main.c: Likewise.
3857         * elf/tst-pathopt.c: Likewise.
3858         * elf/tst-pie2.c: Likewise.
3859         * elf/tst-piemod1.c: Likewise.
3860         * elf/tst-prelink.c: Likewise.
3861         * elf/tst-protected1a.c: Likewise.
3862         * elf/tst-protected1b.c: Likewise.
3863         * elf/tst-ptrguard1.c: Likewise, import getopt.h,
3864         and define _GNU_SOURCE macro.
3865         (cmdline_process_function): New function.
3866         * elf/tst-relsort1.c: Likewise.
3867         * elf/tst-stackguard1.c: Likewise, import getopt.h,
3868         and define _GNU_SOURCE macro.
3869         (cmdline_process_function): New function.
3870         * elf/tst-thrlock.c: Likewise.
3871         * elf/tst-tls-dlinfo.c: Likewise.
3872         * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
3873         * elf/tst-tls1.c: Likewise.
3874         * elf/tst-tls10.c: Likewise.
3875         * elf/tst-tls11.c: Likewise.
3876         * elf/tst-tls12.c: Likewise.
3877         * elf/tst-tls13.c: Likewise.
3878         * elf/tst-tls14.c: Likewise.
3879         * elf/tst-tls15.c: Likewise.
3880         * elf/tst-tls16.c: Likewise.
3881         * elf/tst-tls17.c: Likewise.
3882         * elf/tst-tls18.c: Likewise.
3883         * elf/tst-tls19.c: Likewise.
3884         * elf/tst-tls2.c: Likewise.
3885         * elf/tst-tls3.c: Likewise.
3886         * elf/tst-tls4.c: Likewise.
3887         * elf/tst-tls5.c: Likewise.
3888         * elf/tst-tls6.c: Likewise.
3889         * elf/tst-tls7.c: Likewise.
3890         * elf/tst-tls8.c: Likewise.
3891         * elf/tst-tls9.c: Likewise.
3892         * elf/tst-tlsalign-extern.c: Likewise.
3893         * elf/tst-tlsalign.c: Likewise.
3894         * elf/tst-unique1.c: Likewise.
3895         * elf/tst-unique2.c: Likewise.
3896         * elf/vismain.c: Likewise.
3898 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
3900         * string/test-strnlen.c (do_page_tests): New function
3901         to check length of strings ending at the page boundary.
3902         (test_main): Added call to the do_page_tests function.
3904 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
3905             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3907         * sysdeps/powerpc/powerpc64/multiarch/Makefile
3908         (sysdep_routines): Add strnlen-power8.
3909         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3910         (strnlen): Add __strnlen_power8 to list of strnlen functions.
3911         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
3912         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
3913         (__strnlen): Add __strnlen_power8 to ifunc list.
3914         * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
3916 2017-04-04  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
3918         * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
3919         the TEST_FUNCTION macro definition.
3920         * wcsmbs/tst-mbrtowc2.c: Likewise.
3921         * wcsmbs/tst-mbsrtowcs.c: Likewise.
3922         * wcsmbs/tst-wchar-h.c: Likewise.
3923         * wcsmbs/tst-wcpncpy.c: Likewise.
3924         * wcsmbs/tst-wcrtomb.c: Likewise.
3925         * wcsmbs/tst-wcsnlen.c: Likewise.
3926         * wcsmbs/tst-wcstof.c: Likewise.
3928 2017-04-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3930         * nptl/pthread_create.c (START_THREAD_DEFN): Remove
3931         CALL_THREAD_FCT macro usage.
3932         * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
3933         * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
3934         * sysdeps/x86_64/32/nptl/tls.h: Remove file.
3936         * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
3937         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3938         (__ASSUME_REQUEUE_PI): Likewise.
3939         * sysdeps/unix/sysv/linux/kernel-features.h
3940         (__ASSUME_REQUEUE_PI): Likewise.
3941         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3942         (__ASSUME_REQUEUE_PI): Likewise.
3943         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3944         (__ASSUME_REQUEUE_PI): Likewise.
3945         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3946         (__ASSUME_REQUEUE_PI): Likewise.
3948 2017-04-04  Florian Weimer  <fweimer@redhat.com>
3950         * resolv/tst-resolv-canonname.c: New file.
3951         * resolv/Makefile (tests): Add tst-resolv-canonname.
3952         (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
3954 2017-04-04  Florian Weimer  <fweimer@redhat.com>
3956         * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
3957         Declare.
3958         * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
3959         (NS_MAXCDNAME): Remove definition.
3960         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
3961         * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
3962         (NS_MAXCDNAME): Remove definition.
3963         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
3965 2017-04-04  Florian Weimer  <fweimer@redhat.com>
3967         * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
3968         call whose result is not used.
3970 2017-04-04  Florian Weimer  <fweimer@redhat.com>
3972         * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
3973         * resolv/Makefile (tests): Add tst-ns_name.
3974         (tst-ns_name): Link with -lresolv.
3975         (tst-ns_name.out): Depend on the input data file.
3977 2017-04-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
3979         * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
3980         Clobber also r14.
3982 2017-04-03  Mike Frysinger  <vapier@gentoo.org>
3984         [BZ #21253]
3985         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
3986         slack space by 32KiB.
3988 2017-04-01  Wladimir van der Laan  <laanwj@gmail.com>
3990         [BZ #21338]
3991         * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
3992         instead of incorrect do_set_arena_test
3994 2017-03-31  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3996         * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
3997         * math/bits/math-finite.h: Likewise.
3999 2017-03-31  Slava Barinov  <v.barinov@samsung.com>
4001         [BZ #21289]
4002         * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
4004 2017-03-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4006         * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
4007         non expected inotify_add_watch and quotactl return.
4009 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4011         * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
4012         to int32_t.
4013         * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
4014         as returning int32_t.
4016 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4018         * math/math.h: Include bits/math-finite.h once per
4019         floating-point type.
4020         * math/bits/math-finite.h: Macroize all declarations by
4021         floating-point type.
4023 2017-03-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4025         [BZ #21182]
4026         * string/test-memchr.c (do_test): Add BZ#21182 checks for address
4027         near end of a page.
4028         * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
4029         overflow calculation.
4031 2017-03-28  Steve Ellcey  <sellcey@caviumnetworks.com>
4033         * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
4034         (IMPL) Call with 1 instead of 0 as argument.
4036 2017-03-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4038         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
4039         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
4040         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
4041         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
4042         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
4043         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
4044         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
4045         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
4046         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
4047         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
4048         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
4049         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
4050         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
4051         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
4052         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
4053         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
4054         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
4055         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
4056         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
4057         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
4058         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
4059         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
4060         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
4061         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
4062         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
4063         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
4064         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
4065         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
4066         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
4067         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
4068         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
4069         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
4070         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
4071         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
4072         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
4073         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
4074         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
4075         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
4076         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
4077         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
4078         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
4079         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
4080         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
4081         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
4082         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
4083         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
4084         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
4085         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
4086         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
4087         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
4088         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
4089         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
4090         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
4091         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
4092         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
4093         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
4094         INLINE_SYSCALL_ERROR_RETURN_VALUE.
4095         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
4096         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
4097         defined.
4098         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
4099         __NR_setgroups32 if defined.
4100         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
4101         if defined.
4102         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
4103         __NR_setresgid32 is defined.
4104         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
4105         __NR_setresuid32 if defined.
4106         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
4107         __NR_setreuid32 if defined.
4108         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
4109         defined.
4110         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
4111         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
4112         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
4113         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
4114         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
4115         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
4116         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
4117         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
4118         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
4119         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
4120         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
4121         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
4122         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
4123         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
4124         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
4125         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
4126         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
4127         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
4128         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
4129         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
4130         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
4131         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
4132         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
4133         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
4134         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
4135         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
4136         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
4137         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
4138         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
4139         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
4140         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
4141         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
4142         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
4143         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
4144         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
4145         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
4146         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
4147         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
4148         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
4149         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
4150         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
4151         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
4152         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
4153         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
4154         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
4155         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
4156         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
4157         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
4158         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
4159         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
4160         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
4161         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
4162         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
4163         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
4164         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
4165         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
4166         INLINE_SYSCALL_ERROR_RETURN_VALUE.
4167         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
4168         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
4169         defined.
4170         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
4171         __NR_setgroups32 if defined.
4172         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
4173         if defined.
4174         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
4175         __NR_setresgid32 is defined.
4176         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
4177         __NR_setresuid32 if defined.
4178         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
4179         __NR_setreuid32 if defined.
4180         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
4181         defined.
4183 2017-03-27  Joseph Myers  <joseph@codesourcery.com>
4185         [BZ #21277]
4186         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
4187         unconditionally.
4188         (IMAXBEL): Likewise.
4189         (IUTF8): Likewise.
4191 2017-03-27  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4193         * sysdeps/aarch64/libm-test-ulps: Update.
4195 2017-03-24  Sunyeop Lee  <sunyeop97@gmail.com>
4197         * README.tunables: Updated descriptions.
4198         * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
4199         * scripts/gen-tunables.awk: Updated the code related to the
4200         commit.
4202 2017-03-23  Wilco Dijkstra  <wdijkstr@arm.com>
4204         * benchtests/Makefile (string-benchset): Add memcpy-random.
4205         * benchtests/bench-memcpy-random.c: New file.
4207 2017-03-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4209         * stdio-common/printf.h (register_printf_modifier): Change the
4210         order of __wur and __THROW.
4211         (register_printf_type): Likewise.
4213 2017-03-23  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
4215         * string/test-string.h (TEST_FUNCTION): Use test_main instead of
4216         test_main ().
4217         (CMDLINE_PROCESS): Use function instead of defined macro.
4218         * debug/test-strcpy_chk.c: Import support/test-driver.c and also
4219         <suppport/support.h> to use set_fortify_handler().
4220         * string/bug-envz1.c: Import support/test-driver.c instead of
4221         test-skeleton.c.
4222         * string/bug-strcoll2.c: Likewise.
4223         * string/bug-strtok1.c: Likewise.
4224         * string/stratcliff.c: Likewise.
4225         * string/test-ffs.c: Likewise.
4226         * string/test-memccpy.c: Likewise.
4227         * string/test-memchr.c: Likewise.
4228         * string/test-memcmp.c: Likewise.
4229         * string/test-memcpy.c: Likewise.
4230         * string/test-memmem.c: Likewise.
4231         * string/test-memmove.c: Likewise.
4232         * string/test-memrchr.c: Likewise.
4233         * string/test-memset.c: Likewise.
4234         * string/test-rawmemchr.c: Likewise.
4235         * string/test-strcasecmp.c: Likewise.
4236         * string/test-strcasestr.c: Likewise.
4237         * string/test-strcat.c: Likewise.
4238         * string/test-strchr.c: Likewise.
4239         * string/test-strcmp.c: Likewise.
4240         * string/test-strcpy.c: Likewise.
4241         * string/test-string.h: Likewise.
4242         * string/test-strlen.c: Likewise.
4243         * string/test-strncasecmp.c: Likewise.
4244         * string/test-strncat.c: Likewise.
4245         * string/test-strncmp.c: Likewise.
4246         * string/test-strncpy.c: Likewise.
4247         * string/test-strnlen.c: Likewise.
4248         * string/test-strpbrk.c: Likewise.
4249         * string/test-strrchr.c: Likewise.
4250         * string/test-strspn.c: Likewise.
4251         * string/test-strstr.c: Likewise.
4252         * string/tst-bswap.c: Likewise.
4253         * string/tst-cmp.c: Likewise.
4254         * string/tst-endian.c: Likewise.
4255         * string/tst-inlcall.c: Likewise.
4256         * string/tst-strcoll-overflow.c: Likewise.
4257         * string/tst-strfry.c: Likewise.
4258         * string/tst-strlen.c: Likewise.
4259         * string/tst-strtok.c: Likewise.
4260         * string/tst-strtok_r.c: Likewise.
4261         * string/tst-strxfrm.c: Likewise.
4262         * string/tst-strxfrm2.c: Likewise.
4263         * string/tst-svc.c: Likewise.
4264         * string/tst-svc2.c: Likewise.
4266 2017-03-22  Zack Weinberg  <zackw@panix.com>
4268         * stdio-common/bug25.c: Include stdlib.h.
4269         * support/tst-support_format_dns_packet.c: Include stdio.h,
4270         stdlib.h, and string.h.
4271         * support/tst-support_record_failure.c: Include string.h.
4272         * support/tst-support_record_failure-2.sh: Adjust line number
4273         expectations and correct a typo in an error message.
4275 2017-03-21  H.J. Lu  <hongjiu.lu@intel.com>
4277         [BZ #21258]
4278         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
4279         Define only if _dl_runtime_resolve is defined to
4280         _dl_runtime_resolve_sse_vex.
4281         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
4282         Fallthrough to _dl_runtime_resolve_sse_vex.
4284 2017-03-21  Joseph Myers  <joseph@codesourcery.com>
4286         * INSTALL: Regenerated.
4288 2017-03-21  Thorsten Kukuk  <kukuk@suse.com>
4290         * config.h.in: Add LINK_OBSOLETE_NSL.
4291         * config.make.in: Add build-obsolete-nsl.
4292         * configure.ac: Add obsolete-nsl option.
4293         * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
4294         * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
4295         * include/rpcsvc/nislib.h: Likewise.
4296         * include/rpcsvc/ypclnt.h: Likewise.
4297         * manual/install.texi: Document --enable-obsolete-nsl.
4298         * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
4299         * nis/nis_add.c: Replace libnsl_hidden_def with
4300         libnsl_hidden_nolink_def.
4301         * nis/nis_addmember.c: Likewise.
4302         * nis/nis_call.c: Likewise.
4303         * nis/nis_clone_obj.c: Likewise.
4304         * nis/nis_defaults.c: Likeise.
4305         * nis/nis_domain_of_r.c: Likewise.
4306         * nis/nis_error.c: Likewise.
4307         * nis/nis_file.c: Likewise.
4308         * nis/nis_free.c: Likewise.
4309         * nis_local_names.c: Likewise.
4310         * nis/nis_lookup.c: Likewise.
4311         * nis/nis_modify.c: Likewise.
4312         * nis/nis_print.c: Likewise.
4313         * nis/nis_remove.c: Likewise.
4314         * nis/nis_table.c: Likewise.
4315         * nis/nis_util.c: Likewise.
4316         * nis/nis_xdr.c: Likewise.
4317         * nis/yp_xdr.c: Likewise.
4318         * nis/ypclnt.c: Likewise.
4319         * nis/ypupdate_xdr.c: Likewise.
4320         * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
4321         * nis/nis_clone_dir.c: Likewise.
4322         * nis/nis_clone_res.c: Likewise.
4323         * nis/nis_creategroup.c: Likewise.
4324         * nis/nis_destroygroup.c: Likewise.
4325         * nis/nis_domain_of.c: Likewise.
4326         * nis/nis_getservlist.c: Likewise.
4327         * nis/nis_ismember.c: Likewise.
4328         * nis/nis_mkdir.c: Likewise.
4329         * nis/nis_ping.c: Likewise.
4330         * nis/nis_print_group_entry.c: Likewise.
4331         * nis/nis_removemember.c: Likewise.
4332         * nis/nis_rmdir.c: Likewise.
4333         * nis/nis_server.c: Likewise.
4334         * nis/nis_subr.c: Likewise.
4335         * nis/nis_verifygroup.c: Likewise.
4337 2017-03-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
4339         * malloc/tst-interpose-aux.c (check_for_allocations):
4340         Move compiler barrier before free.
4342 2017-03-20  Joseph Myers  <joseph@codesourcery.com>
4344         [BZ #21279]
4345         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
4346         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
4347         * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
4348         x86_64-x32-linux.
4349         (mq_attr.mq_maxmsg): Likewise.
4350         (mq_attr.mq_msgsize): Likewise.
4351         (mq_attr.mq_curmsgs): Likewise.
4353         [BZ #21278]
4354         * sysdeps/unix/sysv/linux/mips/mips32/Makefile
4355         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
4356         * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
4357         mips-o32-linux.
4359         [BZ #21268]
4360         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
4361         if [__USE_MISC]
4362         (NL3): Likewise.
4364 2017-03-20  Mike Frysinger  <vapier@gentoo.org>
4366         [BZ #21275]
4367         * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
4368         __stack to __stackbase.
4369         (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
4370         checks so we can include defined(__ia64__) first.
4372 2017-03-19  Christian Brauner  <christian.brauner@ubuntu.com>
4374         * sysdeps/unix/sysv/linux/ttyname.h: New file.
4375         * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
4376         (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
4377         Call is_pty when the link does not exist or does not match, fail
4378         with ENODEV when it returns true.
4379         * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
4380         (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
4381         Call is_pty when the link does not exist or does not match, fail
4382         with ENODEV when it returns true.
4384 2017-03-18  Joseph Myers  <joseph@codesourcery.com>
4386         [BZ #16437]
4387         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
4388         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
4389         * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
4390         x86_64-x32-linux.
4391         * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
4392         * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
4393         * conform/data/time.h-data (timespec.tv_nsec): Likewise.
4395         [BZ #21261]
4396         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
4397         [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
4398         names for all fields.
4399         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
4400         for jmp_buf field renaming.
4401         (_JMPBUF_UNWINDS_ADJ): Likewise.
4403         * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
4404         with allow-header.
4406 2017-03-17  Chris Evans  <scarybeasts@gmail.com>
4408         * malloc/malloc.c (unlink): Add consistency check between size and
4409         next->prev->size, to further harden against 1-byte overflows.
4411 2017-03-17  H.J. Lu  <hongjiu.lu@intel.com>
4413         * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
4414         CPU_FEATURES_CPU_P.
4416 2017-03-17  Joseph Myers  <joseph@codesourcery.com>
4418         [BZ #21259]
4419         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
4420         unconditionally, not just for [__USE_MISC].
4422         [BZ #17786]
4423         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
4424         * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
4425         mips-o32-linux.
4427         [BZ #21260]
4428         * sysdeps/unix/sysv/linux/alpha/Makefile
4429         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
4430         * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
4432         * conform/conformtest.pl ($cross): New variable.
4433         (--cross): New command-line option.
4434         (runtest): Skip test execution when cross-compiling.
4435         * conform/Makefile (conformtest-cross): New variable.
4436         ($(conformtest-header-tests)): Pass $(conformtest-cross) to
4437         conformtest.pl.
4439         * conform/conformtest.pl ($xfail_str): New variable.
4440         (--xfail=): New command-line option.
4441         (top level): Handle expectations starting xfail[cond]-.
4442         * conform/Makefile (conformtest-xfail): New variable.
4443         ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
4444         conformtest.pl.
4446 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
4448         * conform/conformtest.pl: Use compilation instead of execution
4449         tests for testing values of constants and usability in #if.
4451 2017-03-16  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4453         * math/auto-libm-test-in: Mark some catan and catanh as
4454         xfail-rounding:ibm128-libgcc.
4455         * math/auto-libm-test-out-catan: Regenerate.
4456         * math/auto-libm-test-out-catanh: Likewise.
4458 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
4460         * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
4461         (__END_NAMESPACE_STD): Likewise.
4462         (__USING_NAMESPACE_STD): Likewise.
4463         (__BEGIN_NAMESPACE_C99): Likewise.
4464         (__END_NAMESPACE_C99): Likewise.
4465         (__USING_NAMESPACE_C99): Likewise.
4466         * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
4467         undefine macro.
4468         (_Mdouble_END_NAMESPACE): Likewise.
4469         * ctype/ctype.h: Do not handle C++ namespaces.
4470         * libio/bits/stdio-ldbl.h: Likewise.
4471         * libio/stdio.h: Likewise.
4472         * locale/locale.h: Likewise.
4473         * math/bits/mathcalls.h: Likewise.
4474         * setjmp/setjmp.h: Likewise.
4475         * signal/signal.h: Likewise.
4476         * stdlib/bits/stdlib-float.h: Likewise.
4477         * stdlib/bits/stdlib-ldbl.h: Likewise.
4478         * stdlib/stdlib.h: Likewise.
4479         * string/string.h: Likewise.
4480         * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
4481         * time/bits/types/clock_t.h: Likewise.
4482         * time/bits/types/struct_tm.h: Likewise.
4483         * time/bits/types/time_t.h: Likewise.
4484         * time/time.h: Likewise.
4485         * wcsmbs/bits/wchar-ldbl.h: Likewise.
4486         * wcsmbs/uchar.h: Likewise.
4487         * wcsmbs/wchar.h: Likewise.
4488         [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
4489         * wctype/wctype.h: Do not handle C++ namespaces.
4490         * scripts/begin-end-check.pl: Remove.
4491         * Makefile (installed-headers): Likewise.
4492         (tests-special): Do not add $(objpfx)begin-end-check.out.
4493         ($(objpfx)begin-end-check.out): Remove.
4495 2017-03-15  Steve Ellcey  <sellcey@caviumnetworks.com>
4496             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4498         * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
4499         (DL_PLATFORM_INIT): New define.
4500         (dl_platform_init): New function.
4501         * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
4502         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
4503         * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
4504         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
4505         * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
4507 2017-03-15  Mike Frysinger  <vapier@gentoo.org>
4509         * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
4510         instead of PIC.
4512 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
4514         [BZ #21094]
4515         * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
4516         24+24+24-bit pi for wider range of values around pi/2.
4517         * math/auto-libm-test-in: Add more tests of cos and tan.
4518         * math/auto-libm-test-out-cos: Regenerated.
4519         * math/auto-libm-test-out-tan: Likewise.
4521 2017-03-15  John David Anglin  <danglin@gcc.gnu.org>
4523         * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
4524         (RTLD_START): Don't record stack end address in _dl_start_user.
4526 2017-03-15  Alexey Neyman  <stilor@att.net>
4528         [BZ #21088]
4529         * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
4530         around definitions match those around use.
4532 2017-03-15  Alexey Neyman  <stilor@att.net>
4534         * configure.ac: Avoid empty subexpression in grep.
4535         * configure: Regenerate.
4537 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4539         * posix/test-errno.c (do_test): Initialize setsockopt optlen.
4540         * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
4541         * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
4542         (test_wrp_rv): Fix format.
4543         (test_wrp_rv2): New macro.
4544         (do_test): Handle mlock return on 64 bits kernels with 32 bits
4545         binaries.
4547 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
4549         * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
4550         Use a union when storing pointers.
4551         (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
4552         cast result when passing to INIT_VEC_PTRS_LOOP.
4553         (VECTOR_WRAPPER_fFF_3): Likewise.
4554         (VECTOR_WRAPPER_fFF_4): Likewise.
4556 2017-03-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4558         * include/bits/mathcalls-helper-functions.h: New file.
4559         * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
4560         * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
4561         (__isinf, __isnan, __issignaling, __signbit): Move declarations to
4562         math/bits/mathcalls-helper-functions.h.
4563         * math/bits/mathcalls-helper-functions.h: New file.
4564         * math/math.h: Include bits/mathcalls-helper-functions.h for
4565         float, double, and long double.
4567 2017-03-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4569         * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
4570         instead of feraiseexcept.
4572 2017-03-15  Florian Weimer  <fweimer@redhat.com>
4574         [BZ #21243]
4575         * support/temp_file.c (support_delete_temp_files): Add comment
4576         about ignored errors.
4578 2017-03-15  Florian Weimer  <fweimer@redhat.com>
4580         [BZ #21244]
4581         * support/xclose.c: New file.
4582         * support/Makefile (libsupport-routines): Add xclose.
4583         * support/xunistd.h (xclose): Declare.
4584         * support/resolv_test.c (server_thread_tcp_client)
4585         (server_thread_tcp, make_server_sockets, resolv_test_start)
4586         (resolv_test_end): Call xclose instead of close.
4587         * support/support_enter_network_namespace.c
4588         (support_enter_network_namespace): Likewise.
4589         * support/support_run_diff.c (write_to_temp_file): Likewise.
4591 2017-03-15  Florian Weimer  <fweimer@redhat.com>
4593         * support/support_format_dns_packet.c (support_format_dns_packet):
4594         Handle CNAME records in the response.  Extract RDATA names from
4595         rdata, not the whole packet.  Check AAAA record length.
4596         * support/tst-support_format_dns_packet.c: New file.
4597         * support/Makefile (tests): Add tst-support_format_dns_packet.
4598         (tst-support_format_dns_packet): Link against libresolv.
4600 2017-03-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4602         [BZ #21232]
4603         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
4604         posix_fadvise64 weak_alias for static build.
4606 2017-03-14  Andreas Schwab  <schwab@suse.de>
4608         * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
4609         * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
4610         (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
4611         * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
4612         * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
4613         (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
4614         * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
4615         * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
4617 2017-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4619         * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
4620         posix error code.
4621         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
4623 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4625         * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
4626         no_isolate usage for SH.
4628 2017-03-13  Wilco Dijkstra  <wdijkstr@arm.com>
4630         [BZ #15105]
4631         [BZ #19463]
4632         * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
4633         * inet/rcmd.c (rcmd_af): Likewise.
4634         * inet/rexec.c   (rexec_af): Likewise.
4635         * intl/dcigettext.c (_LIBC): Likewise.
4636         * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
4637         * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
4638         * locale/setlocale.c (setlocale): Likewise.
4639         * posix/spawn_faction_addopen.c
4640         (posix_spawn_file_actions_addopen): Likewise.
4641         * stdlib/putenv.c (putenv): Use __strndup.
4642         * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
4643         * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
4644         * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
4645         (__Need_M_And_C) Remove define/undef.
4646         * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
4647         (__malloc_and_calloc_defined): Remove define.
4648         * string/bits/string2.h (__strdup): Remove define.
4649         (strdup): Likewise.
4650         (__strndup): Likewise.
4651         (strndup): Likewise.
4653 2017-03-13  Joseph Myers  <joseph@codesourcery.com>
4655         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
4656         macro.
4657         (IPV6_ADDR_PREFERENCES): Likewise.
4658         (IPV6_MINHOPCOUNT): Likewise.
4659         (IPV6_ORIGDSTADDR): Likewise.
4660         (IPV6_RECVORIGDSTADDR): Likewise.
4661         (IPV6_TRANSPARENT): Likewise.
4662         (IPV6_UNICAST_IF): Likewise.
4663         (IPV6_RECVFRAGSIZE): Likewise.
4665 2017-03-13  Thorsten Kukuk  <kukuk@suse.com>
4667         * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
4669 2017-03-12  Alexey Neyman <stilor@att.net>
4671         * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
4672         in R_SH_DIR32 case is always false when inlined from
4673         dl-conflict.c. Ifdef out to prevent GCC from insertin an
4675 2016-03-12  Marko Myllynen  <myllynen@redhat.com>
4677         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4678         (__ASSUME_RECV_SYSCALL): Replace duplicate by
4679         __ASSUME_SEND_SYSCALL.
4681 2017-03-11  Thorsten Kukuk  <kukuk@suse.com>
4683         * sunrpc/Makefile: don't build and install rpcsvc header
4684         files, rpcgen and librpcsvc.a by default.
4686 2017-03-10  Stefan Liebler  <stli@linux.vnet.ibm.com>
4688         * math/auto-libm-test-out-catan: Regenerated.
4689         * math/auto-libm-test-out-catanh: Likewise.
4690         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4692 2017-03-09  Joseph Myers  <joseph@codesourcery.com>
4694         * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
4695         for long double with corrected test expectations.
4697 2016-03-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4699         * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
4700         Define.
4701         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
4702         (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
4703         * sysdeps/unix/sysv/linux/nios2/sysdep.h
4704         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
4705         * sysdeps/unix/sysv/linux/tile/sysdep.h
4706         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
4707         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4708         (__ASSUME_RECV_SYSCALL): Define.
4709         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4710         (__ASSUME_RECV_SYSCALL): Likewise.
4711         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4712         (__ASSUME_RECV_SYSCALL): Likewise.
4713         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4714         (__ASSUME_RECV_SYSCALL): Likewise.
4715         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4716         (__ASSUME_RECV_SYSCALL): Likewise.
4717         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4718         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
4719         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4720         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
4721         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4722         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
4723         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
4724         auto-generation list.
4725         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
4726         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
4727         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
4728         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4729         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4730         * sysdeps/unix/sysv/linux/send.c: Simplify includes.
4731         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
4732         __ASSUME_SENDTO_SYSCALL.
4733         * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
4734         * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
4735         * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
4737         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
4738         auto-generation list.
4739         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
4740         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
4741         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
4742         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4743         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4744         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4745         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4746         * sysdeps/unix/sysv/linux/kernel-features.h
4747         (__ASSUME_SENDTO_SYSCALL): Define by default.
4748         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4749         (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
4750         __NR_sendto.
4751         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4752         (__ASSUME_SENDTO_SYSCALL): Likewise.
4753         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4754         (__ASSUME_SENDTO_SYSCALL): Likewise.
4755         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4756         (__ASSUME_SENDTO_SYSCALL): Remove definition.
4757         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4758         (__ASSUME_SENDTO_SYSCALL): Likewise.
4759         * sysdeps/unix/sysv/linux/sh/kernel-features.h:
4760         (__ASSUME_SENDTO_SYSCALL): Likewise.
4761         * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
4763         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
4764         auto-generation list.
4765         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
4766         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
4767         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4768         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4769         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4770         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4771         (__ASSUME_RECV_SYSCALL): New define.
4772         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4773         (__ASSUME_RECV_SYSCALL): Likewise.
4774         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4775         (__ASSUME_RECV_SYSCALL): Likewise.
4776         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4777         (__ASSUME_RECV_SYSCALL): Likewise.
4778         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4779         (__ASSUME_RECV_SYSCALL): Likewise.
4780         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4781         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
4782         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4783         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
4784         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4785         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
4786         * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
4787         * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
4788         * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
4789         * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
4790         (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
4791         __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
4793         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
4794         auto-generation list.
4795         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
4796         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
4797         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
4798         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4799         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4800         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4801         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4802         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4803         (__ASSUME_RECVFROM_SYSCALL): Define by default.
4804         * sysdeps/unix/sysv/linux/kernel-features.h
4805         (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
4806         __NR_recvfrom.
4807         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4808         (__ASSUME_RECVFROM_SYSCALL): Likewise.
4809         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4810         (__ASSUME_RECVFROM_SYSCALL): Likewise.
4811         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4812         (__ASSUME_RECVFROM_SYSCALL): Remove definition.
4813         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4814         (__ASSUME_RECVFROM_SYSCALL): Likewise.
4815         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4816         (__ASSUME_RECVFROM_SYSCALL): Likewise.
4817         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4818         (__ASSUME_RECVFROM_SYSCALL): Likewise.
4819         * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
4821         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
4822         auto-generation list.
4823         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
4824         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
4825         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4826         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4827         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
4828         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4829         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4830         * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
4831         * sysdeps/unix/sysv/linux/kernel-features.h
4832         (__ASSUME_CONNECT_SYSCALL): Define.
4833         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4834         (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
4835         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4836         (__ASSUME_CONNECT_SYSCALL): Likewise.
4837         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4838         (__ASSUME_CONNECT_SYSCALL): Likewise.
4839         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4840         (__ASSUME_CONNECT_SYSCALL): Likewise.
4842         * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
4843         __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
4844         * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
4845         auto-generation list.
4846         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
4847         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
4848         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
4849         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4850         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4851         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4852         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4853         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4854         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
4855         (__ASSUME_ACCEPT_SYSCALL): Undefine.
4856         * sysdeps/unix/sysv/linux/kernel-features.h
4857         (__ASSUME_ACCEPT_SYSCALL): New define.
4858         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4859         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
4860         (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
4861         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4862         (__ASSUME_ACCEPT_SYSCALL): Define.
4863         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4864         (__ASSUME_ACCEPT_SYSCALL): Undefine.
4865         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4866         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
4867         (__ASSUME_ACCEPT_SYSCALL): Undefine.
4868         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4869         (__ASSUME_ACCEPT_SYSCALL): Undefine.
4870         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4871         (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
4873 2017-03-08  Yury Norov <ynorov@caviumnetworks.com>
4874             Zack Weinberg  <zackw@panix.com>
4876         * posix/test-errno.c: New file.
4877         * posix/Makefile (tests): Add test-errno.
4878         * sysdeps/unix/sysv/linux/test-errno.c: New file.
4879         * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
4881 2017-03-08  Stefan Liebler  <stli@linux.vnet.ibm.com>
4883         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4885 2017-03-07  Florian Weimer  <fweimer@redhat.com>
4887         * time/tzset.c (compute_offset): Open-code min macro.
4888         (min, max, sign): Remove.
4890 2017-03-07  Florian Weimer  <fweimer@redhat.com>
4892         [BZ #15576]
4893         Remove TZNAME_MAX limit from sysconf.
4894         * include/time.h (__tzname_cur_max, __tzname_max): Remove
4895         declaration.
4896         * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
4897         compute_tzname_max.
4898         (compute_tzname_max): Remove.
4899         * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
4900         (update_vars): Do not update __tzname_cur_max.
4901         (tzset_internal): Remove argument.
4902         (__tzset): Adjust call to tzset_internal.
4903         (__tz_convert): Likewise.
4905         * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
4906         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
4907         * manual/conf.texi (Sysconf Definition): Update comment.
4909 2017-03-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4911         [BZ #21209]
4912         * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
4913         AT_SECURE processes.
4914         * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
4915         * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
4916         (test_child): Likewise.
4917         * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
4919 2017-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4921         * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
4923 2017-03-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
4925         * sysdeps/s390/atomic-machine.h
4926         (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
4927         (__arch_compare_and_exchange_val_8_acq,
4928         __arch_compare_and_exchange_val_16_acq,
4929         __arch_compare_and_exchange_val_32_acq,
4930         __arch_compare_and_exchange_val_64_acq):
4931         Delete macro.
4932         (atomic_compare_and_exchange_val_acq,
4933         atomic_compare_and_exchange_val_rel,
4934         atomic_compare_and_exchange_bool_acq,
4935         catomic_compare_and_exchange_bool_acq,
4936         atomic_exchange_acq, atomic_exchange_rel,
4937         atomic_exchange_and_add_acq,
4938         atomic_exchange_and_add_rel,
4939         catomic_exchange_and_add, atomic_or_val,
4940         atomic_or, catomic_or, atomic_bit_test_set,
4941         atomic_and_val, atomic_and, catomic_and):
4942         Define macros with help of C11 atomic builtins.
4944 2017-03-03  Justus Winter <justus@gnupg.org>
4946         * sysdeps/mach/hurd/ftruncate64.c: New file.
4947         * sysdeps/mach/hurd/truncate64.c: Likewise.
4949 2017-03-03  Florian Weimer  <fweimer@redhat.com>
4951         * time/tzfile.c (NOID): Do not define.
4952         * time/tzset.c (NOID): Likewise.
4954 2017-03-03  Florian Weimer  <fweimer@redhat.com>
4956         * time/tzset.c (compute_offset): Remove __attribute_noinline__.
4958 2017-03-02  Florian Weimer  <fweimer@redhat.com>
4960         * elf/get-dynamic-info.h: Remove header file inclusion guard.
4962 2017-03-02  Florian Weimer  <fweimer@redhat.com>
4964         [BZ #21015]
4965         * manual/install.texi (Configuring and compiling): Document
4966         --enable-bind-now.
4967         * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
4968         (build-shlib-helper): Use $(LDFLAGS-lib.so).
4969         (format.lds): Likewise.
4970         [bind-now] (LDFLAGS-c.so): Remove.
4971         * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
4972         be R_X86_64_GLOB_DAT.
4973         * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
4974         relocation can be R_386_GLOB_DAT.
4975         * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
4976         relocaiton can be R_ALPHA_GLOB_DAT.
4977         * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
4979 2017-03-01  Zack Weinberg  <zackw@panix.com>
4981         * include/libc-pointer-arith.h: New file.  Define
4982         cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
4983         PTR_ALIGN_DOWN here.
4984         * include/libc-internal.h: Definitions of above macros
4985         moved from here.  Don't include libc-diag.h anymore either.
4986         * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
4987         Don't include libc-internal.h.
4989         * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
4990         * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
4991         * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
4992         * string/strcoll_l.c, sysdeps/nacl/brk.c
4993         * sysdeps/unix/clock_settime.c
4994         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
4995         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
4996         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
4997         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
4998         Don't include libc-internal.h.
5000         * elf/get-dynamic-info.h, iconv/loop.c
5001         * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
5002         * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
5003         * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
5004         * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
5005         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
5006         * sysdeps/ieee754/dbl-64/k_rem_pio2.c
5007         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
5008         * sysdeps/ieee754/flt-32/k_rem_pio2f.c
5009         * sysdeps/ieee754/ldbl-128/k_tanl.c
5010         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
5011         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
5012         * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
5013         Include libc-diag.h instead of libc-internal.h.
5015         * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
5016         * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
5017         * malloc/malloc.c, sysdeps/i386/nptl/tls.h
5018         * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
5019         * sysdeps/unix/sysv/linux/spawni.c
5020         * sysdeps/x86_64/nptl/tls.h:
5021         Include libc-pointer-arith.h instead of libc-internal.h.
5023         * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
5024         * sysdeps/x86_64/atomic-machine.h:
5025         Add multiple include guard.
5027         * nss/tst-cancel-getpwuid_r.c: Include nss.h.
5028         * string/strcasestr.c: No need to include config.h.
5029         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
5030         sys/auxv.h. Don't include sysdep.h.
5031         * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
5033         * dlfcn/tst-dladdr.c: Don't include ldsodefs.h.  Don't use
5034         DL_LOOKUP_ADDRESS.
5035         * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
5036         LDBL_MANT_DIG is greater than DBL_MANT_DIG.
5037         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
5038         sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
5039         of ARTIFICIAL_LIMIT.
5040         * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
5041         declaration of __clone2.
5043 2017-02-28  Florian Weimer  <fweimer@redhat.com>
5045         * scripts/backport-support.sh (latest_commit): New file.
5047 2017-02-28  Florian Weimer  <fweimer@redhat.com>
5049         [BZ #20257]
5050         * inet/Makefile (routines): Add deadline.
5051         (tests-static): Add tst-deadline.
5052         * inet/net-internal.h (struct deadline_current_time)
5053         (__deadline_current_time, struct deadline, __deadline_is_infinite)
5054         (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
5055         (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
5056         * inet/deadline.c: New file.
5057         * inet/tst-deadline.c: Likewise.
5058         * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
5059         tst-udp-timeout, tst-udp-garbage.
5060         (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
5061         explicitly.
5062         (tst-udp-garbage): Likewise.  Also link against thread library.
5063         * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
5064         struct layout is part of the ABI.
5065         (clntudp_call): Rework timeout handling.
5066         * sunrpc/tst-udp-garbage.c: New file.
5067         * sunrpc/tst-udp-nonblocking.c: Likewise.
5068         * sunrpc/tst-udp-timeout.c: Likewise.
5070 2017-02-28  Florian Weimer  <fweimer@redhat.com>
5072         [BZ #5010]
5073         * sunrpc/svc.c (svc_is_mapped): Remove.
5074         (svc_unregister): Obtain mapped status while the service is still
5075         registered.
5076         * sunrpc/Makefile [have-thread-library] (tests): Add
5077         tst-svc_register.
5078         (tst-svc_register): Link against libc.so explicitly and the thread
5079         library.
5080         * sunrpc/tst-svc_register.c: New file.
5082 2017-02-28  Andreas Schwab  <schwab@linux-m68k.org>
5084         * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
5085         * sysdeps/pthread/bits/sigthread.h: Likewise.
5087 2017-02-27  Florian Weimer  <fweimer@redhat.com>
5089         [BZ #21115]
5090         * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
5091         * sunrpc/Makefile (tests): Add tst-udp-error.
5092         (tst-udp-error): Link against libc.so explicitly.
5093         * sunrpc/tst-udp-error: New file.
5095 2017-02-25  Zack Weinberg  <zackw@panix.com>
5097         * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
5098         __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
5100         * sysdeps/generic/math_ldbl.h
5101         * sysdeps/ia64/fpu/math_ldbl.h
5102         * sysdeps/ieee754/ldbl-128/math_ldbl.h
5103         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
5104         * sysdeps/ieee754/ldbl-96/math_ldbl.h
5105         * sysdeps/powerpc/fpu/math_ldbl.h
5106         * sysdeps/x86_64/fpu/math_ldbl.h:
5107         Allow direct inclusion.  Use uintNN_t instead of u_intNN_t.
5108         Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
5109         LITTLE_ENDIAN.  Include endian.h and/or stdint.h if necessary.
5110         Add copyright notices.
5112         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
5113         Don't use EXTRACT_WORDS64.
5115         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
5116         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
5117         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
5118         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
5119         Include math_ldbl.h, not math_private.h.
5121 2017-02-25  Zack Weinberg  <zackw@panix.com>
5123         * include/libc-diag.h: New file.  Define ignore_value,
5124         DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
5125         DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
5127         * include/libc-internal.h: Definitions of above macros moved from
5128         here.  Include libc-diag.h.  Add copyright notice.
5130         * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
5131         * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
5132         * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
5133         * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
5134         * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
5135         * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
5136         * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
5137         * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
5138         Include libc-diag.h instead of libc-internal.h.
5140         * stdlib/tst-environ.c: Include libc-diag.h.  Suppress -Wnonnull for
5141         call to unsetenv (NULL).
5142         * nptl/tst-mutex1.c: Include libc-diag.h.  Suppress -Wnonnull for
5143         call to pthread_mutexattr_destroy (NULL).
5145 2017-02-25  Zack Weinberg  <zackw@panix.com>
5147         * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
5148         * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
5149         __GLIBC_USE (DEPRECATED_GETS).  Update comments to indicate
5150         gets was removed from C++ in C++14.
5151         * include/stdio.h: Remove redundant declaration of gets.
5152         * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
5153         be declared, since we are testing it.
5154         * stdio-common/Makefile (tst-gets.c): Compile with
5155         -Wno-deprecated-declarations.
5156         * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
5157         (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
5158         (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
5159         Compile with -Wno-deprecated-declarations.
5161 2017-02-24  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5163         * math/libm-test-support.c (check_ulp): Use LIT() around literal
5164         numbers.
5166 2017-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5168         * resolv/tst-resolv-qtypes.c (domain):
5169         Change type to const pointer to const char.
5171 2017-02-24  Joseph Myers  <joseph@codesourcery.com>
5173         * math/Makefile (libm-tests-generated): Remove variable.
5174         (libm-tests-base-normal): New variable.
5175         (libm-tests-base-finite): Likewise.
5176         (libm-tests-base-inline): Likewise.
5177         (libm-tests-base): Likewise.
5178         (libm-tests-normal): Likewise.
5179         (libm-tests-finite): Likewise.
5180         (libm-tests-inline): Likewise.
5181         (libm-tests-vector): Likewise.
5182         (libm-tests): Define in terms of these new variables.
5183         (libm-tests-for-type): New variable.
5184         (libm-tests.o): Move definition.
5185         (tests): Move addition of $(libm-tests).
5186         (generated): Update for new and removed libm test files.
5187         ($(objpfx)libm-test.c): Remove target.
5188         ($(objpfx)libm-have-vector-test.h): Likewise.
5189         (CFLAGS-test-double-vlen2.c): Remove variable.
5190         (CFLAGS-test-double-vlen4.c): Likewise.
5191         (CFLAGS-test-double-vlen8.c): Likewise.
5192         (CFLAGS-test-float-vlen4.c): Likewise.
5193         (CFLAGS-test-float-vlen8.c): Likewise.
5194         (CFLAGS-test-float-vlen16.c): Likewise.
5195         (CFLAGS-test-float.c): Likewise.
5196         (CFLAGS-test-float-finite.c): Likewise.
5197         (CFLAGS-libm-test-support-float.c): Likewise.
5198         (CFLAGS-test-double.c): Likewise.
5199         (CFLAGS-test-double-finite.c): Likewise.
5200         (CFLAGS-libm-test-support-double.c): Likewise.
5201         (CFLAGS-test-ldouble.c): Likewise.
5202         (CFLAGS-test-ldouble-finite.c): Likewise.
5203         (CFLAGS-libm-test-support-ldouble.c): Likewise.
5204         (libm-test-inline-cflags): New variable.
5205         (CFLAGS-test-ifloat.c): Remove variable.
5206         (CFLAGS-test-idouble.c): Likewise.
5207         (CFLAGS-test-ildouble.c): Likewise.
5208         ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
5209         dependencies.
5210         ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
5211         ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
5212         ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
5213         ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
5214         ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
5215         Likewise.
5216         (dependencies on libm-test-support-*.o): Remove.
5217         ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
5218         rules using iterators.
5219         ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
5220         Likewise.
5221         ($(objpfx)libm-test-support-$(o).o): Likewise.
5222         ($(addprefix $(objpfx),$(filter-out $(tests-static)
5223         $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
5224         instead.
5225         ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
5226         define rule instead.
5227         * math/README.libm-test: Update.
5228         * math/libm-test-acos.inc: Include libm-test-driver.c.
5229         (do_test): New function.
5230         * math/libm-test-acosh.inc: Include libm-test-driver.c.
5231         (do_test): New function.
5232         * math/libm-test-asin.inc: Include libm-test-driver.c.
5233         (do_test): New function.
5234         * math/libm-test-asinh.inc: Include libm-test-driver.c.
5235         (do_test): New function.
5236         * math/libm-test-atan.inc: Include libm-test-driver.c.
5237         (do_test): New function.
5238         * math/libm-test-atan2.inc: Include libm-test-driver.c.
5239         (do_test): New function.
5240         * math/libm-test-atanh.inc: Include libm-test-driver.c.
5241         (do_test): New function.
5242         * math/libm-test-cabs.inc: Include libm-test-driver.c.
5243         (do_test): New function.
5244         * math/libm-test-cacos.inc: Include libm-test-driver.c.
5245         (do_test): New function.
5246         * math/libm-test-cacosh.inc: Include libm-test-driver.c.
5247         (do_test): New function.
5248         * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
5249         (do_test): New function.
5250         * math/libm-test-carg.inc: Include libm-test-driver.c.
5251         (do_test): New function.
5252         * math/libm-test-casin.inc: Include libm-test-driver.c.
5253         (do_test): New function.
5254         * math/libm-test-casinh.inc: Include libm-test-driver.c.
5255         (do_test): New function.
5256         * math/libm-test-catan.inc: Include libm-test-driver.c.
5257         (do_test): New function.
5258         * math/libm-test-catanh.inc: Include libm-test-driver.c.
5259         (do_test): New function.
5260         * math/libm-test-cbrt.inc: Include libm-test-driver.c.
5261         (do_test): New function.
5262         * math/libm-test-ccos.inc: Include libm-test-driver.c.
5263         (do_test): New function.
5264         * math/libm-test-ccosh.inc: Include libm-test-driver.c.
5265         (do_test): New function.
5266         * math/libm-test-ceil.inc: Include libm-test-driver.c.
5267         (do_test): New function.
5268         * math/libm-test-cexp.inc: Include libm-test-driver.c.
5269         (do_test): New function.
5270         * math/libm-test-cimag.inc: Include libm-test-driver.c.
5271         (do_test): New function.
5272         * math/libm-test-clog.inc: Include libm-test-driver.c.
5273         (do_test): New function.
5274         * math/libm-test-clog10.inc: Include libm-test-driver.c.
5275         (do_test): New function.
5276         * math/libm-test-conj.inc: Include libm-test-driver.c.
5277         (do_test): New function.
5278         * math/libm-test-copysign.inc: Include libm-test-driver.c.
5279         (do_test): New function.
5280         * math/libm-test-cos.inc: Include libm-test-driver.c.
5281         (do_test): New function.
5282         * math/libm-test-cosh.inc: Include libm-test-driver.c.
5283         (do_test): New function.
5284         * math/libm-test-cpow.inc: Include libm-test-driver.c.
5285         (do_test): New function.
5286         * math/libm-test-cproj.inc: Include libm-test-driver.c.
5287         (do_test): New function.
5288         * math/libm-test-creal.inc: Include libm-test-driver.c.
5289         (do_test): New function.
5290         * math/libm-test-csin.inc: Include libm-test-driver.c.
5291         (do_test): New function.
5292         * math/libm-test-csinh.inc: Include libm-test-driver.c.
5293         (do_test): New function.
5294         * math/libm-test-csqrt.inc: Include libm-test-driver.c.
5295         (do_test): New function.
5296         * math/libm-test-ctan.inc: Include libm-test-driver.c.
5297         (do_test): New function.
5298         * math/libm-test-ctanh.inc: Include libm-test-driver.c.
5299         (do_test): New function.
5300         * math/libm-test-erf.inc: Include libm-test-driver.c.
5301         (do_test): New function.
5302         * math/libm-test-erfc.inc: Include libm-test-driver.c.
5303         (do_test): New function.
5304         * math/libm-test-exp.inc: Include libm-test-driver.c.
5305         (do_test): New function.
5306         * math/libm-test-exp10.inc: Include libm-test-driver.c.
5307         (do_test): New function.
5308         * math/libm-test-exp2.inc: Include libm-test-driver.c.
5309         (do_test): New function.
5310         * math/libm-test-expm1.inc: Include libm-test-driver.c.
5311         (do_test): New function.
5312         * math/libm-test-fabs.inc: Include libm-test-driver.c.
5313         (do_test): New function.
5314         * math/libm-test-fdim.inc: Include libm-test-driver.c.
5315         (do_test): New function.
5316         * math/libm-test-floor.inc: Include libm-test-driver.c.
5317         (do_test): New function.
5318         * math/libm-test-fma.inc: Include libm-test-driver.c.
5319         (do_test): New function.
5320         * math/libm-test-fmax.inc: Include libm-test-driver.c.
5321         (do_test): New function.
5322         * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
5323         (do_test): New function.
5324         * math/libm-test-fmin.inc: Include libm-test-driver.c.
5325         (do_test): New function.
5326         * math/libm-test-fminmag.inc: Include libm-test-driver.c.
5327         (do_test): New function.
5328         * math/libm-test-fmod.inc: Include libm-test-driver.c.
5329         (do_test): New function.
5330         * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
5331         (do_test): New function.
5332         * math/libm-test-frexp.inc: Include libm-test-driver.c.
5333         (do_test): New function.
5334         * math/libm-test-fromfp.inc: Include libm-test-driver.c.
5335         (do_test): New function.
5336         * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
5337         (do_test): New function.
5338         * math/libm-test-getpayload.inc: Include libm-test-driver.c.
5339         (do_test): New function.
5340         * math/libm-test-hypot.inc: Include libm-test-driver.c.
5341         (do_test): New function.
5342         * math/libm-test-ilogb.inc: Include libm-test-driver.c.
5343         (do_test): New function.
5344         * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
5345         (do_test): New function.
5346         * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
5347         (do_test): New function.
5348         * math/libm-test-isfinite.inc: Include libm-test-driver.c.
5349         (do_test): New function.
5350         * math/libm-test-isgreater.inc: Include libm-test-driver.c.
5351         (do_test): New function.
5352         * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
5353         (do_test): New function.
5354         * math/libm-test-isinf.inc: Include libm-test-driver.c.
5355         (do_test): New function.
5356         * math/libm-test-isless.inc: Include libm-test-driver.c.
5357         (do_test): New function.
5358         * math/libm-test-islessequal.inc: Include libm-test-driver.c.
5359         (do_test): New function.
5360         * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
5361         (do_test): New function.
5362         * math/libm-test-isnan.inc: Include libm-test-driver.c.
5363         (do_test): New function.
5364         * math/libm-test-isnormal.inc: Include libm-test-driver.c.
5365         (do_test): New function.
5366         * math/libm-test-issignaling.inc: Include libm-test-driver.c.
5367         (do_test): New function.
5368         * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
5369         (do_test): New function.
5370         * math/libm-test-isunordered.inc: Include libm-test-driver.c.
5371         (do_test): New function.
5372         * math/libm-test-iszero.inc: Include libm-test-driver.c.
5373         (do_test): New function.
5374         * math/libm-test-j0.inc: Include libm-test-driver.c.
5375         (do_test): New function.
5376         * math/libm-test-j1.inc: Include libm-test-driver.c.
5377         (do_test): New function.
5378         * math/libm-test-jn.inc: Include libm-test-driver.c.
5379         (do_test): New function.
5380         * math/libm-test-lgamma.inc: Include libm-test-driver.c.
5381         (do_test): New function.
5382         * math/libm-test-llogb.inc: Include libm-test-driver.c.
5383         (do_test): New function.
5384         * math/libm-test-llrint.inc: Include libm-test-driver.c.
5385         (do_test): New function.
5386         * math/libm-test-llround.inc: Include libm-test-driver.c.
5387         (do_test): New function.
5388         * math/libm-test-log.inc: Include libm-test-driver.c.
5389         (do_test): New function.
5390         * math/libm-test-log10.inc: Include libm-test-driver.c.
5391         (do_test): New function.
5392         * math/libm-test-log1p.inc: Include libm-test-driver.c.
5393         (do_test): New function.
5394         * math/libm-test-log2.inc: Include libm-test-driver.c.
5395         (do_test): New function.
5396         * math/libm-test-logb.inc: Include libm-test-driver.c.
5397         (do_test): New function.
5398         * math/libm-test-lrint.inc: Include libm-test-driver.c.
5399         (do_test): New function.
5400         * math/libm-test-lround.inc: Include libm-test-driver.c.
5401         (do_test): New function.
5402         * math/libm-test-modf.inc: Include libm-test-driver.c.
5403         (do_test): New function.
5404         * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
5405         (do_test): New function.
5406         * math/libm-test-nextafter.inc: Include libm-test-driver.c.
5407         (do_test): New function.
5408         * math/libm-test-nextdown.inc: Include libm-test-driver.c.
5409         (do_test): New function.
5410         * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
5411         (do_test): New function.
5412         * math/libm-test-nextup.inc: Include libm-test-driver.c.
5413         (do_test): New function.
5414         * math/libm-test-pow.inc: Include libm-test-driver.c.
5415         (do_test): New function.
5416         * math/libm-test-remainder.inc: Include libm-test-driver.c.
5417         (do_test): New function.
5418         * math/libm-test-remquo.inc: Include libm-test-driver.c.
5419         (do_test): New function.
5420         * math/libm-test-rint.inc: Include libm-test-driver.c.
5421         (do_test): New function.
5422         * math/libm-test-round.inc: Include libm-test-driver.c.
5423         (do_test): New function.
5424         * math/libm-test-roundeven.inc: Include libm-test-driver.c.
5425         (do_test): New function.
5426         * math/libm-test-scalb.inc: Include libm-test-driver.c.
5427         (do_test): New function.
5428         * math/libm-test-scalbln.inc: Include libm-test-driver.c.
5429         (do_test): New function.
5430         * math/libm-test-scalbn.inc: Include libm-test-driver.c.
5431         (do_test): New function.
5432         * math/libm-test-setpayload.inc: Include libm-test-driver.c.
5433         (do_test): New function.
5434         * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
5435         (do_test): New function.
5436         * math/libm-test-signbit.inc: Include libm-test-driver.c.
5437         (do_test): New function.
5438         * math/libm-test-significand.inc: Include libm-test-driver.c.
5439         (do_test): New function.
5440         * math/libm-test-sin.inc: Include libm-test-driver.c.
5441         (do_test): New function.
5442         * math/libm-test-sincos.inc: Include libm-test-driver.c.
5443         (do_test): New function.
5444         * math/libm-test-sinh.inc: Include libm-test-driver.c.
5445         (do_test): New function.
5446         * math/libm-test-sqrt.inc: Include libm-test-driver.c.
5447         (do_test): New function.
5448         * math/libm-test-tan.inc: Include libm-test-driver.c.
5449         (do_test): New function.
5450         * math/libm-test-tanh.inc: Include libm-test-driver.c.
5451         (do_test): New function.
5452         * math/libm-test-tgamma.inc: Include libm-test-driver.c.
5453         (do_test): New function.
5454         * math/libm-test-totalorder.inc: Include libm-test-driver.c.
5455         (do_test): New function.
5456         * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
5457         (do_test): New function.
5458         * math/libm-test-trunc.inc: Include libm-test-driver.c.
5459         (do_test): New function.
5460         * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
5461         (do_test): New function.
5462         * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
5463         (do_test): New function.
5464         * math/libm-test-y0.inc: Include libm-test-driver.c.
5465         (do_test): New function.
5466         * math/libm-test-y1.inc: Include libm-test-driver.c.
5467         (do_test): New function.
5468         * math/libm-test-yn.inc: Include libm-test-driver.c.
5469         (do_test): New function.
5470         * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
5471         (HAVE_VECTOR): Remove macro.
5472         (START): Do not call HAVE_VECTOR.
5473         * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
5474         * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
5475         * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
5476         * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
5477         * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
5478         * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
5479         * math/test-math-vector.h (FUNC_TEST): New macro.
5480         (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
5481         * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
5482         (double-vlen4-funcs): Likewise.
5483         (double-vlen4-avx2-funcs): Likewise.
5484         (double-vlen8-funcs): Likewise.
5485         (float-vlen4-funcs): Likewise.
5486         (float-vlen8-funcs): Likewise.
5487         (float-vlen8-avx2-funcs): Likewise.
5488         (float-vlen16-funcs): Likewise.
5489         (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
5490         (CFLAGS-test-float-vlen8-avx2.c): Likewise.
5491         * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
5492         macro.
5493         (TEST_VECTOR_sin): Likewise.
5494         (TEST_VECTOR_sincos): Likewise.
5495         (TEST_VECTOR_log): Likewise.
5496         (TEST_VECTOR_exp): Likewise.
5497         (TEST_VECTOR_pow): Likewise.
5498         * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
5499         Likewise.
5500         (TEST_VECTOR_sin): Likewise.
5501         (TEST_VECTOR_sincos): Likewise.
5502         (TEST_VECTOR_log): Likewise.
5503         (TEST_VECTOR_exp): Likewise.
5504         (TEST_VECTOR_pow): Likewise.
5505         * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
5506         Likewise.
5507         (TEST_VECTOR_sinf): Likewise.
5508         (TEST_VECTOR_sincosf): Likewise.
5509         (TEST_VECTOR_logf): Likewise.
5510         (TEST_VECTOR_expf): Likewise.
5511         (TEST_VECTOR_powf): Likewise.
5512         * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
5513         Likewise.
5514         (TEST_VECTOR_sinf): Likewise.
5515         (TEST_VECTOR_sincosf): Likewise.
5516         (TEST_VECTOR_logf): Likewise.
5517         (TEST_VECTOR_expf): Likewise.
5518         (TEST_VECTOR_powf): Likewise.
5519         * math/gen-libm-have-vector-test.sh: Remove file.
5520         * math/libm-test.inc: Likewise.
5521         * math/libm-test-support-double.c: Likewise.
5522         * math/libm-test-support-float.c: Likewise.
5523         * math/libm-test-support-ldouble.c: Likewise.
5524         * math/test-double-finite.c: Likewise.: Likewise.
5525         * math/test-double.c: Likewise.
5526         * math/test-float-finite.c: Likewise.
5527         * math/test-float.c: Likewise.
5528         * math/test-idouble.c: Likewise.
5529         * math/test-ifloat.c: Likewise.
5530         * math/test-ildouble.c: Likewise.
5531         * math/test-ldouble-finite.c: Likewise.
5532         * math/test-ldouble.c: Likewise.
5533         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5534         * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
5535         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5536         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5537         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5538         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
5539         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5540         * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
5541         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5542         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5544 2017-02-23 Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5545            Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5547         * math/Makefile: Add wrappers to gen-libm-calls.
5548         * math/w_acos_template.c: New file.
5549         * math/w_acosh_template.c: Likewise.
5550         * math/w_asin_template.c: Likewise.
5551         * math/w_atan2_template.c: Likewise.
5552         * math/w_atanh_template.c: Likewise.
5553         * math/w_cosh_template.c: Likewise.
5554         * math/w_exp10_template.c: Likewise.
5555         * math/w_exp2_template.c: Likewise.
5556         * math/w_exp_template.c: Likewise.
5557         * math/w_fmod_template.c: Likewise.
5558         * math/w_hypot_template.c: Likewise.
5559         * math/w_j0_template.c: Likewise.
5560         * math/w_j1_template.c: Likewise.
5561         * math/w_jn_template.c: Likewise.
5562         * math/w_lgamma_r_template.c: Likewise.
5563         * math/w_lgamma_template.c: Likewise.
5564         * math/w_log10_template.c: Likewise.
5565         * math/w_log2_template.c: Likewise.
5566         * math/w_log_template.c: Likewise.
5567         * math/w_pow_template.c: Likewise.
5568         * math/w_remainder_template.c: Likewise.
5569         * math/w_sinh_template.c: Likewise.
5570         * math/w_sqrt_template.c: Likewise.
5571         * math/w_tgamma_template.c: Likewise.: Likewise.
5572         * sysdeps/generic/math-type-macros-double.h
5573         (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
5574         the new wrappers.
5575         * sysdeps/generic/math-type-macros-float.h: Likewise.
5576         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
5578 2017-02-22  Joseph Myers  <joseph@codesourcery.com>
5580         * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
5581         New enum constant and macro.
5583         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5584         kernel version to 4.10.
5586 2017-02-21  Joseph Myers  <joseph@codesourcery.com>
5588         * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
5590 2017-02-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5592         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5594 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
5596         * sysdeps/powerpc/tst-set_ppr.c: New file.
5597         Implement test cases for __ppc_set_ppr_* functions.
5598         * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
5599         in the list of tests.
5601 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
5603         * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
5604         instead of test-skeleton.c.
5605         (do_test): Replaced pthread_create and pthread_join with
5606         xpthread_create and xpthread_join.  Use TEST_VERIFY_EXIT macro.
5607         Removed unneeded status variable.
5608         * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
5609         instead of test-skeleton.c.
5610         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
5612 2017-02-20  Mike FABIAN  <mfabian@redhat.com>
5614         [BZ #20313]
5615         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
5616         201605L, for Unicode 9.
5618 2017-02-20  Joseph Myers  <joseph@codesourcery.com>
5620         * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
5621         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
5622         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
5623         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
5624         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
5625         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
5627 2017-02-19  Zack Weinberg  <zackw@panix.com>
5629         * rt/tst-mqueue4.c: Include stdint.h.
5631 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
5633         * sysdeps/arm/libm-test-ulps: Update.
5634         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5635         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5636         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
5638 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5640         [BZ #21029]
5641         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
5642         * sysdeps/unix/sysv/linux/i386/Makefile
5643         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
5644         (uses-6-syscall-arguments): Remove.
5645         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
5646         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
5647         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
5648         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
5649         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
5650         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
5651         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
5652         [$(subdir) = misc] (cflags-pselect.o): Likewise.
5653         [$(subdir) = misc] (cflags-pselect.os): Likewise.
5654         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
5655         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
5656         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
5657         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
5658         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
5659         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
5660         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
5661         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
5662         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
5663         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
5664         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
5665         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
5666         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
5667         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
5668         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
5669         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
5670         Likewise.
5671         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
5672         Likewise.
5673         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
5674         Likewise.
5675         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
5676         Likewise.
5677         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
5678         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
5679         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
5680         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
5681         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
5682         ebp on inline assembly.
5683         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
5684         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
5685         Set if CAN_USE_REGISTER_ASM_EBP is set.
5687 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
5689         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
5690         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
5692 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
5694         * math/auto-libm-test-in: Add tests of catan and catanh.
5695         * math/auto-libm-test-out-catan: New generated file.
5696         * math/auto-libm-test-out-catanh: Likewise.
5697         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
5698         Move tests with finite inputs, except divide-by-zero cases, to
5699         auto-libm-test-in.
5700         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
5701         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
5702         (libm-test-funcs-noauto): Remove catan and catanh.
5703         * sysdeps/i386/fpu/libm-test-ulps: Update.
5704         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
5705         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5707         * math/auto-libm-test-in: Add tests of casin and casinh.
5708         * math/auto-libm-test-out-casin: New generated file.
5709         * math/auto-libm-test-out-casinh: Likewise.
5710         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
5711         Move tests with finite inputs to auto-libm-test-in.
5712         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
5713         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
5714         (libm-test-funcs-noauto): Remove casin and casinh.
5715         * sysdeps/i386/fpu/libm-test-ulps: Update.
5716         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
5717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5719         * math/auto-libm-test-in: Add tests of cacos and cacosh.
5720         * math/auto-libm-test-out-cacos: New generated file.
5721         * math/auto-libm-test-out-cacosh: Likewise.
5722         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
5723         Move tests with finite inputs to auto-libm-test-in.
5724         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
5725         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
5726         (libm-test-funcs-noauto): Remove cacos and cacosh.
5727         * sysdeps/i386/fpu/libm-test-ulps: Update.
5728         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
5729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5731         Revert:
5732         2017-02-16  Zack Weinberg  <zackw@panix.com>
5734         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
5735         Don't include init-arch.h.
5736         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
5737         Don't include init-arch.h.
5739 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5741         [BZ #21171]
5742         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
5743         +Inf and raise divide-by-zero when x is negative.
5744         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
5745         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
5746         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
5747         -Inf and raise divide-by-zero when x = +-0.
5748         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
5749         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
5750         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
5751         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
5752         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
5753         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
5754         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
5756 2017-02-16  Zack Weinberg  <zackw@panix.com>
5758         * scripts/build-many-glibcs.py (bot_build_mail): If the
5759         bot_config does not contain all of the necessary email-
5760         related settings, just print a warning and continue.
5762 2017-02-16  Zack Weinberg  <zackw@panix.com>
5764         * crypt/md5.h: Test _LIBC with #if defined, not #if.
5765         * dirent/opendir-tst1.c: Include sys/stat.h.
5766         * dirent/tst-fdopendir.c: Include sys/stat.h.
5767         * dirent/tst-fdopendir2.c: Include stdlib.h.
5768         * dirent/tst-scandir.c: Include stdbool.h.
5769         * elf/tst-auditmod1.c: Include link.h and stddef.h.
5770         * elf/tst-tls15.c: Include stdlib.h.
5771         * elf/tst-tls16.c: Include stdlib.h.
5772         * elf/tst-tls17.c: Include stdlib.h.
5773         * elf/tst-tls18.c: Include stdlib.h.
5774         * iconv/tst-iconv6.c: Include endian.h.
5775         * iconvdata/bug-iconv11.c: Include limits.h.
5776         * io/test-utime.c: Include stdint.h.
5777         * io/tst-faccessat.c: Include sys/stat.h.
5778         * io/tst-fchmodat.c: Include sys/stat.h.
5779         * io/tst-fchownat.c: Include sys/stat.h.
5780         * io/tst-fstatat.c: Include sys/stat.h.
5781         * io/tst-futimesat.c: Include sys/stat.h.
5782         * io/tst-linkat.c: Include sys/stat.h.
5783         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
5784         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
5785         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
5786         * io/tst-openat.c: Include stdbool.h.
5787         * io/tst-readlinkat.c: Include sys/stat.h.
5788         * io/tst-renameat.c: Include sys/stat.h.
5789         * io/tst-symlinkat.c: Include sys/stat.h.
5790         * io/tst-unlinkat.c: Include stdbool.h.
5791         * libio/bug-memstream1.c: Include stdlib.h.
5792         * libio/bug-wmemstream1.c: Include stdlib.h.
5793         * libio/tst-fwrite-error.c: Include stdlib.h.
5794         * libio/tst-memstream1.c: Include stdlib.h.
5795         * libio/tst-memstream2.c: Include stdlib.h.
5796         * libio/tst-memstream3.c: Include stdlib.h.
5797         * malloc/tst-interpose-aux.c: Include stdint.h.
5798         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
5799         * nptl/tst-basic7.c: Include limits.h.
5800         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
5801         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
5802         * nptl/tst-cancel4_1.c: Include stddef.h.
5803         * nptl/tst-cancel4_2.c: Include stddef.h.
5804         * nptl/tst-cond16.c: Include limits.h.
5805         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
5806         * nptl/tst-cond18.c: Include limits.h.
5807         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
5808         * nptl/tst-cond4.c: Include stdint.h.
5809         * nptl/tst-cond6.c: Include stdint.h.
5810         * nptl/tst-stack2.c: Include limits.h.
5811         * nptl/tst-stackguard1.c: Include stddef.h.
5812         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
5813         * nptl/tst-tls4moda.c: Include stddef.h.
5814         Don't include stdio.h, unistd.h, or tls.h.
5815         * nptl/tst-tls4modb.c: Include stddef.h.
5816         Don't include stdio.h, unistd.h, or tls.h.
5817         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
5818         * posix/tst-getaddrinfo2.c: Include stdio.h.
5819         * posix/tst-getaddrinfo5.c: Include stdio.h.
5820         * posix/tst-pathconf.c: Include sys/stat.h.
5821         * posix/tst-posix_fadvise-common.c: Include stdint.h.
5822         * posix/tst-preadwrite-common.c: Include sys/stat.h.
5823         * posix/tst-regex.c: Include stdint.h.
5824         Don't include spawn.h or spawn_int.h.
5825         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
5826         * posix/tst-vfork3.c: Include sys/stat.h.
5827         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
5828         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
5829         * resolv/tst-resolv-search.c: Include stdlib.h.
5830         * stdio-common/tst-fmemopen2.c: Include stdint.h.
5831         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
5832         * stdlib/test-canon.c: Include sys/stat.h.
5833         * stdlib/tst-tls-atexit.c: Include stdbool.h.
5834         * string/test-memchr.c: Include stdint.h.
5835         * string/tst-cmp.c: Include stdint.h.
5836         * sysdeps/pthread/tst-timer.c: Include stdint.h.
5837         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
5838         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
5839         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
5840         Don't include init-arch.h.
5841         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
5842         Don't include init-arch.h.
5843         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
5844         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
5845         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
5846         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
5847         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
5848         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
5849         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
5850         * time/clocktest.c: Include stdint.h.
5851         * time/tst-posixtz.c: Include stdint.h.
5852         * timezone/tst-timezone.c: Include stdint.h.
5854 2017-02-16  Zack Weinberg  <zackw@panix.com>
5856         * string/string.h [__USE_MISC]: Include strings.h.
5857         (__bzero, bcmp, bcopy, bzero, index, rindex)
5858         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
5859         (ffs, ffsl, ffsll): Don't declare.
5860         * string/strings.h: Do not suppress the file if string.h has
5861         already been included.
5862         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
5863         annotations.
5864         (index, rindex): Define inline forwarders even if
5865         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
5866         (ffs): Use __attribute_const__.
5867         (ffsl, ffsll): Declare here.
5868         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
5869         have now been standardized.
5870         * include/string.h (__bzero): Declare here.
5872         * bits/types.h: Move to posix/bits.
5873         * include/bits/types.h: New wrapper.
5875 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
5877         * string/bits/string2.h (strcmp): Remove define.
5878         (__strcmp_cg): Likewise.
5879         (strncmp): Likewise.
5881 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
5883         * include/string.h: Add __cplusplus check.
5885 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5887         [BZ #21134]
5888         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
5889         "divide by zero" exception when the input is zero.
5890         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
5891         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
5892         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
5893         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
5894         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5896 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
5898         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
5899         and include ...
5900         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
5901         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
5902         to, and include ...
5903         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
5904         file.
5905         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
5906         and include ...
5907         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
5908         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
5909         and include ...
5910         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
5911         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
5912         and include ...
5913         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
5914         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
5915         and include ...
5916         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
5917         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
5918         to, and include ...
5919         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
5920         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
5921         and include ...
5922         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
5924 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
5926         * math/libm-test-support.h: Do not include <math-tests-arch.h>
5927         here.
5928         * math/libm-test-support.c (libm_test_init): Do not call
5929         INIT_ARCH_EXT here.
5930         * math/libm-test-driver.c: Include <math-tests-arch.h>.
5931         (main): Call INIT_ARCH_EXT.
5933 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5935         [BZ #21130]
5936         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
5937         with the "invalid" exception raised when x is -Inf.
5938         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5940 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
5942         * string/bits/string2.h (strchr): Remove define.
5944 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
5946         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
5947         tst-avx512.
5948         (test-extras): Add tst-avx-aux and tst-avx512-aux.
5949         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
5950         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
5951         ($(objpfx)tst-sse): New rule.
5952         ($(objpfx)tst-avx): Likewise.
5953         ($(objpfx)tst-avx512): Likewise.
5954         (CFLAGS-tst-avx-aux.c): New.
5955         (CFLAGS-tst-avxmod.c): Likewise.
5956         (CFLAGS-tst-avx512-aux.c): Likewise.
5957         (CFLAGS-tst-avx512mod.c): Likewise.
5958         * sysdeps/x86_64/tst-avx-aux.c: New file.
5959         * sysdeps/x86_64/tst-avx.c: Likewise.
5960         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
5961         * sysdeps/x86_64/tst-avx512.c: Likewise.
5962         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
5963         * sysdeps/x86_64/tst-avxmod.c: Likewise.
5964         * sysdeps/x86_64/tst-sse.c: Likewise.
5965         * sysdeps/x86_64/tst-ssemod.c: Likewise.
5967 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
5969         * math/auto-libm-test-in: Add more tests of csin and csinh.
5970         * math/auto-libm-test-out-csin: Regenerated.
5971         * math/auto-libm-test-out-csinh: Likewise.
5972         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
5973         auto-libm-test-in.
5974         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
5976 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5978         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
5979         libm-compat-calls-auto.
5980         (libm-compat-calls): Likewise.
5981         (libm-compat-calls-auto): Rename to libm-compat-calls and add
5982         w_lgamma_compatF and k_standardF (merged from the items above).
5983         (libm-routines): Use libm-compat-calls, instead of
5984         libm-compat-calls-auto, with type-foreach.
5986 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
5988         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
5989         macro.
5990         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
5991         (CFLAGS-test-ifloat.c): ... this.  Remove
5992         -U__LIBC_INTERNAL_MATH_INLINES.
5993         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
5994         (CFLAGS-test-idouble.c): ... this.  Remove
5995         -U__LIBC_INTERNAL_MATH_INLINES.
5996         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
5997         (CFLAGS-test-ildouble.c): ... this.  Remove
5998         -U__LIBC_INTERNAL_MATH_INLINES.
6000 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
6002         * math/libm-test-support.c: New file.  Content from
6003         math/libm-test-driver.c.
6004         * math/libm-test-support.h: Likewise.
6005         * math/libm-test-support-double.c: New file.
6006         * math/libm-test-support-float.c: Likewise.
6007         * math/libm-test-support-ldouble.c: Likewise.
6008         * math/libm-test-driver.c: Remove main comment and header
6009         includes.  Include libm-test-support.h.
6010         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
6011         (flag_test_errno): Remove static.
6012         (flag_test_exceptions): Likewise.
6013         (flag_test_finite): Likewise.
6014         (flag_test_inline): Likewise.
6015         (flag_test_mathvec): Likewise.
6016         (test_msg): Likewise.
6017         (NO_EXCEPTION): Remove.
6018         (INVALID_EXCEPTION): Likewise.
6019         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
6020         (OVERFLOW_EXCEPTION): Likewise.
6021         (UNDERFLOW_EXCEPTION): Likewise.
6022         (INEXACT_EXCEPTION): Likewise.
6023         (INVALID_EXCEPTION_OK): Likewise.
6024         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6025         (OVERFLOW_EXCEPTION_OK): Likewise.
6026         (UNDERFLOW_EXCEPTION_OK): Likewise.
6027         (NO_INEXACT_EXCEPTION): Likewise.
6028         (EXCEPTIONS_OK): Likewise.
6029         (IGNORE_ZERO_INF_SIGN): Likewise.
6030         (TEST_NAN_SIGN): Likewise.
6031         (TEST_NAN_PAYLOAD): Likewise.
6032         (NO_TEST_INLINE): Likewise.
6033         (XFAIL_TEST): Likewise.
6034         (ERRNO_UNCHANGED): Likewise.
6035         (ERRNO_EDOM): Likewise.
6036         (ERRNO_ERANGE): Likewise.
6037         (IGNORE_RESULT): Likewise.
6038         (NON_FINITE): Likewise.
6039         (TEST_SNAN): Likewise.
6040         (NO_TEST_MATHVEC): Likewise.
6041         (__CONCATX): Likewise.
6042         (TYPE_MIN): Likewise.
6043         (TYPE_TRUE_MIN): Likewise.
6044         (TYPE_MAX): Likewise.
6045         (MIN_EXP): Likewise.
6046         (MAX_EXP): Likewise.
6047         (MANT_DIG): Likewise.
6048         (FSTR_MAX): Likewise.
6049         (ulp_idx): Likewise.
6050         (qtype_str): Remove static.
6051         (TEST_COND_binary32): Remove.
6052         (TEST_COND_binary64): Likewise.
6053         (TEST_COND_binary128): Likewise.
6054         (TEST_COND_ibm128): Likewise.
6055         (TEST_COND_intel96): Likewise.
6056         (TEST_COND_m68k96): Likewise.
6057         (TEST_COND_ibm128_libgcc): Likewise.
6058         (XFAIL_IBM128_LIBGCC): Likewise.
6059         (PAYLOAD_DIG): Likewise.
6060         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
6061         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
6062         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
6063         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
6064         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
6065         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
6066         (TEST_COND_long32): Likewise.
6067         (TEST_COND_long64): Likewise.
6068         (TEST_COND_before_rounding): Likewise.
6069         (TEST_COND_after_rounding): Likewise.
6070         (ulps_file_name): Likewise.
6071         (ulps_file): Likewise.
6072         (output_ulps): Likewise.
6073         (output_dir): Likewise.
6074         (noErrors): Likewise.
6075         (noTests): Likewise.
6076         (noExcTests): Likewise.
6077         (noErrnoTests): Likewise.
6078         (verbose): Likewise.
6079         (output_max_error): Likewise.
6080         (output_points): Likewise.
6081         (ignore_max_ulp): Likewise.
6082         (max_error): Likewise.
6083         (real_max_error): Likewise.
6084         (imag_max_error): Likewise.
6085         (prev_max_error): Likewise.
6086         (prev_real_max_error): Likewise.
6087         (prev_imag_max_error): Likewise.
6088         (max_valid_error): Likewise.
6089         (TYPE_DECIMAL_DIG): Likewise.
6090         (TYPE_HEX_DIG): Likewise.
6091         (fmt_ftostr): Likewise.
6092         (compare_ulp_data): Likewise.
6093         (find_ulps): Likewise.
6094         (init_max_error): Likewise.
6095         (set_max_error): Likewise.
6096         (print_float): Likewise.
6097         (print_screen): Likewise.
6098         (print_screen_max_error): Likewise.
6099         (update_stats): Likewise.
6100         (print_function_ulps): Likewise.
6101         (print_complex_function_ulps): Likewise.
6102         (fpstack_test): Likewise.
6103         (print_max_error): Likewise.
6104         (print_complex_max_error): Likewise.
6105         (test_single_exception): Likewise.
6106         (test_exceptions): Likewise.
6107         (test_single_errno): Likewise.
6108         (test_errno): Likewise.
6109         (ULPDIFF): Likewise.
6110         (ulp): Likewise.
6111         (check_float_internal): Likewise.
6112         (check_float): Likewise.
6113         (check_complex): Likewise.
6114         (check_int): Likewise.
6115         (check_long): Likewise.
6116         (check_bool): Likewise.
6117         (check_longlong): Likewise.
6118         (check_intmax_t): Likewise.
6119         (check_uintmax_t): Likewise.
6120         (enable_test): Likewise.
6121         (matherr): Likewise.
6122         (initialize): Likewise.
6123         (options): Likewise.
6124         (doc): Remove static.
6125         (argp): Likewise.
6126         (parse_opt): Remove.
6127         (check_ulp): Likewise.
6128         (libm_test_init): Likewise.
6129         (libm_test_finish): Likewise.
6130         * math/Makefile (libm-test-support): New variable.
6131         (test-extras): Add libm-test-support files.
6132         (extra-test-objs): Likewise.
6133         (CFLAGS-libm-test-support-float.c): New variable.
6134         (CFLAGS-libm-test-support-double.c): Likewise.
6135         (CFLAGS-libm-test-support-ldouble.c): Likewise.
6136         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
6137         libm-test-support objects.
6139 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6141         * math/Makefile (libm-calls): Move w_exp...
6142         (libm-compat-calls-auto): Here.
6144         * math/w_expl.c: Add suffix "_compat" to filename.
6145         * sysdeps/ia64/fpu/w_expl.c: Likewise.
6146         * sysdeps/ia64/fpu/w_expf.c: Likewise.
6147         * sysdeps/ia64/fpu/w_exp.c: Likewise.
6148         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
6149         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6150         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6151         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
6152         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6154         * math/w_expl_compat.c: New file, copied from above.
6155         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
6156         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
6157         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
6158         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
6159         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
6160         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
6161         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
6162         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
6164         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
6165         to filename.
6166         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
6168         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
6169         copied from above and adjusted for the new filenames.
6170         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
6172 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6174         * math/Makefile (libm-calls): Move w_lgammaF...
6175         (libm-compat-calls-auto): Here.
6177         * math/w_lgamma.c: Add suffix "_compat2" to filename.
6178         * math/w_lgammaf.c: Likewise.
6179         * math/w_lgammal.c: Likewise.
6181         * math/w_lgamma_compat2.c: New file, copied from above.
6182         * math/w_lgammaf_compat2.c: Likewise.
6183         * math/w_lgammal_compat2.c: Likewise.
6185 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6187         * math/Makefile (libm-calls): Move w_lgammaF_r...
6188         (libm-compat-calls-auto): Here.
6190         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
6191         * math/w_lgammaf_r.c: Likewise.
6192         * math/w_lgammal_r.c: Likewise.
6193         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
6194         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
6195         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
6197         * math/w_lgamma_r_compat.c: New file, copied from above.
6198         * math/w_lgammaf_r_compat.c: Likewise.
6199         * math/w_lgammal_r_compat.c: Likewise.
6200         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
6201         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
6202         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
6204         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
6205         to filename.
6206         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
6208         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
6209         copied from above and adjusted for the new filenames.
6210         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
6212 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
6214         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
6215         calculation in SYSCALL_ERROR_HANDLER().
6217 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
6219         * manual/contrib.texi: Fix typo.
6221 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6223         [BZ #21109]
6224         * elf/dl-tunable-types.h (tunable_callback_t): Accept
6225         tunable_val_t as argument.
6226         * elf/dl-tunables.c (__tunable_set_val): Add comment.
6227         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
6228         argument.
6229         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
6231 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
6233         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
6234         Add PTRACE_EVENT_STOP.
6235         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
6236         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6237         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6238         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6239         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
6240         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
6242 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
6244         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
6245         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
6246         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
6247         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
6248         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
6249         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
6250         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
6251         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
6252         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
6253         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
6255         [BZ #21112]
6256         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
6257         12 bits zero.
6258         (cp_l): Update for new value of cp_h.
6259         * math/auto-libm-test-in: Add another test of pow.
6260         * math/auto-libm-test-out-pow: Regenerated.
6262 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6264         * manual/contrib.texi: Fix typo.
6266 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6268         [BZ #15998]
6269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6270         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
6271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
6273 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6275         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
6276         STRCHR as __strchr_power8.
6277         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
6278         strlen as __strlen_power8.
6280 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6282         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
6283         unaligned load for shorter strings.
6284         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
6286 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
6288         * math/libm-test-driver.c (flag_test_errno): New variable.
6289         (flag_test_exceptions): Likewise.
6290         (flag_test_finite): Likewise.
6291         (flag_test_inline): Likewise.
6292         (flag_test_mathvec): Likewise.
6293         (test_msg): Likewise.
6294         (ulp_idx): Likewise.
6295         (qtype_str): Likewise.
6296         (ULP_IDX): Remove macro.
6297         (QTYPE_STR): Likewise.
6298         (find_ulps): Use ulp_idx not ULP_IDX.
6299         (print_function_ulps): Use qtype_str, printed with %s, not
6300         QTYPE_STR, printed with concatentation to format string.
6301         (print_complex_function_ulps): Likewise.
6302         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
6303         (test_errno): Use flag_test_errno not TEST_ERRNO.
6304         (enable_test): Use flag_test_inline, flag_test_finite and
6305         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
6306         TEST_MATHVEC.
6307         (libm_test_init): New function.  Factored out of main.
6308         (libm_test_finish): Likewise.
6309         (main): Call libm_test_init and libm_test_finish and move most
6310         code to those functions.
6312         * math/libm-test-driver.c (STRX): New macro.
6313         (STR): Likewise.
6314         (STR_FLOAT): Likewise.
6315         (STR_VEC_LEN): Likewise.
6316         (TEST_MSG): Likewise.  Define here instead of expecting to be
6317         defined by including file.
6318         * math/test-double-finite.c (TEST_MSG): Remove macro.
6319         * math/test-double-vlen2.h (TEST_MSG): Likewise.
6320         * math/test-double-vlen4.h (TEST_MSG): Likewise.
6321         * math/test-double-vlen8.h (TEST_MSG): Likewise.
6322         * math/test-double.c (TEST_MSG): Likewise.
6323         * math/test-float-finite.c (TEST_MSG): Likewise.
6324         * math/test-float-vlen16.h (TEST_MSG): Likewise.
6325         * math/test-float-vlen4.h (TEST_MSG): Likewise.
6326         * math/test-float-vlen8.h (TEST_MSG): Likewise.
6327         * math/test-float.c (TEST_MSG): Likewise.
6328         * math/test-idouble.c (TEST_MSG): Likewise.
6329         * math/test-ifloat.c (TEST_MSG): Likewise.
6330         * math/test-ildouble.c (TEST_MSG): Likewise.
6331         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
6332         * math/test-ldouble.c (TEST_MSG): Likewise.
6334         * math/libm-test.inc: Move all tests of individual functions to
6335         libm-test-*.inc and #include libm-test-*.c files.
6336         (acos_test_data): Remove.
6337         (acos_test): Likewise.
6338         (acosh_test_data): Likewise.
6339         (acosh_test): Likewise.
6340         (asin_test_data): Likewise.
6341         (asin_test): Likewise.
6342         (asinh_test_data): Likewise.
6343         (asinh_test): Likewise.
6344         (atan_test_data): Likewise.
6345         (atan_test): Likewise.
6346         (atanh_test_data): Likewise.
6347         (atanh_test): Likewise.
6348         (atan2_test_data): Likewise.
6349         (atan2_test): Likewise.
6350         (cabs_test_data): Likewise.
6351         (cabs_test): Likewise.
6352         (cacos_test_data): Likewise.
6353         (cacos_test): Likewise.
6354         (cacosh_test_data): Likewise.
6355         (cacosh_test): Likewise.
6356         (canonicalize_test_data): Likewise.
6357         (canonicalize_test): Likewise.
6358         (carg_test_data): Likewise.
6359         (carg_test): Likewise.
6360         (casin_test_data): Likewise.
6361         (casin_test): Likewise.
6362         (casinh_test_data): Likewise.
6363         (casinh_test): Likewise.
6364         (catan_test_data): Likewise.
6365         (catan_test): Likewise.
6366         (catanh_test_data): Likewise.
6367         (catanh_test): Likewise.
6368         (cbrt_test_data): Likewise.
6369         (cbrt_test): Likewise.
6370         (ccos_test_data): Likewise.
6371         (ccos_test): Likewise.
6372         (ccosh_test_data): Likewise.
6373         (ccosh_test): Likewise.
6374         (ceil_test_data): Likewise.
6375         (ceil_test): Likewise.
6376         (cexp_test_data): Likewise.
6377         (cexp_test): Likewise.
6378         (cimag_test_data): Likewise.
6379         (cimag_test): Likewise.
6380         (clog_test_data): Likewise.
6381         (clog_test): Likewise.
6382         (clog10_test_data): Likewise.
6383         (clog10_test): Likewise.
6384         (conj_test_data): Likewise.
6385         (conj_test): Likewise.
6386         (copysign_test_data): Likewise.
6387         (copysign_test): Likewise.
6388         (cos_test_data): Likewise.
6389         (cos_test): Likewise.
6390         (cosh_test_data): Likewise.
6391         (cosh_test): Likewise.
6392         (cpow_test_data): Likewise.
6393         (cpow_test): Likewise.
6394         (cproj_test_data): Likewise.
6395         (cproj_test): Likewise.
6396         (creal_test_data): Likewise.
6397         (creal_test): Likewise.
6398         (csin_test_data): Likewise.
6399         (csin_test): Likewise.
6400         (csinh_test_data): Likewise.
6401         (csinh_test): Likewise.
6402         (csqrt_test_data): Likewise.
6403         (csqrt_test): Likewise.
6404         (ctan_test_data): Likewise.
6405         (ctan_test): Likewise.
6406         (ctanh_test_data): Likewise.
6407         (ctanh_test): Likewise.
6408         (erf_test_data): Likewise.
6409         (erf_test): Likewise.
6410         (erfc_test_data): Likewise.
6411         (erfc_test): Likewise.
6412         (exp_test_data): Likewise.
6413         (exp_test): Likewise.
6414         (exp10_test_data): Likewise.
6415         (exp10_test): Likewise.
6416         (pow10_test): Likewise.
6417         (exp2_test_data): Likewise.
6418         (exp2_test): Likewise.
6419         (expm1_test_data): Likewise.
6420         (expm1_test): Likewise.
6421         (fabs_test_data): Likewise.
6422         (fabs_test): Likewise.
6423         (fdim_test_data): Likewise.
6424         (fdim_test): Likewise.
6425         (floor_test_data): Likewise.
6426         (floor_test): Likewise.
6427         (fma_test_data): Likewise.
6428         (fma_test): Likewise.
6429         (fmax_test_data): Likewise.
6430         (fmax_test): Likewise.
6431         (fmaxmag_test_data): Likewise.
6432         (fmaxmag_test): Likewise.
6433         (fmin_test_data): Likewise.
6434         (fmin_test): Likewise.
6435         (fminmag_test_data): Likewise.
6436         (fminmag_test): Likewise.
6437         (fmod_test_data): Likewise.
6438         (fmod_test): Likewise.
6439         (fpclassify_test_data): Likewise.
6440         (fpclassify_test): Likewise.
6441         (frexp_test_data): Likewise.
6442         (frexp_test): Likewise.
6443         (fromfp_test_data): Likewise.
6444         (fromfp_test): Likewise.
6445         (fromfpx_test_data): Likewise.
6446         (fromfpx_test): Likewise.
6447         (getpayload_test_data): Likewise.
6448         (getpayload_test): Likewise.
6449         (hypot_test_data): Likewise.
6450         (hypot_test): Likewise.
6451         (ilogb_test_data): Likewise.
6452         (ilogb_test): Likewise.
6453         (iscanonical_test_data): Likewise.
6454         (iscanonical_test): Likewise.
6455         (iseqsig_test_data): Likewise.
6456         (iseqsig_test): Likewise.
6457         (isfinite_test_data): Likewise.
6458         (isfinite_test): Likewise.
6459         (finite_test): Likewise.
6460         (isgreater_test_data): Likewise.
6461         (isgreater_test): Likewise.
6462         (isgreaterequal_test_data): Likewise.
6463         (isgreaterequal_test): Likewise.
6464         (isinf_test_data): Likewise.
6465         (isinf_test): Likewise.
6466         (isless_test_data): Likewise.
6467         (isless_test): Likewise.
6468         (islessequal_test_data): Likewise.
6469         (islessequal_test): Likewise.
6470         (islessgreater_test_data): Likewise.
6471         (islessgreater_test): Likewise.
6472         (isnan_test_data): Likewise.
6473         (isnan_test): Likewise.
6474         (isnormal_test_data): Likewise.
6475         (isnormal_test): Likewise.
6476         (issignaling_test_data): Likewise.
6477         (issignaling_test): Likewise.
6478         (issubnormal_test_data): Likewise.
6479         (issubnormal_test): Likewise.
6480         (isunordered_test_data): Likewise.
6481         (isunordered_test): Likewise.
6482         (iszero_test_data): Likewise.
6483         (iszero_test): Likewise.
6484         (j0_test_data): Likewise.
6485         (j0_test): Likewise.
6486         (j1_test_data): Likewise.
6487         (j1_test): Likewise.
6488         (jn_test_data): Likewise.
6489         (jn_test): Likewise.
6490         (lgamma_test_data): Likewise.
6491         (lgamma_test): Likewise.
6492         (gamma_test): Likewise.
6493         (llogb_test_data): Likewise.
6494         (llogb_test): Likewise.
6495         (lrint_test_data): Likewise.
6496         (lrint_test): Likewise.
6497         (llrint_test_data): Likewise.
6498         (llrint_test): Likewise.
6499         (log_test_data): Likewise.
6500         (log_test): Likewise.
6501         (log10_test_data): Likewise.
6502         (log10_test): Likewise.
6503         (log1p_test_data): Likewise.
6504         (log1p_test): Likewise.
6505         (log2_test_data): Likewise.
6506         (log2_test): Likewise.
6507         (logb_test_data): Likewise.
6508         (logb_test): Likewise.
6509         (lround_test_data): Likewise.
6510         (lround_test): Likewise.
6511         (llround_test_data): Likewise.
6512         (llround_test): Likewise.
6513         (modf_test_data): Likewise.
6514         (modf_test): Likewise.
6515         (nearbyint_test_data): Likewise.
6516         (nearbyint_test): Likewise.
6517         (nextafter_test_data): Likewise.
6518         (nextafter_test): Likewise.
6519         (nextup_test_data): Likewise.
6520         (nextup_test): Likewise.
6521         (nextdown_test_data): Likewise.
6522         (nextdown_test): Likewise.
6523         (nexttoward_test_data): Likewise.
6524         (nexttoward_test): Likewise.
6525         (pow_test_data): Likewise.
6526         (pow_test): Likewise.
6527         (remainder_test_data): Likewise.
6528         (remainder_test): Likewise.
6529         (drem_test): Likewise.
6530         (remquo_test_data): Likewise.
6531         (remquo_test): Likewise.
6532         (rint_test_data): Likewise.
6533         (rint_test): Likewise.
6534         (round_test_data): Likewise.
6535         (round_test): Likewise.
6536         (roundeven_test_data): Likewise.
6537         (roundeven_test): Likewise.
6538         (scalb_test_data): Likewise.
6539         (scalb_test): Likewise.
6540         (scalbn_test_data): Likewise.
6541         (scalbn_test): Likewise.
6542         (ldexp_test): Likewise.
6543         (scalbln_test_data): Likewise.
6544         (scalbln_test): Likewise.
6545         (setpayload_test_data): Likewise.
6546         (setpayload_test): Likewise.
6547         (setpayloadsig_test_data): Likewise.
6548         (setpayloadsig_test): Likewise.
6549         (signbit_test_data): Likewise.
6550         (signbit_test): Likewise.
6551         (sin_test_data): Likewise.
6552         (sin_test): Likewise.
6553         (sincos_test_data): Likewise.
6554         (sincos_test): Likewise.
6555         (sinh_test_data): Likewise.
6556         (sinh_test): Likewise.
6557         (sqrt_test_data): Likewise.
6558         (sqrt_test): Likewise.
6559         (tan_test_data): Likewise.
6560         (tan_test): Likewise.
6561         (tanh_test_data): Likewise.
6562         (tanh_test): Likewise.
6563         (tgamma_test_data): Likewise.
6564         (tgamma_test): Likewise.
6565         (totalorder_test_data): Likewise.
6566         (totalorder_test): Likewise.
6567         (totalordermag_test_data): Likewise.
6568         (totalordermag_test): Likewise.
6569         (trunc_test_data): Likewise.
6570         (trunc_test): Likewise.
6571         (ufromfp_test_data): Likewise.
6572         (ufromfp_test): Likewise.
6573         (ufromfpx_test_data): Likewise.
6574         (ufromfpx_test): Likewise.
6575         (y0_test_data): Likewise.
6576         (y0_test): Likewise.
6577         (y1_test_data): Likewise.
6578         (y1_test): Likewise.
6579         (yn_test_data): Likewise.
6580         (yn_test): Likewise.
6581         (significand_test_data): Likewise.
6582         (significand_test): Likewise.
6583         * math/Makefile (auto-libm-test-out-files): Remove variable.
6584         (libm-test-funcs-noauto): New variable.
6585         (libm-test-funcs-all): Likewise.
6586         (libm-test-c-auto): Likewise.
6587         (libm-test-c-noauto): Likewise.
6588         (libm-tests-generated): Add $(libm-test-c-auto) and
6589         $(libm-test-c-noauto).
6590         (generated): Do not add auto-libm-test-out.
6591         (libm-test-c-auto-obj): New variable.
6592         (libm-test-c-noauto-obj): Likewise.
6593         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
6594         ($(libm-test-c-noauto-obj)): New static pattern rule.
6595         ($(libm-test-c-auto-obj)): Likewise.
6596         (libm-test-incs): New variable.
6597         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
6598         and pass it to gen-libm-have-vector-test.sh.
6599         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
6600         be passed on command line.
6601         * math/libm-test-acos.inc: New file.  Content from
6602         math/libm-test.inc.
6603         * math/libm-test-acosh.inc: Likewise.
6604         * math/libm-test-asin.inc: Likewise.
6605         * math/libm-test-asinh.inc: Likewise.
6606         * math/libm-test-atan.inc: Likewise.
6607         * math/libm-test-atan2.inc: Likewise.
6608         * math/libm-test-atanh.inc: Likewise.
6609         * math/libm-test-cabs.inc: Likewise.
6610         * math/libm-test-cacos.inc: Likewise.
6611         * math/libm-test-cacosh.inc: Likewise.
6612         * math/libm-test-canonicalize.inc: Likewise.
6613         * math/libm-test-carg.inc: Likewise.
6614         * math/libm-test-casin.inc: Likewise.
6615         * math/libm-test-casinh.inc: Likewise.
6616         * math/libm-test-catan.inc: Likewise.
6617         * math/libm-test-catanh.inc: Likewise.
6618         * math/libm-test-cbrt.inc: Likewise.
6619         * math/libm-test-ccos.inc: Likewise.
6620         * math/libm-test-ccosh.inc: Likewise.
6621         * math/libm-test-ceil.inc: Likewise.
6622         * math/libm-test-cexp.inc: Likewise.
6623         * math/libm-test-cimag.inc: Likewise.
6624         * math/libm-test-clog.inc: Likewise.
6625         * math/libm-test-clog10.inc: Likewise.
6626         * math/libm-test-conj.inc: Likewise.
6627         * math/libm-test-copysign.inc: Likewise.
6628         * math/libm-test-cos.inc: Likewise.
6629         * math/libm-test-cosh.inc: Likewise.
6630         * math/libm-test-cpow.inc: Likewise.
6631         * math/libm-test-cproj.inc: Likewise.
6632         * math/libm-test-creal.inc: Likewise.
6633         * math/libm-test-csin.inc: Likewise.
6634         * math/libm-test-csinh.inc: Likewise.
6635         * math/libm-test-csqrt.inc: Likewise.
6636         * math/libm-test-ctan.inc: Likewise.
6637         * math/libm-test-ctanh.inc: Likewise.
6638         * math/libm-test-erf.inc: Likewise.
6639         * math/libm-test-erfc.inc: Likewise.
6640         * math/libm-test-exp.inc: Likewise.
6641         * math/libm-test-exp10.inc: Likewise.
6642         * math/libm-test-exp2.inc: Likewise.
6643         * math/libm-test-expm1.inc: Likewise.
6644         * math/libm-test-fabs.inc: Likewise.
6645         * math/libm-test-fdim.inc: Likewise.
6646         * math/libm-test-floor.inc: Likewise.
6647         * math/libm-test-fma.inc: Likewise.
6648         * math/libm-test-fmax.inc: Likewise.
6649         * math/libm-test-fmaxmag.inc: Likewise.
6650         * math/libm-test-fmin.inc: Likewise.
6651         * math/libm-test-fminmag.inc: Likewise.
6652         * math/libm-test-fmod.inc: Likewise.
6653         * math/libm-test-fpclassify.inc: Likewise.
6654         * math/libm-test-frexp.inc: Likewise.
6655         * math/libm-test-fromfp.inc: Likewise.
6656         * math/libm-test-fromfpx.inc: Likewise.
6657         * math/libm-test-getpayload.inc: Likewise.
6658         * math/libm-test-hypot.inc: Likewise.
6659         * math/libm-test-ilogb.inc: Likewise.
6660         * math/libm-test-iscanonical.inc: Likewise.
6661         * math/libm-test-iseqsig.inc: Likewise.
6662         * math/libm-test-isfinite.inc: Likewise.
6663         * math/libm-test-isgreater.inc: Likewise.
6664         * math/libm-test-isgreaterequal.inc: Likewise.
6665         * math/libm-test-isinf.inc: Likewise.
6666         * math/libm-test-isless.inc: Likewise.
6667         * math/libm-test-islessequal.inc: Likewise.
6668         * math/libm-test-islessgreater.inc: Likewise.
6669         * math/libm-test-isnan.inc: Likewise.
6670         * math/libm-test-isnormal.inc: Likewise.
6671         * math/libm-test-issignaling.inc: Likewise.
6672         * math/libm-test-issubnormal.inc: Likewise.
6673         * math/libm-test-isunordered.inc: Likewise.
6674         * math/libm-test-iszero.inc: Likewise.
6675         * math/libm-test-j0.inc: Likewise.
6676         * math/libm-test-j1.inc: Likewise.
6677         * math/libm-test-jn.inc: Likewise.
6678         * math/libm-test-lgamma.inc: Likewise.
6679         * math/libm-test-llogb.inc: Likewise.
6680         * math/libm-test-llrint.inc: Likewise.
6681         * math/libm-test-llround.inc: Likewise.
6682         * math/libm-test-log.inc: Likewise.
6683         * math/libm-test-log10.inc: Likewise.
6684         * math/libm-test-log1p.inc: Likewise.
6685         * math/libm-test-log2.inc: Likewise.
6686         * math/libm-test-logb.inc: Likewise.
6687         * math/libm-test-lrint.inc: Likewise.
6688         * math/libm-test-lround.inc: Likewise.
6689         * math/libm-test-modf.inc: Likewise.
6690         * math/libm-test-nearbyint.inc: Likewise.
6691         * math/libm-test-nextafter.inc: Likewise.
6692         * math/libm-test-nextdown.inc: Likewise.
6693         * math/libm-test-nexttoward.inc: Likewise.
6694         * math/libm-test-nextup.inc: Likewise.
6695         * math/libm-test-pow.inc: Likewise.
6696         * math/libm-test-remainder.inc: Likewise.
6697         * math/libm-test-remquo.inc: Likewise.
6698         * math/libm-test-rint.inc: Likewise.
6699         * math/libm-test-round.inc: Likewise.
6700         * math/libm-test-roundeven.inc: Likewise.
6701         * math/libm-test-scalb.inc: Likewise.
6702         * math/libm-test-scalbln.inc: Likewise.
6703         * math/libm-test-scalbn.inc: Likewise.
6704         * math/libm-test-setpayload.inc: Likewise.
6705         * math/libm-test-setpayloadsig.inc: Likewise.
6706         * math/libm-test-signbit.inc: Likewise.
6707         * math/libm-test-significand.inc: Likewise.
6708         * math/libm-test-sin.inc: Likewise.
6709         * math/libm-test-sincos.inc: Likewise.
6710         * math/libm-test-sinh.inc: Likewise.
6711         * math/libm-test-sqrt.inc: Likewise.
6712         * math/libm-test-tan.inc: Likewise.
6713         * math/libm-test-tanh.inc: Likewise.
6714         * math/libm-test-tgamma.inc: Likewise.
6715         * math/libm-test-totalorder.inc: Likewise.
6716         * math/libm-test-totalordermag.inc: Likewise.
6717         * math/libm-test-trunc.inc: Likewise.
6718         * math/libm-test-ufromfp.inc: Likewise.
6719         * math/libm-test-ufromfpx.inc: Likewise.
6720         * math/libm-test-y0.inc: Likewise.
6721         * math/libm-test-y1.inc: Likewise.
6722         * math/libm-test-yn.inc: Likewise.
6723         * math/README.libm-test: Update.
6725         * math/gen-auto-libm-tests.c: Update comment about use of program.
6726         (generate_output): Add argument FUNCTION.
6727         (main): Require extra argument.  Pass function name to
6728         generate_output.
6729         * math/Makefile (generated): Add auto-libm-test-out.
6730         (libm-test-funcs-auto): New variable.
6731         (auto-libm-test-out-files): New variable.
6732         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
6733         Concatenate those files to form $(objpfx)auto-libm-test-out and
6734         use it as input to gen-libm-test.pl.
6735         * math/README.libm-test: Update.
6736         * math/auto-libm-test-out: Remove.
6737         * math/auto-libm-test-out-acos: New generated file.
6738         * math/auto-libm-test-out-acosh: Likewise.
6739         * math/auto-libm-test-out-asin: Likewise.
6740         * math/auto-libm-test-out-asinh: Likewise.
6741         * math/auto-libm-test-out-atan: Likewise.
6742         * math/auto-libm-test-out-atan2: Likewise.
6743         * math/auto-libm-test-out-atanh: Likewise.
6744         * math/auto-libm-test-out-cabs: Likewise.
6745         * math/auto-libm-test-out-carg: Likewise.
6746         * math/auto-libm-test-out-cbrt: Likewise.
6747         * math/auto-libm-test-out-ccos: Likewise.
6748         * math/auto-libm-test-out-ccosh: Likewise.
6749         * math/auto-libm-test-out-cexp: Likewise.
6750         * math/auto-libm-test-out-clog: Likewise.
6751         * math/auto-libm-test-out-clog10: Likewise.
6752         * math/auto-libm-test-out-cos: Likewise.
6753         * math/auto-libm-test-out-cosh: Likewise.
6754         * math/auto-libm-test-out-cpow: Likewise.
6755         * math/auto-libm-test-out-csin: Likewise.
6756         * math/auto-libm-test-out-csinh: Likewise.
6757         * math/auto-libm-test-out-csqrt: Likewise.
6758         * math/auto-libm-test-out-ctan: Likewise.
6759         * math/auto-libm-test-out-ctanh: Likewise.
6760         * math/auto-libm-test-out-erf: Likewise.
6761         * math/auto-libm-test-out-erfc: Likewise.
6762         * math/auto-libm-test-out-exp: Likewise.
6763         * math/auto-libm-test-out-exp10: Likewise.
6764         * math/auto-libm-test-out-exp2: Likewise.
6765         * math/auto-libm-test-out-expm1: Likewise.
6766         * math/auto-libm-test-out-fma: Likewise.
6767         * math/auto-libm-test-out-hypot: Likewise.
6768         * math/auto-libm-test-out-j0: Likewise.
6769         * math/auto-libm-test-out-j1: Likewise.
6770         * math/auto-libm-test-out-jn: Likewise.
6771         * math/auto-libm-test-out-lgamma: Likewise.
6772         * math/auto-libm-test-out-log: Likewise.
6773         * math/auto-libm-test-out-log10: Likewise.
6774         * math/auto-libm-test-out-log1p: Likewise.
6775         * math/auto-libm-test-out-log2: Likewise.
6776         * math/auto-libm-test-out-pow: Likewise.
6777         * math/auto-libm-test-out-sin: Likewise.
6778         * math/auto-libm-test-out-sincos: Likewise.
6779         * math/auto-libm-test-out-sinh: Likewise.
6780         * math/auto-libm-test-out-sqrt: Likewise.
6781         * math/auto-libm-test-out-tan: Likewise.
6782         * math/auto-libm-test-out-tanh: Likewise.
6783         * math/auto-libm-test-out-tgamma: Likewise.
6784         * math/auto-libm-test-out-y0: Likewise.
6785         * math/auto-libm-test-out-y1: Likewise.
6786         * math/auto-libm-test-out-yn: Likewise.
6788         * math/Makefile (generated): Do not include libm-test.stmp.
6789         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
6790         on $(objpfx)libm-test.stmp.
6791         ($(objpfx)libm-test.stmp): Remove rule.
6792         ($(objpfx)libm-test-ulps.h): New rule.
6793         ($(objpfx)libm-test.c): Likewise.
6794         ($(objpfx)libm-have-vector-test.h): Likewise.
6795         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
6796         individual generated files, not libm-test.stmp.
6798         * math/gen-libm-test.pl ($output_dir): Remove variable.
6799         ($srcdir): Likewise.
6800         ($opt_a): New variable.
6801         ($opt_c): Likewise.
6802         ($opt_C): Likewise.
6803         ($opt_H): Likewise.
6804         (-n): Make option take argument and use it as NewUlps output.
6805         (-a): New option.  Use its argument for auto-libm-test-out input.
6806         (-c): New option.  Use its argument for libm-test.inc input.
6807         (-C): New option.  Use its argument for libm-test.c output.
6808         (-H): New option.  Use its argument for libm-test-ulps.h output.
6809         (top level): Only process inputs needed to generate outputs
6810         specified by command-line options.  Only generate outputs
6811         specified by command-line options.
6812         * math/README.libm-test: Update example gen-libm-test.pl command.
6813         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
6814         commands.
6815         (regen-ulps): Likewise.
6817 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
6819         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
6820         * include/string.h (index): Remove define.
6821         (rindex): Likewise.
6822         * misc/getttyent.c (__getttyent): Rename index to strchr.
6823         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
6824         * sunrpc/rpc_main.c (mkfile_output): Likewise.
6826 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
6828         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
6829         * math/libm-test.inc: Move all contents, other than tests of
6830         individual functions, to libm-test-driver.c.
6831         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
6832         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
6833         [!FE_UPWARD] (FE_UPWARD): Likewise.
6834         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
6835         (NO_EXCEPTION): Likewise.
6836         (INVALID_EXCEPTION): Likewise.
6837         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
6838         (OVERFLOW_EXCEPTION): Likewise.
6839         (UNDERFLOW_EXCEPTION): Likewise.
6840         (INEXACT_EXCEPTION): Likewise.
6841         (INVALID_EXCEPTION_OK): Likewise.
6842         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6843         (OVERFLOW_EXCEPTION_OK): Likewise.
6844         (UNDERFLOW_EXCEPTION_OK): Likewise.
6845         (NO_INEXACT_EXCEPTION): Likewise.
6846         (EXCEPTIONS_OK): Likewise.
6847         (IGNORE_ZERO_INF_SIGN): Likewise.
6848         (TEST_NAN_SIGN): Likewise.
6849         (TEST_NAN_PAYLOAD): Likewise.
6850         (NO_TEST_INLINE): Likewise.
6851         (XFAIL_TEST): Likewise.
6852         (ERRNO_UNCHANGED): Likewise.
6853         (ERRNO_EDOM): Likewise.
6854         (ERRNO_ERANGE): Likewise.
6855         (IGNORE_RESULT): Likewise.
6856         (NON_FINITE): Likewise.
6857         (TEST_SNAN): Likewise.
6858         (NO_TEST_MATHVEC): Likewise.
6859         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
6860         (__CONCATX): Likewise.
6861         (TYPE_MIN): Likewise.
6862         (TYPE_TRUE_MIN): Likewise.
6863         (TYPE_MAX): Likewise.
6864         (MIN_EXP): Likewise.
6865         (MAX_EXP): Likewise.
6866         (MANT_DIG): Likewise.
6867         (FSTR_MAX): Likewise.
6868         (ULP_IDX): Likewise.
6869         (QTYPE_STR): Likewise.
6870         (TEST_COND_binary32): Likewise.
6871         (TEST_COND_binary64): Likewise.
6872         (TEST_COND_binary128): Likewise.
6873         (TEST_COND_ibm128): Likewise.
6874         (TEST_COND_intel96): Likewise.
6875         (TEST_COND_m68k96): Likewise.
6876         (TEST_COND_ibm128_libgcc): Likewise.
6877         (XFAIL_IBM128_LIBGCC): Likewise.
6878         (PAYLOAD_DIG): Likewise.
6879         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
6880         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
6881         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
6882         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
6883         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
6884         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
6885         (TEST_COND_long32): Likewise.
6886         (TEST_COND_long64): Likewise.
6887         (TEST_COND_before_rounding): Likewise.
6888         (TEST_COND_after_rounding): Likewise.
6889         (lit_pi_3_m_4_d): Likewise.
6890         (lit_pi_3_m_4_ln10_m_d): Likewise.
6891         (lit_pi_2_ln10_m_d): Likewise.
6892         (lit_pi_4_ln10_m_d): Likewise.
6893         (lit_pi_ln10_d): Likewise.
6894         (lit_pi_2_d): Likewise.
6895         (lit_pi_4_d): Likewise.
6896         (lit_pi): Likewise.
6897         (lit_e): Likewise.
6898         (ulps_file_name): Likewise.
6899         (ulps_file): Likewise.
6900         (output_ulps): Likewise.
6901         (output_dir): Likewise.
6902         (noErrors): Likewise.
6903         (noTests): Likewise.
6904         (noExcTests): Likewise.
6905         (noErrnoTests): Likewise.
6906         (verbose): Likewise.
6907         (output_max_error): Likewise.
6908         (output_points): Likewise.
6909         (ignore_max_ulp): Likewise.
6910         (plus_zero): Likewise.
6911         (minus_zero): Likewise.
6912         (plus_infty): Likewise.
6913         (minus_infty): Likewise.
6914         (qnan_value_pl): Likewise.
6915         (qnan_value): Likewise.
6916         (snan_value_pl): Likewise.
6917         (snan_value): Likewise.
6918         (max_value): Likewise.
6919         (min_value): Likewise.
6920         (min_subnorm_value): Likewise.
6921         (snan_value_ld): Likewise.
6922         (max_error): Likewise.
6923         (real_max_error): Likewise.
6924         (imag_max_error): Likewise.
6925         (prev_max_error): Likewise.
6926         (prev_real_max_error): Likewise.
6927         (prev_imag_max_error): Likewise.
6928         (max_valid_error): Likewise.
6929         (TYPE_DECIMAL_DIG): Likewise.
6930         (TYPE_HEX_DIG): Likewise.
6931         (fmt_ftostr): Likewise.
6932         (compare_ulp_data): Likewise.
6933         (find_ulps): Likewise.
6934         (init_max_error): Likewise.
6935         (set_max_error): Likewise.
6936         (print_float): Likewise.
6937         (print_screen): Likewise.
6938         (print_screen_max_error): Likewise.
6939         (update_stats): Likewise.
6940         (print_function_ulps): Likewise.
6941         (print_complex_function_ulps): Likewise.
6942         (fpstack_test): Likewise.
6943         (print_max_error): Likewise.
6944         (print_complex_max_error): Likewise.
6945         (test_single_exception): Likewise.
6946         (test_exceptions): Likewise.
6947         (test_single_errno): Likewise.
6948         (test_errno): Likewise.
6949         (ULPDIFF): Likewise.
6950         (ulp): Likewise.
6951         (check_float_internal): Likewise.
6952         (check_float): Likewise.
6953         (check_complex): Likewise.
6954         (check_int): Likewise.
6955         (check_long): Likewise.
6956         (check_bool): Likewise.
6957         (check_longlong): Likewise.
6958         (check_intmax_t): Likewise.
6959         (check_uintmax_t): Likewise.
6960         (enable_test): Likewise.
6961         (struct test_f_f_data): Likewise.
6962         (struct test_ff_f_data): Likewise.
6963         (struct test_fj_f_data): Likewise.
6964         (struct test_fi_f_data): Likewise.
6965         (struct test_fl_f_data): Likewise.
6966         (struct test_if_f_data): Likewise.
6967         (struct test_fff_f_data): Likewise.
6968         (struct test_fiu_M_data): Likewise.
6969         (struct test_fiu_U_data): Likewise.
6970         (struct test_c_f_data): Likewise.
6971         (struct test_f_f1_data): Likewise.
6972         (struct test_fF_f1_data): Likewise.
6973         (struct test_ffI_f1_data): Likewise.
6974         (struct test_c_c_data): Likewise.
6975         (struct test_cc_c_data): Likewise.
6976         (struct test_f_i_data): Likewise.
6977         (struct test_ff_i_data): Likewise.
6978         (struct test_f_l_data): Likewise.
6979         (struct test_f_L_data): Likewise.
6980         (struct test_fFF_11_data): Likewise.
6981         (struct test_Ff_b1_data): Likewise.
6982         (IF_ROUND_INIT_): Likewise.
6983         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
6984         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6985         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6986         (IF_ROUND_INIT_FE_UPWARD): Likewise.
6987         (ROUND_RESTORE_): Likewise.
6988         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
6989         (ROUND_RESTORE_FE_TONEAREST): Likewise.
6990         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
6991         (ROUND_RESTORE_FE_UPWARD): Likewise.
6992         (RM_): Likewise.
6993         (RM_FE_DOWNWARD): Likewise.
6994         (RM_FE_TONEAREST): Likewise.
6995         (RM_FE_TOWARDZERO): Likewise.
6996         (RM_FE_UPWARD): Likewise.
6997         (COMMON_TEST_SETUP): Likewise.
6998         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
6999         (COMMON_TEST_CLEANUP): Likewise.
7000         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
7001         (RUN_TEST_f_f): Likewise.
7002         (RUN_TEST_LOOP_f_f): Likewise.
7003         (RUN_TEST_fp_f): Likewise.
7004         (RUN_TEST_LOOP_fp_f): Likewise.
7005         (RUN_TEST_2_f): Likewise.
7006         (RUN_TEST_LOOP_2_f): Likewise.
7007         (RUN_TEST_ff_f): Likewise.
7008         (RUN_TEST_LOOP_ff_f): Likewise.
7009         (RUN_TEST_LOOP_fj_f): Likewise.
7010         (RUN_TEST_fi_f): Likewise.
7011         (RUN_TEST_LOOP_fi_f): Likewise.
7012         (RUN_TEST_fl_f): Likewise.
7013         (RUN_TEST_LOOP_fl_f): Likewise.
7014         (RUN_TEST_if_f): Likewise.
7015         (RUN_TEST_LOOP_if_f): Likewise.
7016         (RUN_TEST_fff_f): Likewise.
7017         (RUN_TEST_LOOP_fff_f): Likewise.
7018         (RUN_TEST_fiu_M): Likewise.
7019         (RUN_TEST_LOOP_fiu_M): Likewise.
7020         (RUN_TEST_fiu_U): Likewise.
7021         (RUN_TEST_LOOP_fiu_U): Likewise.
7022         (RUN_TEST_c_f): Likewise.
7023         (RUN_TEST_LOOP_c_f): Likewise.
7024         (RUN_TEST_f_f1): Likewise.
7025         (RUN_TEST_LOOP_f_f1): Likewise.
7026         (RUN_TEST_fF_f1): Likewise.
7027         (RUN_TEST_LOOP_fF_f1): Likewise.
7028         (RUN_TEST_fI_f1): Likewise.
7029         (RUN_TEST_LOOP_fI_f1): Likewise.
7030         (RUN_TEST_ffI_f1_mod8): Likewise.
7031         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
7032         (RUN_TEST_Ff_b1): Likewise.
7033         (RUN_TEST_LOOP_Ff_b1): Likewise.
7034         (RUN_TEST_Ffp_b1): Likewise.
7035         (RUN_TEST_LOOP_Ffp_b1): Likewise.
7036         (RUN_TEST_c_c): Likewise.
7037         (RUN_TEST_LOOP_c_c): Likewise.
7038         (RUN_TEST_cc_c): Likewise.
7039         (RUN_TEST_LOOP_cc_c): Likewise.
7040         (RUN_TEST_f_i): Likewise.
7041         (RUN_TEST_LOOP_f_i): Likewise.
7042         (RUN_TEST_f_i_tg): Likewise.
7043         (RUN_TEST_LOOP_f_i_tg): Likewise.
7044         (RUN_TEST_ff_b): Likewise.
7045         (RUN_TEST_LOOP_ff_b): Likewise.
7046         (RUN_TEST_ff_i_tg): Likewise.
7047         (RUN_TEST_LOOP_ff_i_tg): Likewise.
7048         (RUN_TEST_f_b): Likewise.
7049         (RUN_TEST_LOOP_f_b): Likewise.
7050         (RUN_TEST_f_b_tg): Likewise.
7051         (RUN_TEST_LOOP_f_b_tg): Likewise.
7052         (RUN_TEST_f_l): Likewise.
7053         (RUN_TEST_LOOP_f_l): Likewise.
7054         (RUN_TEST_f_L): Likewise.
7055         (RUN_TEST_LOOP_f_L): Likewise.
7056         (RUN_TEST_fFF_11): Likewise.
7057         (RUN_TEST_LOOP_fFF_11): Likewise.
7058         (VEC_SUFF): Likewise.
7059         (STR_CONCAT): Likewise.
7060         (STR_CON3): Likewise.
7061         (HAVE_VECTOR): Likewise.
7062         (START): Likewise.
7063         (END): Likewise.
7064         (END_COMPLEX): Likewise.
7065         (ALL_RM_TEST): Likewise.
7066         (matherr): Likewise.
7067         (initialize): Likewise.
7068         (options): Likewise.
7069         (doc): Likewise.
7070         (parse_opt): Likewise.
7071         (argp): Likewise.
7072         (check_ulp): Likewise.
7073         (main): Likewise.
7074         (do_test): New function.  Call tests of individual functions
7075         previously called from main.
7077         * math/libm-test.inc: Remove comment listing functions tested and
7078         not tested.
7080 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7082         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
7083         (allocate_stack): Remove COLORING_INCREMENT usage.
7084         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
7085         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
7087 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
7089         * manual/libm-err-tab.pl (@all_functions): Change to
7090         %all_functions.  Initialize as empty.
7091         (parse_ulps): Add to %all_functions based on functions found in
7092         ulps files.  Ignore results for non-default rounding modes and
7093         vector functions.
7094         (print_platforms): Use %all_platforms.
7095         * manual/math.texi (Errors in Math Functions): Document omissions
7096         from the table.
7098         * math/Makefile (before-compile): Remove.
7100 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
7102         [BZ #21075]
7103         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
7104         unused assignment.
7105         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
7107 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
7109         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
7110         Add __glibc_unlikely hint.
7112 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7114         [BZ #16640]
7115         * sysdeps/i386/i686/strtok.S: Remove file.
7116         * sysdeps/i386/i686/strtok_r.S: Likewise.
7117         * sysdeps/i386/strtok.S: Likewise.
7118         * sysdeps/i386/strtok_r.S: Likewise.
7119         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
7120         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
7121         * sysdeps/x86_64/strtok.S: Likewise.
7122         * sysdeps/x86_64/strtok_r.S: Likewise.
7124         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
7125         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
7126         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7127         (__ASSUME_FADVISE64_AS_64_64): Define.
7128         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
7129         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
7130         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
7131         __ALIGNMENT_ARG usage.
7132         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
7133         __NR_fadvise64_64 if it is not defined.
7135 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7137         * version.h (RELEASE): Set to "development"
7138         (VERSION): Set to 2.25.90.
7139         * NEWS: Add 2.26 section.
7141         * version.h (RELEASE): Set to "stable"
7142         (VERSION): Set to 2.25.
7143         * include/features.h (__GLIBC_MINOR__): Set to 25.
7145         * manual/contrib.texi: Add more contributors from this release
7146         and past releases.
7148         * NEWS (2.25): Add list of bugs fixed.
7150         * NEWS: Add missing news items.
7152 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7154         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
7155         parent if child exited in that manner.  Print WEXITSTATUS
7156         instead of the raw status.
7157         (do_test_prep): Rename to do_test.
7158         (do_test): Return the result of run_executable_sgid.
7159         (TEST_FUNCTION_ARGV): Adjust.
7161 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
7162             Florian Weimer  <fweimer@redhat.com>
7163             Carlos O'Donell  <carlos@redhat.com>
7165         [BZ #20915]
7166         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
7167         Do not initialize DTV.
7168         * nptl/allocatestack.c (init_one_static_tls): Likewise.
7170 2017-02-03  David S. Miller  <davem@davemloft.net>
7172         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
7173         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
7174         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
7175         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
7176         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
7177         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
7178         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
7179         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
7180         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
7181         (libm-sysdep_routines): Update.
7182         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
7183         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
7184         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
7185         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
7186         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
7187         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
7188         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
7189         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
7190         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
7191         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
7192         Likewise.
7193         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7194         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
7195         Likewise.
7196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
7197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
7198         Likewise.
7199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7200         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
7201         Likewise.
7202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
7203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
7204         (libm-sysdep_routines): Update.
7206 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
7208         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
7209         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
7210         against unrelocated shared library.
7211         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7213 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7215         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
7216         * elf/tst-env-setuid-tunables.c
7217         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
7218         GLIBC_TUNABLES is removed in a setgid process.
7220         [BZ #21073]
7221         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
7222         * elf/dl-tunables.c (tunables_strdup): Remove.
7223         (get_next_env): Also return the previous envp.
7224         (parse_tunables): Erase tunables of category
7225         TUNABLES_SECLEVEL_SXID_ERASE.
7226         (maybe_enable_malloc_check): Make MALLOC_CHECK_
7227         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
7228         (__tunables_init)[TUNABLES_FRONTEND ==
7229         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
7230         after parsing.
7231         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
7232         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
7233         * elf/dl-tunables.h (struct _tunable): Change member is_secure
7234         to security_level.
7235         * elf/dl-tunables.list: Add security_level annotations for all
7236         tunables.
7237         * scripts/gen-tunables.awk: Recognize and generate enum values
7238         for security_level.
7239         * elf/tst-env-setuid.c: New test case.
7240         * elf/tst-env-setuid-tunables: new test case.
7241         * elf/Makefile (tests-static): Add them.
7243 2017-02-01  Richard Henderson  <rth@twiddle.net>
7245         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
7246         adjusting the byte count.
7248 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
7250         * conform/Makefile (linknamespace-libs): Define.
7252         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
7253         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
7254         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
7255         operands.
7257 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
7259         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
7261 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
7263         [BZ #21081]
7264         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
7265         (L(stosb)): Add VZEROUPPER before ret.
7267 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
7268             Alexey Makhalov <amakhalov@vmware.com>
7269             Florian Weimer <fweimer@redhat.com>
7271         [BZ #20116]
7272         * nptl/pthread_create.c: Document concurrency notes.
7273         Enhance thread creation notes.
7274         (create_thread): Use bool *stopped_start.
7275         (START_THREAD_DEFN): Comment ownership of PD.
7276         (__pthread_create_2_1): Add local bool stopped_start and use
7277         that instead of pd->stopped_start where appropriate.
7278         * nptl/createthread.c (create_thread): Use bool *stopped_start.
7279         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
7280         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
7281         * nptl/tst-create-detached.c: New file.
7282         * nptl/Makefile (tests): Add tst-create-detached.
7283         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
7284         Reference the enhanced thread creation notes.
7285         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
7286         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
7287         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
7288         (__pthread_current_priority): Likewise.
7289         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
7290         xpthread_attr_init, xpthread_attr_setdetachstate, and
7291         xpthread_attr_setstacksize.
7292         * support/xpthread_attr_destroy.c: New file.
7293         * support/xpthread_attr_init.c: New file.
7294         * support/xpthread_attr_setdetachstate.c: New file.
7295         * support/xpthread_attr_setstacksize.c: New file.
7296         * support/xthread.h: Define prototypes for xpthread_attr_destroy
7297         xpthread_attr_init, xpthread_attr_setdetachstate, and
7298         xpthread_attr_setstacksize.
7300 2017-01-27  Florian Weimer  <fweimer@redhat.com>
7302         * nptl/Makefile (tests): Add tst-robust-fork.
7303         * nptl/tst-robust-fork.c: New file.
7304         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
7305         xpthread_mutex_consistent, xpthread_mutex_destroy,
7306         xpthread_mutex_init, xpthread_mutexattr_destroy,
7307         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
7308         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
7309         xpthread_mutexattr_settype.
7310         * support/xmmap.c: New file.
7311         * support/xmunmap.c: Likewise.
7312         * support/xpthread_mutex_consistent.c: Likewise.
7313         * support/xpthread_mutex_destroy.c: Likewise.
7314         * support/xpthread_mutex_init.c: Likewise.
7315         * support/xpthread_mutexattr_destroy.c: Likewise.
7316         * support/xpthread_mutexattr_init.c: Likewise.
7317         * support/xpthread_mutexattr_setprotocol.c: Likewise.
7318         * support/xpthread_mutexattr_setpshared.c: Likewise.
7319         * support/xpthread_mutexattr_setrobust.c: Likewise.
7320         * support/xpthread_mutexattr_settype.c: Likewise.
7321         * support/xthread.h (xpthread_mutexattr_destroy)
7322         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
7323         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
7324         (xpthread_mutexattr_settype, xpthread_mutex_init)
7325         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
7326         * support/xunistd.h (xmmap, xmunmap): Likewise.
7328 2017-01-25  Florian Weimer  <fweimer@redhat.com>
7330         * string/Makefile (xtests): Add comment.
7331         (LOCALES): Add en_GB.UTF-8.
7332         (tst-strcoll-overflow.out): Depend on generated locales.
7333         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
7334         (SIZE, TIMEOUT): Update comments.
7335         (do_test): Define as static.  Fail test if setlocale fails.
7336         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
7337         messages.
7338         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
7339         TIMEOUT at 300 seconds should be enough to run this test
7340         successfully.
7342 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
7344         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
7345         /* FALLTHRU */ comments.
7347 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
7349         [BZ #21053]
7350         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
7351         constants instead of the old R* ones.
7352         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
7353         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
7354         (NGREG): ... to this, to fit in with other architectures.
7355         (gpregset_t): Use new NGREG macro.
7356         [__USE_GNU]: Remove condition; all architectures other than tile
7357         are unconditional.
7358         (R*): Rename to REG_R*.
7360 2017-01-20  DJ Delorie  <dj@redhat.com>
7362         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
7363         (tunable_set_val_if_valid_range_signed) ... this, and ...
7364         (tunable_set_val_if_valid_range_unsigned) ... this.
7365         (tunable_initialize): Call the correct one of the above based on type.
7367 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
7369         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
7370         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
7371         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
7372         * sysdeps/microblaze/libm-test-ulps: Likewise.
7373         * sysdeps/sh/libm-test-ulps: Likewise.
7375         * math/README.libm-test: Update list of characters for input and
7376         output types.
7378 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7380         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
7381         (__lll_unlock_elision): Fix adapt_count decrement.
7383 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
7385         * README.pretty-printers (Known issues): Warn about printers not
7386         always covering everything.
7387         * nptl/nptl-printers.py (MutexPrinter): Change output.
7388         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
7390 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7392         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
7393         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
7394         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
7395         (__lll_lock_elision): Do not test futex before starting a
7396         transaction.  Use __glibc_likely instead of __builtin_expect.
7397         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
7398         (__lll_trylock_elision): Do not test futex before starting a
7399         transaction.  Use __glibc_likely instead of __builtin_expect.
7401 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7403         * po/Makefile (update-translations): New target.
7405 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
7407         [BZ #21061]
7408         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
7410 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7412         * elf/dl-tunables (get_next_env): Always advance envp.
7413         * stdlib/tst-empty-env.c: New test case.
7414         * stdlib/Makefile (tests): Use it.
7416 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
7418         [BZ #21047]
7419         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
7420         name for instruction.
7421         [!__SOFTFP__] (_FPU_SETCW): Likewise.
7423 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
7425         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
7426         for make install.
7428 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7430         * po/bg.po: Merge from Translation Project.
7431         * po/fr.po: Likewise.
7432         * po/ko.po: Likewise.
7433         * po/nl.po: Likewise.
7434         * po/sv.po: Likewise.
7436 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
7438         * manual/install.texi (Tools for Compilation): Update GCC version
7439         known to work to build glibc.
7440         * INSTALL: Regenerated.
7442 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
7444         [BZ #21006]
7445         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
7447 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
7449         [BZ #21045]
7450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
7451         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
7452         to __sigprocmask.
7454 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
7456         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
7457         wrap-around.
7458         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
7460         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
7462 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7464         * NEWS: Fix typo.
7466 2016-01-13  Torvald Riegel  <triegel@redhat.com>
7468         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
7469         barriers and comments.
7470         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
7471         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
7472         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7474 2016-01-13  Torvald Riegel  <triegel@redhat.com>
7476         [BZ #19402]
7477         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
7478         mutexes.
7480 2016-01-13  Torvald Riegel  <triegel@redhat.com>
7482         [BZ #20985]
7483         * nptl/Makefile: Adapt.
7484         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
7485         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
7486         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
7487         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
7488         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
7489         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
7490         lll_robust* functions and adapt.
7491         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7492         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
7493         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
7494         __lll_robust_timedlock, __lll_robust_unlock): Remove.
7495         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
7496         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
7497         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
7498         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
7499         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
7500         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
7501         __lll_robust_timedlock, __lll_robust_unlock): Remove.
7502         * nptl/lowlevelrobustlock.c: Remove file.
7503         * nptl/lowlevelrobustlock.sym: Likewise.
7504         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
7505         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
7507 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7509         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
7511 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7513         * po/cs.po: Merge translations from the Translation Project.
7514         * po/de.po: Likewise.
7515         * po/pl.po: Likewise.
7516         * po/ru.po: Likewise.
7517         * po/tr.po: Likewise.
7518         * po/uk.po: Likewise.
7519         * po/vi.po: Likewise.
7520         * po/zh_CN.po: Likewise.
7522 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
7524         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
7526         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
7527         object.
7529 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
7531         [BZ #16458]
7532         * bits/uintn-identity.h: New file.
7533         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
7534         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
7535         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
7536         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
7537         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
7538         * string/endian.h: Include <bits/uintn-identity.h>.
7539         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
7540         __uint16_identity.
7541         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
7542         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
7543         __uint32_identity.
7544         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
7545         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
7546         __uint64_identity.
7547         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
7548         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
7549         __uint16_identity.
7550         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
7551         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
7552         __uint32_identity.
7553         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
7554         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
7555         __uint64_identity.
7556         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
7557         * string/Makefile (headers): Add bits/uintn-identity.h.
7558         (tests): Add test-endian-types.
7559         * string/test-endian-types.c: New file.
7560         * inet/Makefile (tests): Add test-hnto-types.
7561         * inet/test-hnto-types.c: New file.
7563 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7565         * po/be.po: Update from Translation Project.
7566         * po/bg.po: Likewise.
7567         * po/ca.po: Likewise.
7568         * po/cs.po: Likewise.
7569         * po/da.po: Likewise.
7570         * po/de.po: Likewise.
7571         * po/el.po: Likewise.
7572         * po/eo.po: Likewise.
7573         * po/es.po: Likewise.
7574         * po/fi.po: Likewise.
7575         * po/fr.po: Likewise.
7576         * po/gl.po: Likewise.
7577         * po/hr.po: Likewise.
7578         * po/hu.po: Likewise.
7579         * po/ia.po: Likewise.
7580         * po/id.po: Likewise.
7581         * po/it.po: Likewise.
7582         * po/ja.po: Likewise.
7583         * po/ko.po: Likewise.
7584         * po/lt.po: Likewise.
7585         * po/nb.po: Likewise.
7586         * po/nl.po: Likewise.
7587         * po/pl.po: Likewise.
7588         * po/pt_BR.po: Likewise.
7589         * po/ru.po: Likewise.
7590         * po/rw.po: Likewise.
7591         * po/sk.po: Likewise.
7592         * po/sl.po: Likewise.
7593         * po/sv.po: Likewise.
7594         * po/tr.po: Likewise.
7595         * po/uk.po: Likewise.
7596         * po/vi.po: Likewise.
7597         * po/zh_CN.po: Likewise.
7598         * po/zh_TW.po: Likewise.
7600 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
7602         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
7603         -Wformat-truncation instead of -Wformat-length.
7604         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
7605         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
7606         GCC 7.
7607         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
7608         (do_test): Ignore -Wformat-truncation for GCC 7.
7610         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
7611         buffer used to print long int value.
7613         * elf/sotruss-lib.c (init): Increase space allocated for pid by
7614         one byte.  Print it with %ld, cast to long int.
7616 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7618         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
7619         (re.fullmatch, subprocess.run): Likewise.
7621 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7623         * po/libc.pot: Regenerate.
7625 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7627         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
7628         (min_strlen): Likewise.
7629         (disable_tunable): Likewise.
7630         (maybe_disable_malloc_check): Rename to
7631         maybe_enable_malloc_check.
7632         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
7633         if /etc/suid-debug file exists.
7634         (__tunables_init): Update caller.
7635         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
7636         secure.
7638 2016-01-10  Torvald Riegel  <triegel@redhat.com>
7640         * nptl/DESIGN-rwlock.txt: Remove.
7641         * nptl/lowlevelrwlock.sym: Remove.
7642         * nptl/Makefile: Add new tests.
7643         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
7644         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
7645         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
7646         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
7647         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
7648         PTHREAD_RWLOCK_FUTEX_USED): New.
7649         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
7650         implementation.
7651         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
7652         (__pthread_rwlock_rdlock): Adapt.
7653         * nptl/pthread_rwlock_timedrdlock.c
7654         (pthread_rwlock_timedrdlock): Adapt.
7655         * nptl/pthread_rwlock_timedwrlock.c
7656         (pthread_rwlock_timedwrlock): Adapt.
7657         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
7658         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
7659         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
7660         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
7661         (__pthread_rwlock_wrlock): Adapt.
7662         * nptl/tst-rwlock10.c: Adapt.
7663         * nptl/tst-rwlock11.c: Adapt.
7664         * nptl/tst-rwlock17.c: New file.
7665         * nptl/tst-rwlock18.c: New file.
7666         * nptl/tst-rwlock19.c: New file.
7667         * nptl/tst-rwlock2b.c: New file.
7668         * nptl/tst-rwlock8.c: Adapt.
7669         * nptl/tst-rwlock9.c: Adapt.
7670         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7671         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7672         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7673         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7674         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7675         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7676         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7677         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7678         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7679         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7680         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7681         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7682         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
7683         (pthread_rwlock_t): Adapt.
7684         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7685         (pthread_rwlock_t): Adapt.
7686         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7687         * nptl/nptl-printers.py (): Adapt.
7688         * nptl/nptl_lock_constants.pysym: Adapt.
7689         * nptl/test-rwlock-printers.py: Adapt.
7690         * nptl/test-rwlockattr-printers.c: Adapt.
7691         * nptl/test-rwlockattr-printers.py: Adapt.
7693 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
7695         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
7696         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
7697         (fma_test_data): Likewise.
7698         (hypot_test_data): Likewise.
7699         (log1p_test_data): Likewise.
7700         (modf_test_data): Likewise.
7701         (pow_test_data): Likewise.
7702         (remainder_test_data): Likewise.
7703         (remquo_test_data): Likewise.
7704         (scalb_test_data): Likewise.
7705         (scalbn_test_data): Likewise.
7706         (scalbln_test_data): Likewise.
7707         * math/gen-libm-test.pl (parse_args): Transform
7708         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
7709         on the rounding mode.
7711 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
7713         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
7714         xfail-rounding:ibm128-libgcc automatically to tests overflowing
7715         and those that can underflow to zero.
7716         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
7717         add others.
7718         * math/auto-libm-test-out: Regenerated.
7720         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
7721         supported.
7722         (feholdexcept_tests): Skip tests requiring exceptions or rounding
7723         modes support if not supported.
7725         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
7726         Add libc.so PLT entry.
7727         (__tls_get_addr): Make ld.so PLT entry optional.
7729 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7731         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
7732         * string/bits/string3.h: ... here.
7734 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
7736         [BZ #21028]
7737         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
7738         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
7739         if EXCEPTION_TESTS returns false.
7741 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7743         [BZ #20558]
7744         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
7745         strings_fortified.h.
7746         [__USE_MISC] (bzero): Likewise.
7747         [__USE_MISC] (explicit_bzero): Likewise.
7748         * string/strings.h: Include strings_fortified.h.
7749         * string/Makefile (headers): Add strings_fortified.h.
7750         * string/bits/strings_fortified.h: New file.
7751         * include/bits/strings_fortified.h: Likewise.
7753 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
7755         * elf/tst-tls13.c (TIMEOUT): Remove.
7756         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
7757         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
7758         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
7759         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
7760         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
7762         [BZ #21026]
7763         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
7764         (readahead): New syscall entry.
7766 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
7768         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
7769         around tests of strncat with large sizes.
7771         * malloc/tst-malloc.c: Include <libc-internal.h>.
7772         (do_test): Disable -Walloc-size-larger-than= around tests of
7773         malloc with negative sizes.
7774         * malloc/tst-mcheck.c: Include <libc-internal.h>.
7775         (do_test): Disable -Walloc-size-larger-than= around tests of
7776         malloc and realloc with negative sizes.
7777         * malloc/tst-realloc.c: Include <libc-internal.h>.
7778         (do_test): Disable -Walloc-size-larger-than= around tests of
7779         realloc with negative sizes.
7781         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
7782         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
7783         allowed to 16 ulps.
7784         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
7785         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
7786         * math/auto-libm-test-out: Regenerated.
7788 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7790         * math/Makefile (libm-calls): Move wrappers...
7791         (libm-compat-call-auto): Here.
7792         (libm-routines): Add items in libm-compat-calls-auto.
7793         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
7794         the filenames of the wrappers that have been renamed.
7795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
7796         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7798         * math/w_acos.c: Add _compat suffix to filename.
7799         * math/w_acosf.c: Likewise.
7800         * math/w_acosh.c: Likewise.
7801         * math/w_acoshf.c: Likewise.
7802         * math/w_acoshl.c: Likewise.
7803         * math/w_acosl.c: Likewise.
7804         * math/w_asin.c: Likewise.
7805         * math/w_asinf.c: Likewise.
7806         * math/w_asinl.c: Likewise.
7807         * math/w_atan2.c: Likewise.
7808         * math/w_atan2f.c: Likewise.
7809         * math/w_atan2l.c: Likewise.
7810         * math/w_atanh.c: Likewise.
7811         * math/w_atanhf.c: Likewise.
7812         * math/w_atanhl.c: Likewise.
7813         * math/w_cosh.c: Likewise.
7814         * math/w_coshf.c: Likewise.
7815         * math/w_coshl.c: Likewise.
7816         * math/w_exp10.c: Likewise.
7817         * math/w_exp10f.c: Likewise.
7818         * math/w_exp10l.c: Likewise.
7819         * math/w_exp2.c: Likewise.
7820         * math/w_exp2f.c: Likewise.
7821         * math/w_exp2l.c: Likewise.
7822         * math/w_fmod.c: Likewise.
7823         * math/w_fmodf.c: Likewise.
7824         * math/w_fmodl.c: Likewise.
7825         * math/w_hypot.c: Likewise.
7826         * math/w_hypotf.c: Likewise.
7827         * math/w_hypotl.c: Likewise.
7828         * math/w_j0.c: Likewise.
7829         * math/w_j0f.c: Likewise.
7830         * math/w_j0l.c: Likewise.
7831         * math/w_j1.c: Likewise.
7832         * math/w_j1f.c: Likewise.
7833         * math/w_j1l.c: Likewise.
7834         * math/w_jn.c: Likewise.
7835         * math/w_jnf.c: Likewise.
7836         * math/w_jnl.c: Likewise.
7837         * math/w_log10.c: Likewise.
7838         * math/w_log10f.c: Likewise.
7839         * math/w_log10l.c: Likewise.
7840         * math/w_log2.c: Likewise.
7841         * math/w_log2f.c: Likewise.
7842         * math/w_log2l.c: Likewise.
7843         * math/w_log.c: Likewise.
7844         * math/w_logf.c: Likewise.
7845         * math/w_logl.c: Likewise.
7846         * math/w_pow.c: Likewise.
7847         * math/w_powf.c: Likewise.
7848         * math/w_powl.c: Likewise.
7849         * math/w_remainder.c: Likewise.
7850         * math/w_remainderf.c: Likewise.
7851         * math/w_remainderl.c: Likewise.
7852         * math/w_scalb.c: Likewise.
7853         * math/w_scalbf.c: Likewise.
7854         * math/w_scalbl.c: Likewise.
7855         * math/w_sinh.c: Likewise.
7856         * math/w_sinhf.c: Likewise.
7857         * math/w_sinhl.c: Likewise.
7858         * math/w_sqrt.c: Likewise.
7859         * math/w_sqrtf.c: Likewise.
7860         * math/w_sqrtl.c: Likewise.
7861         * math/w_tgamma.c: Likewise.
7862         * math/w_tgammaf.c: Likewise.
7863         * math/w_tgammal.c: Likewise.
7865         * math/w_acos_compat.c: New file copied from above and
7866         adjusted for new #includes path
7867         * math/w_acosf_compat.c: Likewise.
7868         * math/w_acosh_compat.c: Likewise.
7869         * math/w_acoshf_compat.c: Likewise.
7870         * math/w_acoshl_compat.c: Likewise.
7871         * math/w_acosl_compat.c: Likewise.
7872         * math/w_asin_compat.c: Likewise.
7873         * math/w_asinf_compat.c: Likewise.
7874         * math/w_asinl_compat.c: Likewise.
7875         * math/w_atan2_compat.c: Likewise.
7876         * math/w_atan2f_compat.c: Likewise.
7877         * math/w_atan2l_compat.c: Likewise.
7878         * math/w_atanh_compat.c: Likewise.
7879         * math/w_atanhf_compat.c: Likewise.
7880         * math/w_atanhl_compat.c: Likewise.
7881         * math/w_cosh_compat.c: Likewise.
7882         * math/w_coshf_compat.c: Likewise.
7883         * math/w_coshl_compat.c: Likewise.
7884         * math/w_exp10_compat.c: Likewise.
7885         * math/w_exp10f_compat.c: Likewise.
7886         * math/w_exp10l_compat.c: Likewise.
7887         * math/w_exp2_compat.c: Likewise.
7888         * math/w_exp2f_compat.c: Likewise.
7889         * math/w_exp2l_compat.c: Likewise.
7890         * math/w_fmod_compat.c: Likewise.
7891         * math/w_fmodf_compat.c: Likewise.
7892         * math/w_fmodl_compat.c: Likewise.
7893         * math/w_hypot_compat.c: Likewise.
7894         * math/w_hypotf_compat.c: Likewise.
7895         * math/w_hypotl_compat.c: Likewise.
7896         * math/w_j0_compat.c: Likewise.
7897         * math/w_j0f_compat.c: Likewise.
7898         * math/w_j0l_compat.c: Likewise.
7899         * math/w_j1_compat.c: Likewise.
7900         * math/w_j1f_compat.c: Likewise.
7901         * math/w_j1l_compat.c: Likewise.
7902         * math/w_jn_compat.c: Likewise.
7903         * math/w_jnf_compat.c: Likewise.
7904         * math/w_jnl_compat.c: Likewise.
7905         * math/w_log10_compat.c: Likewise.
7906         * math/w_log10f_compat.c: Likewise.
7907         * math/w_log10l_compat.c: Likewise.
7908         * math/w_log2_compat.c: Likewise.
7909         * math/w_log2f_compat.c: Likewise.
7910         * math/w_log2l_compat.c: Likewise.
7911         * math/w_log_compat.c: Likewise.
7912         * math/w_logf_compat.c: Likewise.
7913         * math/w_logl_compat.c: Likewise.
7914         * math/w_pow_compat.c: Likewise.
7915         * math/w_powf_compat.c: Likewise.
7916         * math/w_powl_compat.c: Likewise.
7917         * math/w_remainder_compat.c: Likewise.
7918         * math/w_remainderf_compat.c: Likewise.
7919         * math/w_remainderl_compat.c: Likewise.
7920         * math/w_scalb_compat.c: Likewise.
7921         * math/w_scalbf_compat.c: Likewise.
7922         * math/w_scalbl_compat.c: Likewise.
7923         * math/w_sinh_compat.c: Likewise.
7924         * math/w_sinhf_compat.c: Likewise.
7925         * math/w_sinhl_compat.c: Likewise.
7926         * math/w_sqrt_compat.c: Likewise.
7927         * math/w_sqrtf_compat.c: Likewise.
7928         * math/w_sqrtl_compat.c: Likewise.
7929         * math/w_tgamma_compat.c: Likewise.
7930         * math/w_tgammaf_compat.c: Likewise.
7931         * math/w_tgammal_compat.c: Likewise.
7933         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
7934         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
7935         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
7936         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
7937         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
7938         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
7939         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
7940         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
7941         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
7942         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
7943         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
7944         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
7945         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
7946         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
7947         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
7948         * sysdeps/ia64/fpu/w_powl.c: Likewise.
7949         * sysdeps/ia64/fpu/w_powf.c: Likewise.
7950         * sysdeps/ia64/fpu/w_pow.c: Likewise.
7951         * sysdeps/ia64/fpu/w_logl.c: Likewise.
7952         * sysdeps/ia64/fpu/w_logf.c: Likewise.
7953         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
7954         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
7955         * sysdeps/ia64/fpu/w_log2.c: Likewise.
7956         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
7957         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
7958         * sysdeps/ia64/fpu/w_log10.c: Likewise.
7959         * sysdeps/ia64/fpu/w_log.c: Likewise.
7960         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
7961         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
7962         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
7963         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
7964         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
7965         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
7966         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
7967         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
7968         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
7969         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
7970         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
7971         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
7972         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
7973         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
7974         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
7975         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
7976         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
7977         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
7978         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
7979         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
7980         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
7981         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
7982         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
7983         * sysdeps/ia64/fpu/w_asin.c: Likewise.
7984         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
7985         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
7986         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
7987         * sysdeps/ia64/fpu/w_acos.c: Likewise.
7988         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
7989         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
7990         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
7991         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
7992         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
7993         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
7994         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
7995         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
7996         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
7997         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
7998         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
7999         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
8000         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
8001         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
8002         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
8003         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
8004         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
8005         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
8006         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
8007         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
8008         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
8009         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
8010         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
8011         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
8012         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
8013         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
8014         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
8015         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
8016         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
8017         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
8018         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
8019         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
8020         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
8021         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
8022         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
8023         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
8024         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
8025         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
8026         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
8027         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
8028         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
8029         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
8030         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
8031         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
8032         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
8033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
8034         Likewise.
8035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
8036         Likewise.
8037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
8038         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
8039         Likewise.
8040         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
8041         Likewise.
8042         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
8043         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8044         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8045         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8046         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8047         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
8048         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
8049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
8050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
8051         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
8052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
8053         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
8054         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
8055         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
8056         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
8058         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
8059         and adjusted for new #includes path
8060         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
8061         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
8062         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
8063         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
8064         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
8065         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
8066         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
8067         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
8068         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
8069         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
8070         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
8071         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
8072         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
8073         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
8074         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
8075         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
8076         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
8077         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
8078         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
8079         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
8080         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
8081         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
8082         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
8083         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
8084         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
8085         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
8086         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
8087         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
8088         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
8089         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
8090         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
8091         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
8092         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
8093         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
8094         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
8095         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
8096         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
8097         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
8098         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
8099         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
8100         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
8101         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
8102         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
8103         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
8104         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
8105         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
8106         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
8107         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
8108         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
8109         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
8110         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
8111         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
8112         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
8113         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
8114         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
8115         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
8116         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
8117         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
8118         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
8119         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
8120         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
8121         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
8122         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
8123         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
8124         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
8125         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
8126         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
8127         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
8128         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
8129         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
8130         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
8131         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
8132         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
8133         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
8134         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
8135         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
8136         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
8137         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
8138         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
8139         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
8140         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
8141         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
8142         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
8143         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
8144         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
8145         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
8146         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
8147         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
8148         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
8149         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
8150         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
8151         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
8152         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
8153         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
8154         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
8155         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
8156         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
8157         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
8158         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
8159         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
8160         Likewise.
8161         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
8162         Likewise.
8163         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
8164         Likewise.
8165         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
8166         Likewise.
8167         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
8168         Likewise.
8169         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
8170         Likewise.
8171         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
8172         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
8173         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
8174         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
8175         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
8176         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
8177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
8178         Likewise.
8179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
8180         Likewise.
8181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
8182         Likewise.
8183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
8184         Likewise.
8185         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
8186         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
8187         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
8188         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
8190 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
8192         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
8193         __jmp_buf_internal_tag.
8195         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
8196         preserve NaN payload if [__mips_nan2008].
8197         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
8199         [BZ #21022]
8200         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
8202 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
8204         * sysdeps/i386/fpu/libm-test-ulps: Update.
8206 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8208         * sysdeps/ia64/strcat.c: Remove file.
8209         * sysdeps/powerpc/strcat.c: Likewise.
8210         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
8211         C implementation.
8212         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
8213         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
8215 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8216             Steven Munroe  <sjmunroe@us.ibm.com>
8217             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8219         [BZ #20822]
8220         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
8221         (__lll_lock_elision): Access adapt_count via C11 atomics.
8222         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
8223         (__lll_trylock_elision): Likewise.
8224         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
8225         (__lll_unlock_elision):  Update adapt_count variable inside the
8226         critical section using C11 atomics.
8228 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
8230         * math/test-fenvinline.c (do_test): Disable tests of raised
8231         exceptions if !EXCEPTION_TESTS (FLOAT).
8233 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8235         [BZ #19390]
8236         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
8237         maximum string size.
8238         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
8239         in pointer addition.
8240         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
8241         Likewise.
8243 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
8245         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
8246         passed to tst-ldconfig-X.sh.
8248 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
8250         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
8252 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
8254         [BZ #21019]
8255         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
8256         New syscall entry.
8257         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
8258         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
8259         lseek.
8261         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
8262         power4 glibc for powerpc-linux-gnu.
8264 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8266         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
8267         semctl.
8269 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
8271         * math/test-nearbyint-except.c: Include <stdbool.h>.
8272         (any_supported): New variable.
8273         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
8274         set any_supported.
8275         (do_test): Return 77 if no floating-point type supported
8276         exceptions.
8278         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
8279         condition on [__mips_hard_float].
8281 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8283         [BZ #21014]
8284         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
8285         in pointer addition.
8286         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
8288 2017-01-02  Torvald Riegel  <triegel@redhat.com>
8290         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
8291         new condvar.
8293 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
8295         * scripts/build-many-glibcs.py (Context.checkout): Default
8296         binutils version to 2.28 branch.
8298 2017-01-01  Florian Weimer  <fweimer@redhat.com>
8300         * support/support_format_netent.c (support_format_netent): Work
8301         around alpha struct netent definition difference.
8303 2017-01-01  Florian Weimer  <fweimer@redhat.com>
8305         * support/xwrite.c (xwrite): Use %td for pointer difference.
8307 2017-01-01  Florian Weimer  <fweimer@redhat.com>
8309         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
8310         have-tunables only.
8311         (tests-static): Add tst-malloc-usable-static-tunables for
8312         have-tunables only.
8314 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
8316         * scripts/config.guess: Update to version 2017-01-01.
8317         * scripts/config.sub: Update to version 2017-01-01.
8319         * NEWS: Update copyright dates.
8320         * catgets/gencat.c (print_version): Likewise.
8321         * csu/version.c (banner): Likewise.
8322         * debug/catchsegv.sh: Likewise.
8323         * debug/pcprofiledump.c (print_version): Likewise.
8324         * debug/xtrace.sh (do_version): Likewise.
8325         * elf/ldconfig.c (print_version): Likewise.
8326         * elf/ldd.bash.in: Likewise.
8327         * elf/pldd.c (print_version): Likewise.
8328         * elf/sotruss.sh: Likewise.
8329         * elf/sprof.c (print_version): Likewise.
8330         * iconv/iconv_prog.c (print_version): Likewise.
8331         * iconv/iconvconfig.c (print_version): Likewise.
8332         * locale/programs/locale.c (print_version): Likewise.
8333         * locale/programs/localedef.c (print_version): Likewise.
8334         * login/programs/pt_chown.c (print_version): Likewise.
8335         * malloc/memusage.sh (do_version): Likewise.
8336         * malloc/memusagestat.c (print_version): Likewise.
8337         * malloc/mtrace.pl: Likewise.
8338         * manual/libc.texinfo: Likewise.
8339         * nptl/version.c (banner): Likewise.
8340         * nscd/nscd.c (print_version): Likewise.
8341         * nss/getent.c (print_version): Likewise.
8342         * nss/makedb.c (print_version): Likewise.
8343         * posix/getconf.c (main): Likewise.
8344         * scripts/test-installation.pl: Likewise.
8345         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
8347         * All files with FSF copyright notices: Update copyright dates
8348         using scripts/update-copyrights.
8349         * intl/plural.c: Regenerated.
8350         * locale/programs/charmap-kw.h: Likewise.
8351         * locale/programs/locfile-kw.h: Likewise.
8353 2016-12-31  Florian Weimer  <fweimer@redhat.com>
8355         [BZ #20593]
8356         Update DNS RR type definitions.
8357         * scripts/gen-rrtypes.py: New file.
8358         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
8359         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
8360         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
8361         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
8362         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
8363         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
8364         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
8365         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
8366         ns_t_ta, ns_t_dlv.
8367         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
8368         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
8369         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
8370         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
8371         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
8372         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
8373         Define.
8374         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
8375         entry for ns_t_zxfr.
8377 2016-12-31  Florian Weimer  <fweimer@redhat.com>
8379         [BZ #18784]
8380         CVE-2015-5180
8381         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
8382         T_UNSPEC.  Adjust value.
8383         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
8384         * resolv/res_query.c (__libc_res_nquery): Likewise.
8385         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
8386         QTYPEs.
8387         * resolv/tst-resolv-qtypes.c: New file.
8388         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
8389         (tst-resolv-qtypes): Link against libresolv and libpthread.
8391 2016-12-31  Florian Weimer  <fweimer@redhat.com>
8393         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
8395 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8397         * manual/tunables.texi: New chapter.
8398         * manual/Makefile (chapters): Add it.
8399         * manual/probes.texi (@node): Point to the Tunables chapter.
8401         * Makeconfig (have-tunables): Check for non-negative instead
8402         of positive.
8403         * configure.ac: Add 'valstring' as a valid value for
8404         --enable-tunables.
8405         * configure: Regenerate.
8406         * elf/Makefile (have-tunables): Check for non-negative instead
8407         of positive.
8408         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
8409         dl-tunables.c.
8410         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
8411         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
8412         (tunables_strdup): Likewise.
8413         (disable_tunables): Likewise.
8414         (parse_tunables): Likewise.
8415         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
8416         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
8417         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
8418         (TUNABLES_FRONTEND_yes): New macro, define as
8419         TUNABLES_FRONTEND_valstring by default.
8420         * manual/install.texi: Document new acceptable values for
8421         --enable-tunables.
8422         * INSTALL: Regenerate.
8424         * config.make.in (have-loop-to-function): Define.
8425         * elf/Makefile (CFLAGS-dl-tunables.c): Add
8426         -fno-tree-loop-distribute-patterns.
8427         * elf/dl-tunables.c: Include libc-internals.h.
8428         (GLIBC_TUNABLES): New macro.
8429         (tunables_strdup): New function.
8430         (parse_tunables): New function.
8431         (min_strlen): New function.
8432         (__tunables_init): Use the new functions and macro.
8433         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
8434         * malloc/tst-malloc-usable-tunables.c: New test case.
8435         * malloc/tst-malloc-usable-static-tunables.c: New test case.
8436         * malloc/Makefile (tests, tests-static): Add tests.
8438         * manual/install.texi: Add --enable-tunables option.
8439         * INSTALL: Regenerate.
8440         * README.tunables: New file.
8441         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
8442         (before-compile): Generate dl-tunable-list.h early.
8443         * config.h.in: Add HAVE_TUNABLES.
8444         * config.make.in: Add have-tunables.
8445         * configure.ac: Add --enable-tunables option.
8446         * configure: Regenerate.
8447         * csu/init-first.c (__libc_init_first): Move
8448         __libc_init_secure earlier...
8449         * csu/init-first.c (LIBC_START_MAIN):... to here.
8450         Include dl-tunables.h, libc-internal.h.
8451         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
8452         binaries.
8453         * elf/Makefile (dl-routines): Add dl-tunables.
8454         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
8455         namespace.
8456         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
8457         only when !HAVE_TUNABLES.
8458         * elf/rtld.c (process_envvars): Likewise.
8459         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
8460         (_dl_sysdep_start): Call __tunables_init.
8461         * elf/dl-tunable-types.h: New file.
8462         * elf/dl-tunables.c: New file.
8463         * elf/dl-tunables.h: New file.
8464         * elf/dl-tunables.list: New file.
8465         * malloc/tst-malloc-usable-static.c: New test case.
8466         * malloc/Makefile (tests-static): Add it.
8467         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
8468         Define TUNABLE_NAMESPACE.
8469         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
8470         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
8471         callback functions.
8472         (ptmalloc_init): Set tunable values.
8473         * scripts/gen-tunables.awk: New file.
8474         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
8475         (_dl_sysdep_start): Call __tunables_init.
8477 2016-12-31  Florian Weimer  <fweimer@redhat.com>
8479         * resolv/resolv.h (RES_BLAST): Deprecate.
8480         * resolv/res_debug.c (p_option): Remove RES_BLAST.
8481         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
8482         to RES_BLAST.
8484 2016-12-27  Florian Weimer  <fweimer@redhat.com>
8486         [BZ #19582]
8487         Deprecate RES_USE_INET6.
8488         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
8489         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
8490         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
8491         RES_USE_INET6.
8492         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
8493         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
8494         (_nss_nisplus_gethostbyaddr_r): Likewise.
8495         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
8496         of res_use_inet6.
8497         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
8498         instead of RES_USE_INET6.
8499         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
8500         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
8501         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
8502         Likewise.
8503         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
8504         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
8505         Likewise.
8506         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
8507         (_nss_dns_gethostbyname_r): Likewise.
8508         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
8509         alternate RES_USE_INET6 handling.
8510         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
8511         instead of RES_USE_INET6.
8512         * resolv/res_init.c (res_setoptions): Likewise.
8513         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
8514         * resolv/resolv-internal.h: New file.
8515         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
8516         make the deprecation warning non-fatal.
8517         * resolv/README (Using the resolver in multi-threaded code): Drop
8518         reference to RES_USE_INET6.
8519         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
8520         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
8522 2016-12-31  Florian Weimer  <fweimer@redhat.com>
8524         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
8525         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
8526         tst-resolv-search.
8527         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
8528         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
8529         with libresolv and libpthread.
8530         * resolv/tst-bug18665.c: New file.
8531         * resolv/tst-bug18665-tcp: Likewise.
8532         * resolv/tst-res_use_inet6: Likewise.
8533         * resolv/tst-resolv-basic: Likewise.
8534         * resolv/tst-resolv-network: Likewise.
8535         * resolv/tst-resolv-search: Likewise.
8536         * support/Makefile (libsupport-routines): Add check_addrinfo,
8537         check_dns_packet, check_hostent, check_netent, resolv_test,
8538         support_format_address_family, support_format_addrinfo,
8539         support_format_dns_packet, support_format_herrno,
8540         support_format_hostent, support_format_netent, support_run_diff,
8541         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
8542         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
8543         xstrdup, xwrite.
8544         * support/check_addrinfo.c: New file.
8545         * support/check_dns_packet.c: Likewise.
8546         * support/check_hostent.c: Likewise.
8547         * support/check_netent.c: Likewise.
8548         * support/check_nss.h: Likewise.
8549         * support/format_nss.h: Likewise.
8550         * support/resolv_test.c: Likewise.
8551         * support/resolv_test.h: Likewise.
8552         * support/run_diff.h: Likewise.
8553         * support/support_format_address_family.c: Likewise.
8554         * support/support_format_addrinfo.c: Likewise.
8555         * support/support_format_dns_packet.c: Likewise.
8556         * support/support_format_herrno.c: Likewise.
8557         * support/support_format_hostent.c: Likewise.
8558         * support/support_format_netent.c: Likewise.
8559         * support/support_run_diff.c: Likewise.
8560         * support/xaccept.c: Likewise.
8561         * support/xbind.c: Likewise.
8562         * support/xconnect.c: Likewise.
8563         * support/xfclose.c: Likewise.
8564         * support/xfopen.c: Likewise.
8565         * support/xgetsockname.c: Likewise.
8566         * support/xlisten.c: Likewise.
8567         * support/xmemstream.c: Likewise.
8568         * support/xmemstream.h: Likewise.
8569         * support/xpoll.c: Likewise.
8570         * support/xpthread_once.c: Likewise.
8571         * support/xrecvfrom.c: Likewise.
8572         * support/xsendto.c: Likewise.
8573         * support/xsetsockopt.c: Likewise.
8574         * support/xstdio.h: Likewise.
8575         * support/xstrdup.c: Likewise.
8576         * support/support.h (xstrdup): Declare.
8577         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
8578         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
8579         * support/xthread.h (xpthread_once): Likwise.
8580         * support/xunistd.h (xwrite): Declare.
8582 2016-12-31  Florian Weimer  <fweimer@redhat.com>
8584         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
8585         (test_verbose): Declare.
8586         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
8587         * support/support_test_main.c (default_options): Likewise.
8588         (usage, support_test_main): Handle 'v'.
8589         (test_verbose): Define.
8590         * support/tst-support_record_failure.c (do_test): Use
8591         test_verbose.
8592         * support/tst-support_record_failure-2.sh (different_status): Add
8593         --verbose test.
8595 2016-12-31  Florian Weimer  <fweimer@redhat.com>
8597         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
8598         test failures are recorded.
8599         * support/check.c (support_print_failure_impl): Call
8600         support_record_failure.
8601         (support_exit_failure_impl): Call support_record_failure if status
8602         indicates failure.
8603         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
8604         * support/xasprintf.c (xasprintf): Likewise.
8605         * support/xfork.c (xfork): Likewise.
8606         * support/xpthread_check_return.c (xpthread_check_return):
8607         Likewise.
8608         * support/xsocket.c (xsocket): Likeweise.
8609         * support/xwaitpid.c (xwaitpid): Likewise.
8610         * support/support_record_failure.c (struct test_failures): Adjust
8611         to coding style.
8612         * support/support_test_verify_impl.c (support_test_verify_impl):
8613         Adjust error messages.
8614         * support/tst-support_record_failure-2.sh (different_status):
8615         Adjust error messages.
8617 2016-12-31  Florian Weimer  <fweimer@redhat.com>
8619         * support/namespace.h: New file.
8620         * support/support_become_root.c: Likewise.
8621         * support/support_enter_network_namespace.c: Likewise.
8622         * support/tst-support-namespace.c: Likewise.
8623         * support/xsocket.c: Likewise.
8624         * support/xsocket.h: Likewise.
8625         * support/Makefile (libsupport-routines): Add support_become_root,
8626         support_enter_network_namespace, xsocket.
8627         (tests): Add tst-support-namespace.
8629 2016-12-31  Florian Weimer  <fweimer@redhat.com>
8631         [BZ #17252]
8632         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
8633         __USE_GNU.
8635 2016-12-31  Torvald Riegel  <triegel@redhat.com>
8637         [BZ #13165]
8638         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
8639         use new algorithm.
8640         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
8641         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
8642         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
8643         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
8644         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
8645         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
8646         __condvar_cleanup_waiting, __condvar_dec_grefs,
8647         __pthread_cond_wait_common): New.
8648         (__condvar_cleanup): Remove.
8649         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
8650         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
8651         Likewise.
8652         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
8653         Likewise.
8654         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
8655         * nptl/tst-cond1.c: Add comment.
8656         * nptl/tst-cond20.c (do_test): Adapt.
8657         * nptl/tst-cond22.c (do_test): Likewise.
8658         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
8659         structure.
8660         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8661         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8662         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8663         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
8664         Likewise.
8665         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8666         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8667         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8668         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8669         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8670         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
8671         Likewise.
8672         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
8673         Likewise.
8674         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8675         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
8676         (COND_CLOCK_BITS): Adapt.
8677         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
8678         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
8679         __PTHREAD_COND_SHARED_MASK): New.
8680         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
8681         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
8682         * nptl/nptl_lock_constants.pysym: Adapt.
8683         * nptl/test-cond-printers.py: Adapt.
8684         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
8685         cond_compat_check_and_clear): Adapt.
8686         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
8687         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
8688         (__pthread_cond_timedwait): ... and move here.
8689         * nptl/DESIGN-condvar.txt: Remove file.
8690         * nptl/lowlevelcond.sym: Likewise.
8691         * nptl/pthread_cond_timedwait.c: Likewise.
8692         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
8693         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
8694         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
8695         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
8696         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
8697         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
8698         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
8699         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
8700         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
8701         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
8702         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
8703         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
8704         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
8705         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
8706         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
8707         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
8709 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
8711         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8712         (fromfp): New declaration.
8713         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
8714         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
8715         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
8716         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
8717         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
8718         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
8719         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
8720         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
8721         * math/math.h: Include <bits/types.h>.
8722         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
8723         constant and macro.
8724         (FP_INT_DOWNWARD): Likewise.
8725         (FP_INT_TOWARDZERO): Likewise.
8726         (FP_INT_TONEARESTFROMZERO): Likewise.
8727         (FP_INT_TONEAREST): Likewise.
8728         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
8729         (fromfpf): Likewise.
8730         (fromfpl): Likewise.
8731         (ufromfp): Likewise.
8732         (ufromfpf): Likewise.
8733         (ufromfpl): Likewise.
8734         (fromfpx): Likewise.
8735         (fromfpxf): Likewise.
8736         (fromfpxl): Likewise.
8737         (ufromfpx): Likewise.
8738         (ufromfpxf): Likewise.
8739         (ufromfpxl): Likewise.
8740         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
8741         s_fromfpxF and s_ufromfpxF.
8742         * math/gen-fromfp-tests.py: New file.
8743         * math/gen-fromfp-tests-inputs: Likewise.
8744         * math/libm-test.inc: Include <stdint.h>
8745         (check_intmax_t): New function.
8746         (check_uintmax_t): Likewise.
8747         (struct test_fiu_M_data): New type.
8748         (struct test_fiu_U_data): Likewise.
8749         (RUN_TEST_fiu_M): New macro.
8750         (RUN_TEST_LOOP_fiu_M): Likewise.
8751         (RUN_TEST_fiu_U): Likewise.
8752         (RUN_TEST_LOOP_fiu_U): Likewise.
8753         (fromfp_test_data): New array.
8754         (fromfp_test): New function.
8755         (fromfpx_test_data): New array.
8756         (fromfpx_test): New function.
8757         (ufromfp_test_data): New array.
8758         (ufromfp_test): New function.
8759         (ufromfpx_test_data): New array.
8760         (ufromfpx_test): New function.
8761         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
8762         ufromfpx_test.
8763         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
8764         characters.
8765         * math/test-tgmath-ret.c: Include <stdint.h>.
8766         (rm): New variable.
8767         (width): Likewise.
8768         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
8769         called function.
8770         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
8771         CHECK_RET_CONST_TYPE.
8772         (CHECK_RET_CONST_DOUBLE): Likewise.
8773         (CHECK_RET_CONST_LDOUBLE): Likewise.
8774         (CHECK_RET_CONST): Take extra arguments and pass them to calls
8775         macros.
8776         (fromfp): New CHECK_RET_CONST call.
8777         (ufromfp): Likewise.
8778         (fromfpx): Likewise.
8779         (ufromfpx): Likewise.
8780         (do_test): Call check_return_fromfp, check_return_ufromfp,
8781         check_return_fromfpx and check_return_ufromfpx.
8782         * math/test-tgmath.c: Include <stdint.h>
8783         (NCALLS): Increase to 138.
8784         (F(compile_test)): Initialize i.  Call fromfp functions.
8785         (F(fromfp)): New function.
8786         (F(fromfpx)): Likewise.
8787         (F(ufromfp)): Likewise.
8788         (F(ufromfpx)): Likewise.
8789         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
8790         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
8791         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
8792         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
8793         ufromfpxl.
8794         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
8795         ufromfp and ufromfpx.
8796         * math/fromfp.h: New file.
8797         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
8798         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
8799         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
8800         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
8801         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
8802         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
8803         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
8804         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
8805         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
8806         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
8807         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
8808         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
8809         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
8810         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
8811         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
8812         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
8813         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
8814         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
8815         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
8816         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
8817         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
8818         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
8819         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
8820         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
8821         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
8822         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
8823         ufromfp, fromfpx and ufromfpx.
8824         (CFLAGS-nldbl-fromfp.c): New variable.
8825         (CFLAGS-nldbl-fromfpx.c): Likewise.
8826         (CFLAGS-nldbl-ufromfp.c): Likewise.
8827         (CFLAGS-nldbl-ufromfpx.c): Likewise.
8828         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
8829         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
8830         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
8831         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
8832         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
8833         * sysdeps/nacl/libm.abilist: Update.
8834         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8835         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8836         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8837         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8838         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8839         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8840         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8841         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8842         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8843         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8844         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8845         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8847         Likewise.
8848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8849         Likewise.
8850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8851         Likewise.
8852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8853         Likewise.
8854         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8855         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8856         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8857         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8858         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8859         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8860         Likewise.
8861         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8862         Likewise.
8863         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8864         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8865         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8867 2016-12-30  Florian Weimer  <fweimer@redhat.com>
8869         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
8870         compat-gethnamaddr.
8871         (CPPFLAGS): Remove.
8872         * resolv/gethnamaddr.c: Rename ...
8873         * resolv/compat-gethnamaddr.c: ... to this file.
8874         (_endhtent): Make static.
8875         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
8876         symbol.
8877         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
8878         compat symbol.
8879         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
8880         symbol.
8881         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
8882         Turn into compat symbol.
8883         * include/resolv.h (_endhtent): Remove declaration.
8885 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
8887         * bits/types.h (__intmax_t): New typedef.
8888         (__uintmax_t): Likewise.
8889         * sysdeps/generic/stdint.h: Include <bits/types.h>.
8890         (intmax_t): Define using __intmax_t.
8891         (uintmax_t): Define using __uintmax_t.
8893         * support/Makefile (tests-special): Make definition conditional on
8894         [$(run-built-tests) = yes].
8895         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
8896         on [$(run-built-tests) = yes].
8898 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8900         * Rules (tests): Add tests-printers-programs to tests to be
8901         built.
8903 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8905         * sysvipc/Makefile (tests): Add test-sysvshm.
8906         * sysvipc/test-sysvshm.c: New file.
8908         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
8909         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
8910         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
8911         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
8912         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
8913         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
8914         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
8915         Likewise.
8916         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
8917         Likewise.
8918         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
8919         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
8920         is defined.
8922         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
8923         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
8924         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
8925         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
8926         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
8927         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
8928         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
8929         Likewise.
8930         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
8931         Likewise.
8932         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
8933         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
8934         defined.
8936         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
8937         oldshmctl.
8938         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
8939         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
8940         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
8941         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
8942         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
8943         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
8944         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
8945         Likewise.
8946         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
8947         Likewise.
8948         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
8949         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
8950         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
8951         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
8952         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
8953         implementation.
8954         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
8955         if it is defined.
8957         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
8958         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
8959         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
8960         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
8961         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
8962         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
8963         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
8964         Likewise.
8965         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
8966         Likewise.
8967         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
8968         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
8969         Define to __NR_osf_shmat.
8970         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
8971         defined.
8973         * sysvipc/Makefile (tests): Add test-sysvsem.
8974         * sysvipc/test-sysvsem.c: New file.
8976         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
8977         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
8978         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
8979         Likewise.
8980         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
8981         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
8982         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
8983         Likewise.
8984         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
8985         Likewise.
8986         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
8987         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
8988         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
8989         add a comment about s390 syscall difference from default one.
8990         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
8991         syscall if it is defined.
8993         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
8994         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
8995         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
8996         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
8997         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
8998         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
8999         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
9000         Likewise.
9001         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
9002         Likewise.
9003         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
9004         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
9005         defined.
9007         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
9008         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
9009         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
9010         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
9011         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
9012         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
9013         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
9014         Likewise.
9015         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
9016         Likewise.
9017         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
9018         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
9019         if it is defined.
9021         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
9022         oldsemctl.
9023         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
9024         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
9025         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
9026         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
9027         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
9028         implementation.
9029         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
9030         syscall if it is defined.
9031         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
9032         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
9033         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
9034         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
9035         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
9036         Likewise.
9037         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
9039         * sysvipc/Makefile (tests): Add test-sysvmsg.
9040         * sysvipc/test-sysvmsg.c: New file.
9041         * support/check.h (FAIL_UNSUPPORTED): New define.
9043         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
9044         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
9045         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
9046         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
9047         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
9048         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
9049         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
9050         Likewise.
9051         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
9052         Likewise.
9053         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
9054         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
9055         define.
9057         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
9058         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
9059         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
9060         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
9061         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
9062         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
9063         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
9064         Likewise.
9065         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
9066         Likewise.
9067         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
9068         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
9069         if defined.
9071         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
9072         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
9073         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
9074         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
9075         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
9076         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
9077         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
9078         Likewise.
9079         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
9080         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
9081         Likewise.
9082         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
9083         if defined.
9084         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
9086         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
9087         oldmsgctl.
9088         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
9089         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
9090         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
9091         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
9092         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
9093         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
9094         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
9095         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
9096         Likewise.
9097         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
9098         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
9099         implementation.
9100         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
9101         if defined.
9103         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
9104         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
9105         definition and define its own.
9106         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
9107         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
9108         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
9109         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
9110         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
9111         definitions to common header.
9112         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
9113         operation from ipc_ops.h.
9115         * sysdeps/unix/sysv/linux/kernel-features.h
9116         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
9117         * sysdeps/unix/sysv/linux/i386/kernel-features.h
9118         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
9119         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9120         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
9121         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9122         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
9123         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9124         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
9125         * sysdeps/unix/sysv/linux/s390/kernel-features.h
9126         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
9127         * sysdeps/unix/sysv/linux/sh/kernel-features.h
9128         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
9129         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
9130         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
9132 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9134         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
9135         overflow in pointer addition.
9137 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9139         * sysdeps/powerpc/powerpc64/multiarch/Makefile
9140         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
9141         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9142         (strchr): Add __strchr_power8 to list of strchr functions.
9143         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
9144         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
9145         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
9146         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
9147         (strchr): Add __strchr_power8 to ifunc list.
9148         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
9149         (__strchrnul): Add __strchrnul_power8 to ifunc list.
9150         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
9151         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
9153 2016-12-28  Florian Weimer  <fweimer@redhat.com>
9155         * support/Makefile (libsupport-routines): Add
9156         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
9157         (tests): Add tst-support_record_failure.
9158         (tests-special): tst-support_record_failure-2.
9159         (tst-support_record_failure-2.out): Depend on
9160         tst-support_record_failure-2.sh and tst-support_record_failure.
9161         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
9162         (support_test_verify_impl, support_record_failure)
9163         (support_report_failure, support_report_failure_reset): Declare.
9164         * support/support_test_main.c (adjust_exit_status): New function.
9165         (support_test_main): Call it to incorporate record test failures.
9166         * support/support_test_verify_impl.c: New file.
9167         * support/support_record_failure.c: Likewise.
9168         * support/tst-support_record_failure.c: Likewise.
9169         * support/tst-support_record_failure-2.sh: Likewise.
9170         * support/xunistd.h: Likewise.
9171         * support/xfork.c: Likewise.
9172         * support/xwaitpid.c: Likewise.
9174 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
9176         * scripts/check-c++-types.sh: Add comments.
9178 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
9180         [BZ #19514]
9181         * resolv/res_send.c: Fix typo in comment.
9182         * sysdeps/i386/i386-mcount.S: Likewise.
9183         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9184         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9185         * sysdeps/sparc/sparc-mcount.S: Likewise.
9187 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9189         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
9190         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
9191         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
9192         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
9193         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
9194         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
9195         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
9196         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
9198 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9200         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
9202 2016-12-27  Florian Weimer  <fweimer@redhat.com>
9204         [BZ #17252]
9205         * posix/unistd.h (getentropy): Declare.
9207 2016-12-27  Florian Weimer  <fweimer@redhat.com>
9209         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
9210         Remove.
9211         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
9212         (cmd): Remove spoof, nospoof, spoofalert.
9213         (parse_line): Ignore spoof-related lines.
9214         (do_init): Do not process RESOLV_SPOOF_CHECK.
9216 2016-12-27  Florian Weimer  <fweimer@redhat.com>
9218         [BZ #20964]
9219         sunrpc: Always obtain AF_INET addresses from NSS.
9220         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
9221         * sunrpc/rpc_gethostbyname.c: New file.
9222         * sunrpc/Makefile (routines): Add it.
9223         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
9224         * sunrpc/clnt_simp.c (callrpc): Likewise.
9225         * sunrpc/getrpcport.c (getrpcport): Likewise.
9227 2016-12-27  Florian Weimer  <fweimer@redhat.com>
9229         * sunrpc/rpcinfo.c: Remove.
9230         * sunrpc/Makefile: Remove comments referring to rpcinfo.
9232 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9234         [BZ #19387]
9235         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
9236         addition.
9237         * string/test-memchr.c (do_test): Remove alignment limitation.
9238         (test_main): Add test that trigger BZ #19387.
9240 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
9242         [BZ #7065]
9243         Enable stack protectore if requested by ./configure.
9244         * Makeconfig (+stack-protector): New variable.
9245         (+cflags): Use it.
9247 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
9249         [BZ #7065]
9250         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
9251         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
9252         (__rt_sigreturn_stub): Use inhibit_stack_protector.
9253         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9254         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
9256 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
9258         [BZ #7065]
9259         * login/Makefile (pt_chown-cflags): Remove.
9260         * nscd/Makefile (CFLAGS-nscd): Likewise.
9261         * resolv/Makefile (CFLAGS-libresolv): Likewise.
9263 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
9265         [BZ #7065]
9266         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
9267         non-libc-linking testcase.
9269 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
9270             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9271             Florian Weimer  <fweimer@redhat.com>
9273         [BZ #7065]
9274         PLT avoidance for __stack_chk_fail*.
9275         * debug/Makefile (CFLAGS-stack_chk_fail.c)
9276         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
9277         * debug/stack_chk_fail.c (__stack_chk_fail): Add
9278         __stack_chk_fail_local alias.
9279         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
9280         (__stack_chk_fail): Turn into hidden reference to
9281         __stack_chk_fail_local.
9283 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
9285         [BZ #7065]
9286         * configure.ac: Add check for unsupported stack-protection level.
9287         (libc_cv_predef_stack_protector): Remove.
9288         (no_ssp): New variable.
9289         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
9290         (stack_protector): Set to -fno-stack-protector similarly.
9291         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
9292         (libc_cv_asm_set_directive): Likewise.
9293         (libc_cv_protected_data): Likewise.
9294         (libc_cv_z_combreloc): Likewise.
9295         (libc_cv_hashstyle): Likewise.
9296         (libc_cv_has_glob_dat): Likewise.
9297         (libc_cv_output_format): Likewise.
9298         (libc_cv_output_format): Likewise.
9299         (libc_cv_ehdr_start): Likewise.
9300         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
9301         (LIBC_LINKER_FEATURE): Likewise.
9302         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
9304 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
9306         [BZ #7065]
9307         * elf/Makefile (dummy-stack-chk-fail): New.
9308         (librtld.map): Use it.
9310 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
9312         [BZ #7065]
9313         Compile the dynamic linker without stack protection.
9314         * elf/Makefile (elide-stack-protector): New.
9315         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
9316         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
9317         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
9318         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
9320 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
9322         [BZ #7065]
9323         * config.make.in (have-ssp, no-stack-protector): New.
9324         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
9325         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
9326         (CFLAGS-sbrk.op): Likewise.
9327         (CFLAGS-brk.o): Likewise.
9328         (CFLAGS-brk.op): Likewise.
9329         * string/Makefile (CFLAGS-memcpy.c): Likewise.
9330         (CFLAGS-wordcopy.c): Likewise.
9332 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
9334         [BZ #7065]
9335         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
9336         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
9337         * include/libc-symbols.h (inhibit_stack_protector): New macro.
9338         (__ifunc_resolver): Use it.
9339         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
9340         inhibit_stack_protector.
9341         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
9342         * elf/ifuncmain7.c (foo_ifunc): Likewise.
9343         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
9344         (foo_protected_ifunc): Likewise.
9345         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
9346         (foo_protected_ifunc): Likewise.
9347         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
9348         * sysdeps/nacl/nacl_interface_query.c
9349         (nacl_interface_query_ifunc): Likewise.
9350         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
9351         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
9352         Likewise.
9353         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
9354         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
9355         the generated vDSO syscall resolver.
9357 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
9358             Florian Weimer  <fweimer@redhat.com>
9360         [BZ #7065]
9361         Initialize the stack guard earlier when linking statically.
9362         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
9363         (__pthread_initialize_minimal): Declare.
9364         * csu/libc-start.c (__pthread_initialize_minimal): Remove
9365         declaration.
9366         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
9367         stack canary and apply_irel initialization up.  Call
9368         __pthread_initialize_minimal only if linked in.
9369         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
9370         constant values.
9371         (__pthread_initialize_minimal): Remove.
9372         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
9373         (__pthread_initialize_minimal_internal): Do not call
9374         __libc_setup_tls.
9376 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
9378         [BZ #7065]
9379         * configure.ac (libc_cv_ssp): Move up.
9380         (libc_cv_ssp_strong): Likewise.
9381         (libc_cv_ssp_all): New.
9382         (stack_protector): Augment, adding -fstack-protector-all.
9383         (no_stack_protector): New.
9384         (STACK_PROTECTOR_LEVEL): New.
9385         (AC_ARG_ENABLE(stack-protector)): New configure flag.
9386         * manual/install.texi (--enable-stack-protector): Document it.
9387         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
9389 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
9391         * README.pretty-printers: Must specify CPPFLAGS-* also.
9392         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
9393         (CPPFLAGS-test-mutex-printers.c): Define.
9394         (CPPFLAGS-test-condattr-printers.c): Define.
9395         (CPPFLAGS-test-cond-printers.c): Define.
9396         (CPPFLAGS-test-rwlockattr-printers.c): Define.
9397         (CPPFLAGS-test-rwlock-printers.c): Define.
9399         * nss/Makefile [ifeq (yes,$(have-thread-library))]
9400         (tests): Add tst-cancel-getpwuid_r.
9401         * nss/tst-cancel-getpwuid_r.c: New file.
9403         [BZ #11941]
9404         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
9405         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
9406         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
9407         tst-nodelete-dlclose.
9408         (modules-names): Add tst-nodelete-dlclose-dso and
9409         tst-nodelete-dlclose-plugin.
9410         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
9411         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
9412         ($(objpfx)tst-nodelete-dlclose): Define.
9413         ($(objpfx)tst-nodelete-dlclose.out): Define.
9415 2016-12-23  Florian Weimer  <fweimer@redhat.com>
9417         * scripts/test_printers_common.py: Log GDB output in case of
9418         Python detection failure.
9420 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9422         * configure.ac: Check for python3 or python.
9423         * configure: Regenerated.
9424         * config.make.in (PYTHON): New variable.
9425         * benchtests/Makefile: Don't define PYTHON.
9426         (bench): Define target only if PYTHON was defined.
9427         * Rules: Don't define PYTHON.
9428         Define pretty printer targets only if PYTHON was defined.
9429         (tests-printers): Add to tests-unsupported if PYTHON is not
9430         found.
9431         (python-flags, python-invoke): Remove.
9432         (tests-printers-out): Use PYTHON instead of python-invoke.
9434 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
9436         [BZ #20978]
9437         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
9438         Compare name == NULL, not name != NULL.
9440         * manual/texinfo.tex: Update to version 2016-09-18.18 with
9441         trailing whitespace removed.
9442         * scripts/config.guess: Update to version 2016-10-02.
9443         * scripts/config.sub: Update to version 2016-11-19.
9444         * scripts/install-sh: Update to version 2016-01-11.22.
9445         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
9446         * scripts/move-if-change: Update to version 2016-01-11 22:04.
9448 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
9450         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
9451         (do_one_test) Restore original string so iteration works.
9452         * string/string-inlines.c (do_test): Create better input strings.
9453         (test_main) Reduce number of testruns.
9454         * string/string-inlines.c (__old_strsep_1c): New function.
9455         (__old_strsep_2c): Likewise.
9456         (__old_strsep_3c): Likewise.
9457         * string/strsep.c (__strsep): Remove case of small delim string.
9458         Call strcspn directly rather than strpbrk.
9459         * string/bits/string2.h (__strsep): Remove define.
9460         (__strsep_1c): Remove.
9461         (__strsep_2c): Remove.
9462         (__strsep_3c): Remove.
9463         (strsep): Remove.
9464         * sysdeps/unix/sysv/linux/internal_statvfs.c
9465         (__statvfs_getflags): Rename to __strsep.
9467 2016-12-21  Florian Weimer  <fweimer@redhat.com>
9469         * csu/libc-tls.c (_dl_tls_setup): Remove.
9470         * elf/dl-tls.c (_dl_tls_setup): Likewise.
9471         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
9472         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
9474 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
9476         [BZ #7065]
9477         * sysdeps/x86_64/Makefile [$(subdir) = elf]
9478         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
9480 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
9481             Florian Weimer  <fweimer@redhat.com>
9483         [BZ #7065]
9484         * csu/Makefile (tests): Empty assignment and document it.
9485         (tests-static): Remove.
9486         * csu/tst-empty.c: Move to...
9487         * misc/tst-empty.c: ... here.  Switch to new test driver.
9488         * csu/tst-atomic.c: Move to...
9489         * misc/tst-atomic.c: ... here.  Switch to new test driver.
9490         * csu/tst-atomic-long.c: Move to...
9491         * misc/tst-atomic-long.c: ... here.
9492         * misc/Makefile (tests): Add tst-empty, tst-atomic,
9493         tst-atomic-long.
9494         (tests-static): Add tst-empty.
9496 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
9498         * manual/nss.texi: Change incorrect @vtable to @table.
9499         * manual/arith.texi: Convert @tables of variables to @vtables
9500         and remove unnecessary indexing.
9501         * manual/filesys.texi: Likewise.
9502         * manual/llio.texi: Likewise.
9503         * manual/memory.texi: Likewise.
9504         * manual/process.texi: Likewise.
9505         * manual/resource.texi: Likewise.
9506         * manual/search.texi: Likewise.
9507         * manual/signal.texi: Likewise.
9508         * manual/socket.texi: Likewise.
9509         * manual/stdio.texi: Likewise.
9510         * manual/sysinfo.texi: Likewise.
9511         * manual/syslog.texi: Likewise.
9512         * manual/terminal.texi: Likewise.
9513         * manual/time.texi: Likewise.
9514         * manual/users.texi: Likewise.
9516 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
9518         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9519         (roundeven): New declaration.
9520         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
9521         macro.
9522         * math/Versions (roundeven): New libm symbol at version
9523         GLIBC_2.25.
9524         (roundevenf): Likewise.
9525         (roundevenl): Likewise.
9526         * math/Makefile (libm-calls): Add s_roundevenF.
9527         * math/libm-test.inc (roundeven_test_data): New array.
9528         (roundeven_test): New function.
9529         (main): Call roundeven_test.
9530         * math/test-tgmath.c (NCALLS): Increase to 134.
9531         (F(compile_test)): Call roundeven.
9532         (F(roundeven)): New function.
9533         * manual/arith.texi (Rounding Functions): Document roundeven,
9534         roundevenf and roundevenl.
9535         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
9536         * include/math.h (roundeven): Use libm_hidden_proto.
9537         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
9538         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
9539         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
9540         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
9541         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
9542         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
9543         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
9544         roundeven.
9545         (CFLAGS-nldbl-roundeven.c): New variable.
9546         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
9547         * sysdeps/nacl/libm.abilist: Update.
9548         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9549         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9550         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9551         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9552         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9553         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9554         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9555         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9556         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9557         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9558         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9559         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9561         Likewise.
9562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9563         Likewise.
9564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9565         Likewise.
9566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9567         Likewise.
9568         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9569         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9570         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9571         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9572         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9573         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9574         Likewise.
9575         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9576         Likewise.
9577         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9578         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9579         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9581 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
9583         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
9584         preprocessor indentation inside #if.
9586 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9588         * math/libm-test.inc (fmt_ftostr): New function.
9589         (print_float, check_float_internal): Replace some uses of
9590         FTOSTR with uses of fmt_ftostr.
9591         (print_max_error, print_complex_max_error, print_function_ulps)
9592         (print_complex_function_ulps): Remove uses of the macros
9593         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
9594         * math/test-double.h (FTOSTR): Define to strfromd.
9595         (PRINTF_EXPR): Delete.
9596         (PRINTF_XEXPR): Likewise.
9597         (PRINTF_NEXPR): Likewise.
9598         * math/test-float.h (FTOSTR): Define to strfromf.
9599         (PRINTF_EXPR): Delete.
9600         (PRINTF_XEXPR): Likewise.
9601         (PRINTF_NEXPR): Likewise.
9602         * math/test-ldouble.h (FTOSTR): Define to strfroml.
9603         (PRINTF_EXPR): Delete.
9604         (PRINTF_XEXPR): Likewise.
9605         (PRINTF_NEXPR): Likewise.
9607 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
9609         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
9610         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
9611         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
9612         (__lll_lock_elision): Decrement adapt_count while unlocking
9613         instead of before locking.
9614         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
9615         (__lll_trylock_elision): Likewise.
9616         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
9617         (__lll_unlock_elision): Likewise.
9619 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
9621         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
9622         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
9623         Use __libc_tbegin_retry macro.
9625 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
9627         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
9628         Add -msoft-float.
9629         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
9630         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
9631         Use __libc_t* transaction macros instead of __builtin_t*.
9632         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
9633         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
9635 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
9637         * sysdeps/unix/sysv/linux/s390/elision-lock.c
9638         (__lll_lock_elision): Use atomics to load / store adapt_count.
9639         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
9640         (__lll_trylock_elision): Likewise.
9642 2016-12-20  Florian Weimer  <fweimer@redhat.com>
9644         Do not require memset elimination in explicit_bzero test.
9645         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
9646         (enum test_expectation): Add NO_EXPECTATIONS.
9647         (subtests): NO_EXPECTATIONS for ordinary clear.
9648         (check_test_buffer): Handle NO_EXPECTATIONS.
9649         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
9651 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
9653         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9654         (fmaxmag): New declaration.
9655         (fminmag): Likewise.
9656         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
9657         macro.
9658         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
9659         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
9660         (fmaxmagf): Likewise.
9661         (fmaxmagl): Likewise.
9662         (fminmag): Likewise.
9663         (fminmagf): Likewise.
9664         (fminmagl): Likewise.
9665         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
9666         * math/s_fmaxmag_template.c: New file.
9667         * math/s_fminmag_template.c: Likewise.
9668         * math/libm-test.inc (fmaxmag_test_data): New array.
9669         (fmaxmag_test): New function.
9670         (fminmag_test_data): New array.
9671         (fminmag_test): New function.
9672         (main): Call fmaxmag_test and fminmag_test.
9673         * math/test-tgmath.c (NCALLS): Increase to 132.
9674         (F(compile_test)): Call fmaxmag and fminmag.
9675         (F(fminmag)): New function.
9676         (F(fmaxmag)): Likewise.
9677         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
9678         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
9679         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
9680         fminmag.
9681         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
9682         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
9683         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
9684         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
9685         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
9686         and fminmag.
9687         (CFLAGS-nldbl-fmaxmag.c): New variable.
9688         (CFLAGS-nldbl-fminmag.c): Likewise.
9689         * sysdeps/nacl/libm.abilist: Update.
9690         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9691         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9692         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9693         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9694         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9695         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9696         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9697         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9698         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9699         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9700         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9701         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9703         Likewise.
9704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9705         Likewise.
9706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9707         Likewise.
9708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9709         Likewise.
9710         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9711         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9712         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9713         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9714         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9715         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9716         Likewise.
9717         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9718         Likewise.
9719         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9720         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9721         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9723 2016-12-19  Torvald Riegel  <triegel@redhat.com>
9725         [BZ #20973]
9726         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
9727         wake-up in robust mutexes.
9728         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
9730 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9732         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
9733         (CFLAGS-bench-fmaxf.c): New rule.
9734         (CFLAGS-bench-fminf.c): Likewise.
9735         * benchtests/fmaxf-inputs: New file.
9736         * benchtests/fminf-inputs: Likewise.
9738         * benchtests/Makefile (bench-math): Add fmin and fmax.
9739         (CFLAGS-bench-fmax.c): New rule.
9740         (CFLAGS-bench-fmin.c): Likewise.
9741         * benchtests/fmax-inputs: New file.
9742         * benchtests/fmin-inputs: Likewise.
9744         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
9745         parenthesis.
9746         (CMDLINE_PROCESS): Define using function instead of macro.
9747         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
9748         of test-skeleton.
9749         * benchtests/bench-memchr.c: Likewise.
9750         * benchtests/bench-memcmp.c: Likewise.
9751         * benchtests/bench-memcpy-large.c: Likewise.
9752         * benchtests/bench-memcpy.c: Likewise.
9753         * benchtests/bench-memmem.c: Likewise.
9754         * benchtests/bench-memmove-large.c: Likewise.
9755         * benchtests/bench-memmove.c: Likewise.
9756         * benchtests/bench-memset-large.c: Likewise.
9757         * benchtests/bench-memset.c: Likewise.
9758         * benchtests/bench-rawmemchr.c: Likewise.
9759         * benchtests/bench-strcasecmp.c: Likewise.
9760         * benchtests/bench-strcasestr.c: Likewise.
9761         * benchtests/bench-strcat.c: Likewise.
9762         * benchtests/bench-strchr.c: Likewise.
9763         * benchtests/bench-strcmp.c: Likewise.
9764         * benchtests/bench-strcpy.c: Likewise.
9765         * benchtests/bench-strcpy_chk.c: Likewise.
9766         * benchtests/bench-strlen.c: Likewise.
9767         * benchtests/bench-strncasecmp.c: Likewise.
9768         * benchtests/bench-strncmp.c: Likewise.
9769         * benchtests/bench-strncpy.c: Likewise.
9770         * benchtests/bench-strnlen.c: Likewise.
9771         * benchtests/bench-strpbrk.c: Likewise.
9772         * benchtests/bench-strrchr.c: Likewise.
9773         * benchtests/bench-strsep.c: Likewise.
9774         * benchtests/bench-strspn.c: Likewise.
9775         * benchtests/bench-strstr.c: Likewise.
9776         * benchtests/bench-strtok.c: Likewise.
9778 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
9780         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
9781         stepping identification.
9782         (init_cpu_features): Add handle of Haswell.
9784 2016-11-25  Jim Meyering  <meyering@fb.com>
9786         [BZ #20386]
9787         Let gcc detect assert(a = 1) errors.
9788         * assert/assert.h (assert): Rewrite, retaining the old definintion
9789         when required, but otherwise putting the expression as-is in an "if"
9790         expression (hence, with no added parentheses) within a statement
9791         expression.
9793 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9795         * benchtests/Makefile (binaries-benchset): Depend on libsupport
9796         DSO.
9798 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
9800         * Rules (python-flags, python-invoke): New.
9801         ($(test-printers-out)): Use $(python-flags).
9803 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
9805         * manual/arith.texi (Math Error Reporting): Document that sNaN
9806         arguments are not considered domain errors.
9808 2016-12-16  Zack Weinberg <zackw@panix.com>
9809             Florian Weimer <fweimer@redhat.com>
9810             Nick Mathewson <nickm@torproject.org>
9812         * string/explicit_bzero.c: New routine.
9813         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
9814         * string/Makefile (routines, strop-tests, tests): Add them.
9815         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
9816         * string/string.h [__USE_MISC]: Declare explicit_bzero.
9818         * debug/explicit_bzero_chk.c: New routine.
9819         * debug/Makefile (routines): Add it.
9820         * debug/tst-chk1.c: Test fortification of explicit_bzero.
9821         * string/bits/string3.h: Fortify explicit_bzero.
9823         * manual/string.texi: Document explicit_bzero.
9824         * NEWS: Mention addition of explicit_bzero.
9826         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
9827         data before returning, using explicit_bzero.
9828         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
9829         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
9830         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
9832         * include/string.h: Redirect internal uses of explicit_bzero
9833         to __explicit_bzero_chk[_internal].
9834         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
9835         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
9836         * sysdeps/arm/nacl/libc.abilist
9837         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
9838         * sysdeps/unix/sysv/linux/alpha/libc.abilist
9839         * sysdeps/unix/sysv/linux/arm/libc.abilist
9840         * sysdeps/unix/sysv/linux/hppa/libc.abilist
9841         * sysdeps/unix/sysv/linux/i386/libc.abilist
9842         * sysdeps/unix/sysv/linux/ia64/libc.abilist
9843         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
9844         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
9845         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
9846         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
9847         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
9848         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
9849         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
9850         * sysdeps/unix/sysv/linux/nios2/libc.abilist
9851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
9852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
9853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
9854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
9855         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
9856         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
9857         * sysdeps/unix/sysv/linux/sh/libc.abilist
9858         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
9859         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
9860         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
9861         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
9862         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
9863         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
9864         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
9865         Add entries for explicit_bzero and __explicit_bzero_chk.
9867 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
9869         * math/fenv.h
9870         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
9871         (FE_SNANS_ALWAYS_SIGNAL): New macro.
9872         * math/test-fe-snans-always-signal.c: New file.
9873         * math/Makefile (tests): Add test-fe-snans-always-signal.
9874         (CFLAGS-test-fe-snans-always-signal.c): New variable.
9875         * manual/arith.texi (Infinity and NaN): Document
9876         FE_SNANS_ALWAYS_SIGNAL.
9878 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9880         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
9881         bracket.
9883 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
9885         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
9886         before calling execv.
9888 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9890         [BZ #20971]
9891         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
9892         overflow in pointer addition.
9893         * string/test-memchr.c (do_test): Add an argument to pass as
9894         the size on memchr.
9895         (test_main): Add check for SIZE_MAX.
9897 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9899         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
9900         (libm-calls): Add w_scalblnF.
9901         * math/w_scalbln.c: Remove.
9902         * math/w_scalblnf.c: Likewise.
9903         * math/w_scalblnl.c: Likewise.
9904         * math/w_scalbln_template.c: New file with type-generic
9905         implementation based on math/w_scalbln.c.
9906         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
9907         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
9909 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
9911         [BZ #20947]
9912         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
9913         either is a signaling NaN.
9914         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
9915         follow fmaxl more closely.
9916         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
9917         when either is a signaling NaN.
9918         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
9919         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
9920         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
9921         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
9922         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
9923         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
9924         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
9925         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
9926         (fmin_test_data): Likewise.
9928 2016-12-15  Andreas Schwab  <schwab@suse.de>
9930         * support/support_test_main.c (support_test_main): Don't shadow
9931         file-local variable test_pid.
9933 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
9935         [BZ #20947]
9936         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
9937         either is a signaling NaN.
9938         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
9940 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
9942         [BZ #20947]
9943         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
9944         when either is a signaling NaN.
9945         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
9947         * bits/long-double.h: New file.
9948         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
9949         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
9950         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
9951         * sysdeps/mips/bits/long-double.h: Likewise.
9952         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
9953         * math/Makefile (headers): Add bits/long-double.h.
9954         * misc/sys/cdefs.h: Include <bits/long-double.h>.
9955         * stdlib/strtold.c: Include <bits/long-double.h> instead of
9956         <bits/wordsize.h>.
9957         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
9958         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
9959         * math/math.h: Do not include <bits/mathdef.h>.
9960         * sysdeps/aarch64/bits/mathdef.h: Remove file.
9961         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
9962         inclusion.
9963         * sysdeps/ia64/bits/mathdef.h: Remove file.
9964         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
9965         * sysdeps/mips/bits/mathdef.h: Likewise.
9966         * sysdeps/powerpc/bits/mathdef.h: Likewise.
9967         * sysdeps/s390/bits/mathdef.h: Likewise.
9968         * sysdeps/sparc/bits/mathdef.h: Likewise.
9969         * sysdeps/x86/bits/mathdef.h: Likewise.
9970         * sysdeps/s390/s390-32/bits/wordsize.h
9971         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
9972         conditional code.
9973         * sysdeps/s390/s390-64/bits/wordsize.h
9974         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
9975         Likewise.
9976         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
9977         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
9978         Likewise.
9979         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
9980         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
9981         Likewise.
9982         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
9983         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
9984         Likewise.
9986         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
9987         <linux/falloc.h>.
9988         (FALLOC_FL_KEEP_SIZE): Remove.
9989         (FALLOC_FL_PUNCH_HOLE): Likewise.
9990         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
9991         (FALLOC_FL_ZERO_RANGE): Likewise.
9993 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9995         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
9997 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9999         * sysdeps/unix/sysv/linux/renameat.c: New file.
10000         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
10002         * sysdeps/unix/sysv/linux/rename.c: New file.
10003         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
10005 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
10007         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
10008         * string/strtok.c (strtok): Change to tailcall __strtok_r.
10009         * string/strtok_r.c (__strtok_r): Optimize for performance.
10010         * string/string-inlines.c (__old_strtok_r_1c): New function.
10011         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
10013 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10015         * math/Makefile (gen-libm-calls): Add w_log1pF.
10016         (libm-calls): Remove w_log1pF.
10017         * math/w_log1p.c: Remove.
10018         * math/w_log1pf.c: Likewise.
10019         * math/w_log1pl.c: Likewise.
10020         * math/w_log1p_template.c: New file with type-generic
10021         implementation based on math/w_log1p.c.
10022         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
10023         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
10025 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
10027         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
10029 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
10031         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
10032         kernel version to 4.9.
10034 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
10036         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
10037         ($(inst_libdir)/libm.a): Fix rule to create the target only.
10039 2016-12-13  Andreas Schwab  <schwab@suse.de>
10041         * sysdeps/powerpc/dl-procinfo.c: Don't define
10042         _dl_powerpc_platforms.
10043         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
10044         constants instead of referencing _dl_powerpc_platforms.
10045         (_dl_platform_string): Remove.
10047 2016-12-13  Florian Weimer  <fweimer@redhat.com>
10049         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
10051 2016-12-13  Florian Weimer  <fweimer@redhat.com>
10053         * Rules (binaries-shared-tests, binaries-pie-tests)
10054         (binaries-static-tests): Link with $(link-extra-libs-tests).
10055         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
10056         Remove $(link-extra-libs-tests).
10058 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10060         * sysdeps/powerpc/powerpc64/multiarch/Makefile
10061         (sysdep_routines): Add strncmp_power9.
10062         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10063         (strncmp): Add __strncmp_power9 to list of strncmp functions.
10064         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
10065         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
10066         (strncmp): Add __strncmp_power9 to ifunc list.
10067         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
10069 2016-12-12  Florian Weimer  <fweimer@redhat.com>
10071         [BZ #17252]
10072         Add getentropy, getrandom.
10073         * stdlib/sys/random.h: New file.
10074         (headers): Add it.
10075         * stdlib/Makefile (routines): Add getentropy, getrandom.
10076         (tests): Add tst-getrandom.
10077         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
10078         * stdlib/getentropy.c: New file.
10079         * stdlib/getrandom.c: Likewise.
10080         * stdlib/tst-getrandom.c: Likewise.
10081         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
10082         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
10083         * manual/crypt.texi (Unpredictable Bytes): New section.
10084         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
10085         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
10086         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
10087         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10088         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10089         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10090         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10091         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10092         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10093         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10094         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10095         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10096         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10097         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10098         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10099         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10101         Likewise.
10102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10103         Likewise.
10104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10106         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10107         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10108         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10109         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10110         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10111         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
10112         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
10113         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10114         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10115         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10117 2016-12-10  Florian Weimer  <fweimer@redhat.com>
10119         [BZ #20956]
10120         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
10121         as additional compiler barriers.
10122         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
10123         (fn2, do_test): Declare with external linkage.
10124         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
10125         (do_test): Declare with external linkage.
10126         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
10127         (do_test): Declare with external linkage.
10128         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
10129         (do_test): Declare with external linkage.
10131 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
10133         * support/support_test_main.c (support_test_main): Use correct
10134         timeout.
10136 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
10137             Florian Weimer  <fweimer@redhat.com>
10139         [BZ #16421]
10140         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
10141         and __u6_addr32 members.
10142         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
10143         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
10144         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
10145         Use __u6_addr32.
10146         * inet/tst-checks.c: Use <support/test-driver.c>
10147         * inet/tst-checks-posix.c: New file.
10148         * inet/Makefile (tests): Add it.
10149         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
10151 2016-12-09  Florian Weimer  <fweimer@redhat.com>
10153         New subdirectory support for build and test infrastructure.
10154         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
10155         setting install-lib.
10156         * Makeconfig (link-extra-libs-tests): Define.
10157         (+link-pie-tests, +link-static-tests, +link-tests): Use
10158         link-extra-libs-tests.
10159         (rpath-dirs, all-subdirs): Add support.
10160         (built-modules): Add libsupport.
10161         (libsupport): Define.
10162         * support: New directory.
10163         * support/Makefile: New file.
10164         * support/check.c: Likewise.
10165         * support/check.h: Likewise.
10166         * support/delayed_exit.c: Likewise.
10167         * support/ignore_stderr.c: Likewise.
10168         * support/oom_error.c: Likewise.
10169         * support/set_fortify_handler.c: Likewise.
10170         * support/support.h: Likewise.
10171         * support/temp_file-internal.h: Likewise.
10172         * support/temp_file.c: Likewise.
10173         * support/test-driver.c: Likewise.
10174         * support/test-driver.h: Likewise.
10175         * support/test_main.c: Likewise.
10176         * support/write_message.c: Likewise.
10177         * support/xasprintf.c: Likewise.
10178         * support/xcalloc.c: Likewise.
10179         * support/xmalloc.c: Likewise.
10180         * support/xpthread_barrier_destroy.c: Likewise.
10181         * support/xpthread_barrier_init.c: Likewise.
10182         * support/xpthread_barrier_wait.c: Likewise.
10183         * support/xpthread_cancel.c: Likewise.
10184         * support/xpthread_check_return.c: Likewise.
10185         * support/xpthread_cond_wait.c: Likewise.
10186         * support/xpthread_create.c: Likewise.
10187         * support/xpthread_detach.c: Likewise.
10188         * support/xpthread_join.c: Likewise.
10189         * support/xpthread_mutex_lock.c: Likewise.
10190         * support/xpthread_mutex_unlock.c: Likewise.
10191         * support/xpthread_sigmask.c: Likewise.
10192         * support/xpthread_spin_lock.c: Likewise.
10193         * support/xpthread_spin_unlock.c: Likewise.
10194         * support/xrealloc.c: Likewise.
10195         * support/xsignal.h: Likewise.
10196         * support/xthread.h: Likewise.
10197         * support_tempfile.h: Likewise.
10198         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
10199         (TEST_DATA_LIMIT): Remove unused macro.
10200         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
10201         <support/check.h>.
10202         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
10203         (ignore_stderr, set_fortify_handler): Remove.  Now in
10204         <support/support.h>.
10205         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
10206         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
10207         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
10208         (xpthread_join): Remove.  Now in <support/xthread.h>.
10209         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
10210         Introduce legacy wrappers.
10211         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
10212         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
10213         (write_message): Remove.
10214         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
10215         test-skeleton.c.
10216         * io/test-open-tmpfile: Likewise.
10217         * io/tst-posix_fallocate-common.c: Likewise.
10218         * libio/tst-fseek.c: Likewise.
10219         * malloc/tst-malloc-backtrace.c: Likewise.
10220         * malloc/tst-malloc-fork-deadlock.c: Likewise.
10221         * malloc/tst-malloc-thread-exit.c: Likewise.
10222         * nptl/tst-cancel7.c: Likewise.
10223         * nptl/tst-cleanup0.c: Likewise.
10224         * posix/tst-posix_fadvise-common.c: Likewise.
10225         * rt/tst-shm.c: Likewise.
10226         * time/bug-getdate1.c: Likewise.
10227         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
10228         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
10229         * elf/Makefile (tst-piemod1.so): Link against libsupport.
10231 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
10233         * Rules [$(run-built-tests) != no] (tests-expected): Add
10234         $(tests-printers).
10235         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
10237 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
10239         [BZ #20539]
10240         * math/Makefile (install-lib-ldscripts): Add libm.a.
10241         (install_subdir): Remove.
10242         (install-others): Add.
10243         ($(inst_libdir)/libm.a): Add rule for installation as
10244         linker script.
10245         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
10247 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
10249         * INSTALL: Regenerated.
10250         * Makeconfig: Add comments and whitespace to make the control flow
10251         clearer.
10252         (+link-printers-tests, +link-pie-printers-tests,
10253         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
10254         built-rtld-LDFLAGS, link-libc-rpath,
10255         link-libc-tests-after-rpath-link,
10256         link-libc-printers-tests): New.
10257         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
10258         link-libc-tests): Use the new variables as required.
10259         * Makerules ($(py-const)): New rule.
10260         generated: Add $(py-const).
10261         * README.pretty-printers: New file.
10262         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
10263         (others): Depend on $(py-const).
10264         (tests): Depend on $(tests-printers-programs) or
10265         $(tests-printers-out),
10266         as required.  Pass $(tests-printers) to merge-test-results.sh.
10267         * manual/install.texi: Add requirements for testing the pretty
10268         printers.
10269         * nptl/Makefile (gen-py-const-headers, pretty-printers,
10270         tests-printers, CFLAGS-test-mutexattr-printers.c
10271         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
10272         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
10273         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
10274         * nptl/nptl-printers.py: New file.
10275         * nptl/nptl_lock_constants.pysym: Likewise.
10276         * nptl/test-cond-printers.c: Likewise.
10277         * nptl/test-cond-printers.py: Likewise.
10278         * nptl/test-condattr-printers.c: Likewise.
10279         * nptl/test-condattr-printers.py: Likewise.
10280         * nptl/test-mutex-printers.c: Likewise.
10281         * nptl/test-mutex-printers.py: Likewise.
10282         * nptl/test-mutexattr-printers.c: Likewise.
10283         * nptl/test-mutexattr-printers.py: Likewise.
10284         * nptl/test-rwlock-printers.c: Likewise.
10285         * nptl/test-rwlock-printers.py: Likewise.
10286         * nptl/test-rwlockattr-printers.c: Likewise.
10287         * nptl/test-rwlockattr-printers.py: Likewise.
10288         * scripts/gen-py-const.awk: Likewise.
10289         * scripts/test_printers_common.py: Likewise.
10290         * scripts/test_printers_exceptions.py: Likewise.
10292 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
10294         * scripts/build-many-glibcs.py (Context.__init__): Take strip
10295         argument.
10296         (Glibc.build_glibc): Strip installed shared libraries if
10297         requested.
10298         (get_parser): Add --strip option.
10299         (main): Update Context call.
10301 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10302             Dominik Vogt  <vogt@linux.vnet.ibm.com>
10304         [BZ #20847]
10305         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
10306         array bounds for else branch.
10307         (__execvpe): Style fixes.
10308         * posix/tst-vfork3.c (run_script): New function.
10309         (create_script): Likewise.
10310         (do_test): Use run_script internal function.
10311         (do_prepare): Use create_script internal function.
10313 2016-12-07  Andreas Schwab  <schwab@suse.de>
10315         * sysdeps/unix/sysv/linux/x86/elision-conf.h
10316         (__elision_available): Don't declare.
10317         * sysdeps/unix/sysv/linux/x86/elision-conf.c
10318         (__elision_available): Don't define.
10319         (elision_init): Don't set __elision_available.
10321 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
10323         [BZ #20940]
10324         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
10325         return Inf for arguments Inf and sNaN.
10326         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
10327         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
10328         Likewise.
10329         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
10330         Likewise.
10331         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
10332         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
10333         for arguments Inf and sNaN.  When returning a NaN, compute it by
10334         arithmetic on the arguments.
10335         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
10336         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
10337         arguments.
10339 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
10341         [BZ #20916]
10342         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
10343         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
10344         to compute result.
10345         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
10346         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
10348 2016-12-05  Torvald Riegel  <triegel@redhat.com>
10350         * include/atomic.h (__atomic_check_size_ls): New.
10351         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
10352         atomic_store_release): Use it.
10353         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
10354         (elision_adapt, ELIDE_LOCK): Use atomics.
10355         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
10356         atomics and improve code comments.
10357         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
10358         (__lll_trylock_elision): Likewise.
10360 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10362         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
10363         programs.
10365 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
10367         [BZ #20916]
10368         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
10369         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
10370         arguments to compute result.
10371         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
10372         1 for arguments (sNaN, 0) or (1, sNaN).
10373         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
10374         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
10376         [BZ #20919]
10377         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
10378         NaN first argument when raised to power 0.
10379         * math/w_pow.c (__pow): Do not check for NaN or zero results from
10380         raising to power zero.
10381         * math/w_powf.c (__powf): Likewise.
10382         * math/w_powl.c (__powl): Likewise.
10383         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
10384         pow (0, 0) or pow (NaN, 0).
10386 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
10388         [BZ #20918]
10389         * configure.ac: Test for static NSS cryptographic libraries and set
10390         libc_cv_static_nss_crypt.
10391         * configure: Regenerate.
10392         * config.make.in (static-nss-crypt): Define.
10393         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
10394         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
10395         (CFLAGS-tst-linkall-static.c): Define.
10396         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
10397         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
10398         ($(objpfx)tst-linkall-static): Define.
10399         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
10400         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
10402 2016-12-02  Florian Weimer  <fweimer@redhat.com>
10404         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
10405         (one-hundred, tst-tls-many-dynamic-modules): Define.
10406         (modules-names): Add $(tst-tls-many-dynamic-modules).
10407         (tst-tls-manydynamic%mod.os): Build with special preprocessor
10408         macros.
10409         (tst-tls-manydynamic): Link against libdl, libpthread.
10410         (tst-tls-manydynamic.out): The test needs the test modules at run
10411         time.
10412         * elf/tst-tls-manydynamic.c: New file.
10413         * elf/tst-tls-manydynamic.h: Likewise.
10414         * elf/tst-tls-manydynamicmod.c: Likewise.
10416 2016-12-02  Florian Weimer  <fweimer@redhat.com>
10418         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
10419         (TLS_DTV_UNALLOCATED): Add.
10420         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
10421         offsets.
10423 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
10425         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10427 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
10429         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
10430         Add -fno-optimize-sibling-calls.
10432 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
10434         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
10435         New declaration.
10436         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
10437         macro.
10438         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
10439         New macro.
10440         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
10441         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
10442         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
10443         (llogbf): Likewise.
10444         (llogbl): Likewise.
10445         * math/Makefile (gen-libm-calls): Add w_llogbF.
10446         (tests): Add test-fp-llogb-constants.
10447         * math/w_llogb_template.c: New file.  Based on
10448         math/w_ilogb_template.c.
10449         * math/libm-test.inc (llogb_test_data): New array.
10450         (llogb_test): New function.
10451         (main): Call llogb_test.
10452         * math/test-fp-llogb-constants.c: New file.  Based on
10453         math/test-fp-ilogb-constants.c.
10454         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
10455         (do_test): Call check_return_llogb.
10456         * math/test-tgmath.c (NCALLS): Increase to 126.
10457         (F(compile_test)): Call llogb.
10458         (F(llogb)): New function.
10459         * manual/math.texi (Exponents and Logarithms): Document llogb,
10460         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
10461         * manual/libm-err-tab.pl (@all_functions): Add llogb.
10462         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
10463         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
10464         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
10465         (CFLAGS-nldbl-llogb.c): New variable.
10466         * sysdeps/nacl/libm.abilist: Update.
10467         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10468         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10469         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10470         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10471         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10472         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10473         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10474         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10475         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10476         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10477         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10478         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10480         Likewise.
10481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10482         Likewise.
10483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10484         Likewise.
10485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10486         Likewise.
10487         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10488         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10489         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10490         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10491         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10492         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10493         Likewise.
10494         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10495         Likewise.
10496         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10497         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10498         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10500 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
10502         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
10503         _Float128 instead of long double.
10504         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
10506         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
10507         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
10508         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
10509         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
10510         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
10511         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
10512         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
10513         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
10514         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
10515         Likewise.
10517 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10519         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
10520         Remove redirection to __strrchr_ppc.
10522 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10524         * sysdeps/powerpc/powerpc64/multiarch/Makefile
10525         (sysdep_routines): Add strcmp_power9.
10526         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10527         (strcmp): Add __strcmp_power9 to list of strcmp functions.
10528         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
10529         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
10530         (strcmp): Add __strcmp_power9 to ifunc list.
10531         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
10533 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
10535         * bits/fp-logb.h: New file.
10536         * sysdeps/ia64/bits/fp-logb.h: Likewise.
10537         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
10538         * sysdeps/x86/bits/fp-logb.h: Likewise.
10539         * math/Makefile (headers): Add bits/fp-logb.h.
10540         * math/math.h: Include <bits/fp-logb.h>.
10541         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
10542         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
10543         * bits/mathdef.h (FP_ILOGB0): Remove.
10544         (FP_ILOGBNAN): Likewise.
10545         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
10546         (FP_ILOGBNAN): Likewise.
10547         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
10548         (FP_ILOGBNAN): Likewise.
10549         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
10550         (FP_ILOGBNAN): Likewise.
10551         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
10552         (FP_ILOGBNAN): Likewise.
10553         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
10554         (FP_ILOGBNAN): Likewise.
10555         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
10556         (FP_ILOGBNAN): Likewise.
10557         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
10558         (FP_ILOGBNAN): Likewise.
10559         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
10560         (FP_ILOGBNAN): Likewise.
10561         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
10562         (FP_ILOGBNAN): Likewise.
10564         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
10565         time module.
10566         (Context.__init__): Initialize self.logsdir_old.
10567         (Context.run_builds): Handle bot action.
10568         (Context.bot_cycle): Copy logs directory before running builds.
10569         (Context.bot_run_self): Take argument for whether to check
10570         subprocess result.  Flush stdout before running subprocess.
10571         (Context.bot): New function.
10572         (get_parser): Allow bot action.
10574 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
10576         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
10577         Import email.mime.text, email.utils and smtplib modules.
10578         (Context.__init__): Initialize self.bot_config_json.
10579         (Context.run_builds): Handle bot-cycle action.
10580         (Context.load_bot_config_json): New function.
10581         (Context.part_build_old): Likewise.
10582         (Context.bot_cycle): Likewise.
10583         (Context.bot_build_mail): Likewise.
10584         (Context.bot_run_self): Likewise.
10585         (get_parser): Allow bot-cycle action.
10587 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10589         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
10590         Remove redirection to __stpcpy_ppc.
10592 2016-11-30  Florian Weimer  <fweimer@redhat.com>
10594         Remove __libc_memalign from ld.so because it is unused.
10595         * elf/dl-minimal.c: Update comment on the malloc implementation.
10596         (malloc): Renamed from __libc_memalign, replacing the original
10597         malloc implementation.  Replace the align parameter with
10598         MALLOC_ALIGNMENT.
10599         * elf/Versions (ld): Update comment and remove __libc_memalign.
10600         * sysdeps/nacl/ld.abilist: Likewise.
10601         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
10602         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
10603         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
10604         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
10605         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
10606         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
10607         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
10608         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
10609         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
10610         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
10611         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
10612         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
10613         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
10614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
10615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
10616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
10617         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
10618         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
10619         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
10620         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
10621         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
10622         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
10623         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
10624         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
10625         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
10626         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
10627         * sysdeps/generic/localplt.data (ld.so): Likewise.
10628         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
10629         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
10630         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
10631         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
10632         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
10633         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
10634         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
10635         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
10636         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
10637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
10638         (ld.so): Likewise.
10639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
10640         (ld.so): Likewise.
10641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
10642         Likewise.
10643         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
10644         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
10645         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
10646         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
10647         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
10649 2016-11-30  Florian Weimer  <fweimer@redhat.com>
10651         [BZ #16628]
10652         Implement _dl_catch_error, _dl_signal_error in libc.so.
10653         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
10654         (catch_hook): Define as thread-local or regular variable,
10655         depending on DL_ERROR_BOOTSTRAP.
10656         (CATCH_HOOK): Remove.
10657         (dl_signal_error, _dl_catch_error): Use
10658         catch_hook.  Add hidden definition for libc.
10659         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
10660         for DL_ERROR_BOOTSTRAP only.
10661         * elf/dl-error.c: New file.
10662         * elf/dl-error-minimal.c: Likewise.
10663         * elf/tst-latepthread.c: Likewise.
10664         * elf/tst-latepthreadmod.c: Likewise.
10665         * elf/Makefile (routines): Add dl-error.
10666         (dl-routines): Remove dl-error.
10667         (rtld-routines): Add dl-error-minimal.
10668         [build-shared] (tests): Add tst-latepthread.
10669         (module-names): Add tst-latepthreadmod.
10670         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
10671         symbol.
10672         (tst-latepthreadmod.so): Link against libpthread.
10673         (tst-latepthread): Link against libdbl.
10674         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
10675         _dl_catch_error.
10676         [ld] (GLIBC_PRIVATE): Likewise.
10677         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
10678         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
10679         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
10680         directly.
10681         * elf/dl-tsd.c: Remove file.
10682         * elf/rtld.c (_rtld_global_ro): Remove initializers for
10683         _dl_catch_error, _dl_signal_error.
10684         (_dl_initial_error_catch_tsd): Remove definition.
10685         (do_preload): Remove initialization of dl_error_catch_tsd.
10686         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
10687         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
10688         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
10689         * dlfcn/dlopen.c (dlopen_doit): Likewise.
10690         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
10691         set dl_error_catch_tsd.
10692         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
10693         _dl_error_catch_tsd member.
10694         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
10695         members.
10696         (_dl_initial_error_catch_tsd): Remove declaration.
10697         (_dl_dprintf): Provide definition for use outside of ld.so.
10698         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
10699         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
10700         prototype for libc.
10701         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
10702         _dl_catch_error.
10703         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
10704         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
10705         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
10706         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
10707         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
10708         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
10709         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
10710         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
10711         Likewise.
10712         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
10713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
10714         (ld.so): Likewise.
10715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
10716         (ld.so): Likewise.
10717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
10718         Likewise.
10719         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
10720         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
10721         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
10722         Likewise.
10723         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
10724         Likewise.
10725         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
10727 2016-11-30  Florian Weimer  <fweimer@redhat.com>
10729         [BZ #4099]
10730         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
10731         _IO_BUFSIZ (8192).
10733 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
10735         * PROJECTS: Remove file.
10737 2016-11-29  Florian Weimer  <fweimer@redhat.com>
10739         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
10741 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
10742             Steve Ellcey  <sellcey@caviumnetworks.com>
10744         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
10745         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
10746         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
10747         fxstatat.
10748         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
10749         lxstat.
10750         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
10751         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
10752         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
10753         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
10754         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
10755         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
10756         __xstat.
10758 2016-11-29  Florian Weimer  <fweimer@redhat.com>
10760         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
10761         Define.
10762         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
10763         definition.
10765 2016-11-29  Florian Weimer  <fweimer@redhat.com>
10767         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
10768         version and turn into strong alias.  Remove compat symbol.
10770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
10771         (__longjmp): Remove.
10773 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
10775         * bits/fp-fast.h: New file.
10776         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
10777         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
10778         * math/Makefile (headers): Add bits/fp-fast.h.
10779         * math/math.h: Include <bits/fp-fast.h>.
10780         * bits/mathdef.h (FP_FAST_FMA): Remove.
10781         (FP_FAST_FMAF): Likewise.
10782         (FP_FAST_FMAL): Likewise.
10783         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
10784         (FP_FAST_FMAF): Likewise.
10785         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
10786         (FP_FAST_FMAF): Likewise.
10787         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
10788         (FP_FAST_FMAF): Likewise.
10789         (FP_FAST_FMAL): Likewise.
10790         * sysdeps/arm/bits/mathdef.h: Remove file.
10791         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
10792         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10793         * sysdeps/tile/bits/mathdef.h: Likewise.
10795 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
10797         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
10798         * math/w_ilogb.c: Remove.
10799         * math/w_ilogbf.c: Likewise.
10800         * math/w_ilogbl.c: Likewise.
10801         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
10802         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
10803         * math/Makefile (gen-libm-calls): Add w_ilogbF.
10804         (libm-calls): Remove w_ilogbF.
10805         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
10806         (LDOUBLE_ilogbl_libm_version): New macro.
10808         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
10810         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
10811         [!__STRICT_ANSI__ && !__cplusplus].
10813 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
10815         [BZ #20750]
10816         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
10817         of PIC.
10819 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
10820             Yury Norov  <ynorov@caviumnetworks.com>
10821             Steve Ellcey  <sellcey@caviumnetworks.com>
10823         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
10824         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
10825         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
10826         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
10827         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
10828         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
10829         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
10830         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
10831         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
10832         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
10833         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
10834         to get correct reg name for ILP32.
10835         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
10836         (RELA_SIZE): New Macro.
10837         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
10838         to support ILP32.
10839         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
10840         cast for ILP32 mode.
10841         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
10842         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
10843         * sysdeps/aarch64/memset.S (__memset): Ditto.
10844         * sysdeps/aarch64/strchr.S (strchr): Ditto.
10845         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
10846         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
10847         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
10848         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
10849         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
10850         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
10851         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
10852         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
10853         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
10854         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
10855         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
10856         change PTR_MANGLE call to use register numbers instead of names.
10857         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
10858         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
10859         ILP32 mode, change PTR_MANGLE calls to use register numbers.
10860         * sysdeps/aarch64/start.S (_start): Ditto.
10861         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
10862         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
10863         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
10864         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
10865         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
10866         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
10867         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
10868         Make defined values dependent on __ILP32__.
10869         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
10870         (sem_t): Change __align type.
10871         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
10872         PTR_SIZE): New Macros.
10873         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
10874         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
10875         Set when in ILP32 mode.
10876         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
10877         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
10878         Set elf flags for ILP32.
10879         (add_system_dir): Set ILP32 library directories.
10880         * sysdeps/unix/sysv/linux/aarch64/init-first.c
10881         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
10882         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
10883         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
10884         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
10885         New Macros.
10886         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
10888 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
10890         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
10891         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
10892         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
10894 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
10896         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
10897         <asm/cachectl.h>.
10899 2016-11-27  Zack Weinberg  <zackw@panix.com>
10901         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
10902         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
10904 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10906         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
10907         error_t to fix usage in C++ programs.
10909 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
10911         * scripts/build-many-glibcs.py: Import datetime module.
10912         (Context.__init__): Load JSON build state.  Initialize list of
10913         status logs.
10914         (Context.run_builds): Update saved build state.
10915         (Context.add_makefile_cmdlist): Update list of status logs.
10916         (Context.load_build_state_json): New function.
10917         (Context.store_build_state_json): Likewise.
10918         (Context.clear_last_build_state): Likewise.
10919         (Context.update_build_state): Likewise.
10920         (CommandList.status_logs): Likewise.
10922 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
10924         * scripts/build-many-glibcs.py (Context.__init__): Save text of
10925         script being executed.
10926         (Context.get_script_text): New function.
10927         (Context.exec_self): Likewise.
10928         (Context.checkout): Re-exec script if changed by checkout process.
10930 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
10932         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10933         (setpayloadsig): New declaration.
10934         * math/Versions (setpayloadsig): New libm symbol at version
10935         GLIBC_2.25.
10936         (setpayloadsigf): Likewise.
10937         (setpayloadsigl): Likewise.
10938         * math/Makefile (libm-calls): Add s_setpayloadsigF.
10939         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
10940         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
10941         (setpayloadsig_test_data): New array.
10942         (setpayloadsig_test): New function.
10943         (main): Call setpayloadsig_test.
10944         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
10945         setpayloadsigf and setpayloadsigl.
10946         * manual/libm-err-tab.pl: Update comment on interfaces without
10947         ulps tabulated.
10948         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
10949         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
10950         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
10951         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
10952         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
10953         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
10954         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
10955         setpayloadsig.
10956         (CFLAGS-nldbl-setpayloadsig.c): New variable.
10957         * sysdeps/nacl/libm.abilist: Update.
10958         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10959         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10960         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10961         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10962         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10963         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10964         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10965         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10966         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10967         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10968         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10969         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10971         Likewise.
10972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10973         Likewise.
10974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10975         Likewise.
10976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10977         Likewise.
10978         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10979         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10980         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10981         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10982         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10983         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10984         Likewise.
10985         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10986         Likewise.
10987         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10988         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10989         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10991         * scripts/build-many-glibcs.py: Import json module.
10992         (Context.__init__): Take replace_sources argument.  Load
10993         versions.json.
10994         (Context.load_versions_json): New function.
10995         (Context.store_json): Likewise.
10996         (Context.store_versions_json): Likewise.
10997         (Context.set_component_version): Likewise.
10998         (Context.checkout): Update versions.json.  Check for and handle
10999         changes of version.  Prefer previously explicitly specified
11000         version to default version.
11001         (Context.checkout_vcs): Return a revision identifier.
11002         (Context.git_checkout): Likewise.
11003         (Context.gcc_checkout): Likewise.
11004         (get_parser): Add --replace-sources option.
11005         (main): Pass replace_sources argument to Context call.
11007 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11009         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
11010         * nptl/allocatestack.c (allocate_stack): Likewise.
11011         (__reclaim_stacks): Likewise.
11012         (setxid_signal_thread): Obtain pid through syscall.
11013         * nptl/nptl-init.c (sigcancel_handler): Likewise.
11014         (sighandle_setxid): Likewise.
11015         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
11016         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
11017         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
11018         Likewise.
11019         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
11020         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
11021         comment.
11022         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
11023         * nptl/descr.h (struct pthread): Change comment about pid value.
11024         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
11025         pid assert.
11026         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
11027         Do not set pid value.
11028         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
11029         pid cache check.
11030         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
11031         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
11032         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
11033         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
11034         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
11035         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
11036         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
11037         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
11038         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
11039         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
11040         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
11041         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
11042         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
11043         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
11044         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
11045         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
11046         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
11047         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
11048         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
11049         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
11050         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
11051         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11052         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
11053         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
11054         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
11055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
11056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
11057         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
11058         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
11059         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
11060         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
11061         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
11062         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
11063         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
11064         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
11065         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
11066         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
11067         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
11068         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
11069         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
11070         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
11071         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
11072         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
11073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
11074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
11075         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
11076         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
11077         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
11078         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
11079         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
11080         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
11081         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
11082         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
11083         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
11084         struct access.
11085         (clone_test): Remove function.
11086         (do_test): Rewrite to take in consideration pid is not cached anymore.
11088 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
11090         * bits/flt-eval-method.h: New file.
11091         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
11092         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
11093         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
11094         * math/Makefile (headers): Add bits/flt-eval-method.h.
11095         * math/math.h: Include <bits/flt-eval-method.h>.
11096         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
11097         [__USE_ISOC99] (double_t): Likewise.
11098         * bits/mathdef.h (float_t): Remove.
11099         (double_t): Likewise.
11100         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
11101         (double_t): Likewise.
11102         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
11103         (double_t): Likewise.
11104         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
11105         (double_t): Likewise.
11106         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
11107         (double_t): Likewise.
11108         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
11109         (double_t): Likewise.
11110         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
11111         (double_t): Likewise.
11112         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
11113         (double_t): Likewise.
11114         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
11115         (double_t): Likewise.
11116         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
11117         (double_t): Likewise.
11118         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
11119         (double_t): Likewise.
11120         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
11121         (double_t): Likewise.
11122         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
11123         (double_t): Likewise.
11124         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
11125         (double_t): Likewise.
11127 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
11129         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
11130         instead of PIC.
11132 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
11134         [BZ #20859]
11135         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
11136         (-0x7fffffff) instead of 0x80000001.
11137         * math/test-fp-ilogb-constants.c: New file.
11138         * math/Makefile (tests): Add test-fp-ilogb-constants.
11140 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
11142         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
11143         (_init): Use it in place of hardcoded R_MIPS_JALR.
11144         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
11145         (_init): Use it in place of hardcoded R_MIPS_JALR.
11146         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
11147         (_init): Use it in place of hardcoded R_MIPS_JALR.
11149 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
11151         [BZ #20787]
11152         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
11153         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
11154         (double_t): Do not define to double if [__x86_64__] when
11155         __FLT_EVAL_METHOD__ is nonzero.
11156         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
11157         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
11158         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11159         test-flt-eval-method-387 and test-flt-eval-method-sse.
11160         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
11161         variable.
11162         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
11164 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
11166         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
11167         use of -fno-isolate-erroneous-paths options for tilepro.
11169 2016-11-23  Florian Weimer  <fweimer@redhat.com>
11171         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
11172         structure initialization is no longer needed.
11174 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
11176         [BZ #20855]
11177         * bits/mathdef.h (float_t): Define to float.
11178         * math/test-flt-eval-method.c: New file.
11179         * math/Makefile (tests): Add test-flt-eval-method.
11180         (CFLAGS-test-flt-eval-method.c): New variable.
11182 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
11184         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
11185         and __fstatfs.  Make them aliases of __fstatfs64 if
11186         STATFS_IS_STATFS64 is set to non-zero.
11187         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
11188         and __statfs64.
11189         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
11190         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
11191         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
11192         for __statfs and statfs.
11193         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
11194         to 0.
11195         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
11196         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
11197         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
11198         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
11199         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
11200         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
11201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
11202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
11203         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
11204         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
11205         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
11206         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
11208 2016-11-22  Andreas Schwab  <schwab@suse.de>
11210         * misc/mkstemp.c: Include <fcntl.h>.
11211         * misc/mkstemps.c: Likewise.
11212         * misc/mkostemp.c: Likewise.
11213         * misc/mkostemps.c: Likewise.
11215 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
11217         [BZ #20847]
11218         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
11219         array bounds.
11220         (__execvpe): Likewise.
11222 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
11224         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
11225         -fno-isolate-erroneous-paths options for tilepro.
11227 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
11229         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
11230         to 0 when in 32 bit mode.
11231         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
11232         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
11233         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
11234         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
11235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
11236         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
11237         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
11238         XSTAT_IS_XSTAT64 test.
11239         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
11240         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
11241         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
11242         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
11243         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
11244         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
11245         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
11246         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
11247         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
11248         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
11249         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
11251 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
11253         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11254         (setpayload): New declaration.
11255         * math/Versions (setpayload): New libm symbol at version
11256         GLIBC_2.25.
11257         (setpayloadf): Likewise.
11258         (setpayloadl): Likewise.
11259         * math/Makefile (libm-calls): Add s_setpayloadF.
11260         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
11261         test_Ff_b1_data.
11262         (RUN_TEST_Ff_b1): New macro.
11263         (RUN_TEST_LOOP_Ff_b1): Likewise.
11264         (canonicalize_test_data): Update type.
11265         (setpayload_test_data): New array.
11266         (setpayload_test): New function.
11267         (main): Call setpayload_test.
11268         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
11269         setpayloadf and setpayloadl.
11270         * manual/libm-err-tab.pl: Update comment on interfaces without
11271         ulps tabulated.
11272         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
11273         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
11274         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
11275         Likewise.
11276         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
11277         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
11278         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
11279         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
11280         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
11281         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
11282         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
11283         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
11284         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
11285         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
11286         setpayload.
11287         (CFLAGS-nldbl-setpayload.c): New variable.
11288         * sysdeps/nacl/libm.abilist: Update.
11289         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11290         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11291         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11292         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11293         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11294         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11295         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11296         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11297         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11298         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11299         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11300         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11302         Likewise.
11303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11304         Likewise.
11305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11306         Likewise.
11307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11308         Likewise.
11309         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11310         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11311         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11312         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11313         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11314         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11315         Likewise.
11316         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11317         Likewise.
11318         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11319         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11320         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11322 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11324         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
11325         * include/unistd.h: Extend comment about __access_noerrno return
11326         semantics.
11327         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
11328         (access_common): Correct typo for EACCES.
11330 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
11332         * sysdeps/tile/math-tests.h: New file.
11334         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
11335         (__old_set_dataplane): Rename from set_dataplane and make a
11336         compatibility symbol.
11337         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
11338         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
11339         sys/dataplane.h.
11341 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
11343         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
11344         script quote words in command output to log suitably for input to
11345         the shell.
11347 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
11348             Maciej W. Rozycki  <macro@imgtec.com>
11350         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
11351         `.Lno_weak_fn' label.
11352         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
11353         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
11355 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11356             Yury Norov  <ynorov@caviumnetworks.com>
11358         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
11359         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
11360         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
11361         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
11362         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
11363         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
11364         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
11365         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11366         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
11367         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
11368         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
11369         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
11370         (sysdep_routines): Remove oldgetrlimit64.
11371         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
11372         (sysdep_routines): Likewise.
11373         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
11374         (sysdep_routines): Likewise.
11375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
11376         [$(subdir) = resource] (sysdep_routines): Likewise.
11377         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
11378         [$(subdir) = resource] (sysdep_routines): Likewise.
11379         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
11380         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
11381         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
11382         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
11383         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
11384         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
11385         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
11386         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
11387         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
11388         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
11389         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
11390         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
11391         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
11392         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
11393         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
11394         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
11395         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
11396         setrlimit and getrlimit.
11397         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
11398         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
11399         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
11400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
11402         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11403         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
11404         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
11405         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11406         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
11407         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
11408         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
11409         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
11410         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
11411         (__old_getrlimit64): Add compatibility symbol.
11412         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
11414 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
11416         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
11417         newly built gmp, mpfr and mpc.
11419         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
11421 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
11423         * conform/Makefile (linknamespace-libs): Rename to
11424         linknamespace-libs-thr.
11425         (linknamespace-libs-posix): New variable.
11426         (linknamespace-libs-xsi): Likewise.
11427         (linknamespace-libs-XPG3): Include libcrypt.a.
11428         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
11429         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
11430         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
11431         (linknamespace-libs-XOPEN2K): Likewise.
11432         (linknamespace-libs-XOPEN2K8): Likewise.
11433         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
11435         [BZ #20829]
11436         * stdio-common/Versions (__snprintf): Add to version
11437         GLIBC_PRIVATE.
11438         * include/stdio.h (__snprintf): Use libc_hidden_proto.
11439         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
11440         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
11441         of snprintf.
11442         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
11444 2016-11-16  Zack Weinberg  <zackw@panix.com>
11446         * string/string.h: Remove obsolete comment stating that
11447         strcoll_l and strxfrm_l have not yet been standardized.
11449 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11451         * hurd/hurd.h (__hurd_fail_noerrno): New function.
11452         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
11453         __access_noerrno.
11454         * io/access.c (__access_noerrno): New function.
11455         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
11456         (hurd_fail_seterrno): Likewise.
11457         (access_common): Likewise.
11458         (__access_noerrno): Likewise.
11459         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
11460         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
11461         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
11462         macro.
11464 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
11466         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
11467         Only declare fpregs if [__SH_FPU_ANY__].
11469 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
11471         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
11472         Make code unconditional.
11473         [!(__SH4__ || __SH4A__)]: Remove conditional code.
11475 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
11477         * manual/sysinfo.texi (S_APPEND): Delete.
11478         (S_IMMUTABLE): Likewise.
11480 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
11481             Magnus Granberg  <zorry@gentoo.org>
11482             Mike Frysinger  <vapier@gentoo.org>
11484         [BZ #20662]
11485         * configure.ac (libc_cv_predef_stack_protector): Also check for
11486         __stack_chk_fail_local symbols.
11487         * configure: Regenerated.
11489 2016-11-15  Florian Weimer  <fweimer@redhat.com>
11491         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
11492         (libc_hidden_def): Remove redefinition.
11493         (__sigsetjmp): Add hidden definition.
11494         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
11495         (libc_hidden_def): Remove redefinition.
11496         (__sigsetjmp): Add hidden definition.
11498 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
11500         * scripts/build-many-glibcs.py (os.path): Do not import.
11501         (Context): Inherit explicitly from object.  Remove blank line
11502         between class and docstring.
11503         (Config): Likewise.
11504         (Glibc): Likewise.
11505         (Command): Likewise.
11506         (CommandList): Likewise.
11507         (Context.write_files): Store chmod mode in a variable.
11509         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
11510         LIBC_SLIBDIR_RTLDDIR for tilegx32.
11511         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
11513 2016-11-14  Zack Weinberg  <zackw@panix.com>
11515         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
11516         creating or re-creating it.
11518         * string/bits/string2.h: Fix typo in comment.
11520 2016-11-14  Zack Weinberg  <zackw@panix.com>
11522         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
11523         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
11524         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
11525         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
11526         of redirected function names.
11528         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
11529         as well.  Document that MESSAGE must be a single string literal.
11531 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
11533         * scripts/build-many-glibcs.py: New file.
11535         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
11536         (do_test): Disable -Wmaybe-uninitialized around uses of
11537         except_mask.
11539         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
11541 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
11543         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
11544         (atomic_store_release): Provide tilepro-specific implementations.
11546 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
11548         * math/math.h (__MATH_TG): New macro.
11549         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
11550         [__USE_ISOC99] (signbit): Likewise.
11551         [__USE_ISOC99] (isfinite): Likewise.
11552         [__USE_ISOC99] (isnan): Likewise.
11553         [__USE_ISOC99] (isinf): Likewise.
11554         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
11555         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
11556         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
11557         __MATH_TG and __MATH_EVAL_FMT2.
11558         * sysdeps/generic/math_private.h (fabs_tg): Define using
11559         __MATH_TG.
11560         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
11561         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
11562         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
11563         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
11564         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
11565         macro.
11566         (__iscanonical): Likewise.
11567         (iscanonical): Define using __MATH_TG.
11569 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11571         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
11572         guards.
11574         * sysdeps/unix/sysv/linux/access.c: New file.
11575         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
11577 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
11579         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
11580         and __WORDSIZE32_PTRDIFF_LONG.
11582 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11584         * sysdeps/aarch64/libm-test-ulps: Regenerated.
11586 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11588         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
11589         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
11590         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
11591         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
11592         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
11593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
11594         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
11595         * sysdeps/unix/sysv/linux/truncate.c: New file.
11596         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
11597         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
11598         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
11599         Remove.
11600         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
11601         Likewise.
11603         * posix/tst-truncate-common.c: New file.
11604         * posix/tst-truncate.c: Use tst-truncate-common.c.
11605         * posix/tst-truncate64.c: Likewise and add LFS tests.
11606         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
11607         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
11608         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
11609         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
11610         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
11611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
11612         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
11613         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
11614         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
11615         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
11616         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
11617         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
11618         Remove.
11619         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
11620         Likewise.
11622 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
11624         [BZ #20790]
11625         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
11626         to MAXLINESIZE.
11627         * sunrpc/bug20790.x: New file.
11628         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
11629         variable.
11630         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
11631         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
11633         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
11635         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
11637         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
11638         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
11639         calloc, realloc, free, memalign and __libc_memalign rather than
11640         making them optional.
11642         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
11643         for libc.so.
11645 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11647         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
11648         ptw-lseek64.
11649         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
11650         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
11651         Likewise.
11652         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
11653         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
11654         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
11655         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
11656         * sysdeps/unix/sysv/linux/lseek.c: New file.
11657         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
11658         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
11659         __libc_lseek64 from auto-generation.
11660         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11661         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
11663 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11665         * nptl/tst-basic1.c (tf, do_test): Use write_message.
11666         * nptl/tst-cleanup1.c (do_test): Likewise.
11667         * nptl/tst-cleanup3.c (do_test): Likewise.
11668         * nptl/tst-key1.c (do_test): Likewise.
11669         * nptl/tst-key2.c (tf, do_test): Likewise.
11670         * nptl/tst-key3.c (tf, do_test): Likewise.
11671         * nptl/tst-stdio1.c (do_test): Likewise.
11672         * nptl/tst-stdio2.c (do_test): Likewise.
11674         * nptl/tst-kill3.c (handler): Use write_message in place of write.
11675         * nptl/tst-kill6.c (handler): Likewise.
11676         * nptl/tst-tls2.c (CB): Likewise.
11677         * nptl/tst-tls3.c (CB): Likewise.
11679 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
11681         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
11683 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
11684             Steve Ellcey  <sellcey@caviumnetworks.com>
11686         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
11687           __ASSUME_ST_INO_64_BIT as 0
11688         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
11689         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
11690           over the code where __ASSUME_ST_INO_64_BIT is used.
11691         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
11692         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
11693         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
11695 2016-11-07  Florian Weimer  <fweimer@redhat.com>
11697         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11698         Document ABI exposure of the __kind offset.
11699         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11700         Mention reason for the __kind offset exposure in the ABI.
11701         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11702         Likewise.
11703         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11704         Likewise.
11705         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11706         Likewise.
11707         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
11708         (struct __pthread_mutex_s): Likewise.
11709         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11710         Likewise.
11711         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11712         Likewise.
11713         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11714         Likewise.
11715         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11716         Likewise.
11717         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11718         Likewise.
11719         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11720         Likewise.
11721         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
11722         (struct __pthread_mutex_s): Likewise.
11723         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
11724         (struct __pthread_mutex_s): Likewise.
11725         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
11726         Likewise.
11728 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
11730         * test-skeleton.c: Document do_test usage.
11732 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
11734         * iconv/gconv.h (__gconv_info): Define __data element using a
11735         zero-length array.
11737 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
11739         * math/test-tgmath2.c: Split up test function.
11741 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
11743         * Rules (tests-expected): New variable, depending on
11744         $(run-built-tests).
11745         (tests): Pass $(tests-expected) to merge-test-results.sh, not
11746         $(tests).
11748         * Rules [$(run-built-tests) = no] (tests): Do not depend on
11749         $(tests-unsupported).
11751 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11753         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
11754         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
11756 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
11758         [BZ #20768]
11759         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
11760         __fegetenv instead of fegetenv.
11762         [BZ #14139]
11763         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
11764         (find_files): Obtain platform name from libm-test-ulps-name and
11765         store in %pplatforms.
11766         (canonicalize_platform): Remove.
11767         (print_platforms): Use $pplatforms directly.
11768         (by_platforms): Do not allow for platforms missing from
11769         %pplatforms.
11770         * sysdeps/aarch64/libm-test-ulps-name: New file.
11771         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
11772         * sysdeps/arm/libm-test-ulps-name: Likewise.
11773         * sysdeps/generic/libm-test-ulps-name: Likewise.
11774         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
11775         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
11776         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
11777         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
11778         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
11779         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
11780         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
11781         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
11782         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
11783         * sysdeps/nios2/libm-test-ulps-name: Likewise.
11784         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
11785         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
11786         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
11787         * sysdeps/sh/libm-test-ulps-name: Likewise.
11788         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
11789         * sysdeps/tile/libm-test-ulps-name: Likewise.
11790         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
11792         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
11794         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
11795         (test-xfail-check-execstack): New variable.
11797         * sysdeps/mips/localplt.data: New file.
11799 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
11800             Steve Ellcey  <sellcey@caviumnetworks.com>
11802         * bits/wordsize.h: Add documentation.
11803         * sysdeps/aarch64/bits/wordsize.h : New file
11804         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
11805         definitions.
11806         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
11807         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
11808         with #if instead of #ifdef.
11809         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
11810         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
11811         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
11812         Add or change defines.
11813         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
11814         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
11815         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
11816         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
11817         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
11818         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
11819         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
11820         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
11821         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
11822         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
11823         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
11824         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
11825         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
11826         * sysdeps/x86/bits/wordsize.h: Likewise.
11828 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
11829             Kevin Petit  <kevin.petit@arm.com>
11831         * sysdeps/aarch64/memchr.S (__memchr): New file.
11833 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
11835         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
11837 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
11839         [BZ #19398]
11840         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
11841         $(linknamespace-symlists-tests).
11843 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
11845         * time/tst-strptime2.c: Ignore -Wformat-length warning.
11847 2016-11-02  Florian Weimer  <fweimer@redhat.com>
11848             Carlos O'Donell  <carlos@redhat.com>
11850         [Bug #20729]
11851         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
11852         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
11853         for -Os related change.
11855 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
11857         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
11859 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
11861         [BZ #19673]
11862         * manual/math.texi (Exponents and Logarithms): Correct description
11863         of clog10.
11865 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
11867         [Bz #20729]
11868         * locale/weight.h: Include libc-internal.h.
11869         * locale/weightwc.h: Likewise.
11870         * nptl/nptl_dbP.h: Likewise.
11872 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
11874         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
11875         when it is MACH_PORT_NULL.
11877 2016-10-31  Andreas Schwab  <schwab@suse.de>
11879         [BZ #20707]
11880         * posix/glob.c (glob): Initialize pglob before checking for
11881         GLOB_BRACE.  Don't call glob recursively if pattern contains no
11882         valid brace expression despite GLOB_BRACE.
11883         * posix/globtest.sh: Test it.
11885 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
11887         [BZ #20729]
11888         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
11889         Define.
11890         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
11891         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
11892         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
11893         for seq2.back_us and seq1.back_us only for -Os compiles.
11894         * locale/weightwc.h (findix): Likewise.
11895         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
11896         DB_GET_FIELD_ADDRESS only for -Os compiles.
11897         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
11898         for slen only for -Os compiles.
11899         * string/strcoll_l.c (get_next_seq): Ignore
11900         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
11901         for -Os compiles.
11903         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
11904         * include/crypt.h: New file.
11906 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11908         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
11909         from test-skeleton.c.
11910         (statclass): Replace calls to write with calls to write_message.
11912 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
11914         * math/math.h
11915         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
11916         New macro.
11917         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
11918         Likewise.
11919         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
11920         Likewise.
11921         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
11922         SNANL.
11923         * math/test-double.h (snan_value_MACRO): New macro.
11924         * math/test-float.h (snan_value_MACRO): Likewise.
11925         * math/test-ldouble.h (snan_value_MACRO): Likewise.
11926         * math/libm-test.inc (issignaling_test_data): Add tests of
11927         snan_value_MACRO.
11929 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11931         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
11932         behavior when eliding a lock not held by the current thread.
11933         * sysdeps/powerpc/nptl/elide.h: Likewise.
11935 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11937         [BZ #20728]
11938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
11939         branch to _exit() by a function call.
11941 2016-10-28  Florian Weimer  <fweimer@redhat.com>
11943         * malloc/malloc.c: Update chunk layout comments.
11944         (chunk_main_arena): Update comment.
11946 2016-10-28  Florian Weimer  <fweimer@redhat.com>
11948         * crypt/sha256.c, crypt/sha256-block.c,
11949         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
11950         sha256_process_block to __sha256_process_block.
11951         * crypt/sha512.c, crypt/sha512-block.c,
11952         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
11953         sha512_process_block to __sha512_process_block.
11955 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
11957         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
11959         * math/test-nan-overflow.c: Include stdlib.h for malloc.
11961 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
11963         [BZ #20019]
11964         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
11965         definition in unrelocated shared library.
11966         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11968 2016-10-28  Florian Weimer  <fweimer@redhat.com>
11970         [BZ #20729]
11971         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
11972         * sysdeps/unix/sysv/linux/i386/Makefile
11973         (uses-6-syscall-arguments): Define.
11974         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
11975         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
11976         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
11977         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
11978         Likewise.
11979         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
11980         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
11981         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
11982         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
11983         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
11984         (CFLAGS-fallocate64.os): Likewise.
11985         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
11986         (CFLAGS-pthread_rwlock_timedrdlock.os)
11987         (CFLAGS-pthread_rwlock_timedwrlock.o)
11988         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
11989         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
11990         (CFLAGS-sem_timedwait.os): Likewise.
11992 2016-10-28  Florian Weimer  <fweimer@redhat.com>
11994         * elf/tst-linkall-static.c: New file.
11995         * elf/Makefile (tests-static): Add tst-linkall-static.
11996         (tst-linkall-static): Link against static libraries.
11998 2016-10-27  Florian Weimer  <fweimer@redhat.com>
12000         * malloc/malloc.c (sysmalloc): Initialize previous size field of
12001         mmaped chunks.
12003 2016-10-28  Florian Weimer  <fweimer@redhat.com>
12005         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
12006         members to mchunk_prev_size, mchunk_size.
12007         (chunk_main_arena): Reverse sense and rename from
12008         chunk_non_main_arena.
12009         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
12010         mchunk_size instead of size.
12011         (set_non_main_arena): Define.
12012         (chunksize): Use chunksize_nomask instead of direct member access.
12013         (chunksize_nomask): Define.
12014         (next_chunk): Use chunksize instead of direct member access.
12015         (prev_size, set_prev_size): Define.
12016         (prev_chunk): Use prev_size instead of direct member access.
12017         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
12018         (inuse_bit_at_offset, set_inuse_bit_at_offset)
12019         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
12020         (mchunk_prev_size, mchunk_size): Poison tokens.
12021         (unlink): Use chunksize_nomask, prev_size accessors.
12022         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
12023         (do_check_free_chunk): Use prev_size accessor.
12024         (sysmalloc): Use set_prev_size, set_head accessors.
12025         (munmap_chunk, mremap_chunk): Use prev_size accessor.
12026         (__libc_free): Use chunksize_nomask accessor.
12027         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
12028         chunk_main_arena accessors.
12029         (_int_free): Use chunksize_nomask, prev_size accessors.
12030         (malloc_consolidate): Use chunksize, prev_size accessors.
12031         (_int_realloc): Use chunksize_nomask accessor.
12032         (_int_memalign): Use set_prev_size accessor.
12033         (__malloc_info): Use chunksize_nomask accessor.
12034         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
12035         accessors.
12036         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
12037         (heap_trim): Use chunksize_nomask, prev_size accessors.
12039 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
12041         [BZ #19380]
12042         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
12043         for inexact results.
12044         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
12045         of inexact result where mpfr_subnormalize is the only inexact
12046         step.
12047         * stdlib/tst-strtod-round-data.h: Regenerated.
12048         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
12049         Define to 0.
12050         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
12052 2016-10-27  David S. Miller  <davem@davemloft.net>
12054         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
12056 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12058         * malloc/malloc.c (do_set_mallopt_check): New function.
12059         (do_set_mmap_threshold): Likewise.
12060         (do_set_mmaps_max): Likewise.
12061         (do_set_top_pad): Likewise.
12062         (do_set_perturb_byte): Likewise.
12063         (do_set_trim_threshold): Likewise.
12064         (do_set_arena_max): Likewise.
12065         (do_set_arena_test): Likewise.
12066         (__libc_mallopt): Use them.
12068 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
12070         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12071         (canonicalize): New declaration.
12072         * math/Versions (canonicalize): New libm symbol at version
12073         GLIBC_2.25.
12074         (canonicalizef): Likewise.
12075         (canonicalizel): Likewise.
12076         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
12077         * math/s_canonicalize_template.c: New file.
12078         * math/libm-test.inc: Update comment on functions tested and
12079         testing of NaN payloads.
12080         (TEST_NAN_PAYLOAD): New macro.
12081         (NO_TEST_INLINE): Update value.
12082         (XFAIL_TEST): Likewise.
12083         (ERRNO_UNCHANGED): Likewise.
12084         (ERRNO_EDOM): Likewise.
12085         (ERRNO_ERANGE): Likewise.
12086         (IGNORE_RESULT): Likewise.
12087         (NON_FINITE): Likewise.
12088         (TEST_SNAN): Likewise.
12089         (NO_TEST_MATHVEC): Likewise.
12090         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
12091         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
12092         (struct test_Ffp_b1_data): New type.
12093         (RUN_TEST_Ffp_b1): New macro.
12094         (RUN_TEST_LOOP_Ffp_b1): Likewise.
12095         (canonicalize_test_data): New array.
12096         (canonicalize_test): New function.
12097         (main): Call canonicalize_test.
12098         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
12099         canonicalizef and canonicalizel.
12100         * manual/libm-err-tab.pl: Update comment on interfaces without
12101         ulps tabulated.
12102         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
12103         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
12104         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12105         canonicalize.
12106         (CFLAGS-nldbl-canonicalize.c): New variable.
12107         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
12108         to ...
12109         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
12110         ... here.
12111         (do_test): Also test canonicalizel.
12112         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
12113         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
12114         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
12115         file.
12116         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
12117         Use libm_hidden_def.
12118         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
12119         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
12120         (do_test): Also test canonicalizel.
12121         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
12122         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
12123         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
12124         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
12125         libm_hidden_def.
12126         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
12127         macro.
12128         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
12129         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
12130         * sysdeps/nacl/libm.abilist: Update.
12131         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12132         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12133         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12134         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12135         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12136         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12137         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12138         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12139         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12140         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12141         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12142         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12144         Likewise.
12145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12146         Likewise.
12147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12148         Likewise.
12149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12150         Likewise.
12151         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12152         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12153         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12154         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12155         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12156         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12157         Likewise.
12158         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12159         Likewise.
12160         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12161         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12162         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12164         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
12165         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12166         getpayload.
12167         (CFLAGS-nldbl-getpayload.c): New variable.
12169 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12171         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
12172         integer from the format string.
12174 2016-10-26  Florian Weimer  <fweimer@redhat.com>
12176         [BZ #19473]
12177         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
12178         declarations.
12179         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
12180         weak aliases.
12181         * malloc/hooks.c (__malloc_get_state): Remove definition.
12182         (malloc_get_state): New stub implementation as
12183         compatibility symbol.
12184         (malloc_set_state): Rename from __malloc_set_state.  Turn into
12185         compat symbol.
12186         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
12187         malloc_set_state.
12188         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
12190 2016-10-26  Florian Weimer  <fweimer@redhat.com>
12192         * iconvdata/iso646.c (enum variant): Drop illegal_var.
12193         (names): Turn into concatenation of strings.
12194         (gconv_init): Adapt iteration over names.
12196 2016-10-26  Florian Weimer  <fweimer@redhat.com>
12198         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
12199         make const.
12200         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
12201         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
12202         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
12203         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
12204         character in sbconv.
12205         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
12206         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
12207         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
12209 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12211         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
12213         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
12214         (M_TRIM_THRESHOLD): Likewise.
12216         * manual/memory.texi (M_ARENA_TEST): Add documentation.
12217         (M_ARENA_MAX): Likewise.
12218         * malloc/malloc.c: Remove obsolete comment.
12220         * manual/memory.texi: Add environment variable alternatives to
12221         setting mallopt parameters.
12223 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
12225         * include/atomic.h
12226         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
12227         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
12229 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12231         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
12232         * stdlib/tst-strfrom.h: New file.
12233         * stdlib/tst-strfrom.c: New file.
12234         * stdlib/tst-strfrom-locale.c: New file.
12236         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
12237         * stdlib/bug-strtod2.c: Likewise.
12238         * stdlib/tst-strtod-round-skeleton.c: Likewise.
12239         * stdlib/tst-strtod6.c: Likewise.
12240         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
12242 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12244         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
12245         * manual/arith.texi: Document strfromd, strfromf, strfroml.
12246         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
12247         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
12248         * stdlib/stdlib.h (strfromd): New declaration.
12249         (strfromf): Likewise.
12250         (strfroml): Likewise.
12251         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
12252         strfrom.
12253         * stdlib/strfromd.c: New file.
12254         * stdlib/strfromf.c: Likewise.
12255         * stdlib/strfroml.c: Likewise.
12256         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
12257         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
12258         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
12259         * sysdeps/arm/nacl/libc.abilist: Update.
12260         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
12261         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12262         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12263         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12264         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12265         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12266         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12267         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12268         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12269         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12270         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12271         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12272         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12273         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
12275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
12276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12278         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12279         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12280         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12281         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12282         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12283         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
12284         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
12285         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
12286         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12287         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12289 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
12291         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
12292         instead of cmpli.
12293         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
12294         instead of cmpli.
12296 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
12298         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
12299         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
12300         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
12301         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
12302         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
12303         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
12305 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12307         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
12308         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
12309         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
12310         SYSCALL_LL64_PRW.
12311         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
12312         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
12313         __ASSUME_PRW_DUMMY_ARG.
12314         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
12315         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
12316         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
12317         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
12318         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
12319         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
12321 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
12323         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
12325 2016-10-22  Florian Weimer  <fweimer@redhat.com>
12327         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
12328         "C++", to override a potential extern "C" directive around the
12329         header file inclusion.
12331 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
12333         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
12335 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12337         * sysdeps/powerpc/fpu/fenv_private.h:
12338         (_FPU_MASK_ALL): Rename to...
12339         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
12340         XE FPSCR bits.
12342         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
12344         (_FPU_MASK_ROUNDING): Rename to...
12345         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
12346         NI bits.
12348         (_FPU_MASK_EXCEPT_ROUND): Rename to...
12349         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
12350         bits and rounding bits.
12352         (__libc_feholdbits_ppc): New inline function to mask, set,
12353         and pontentially clear FSPCR bits, and change MSR[FE] bits.
12354         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
12355         (libc_feholdexcept_setround_ppc): Likewise.
12357         (__libc_femergeenv_ppc): New function to dynamically mask both
12358         old and new FP environments and merge.
12359         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
12360         (libc_feresetround_ppc): Likewise.
12361         (libc_feupdateenv_test_ppc): Likewise.
12362         (libc_feupdateenv_ppc): Likewise.
12364         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
12365         of ISA RN bits, and update macro names.
12366         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
12367         effectively the same as the previously mentioned function.
12369         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
12370         usage with fe_resetround_ppc.
12372         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
12373         to be used.
12374         (libc_feholdexcept_setround_ctxf): Likewise.
12375         (libc_feholdexcept_setround_ctxl): Likewise.
12377 2016-10-21  Florian Weimer  <fweimer@redhat.com>
12379         [BZ #20715]
12380         * math/math.h [__cplusplus] (iszero): Define as function template.
12381         * math/Makefile [CXX] (tests): Add test-math-iszero.
12382         (CFLAGS-test-math-iszero.cc): Set.
12383         * math/test-math-iszero.cc: New file.
12385 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
12387         [BZ #20660]
12388         * sysdeps/arm/e_sqrt.c: New file.
12389         * sysdeps/arm/e_sqrtf.c: Likewise.
12391 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
12393         [BZ #20718]
12394         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
12395         not use floating-point comparisons to test sign.
12396         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
12397         Likewise.
12399         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12400         (getpayload): New declaration.
12401         * math/Versions (getpayload): New libm symbol at version
12402         GLIBC_2.25.
12403         (getpayloadf): Likewise.
12404         (getpayloadl): Likewise.
12405         * math/Makefile (libm-calls): Add s_getpayloadF.
12406         * math/libm-test.inc: Include <nan-high-order-bit.h>.
12407         (struct test_f_f_data): Add comment.
12408         (RUN_TEST_fp_f): New macro.
12409         (RUN_TEST_LOOP_fp_f): Likewise.
12410         (getpayload_test_data): New array.
12411         (getpayload_test): New function.
12412         (main): Call getpayload_test.
12413         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
12414         descriptor.
12415         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
12416         getpayloadf and getpayloadl.
12417         * manual/libm-err-tab.pl: Update comment on interfaces without
12418         ulps tabulated.
12419         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
12420         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
12421         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
12422         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
12423         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
12424         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
12425         * sysdeps/nacl/libm.abilist: Update.
12426         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12427         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12428         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12429         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12430         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12431         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12432         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12433         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12434         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12435         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12436         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12437         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12439         Likewise.
12440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12441         Likewise.
12442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12443         Likewise.
12444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12445         Likewise.
12446         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12447         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12448         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12449         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12450         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12451         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12452         Likewise.
12453         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12454         Likewise.
12455         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12456         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12457         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12459 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12461         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
12462         tst-fallocate{64}.
12463         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
12464         on syscall return.
12466 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
12468         [BZ #20689]
12469         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
12470         usable.
12472 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
12474         * sysdeps/generic/nan-high-order-bit.h: New file.
12475         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
12476         * sysdeps/mips/nan-high-order-bit.h: Likewise.
12477         * sysdeps/hppa/math_private.h: Remove file.
12478         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
12479         not define here.
12480         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
12481         <nan-high-order-bit.h>.
12482         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12483         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
12484         <nan-high-order-bit.h>.
12485         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12486         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
12487         <nan-high-order-bit.h>.
12488         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12489         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
12490         <nan-high-order-bit.h>.
12491         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12492         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
12493         <nan-high-order-bit.h>.
12494         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12495         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
12496         <nan-high-order-bit.h>.
12497         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12498         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
12499         <nan-high-order-bit.h>.
12500         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12501         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
12502         <nan-high-order-bit.h>.
12503         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12504         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
12505         <nan-high-order-bit.h>.
12506         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12507         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
12508         <nan-high-order-bit.h>.
12509         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12510         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
12511         <nan-high-order-bit.h>.
12512         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12513         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
12514         <nan-high-order-bit.h>.
12515         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12516         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
12517         <nan-high-order-bit.h>.
12518         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12519         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
12520         <nan-high-order-bit.h>.
12521         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12522         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
12523         <nan-high-order-bit.h>.
12524         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12525         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
12526         <nan-high-order-bit.h>.
12527         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12528         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
12529         <nan-high-order-bit.h>.
12530         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12531         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
12532         <nan-high-order-bit.h>.
12533         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12535 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
12537         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
12539 2016-09-22  John David Anglin  <dave.anglin@bell.net>
12541         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
12542         abort-instr.h.
12543         (EFAULT): Remove conditional define.
12544         (ENOSYS): Likewise.
12545         (atomic_compare_and_exchange_val_acq): Use instruction nullification
12546         instead of conditional branch instructions.
12548 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
12550         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12551         (totalordermag): New declaration.
12552         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
12553         New macro.
12554         * math/Versions (totalordermag): New libm symbol at version
12555         GLIBC_2.25.
12556         (totalordermagf): Likewise.
12557         (totalordermagl): Likewise.
12558         * math/Makefile (libm-calls): Add s_totalordermagF.
12559         * math/libm-test.inc (totalordermag_test_data): New array.
12560         (totalordermag_test): New function.
12561         (main): Call totalordermag_test.
12562         * math/test-tgmath.c (NCALLS): Increase to 125.
12563         (F(compile_test)): Call totalordermag.
12564         (F(totalordermag)): New function.
12565         * manual/arith.texi (FP Comparison Functions): Document
12566         totalordermag, totalordermagf and totalordermagl.
12567         * manual/libm-err-tab.pl: Update comment on interfaces without
12568         ulps tabulated.
12569         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
12570         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
12571         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
12572         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
12573         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
12574         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
12575         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
12576         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12577         totalordermag.
12578         (CFLAGS-nldbl-totalordermag.c): New variable.
12579         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
12580         (do_test): Also test totalordermagl.
12581         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
12582         Likewise.
12583         * sysdeps/nacl/libm.abilist: Update.
12584         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12585         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12586         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12587         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12588         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12589         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12590         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12591         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12592         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12593         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12594         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12595         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12597         Likewise.
12598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12599         Likewise.
12600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12601         Likewise.
12602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12603         Likewise.
12604         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12605         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12606         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12607         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12608         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12609         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12610         Likewise.
12611         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12612         Likewise.
12613         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12614         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12615         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12617 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
12619         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
12620         boolean.
12622 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
12624         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
12625         raising FE_INVALID with feraisexcept in case where part of
12626         argument is infinite, subtract that part of argument from itself.
12627         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
12628         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
12629         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
12631 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
12633         * math/libm-test.inc (totalorder_test_data): Add more tests.
12635 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
12637         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
12638         Undefine weak_alias and add a comment why mips64 require
12639         versioning.
12641 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
12643         [BZ #20647]
12644         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
12645         maximum CPUID level is less than 2.
12647 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
12649         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12650         (totalorder): New declaration.
12651         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
12652         New macro.
12653         * math/Versions (totalorder): New libm symbol at version
12654         GLIBC_2.25.
12655         (totalorderf): Likewise.
12656         (totalorderl): Likewise.
12657         * math/Makefile (libm-calls): Add s_totalorderF.
12658         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
12659         string.
12660         * math/libm-test.inc (PAYLOAD_DIG): New macro.
12661         (qnan_value_pl): Likewise.
12662         (snan_value_pl): Likewise.
12663         (qnan_value): Define using qnan_value_pl.
12664         (snan_value): Define using snan_value_pl.
12665         (struct test_ff_i_data): Add comment about which tests use this
12666         structure.
12667         (RUN_TEST_ff_b): New macro.
12668         (RUN_TEST_LOOP_ff_b): Likewise.
12669         (totalorder_test_data): New array.
12670         (totalorder_test): New function.
12671         (main): Call totalorder_test.
12672         * math/test-tgmath.c (NCALLS): Increase to 122.
12673         (F(compile_test)): Call totalorder.
12674         (F(totalorder)): New function.
12675         * manual/arith.texi (FP Comparison Functions): Document
12676         totalorder, totalorderf and totalorderl.
12677         * manual/libm-err-tab.pl: Update comment on interfaces without
12678         ulps tabulated.
12679         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
12680         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
12681         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
12682         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
12683         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
12684         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
12685         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
12686         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12687         totalorder.
12688         (CFLAGS-nldbl-totalorder.c): New variable.
12689         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
12690         file.
12691         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
12692         Add test-totalorderl-ldbl-128ibm.
12693         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
12694         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
12695         test-totalorderl-ldbl-96.
12696         * sysdeps/nacl/libm.abilist: Update.
12697         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12698         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12699         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12700         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12701         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12702         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12703         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12704         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12705         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12706         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12707         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12708         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12710         Likewise.
12711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12712         Likewise.
12713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12714         Likewise.
12715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12716         Likewise.
12717         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12718         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12719         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12720         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12721         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12722         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12723         Likewise.
12724         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12725         Likewise.
12726         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12727         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12728         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12730 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12732         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
12733         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
12734         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
12735         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
12736         remove ENOSYS implementation.
12737         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
12738         Consolidate all Linux implementations.
12740 2016-10-11  Florian Weimer  <fweimer@redhat.com>
12742         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
12743         * resolv/herror.c (herror): Cast away const-ness.
12744         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
12745         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
12747 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
12749         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
12750         instead of M_NAN + M_NAN.
12751         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
12753 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12755         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
12756         unused variable 'p'.
12758 2016-10-09  Alan Modra  <amodra@gmail.com>
12759             Andreas Schwab  <schwab@linux-m68k.org>
12761         [BZ #20554]
12762         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
12763         [PIC && !SHARED]: Set up PIC register for PLT call.
12765 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
12767         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
12768         conditional on value of [__FLT_EVAL_METHOD__].
12769         * math/test-iseqsig-excess-precision.c: New file.
12770         * math/Makefile (tests): Add test-iseqsig-excess-precision.
12772 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12774         * math/s_iseqsig_template.c: Include math-private.h.
12776         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
12777         * posix/tst-posix_fadvise.c: New file.
12778         * posix/tst-posix_fadvise64.c: Likewise.
12779         * posix/tst-posix_fadvise-common.c: Likewise.
12780         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12781         (__ASSUME_FADVISE64_64_6ARG): Define.
12782         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12783         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
12784         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12785         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
12786         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
12787         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
12788         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
12789         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
12790         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
12791         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
12792         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
12793         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
12794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
12795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
12796         Likewise.
12797         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
12798         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
12799         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
12800         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
12801         Alias to __posix_fadvise64_l32.
12802         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
12803         Add compat definition to posix_fadvise64.
12804         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
12805         Add versioned definition to posix_fadvise64.
12806         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
12807         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
12808         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
12809         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
12810         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
12812         * io/Makefile (tests): Add tst-posix_fallocate and
12813         tst-posix_fallocate64.
12814         * io/tst-posix_fallocate-common.c: New file.
12815         * io/tst-posix_fallocate.c: Likewise.
12816         * io/tst-posix_fallocate64.c: Likewise.
12817         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
12818         file.
12819         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
12820         Likewise.
12821         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
12822         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
12823         Likewise.
12824         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
12825         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
12826         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
12827         SYSCALL_LL to pass both offset and len arguments.
12828         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
12829         Likewise.
12830         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
12831         __libc_pwrite64 alias used by posix_fallocate64.
12833         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
12834         tst-fallocate64.
12835         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
12836         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
12837         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
12838         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
12839         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
12840         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
12841         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
12842         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
12843         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
12844         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
12845         macro on offset argument.
12846         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
12847         SYSCALL_LL64 on offset argument.
12849         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
12850         tst-fallocate64.
12851         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
12852         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
12853         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
12854         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
12855         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
12856         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
12857         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
12858         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
12859         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
12860         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
12861         macro on offset argument.
12862         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
12863         SYSCALL_LL64 on offset argument.
12864         * test-skeleton.c (FAIL_RET): Add macro.
12865         (FAIL_EXIT): Likewise.
12866         (FAIL_EXIT1): Likewise.
12867         (_FAIL): Likewise.
12869 2016-10-07  Florian Weimer  <fweimer@redhat.com>
12871         [BZ #20629]
12872         resolv: Remove RES_USEBSTRING and its implementation.
12873         * resolv/resolv.h (RES_USEBSTRING): Remove.
12874         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
12875         (digitvalue, encode_bitstring, decode_bitstring): Remove.
12876         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
12877         (labellen): Remove extended label types support.
12878         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
12879         * resolv/res_init.c (res_setoptions): Likewise.
12880         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
12882 2016-10-07  Florian Weimer  <fweimer@redhat.com>
12884         resolv: Remove RES_NOIP6DOTINT and its implementation.
12885         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
12886         (RES_NOIP6DOTINT): Remove.
12887         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
12888         handling.
12889         * resolv/res_debug.c (p_option): Likewise.
12890         * resolv/res_init.c (res_setoptions): Likewise.
12891         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
12893 2016-10-07  Florian Weimer  <fweimer@redhat.com>
12895         resolv: Deprecate unimplemented flags.
12896         * misc/sys/cdefs.h (__glibc_macro_warning1)
12897         (__glibc_macro_warning): Define.
12898         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
12899         (RES_KEEPTSIG): Mark as deprecated.
12900         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
12901         RES_NOCHECKNAME, RES_KEEPTSIG.
12902         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
12904 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12906         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
12907         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
12908         Use strong_alias to create symbols for glibc verison 2.19.
12910 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12912         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
12914 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12916         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
12918 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12920         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
12922 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12924         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
12925         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
12926         in header for using it as type for ifunc function because __GI_* symbols
12927         for ppc32 do not target the ifunc symbols.
12928         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
12930 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12932         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
12933         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
12934         libc_ifunc_hidden_def.
12935         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
12936         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
12937         Redirect ifunced function in header for using it as type of ifunc'ed
12938         function. Redefine libc_hidden_def to use fallback non ifunc'ed
12939         function for __GI_* symbol.
12940         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
12941         * include/libc-symbols.h
12942         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
12944 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12946         [BZ #20478]
12947         * sysdeps/s390/multiarch/ifunc-resolve.h
12948         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
12949         to create ifunc symbols.
12950         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
12951         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
12952         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
12953         for using it as type for ifunc function.
12954         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
12955         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
12956         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
12957         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
12958         * sysdeps/s390/multiarch/strcat.c: Likewise.
12959         * sysdeps/s390/multiarch/strchr.c: Likewise.
12960         * sysdeps/s390/multiarch/strcmp.c: Likewise.
12961         * sysdeps/s390/multiarch/strcpy.c: Likewise.
12962         * sysdeps/s390/multiarch/strcspn.c: Likewise.
12963         * sysdeps/s390/multiarch/strlen.c: Likewise.
12964         * sysdeps/s390/multiarch/strncmp.c: Likewise.
12965         * sysdeps/s390/multiarch/strncpy.c: Likewise.
12966         * sysdeps/s390/multiarch/strnlen.c: Likewise.
12967         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
12968         * sysdeps/s390/multiarch/strrchr.c: Likewise.
12969         * sysdeps/s390/multiarch/strspn.c: Likewise.
12970         * sysdeps/s390/multiarch/wcschr.c: Likewise.
12971         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
12972         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
12973         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
12974         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
12975         * sysdeps/s390/multiarch/wmemset.c: Likewise.
12976         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
12977         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
12978         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
12979         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
12980         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
12981         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
12983 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12985         * include/libc-symbols.h (__ifunc_resolver):
12986         New macro is used by __ifunc* macros.
12987         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
12988         depending on HAVE_GCC_IFUNC.
12989         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
12990         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
12991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
12992         Redirect ifunced function in header for using as type for ifunc function.
12993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
12994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
12995         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
12996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
12997         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
12998         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
12999         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
13000         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
13001         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
13002         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
13003         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
13004         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
13005         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
13006         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
13007         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
13008         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
13009         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
13010         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
13011         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
13012         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
13013         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
13014         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
13015         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
13016         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
13017         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
13018         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
13019         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
13020         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
13021         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
13022         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
13023         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
13024         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
13025         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
13026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
13027         Add libc_hidden_def() and use libc_ifunc_hidden() macro
13028         instead of libc_ifunc() macro.
13029         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
13030         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
13032 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13034         * config.h.in (HAVE_GCC_IFUNC): New undef.
13035         * configure.ac: Add check if gcc supports attribute ifunc feature.
13036         * configure: Regenerated.
13037         * manual/install.texi: Add recommendation for gcc with
13038         indirect-function support.
13039         * INSTALL: Regenerated.
13041 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
13043         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
13044         macro.
13045         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13046         (__iseqsig): New declaration.
13047         * math/s_iseqsig_template.c: New file.
13048         * math/Versions (__iseqsigf): New libm symbol at version
13049         GLIBC_2.25.
13050         (__iseqsig): Likewise.
13051         (__iseqsigl): Likewise.
13052         * math/libm-test.inc (iseqsig_test_data): New array.
13053         (iseqsig_test): New function.
13054         (main): Call iseqsig_test.
13055         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
13056         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
13057         * manual/libm-err-tab.pl: Update comment on interfaces without
13058         ulps tabulated.
13059         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
13060         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
13061         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
13062         * sysdeps/nacl/libm.abilist: Update.
13063         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13064         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13065         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13066         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13067         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13068         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13069         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13070         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13071         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13072         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13073         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13074         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13076         Likewise.
13077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13078         Likewise.
13079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13080         Likewise.
13081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13082         Likewise.
13083         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13084         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13085         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13086         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13087         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13088         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13089         Likewise.
13090         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13091         Likewise.
13092         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13093         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13094         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13096 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13098         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
13099         do_sincos_2, sloww, sloww1): Update comments.
13101         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
13102         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
13104         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
13105         K boolean and rename it.
13106         (__sin): Adjust.
13107         (__cos): Adjust.
13109 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
13110             Siddhesh Poyarekar  <siddhesh@sourceware.org>
13112         * manual/nss.texi: Fix typos in the manual.
13114 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
13116         * manual/contrib.texi: Fix typos in the manual.
13118         * manual/maint.texi: Fix typos in the manual.
13120         * manual/install.texi: Fix typos in the manual.
13121         * INSTALL: Regenerated.
13123         * manual/lang.texi: Fix typos in the manual.
13125         * manual/probes.texi: Fix typos in the manual.
13127         * manual/threads.texi: Fix typos in the manual.
13129         * manual/debug.texi: Fix typos in the manual.
13131         * manual/crypt.texi: Fix typos in the manual.
13133         * manual/conf.texi: Fix typos in the manual.
13135         * manual/sysinfo.texi: Fix typos in the manual.
13137         * manual/users.texi: Fix typos in the manual.
13139         * manual/job.texi: Fix typos in the manual.
13141         * manual/process.texi: Fix typos in the manual.
13143         * manual/argp.texi: Fix typos in the manual.
13144         * manual/getopt.texi: Likewise.
13145         * manual/startup.texi: Likewise.
13147         * manual/signal.texi: Fix typos in the manual.
13149         * manual/setjmp.texi: Fix typos in the manual.
13151         * manual/resource.texi: Fix typos in the manual.
13153         * manual/time.texi: Fix typos in the manual.
13155         * manual/arith.texi: Fix typos in the manual.
13157         * manual/math.texi: Fix typos in the manual.
13159         * manual/syslog.texi: Fix typos in the manual.
13161         * manual/terminal.texi: Fix typos in the manual.
13163         * manual/socket.texi: Fix typos in the manual.
13165         * manual/filesys.texi: Fix typos in the manual.
13167         * manual/llio.texi: Fix typos in the manual.
13169         * manual/stdio.text: Fix typos in the manual.
13171 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13173         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
13174         instead of K1.
13176         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
13177         SHIFT_QUADRANT and make it bool.
13178         (do_sincos_2): Likewise.
13179         (sloww): Likewise.
13180         (sloww1): Likewise.
13181         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
13182         (__cos): Likewise.
13184 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13186         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
13188 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
13190         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
13191         Define to __WORDSIZE, not conditional on [LONG_MAX ==
13192         0x7fffffffL].
13193         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
13195 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13197         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
13198         inline by __inline__.
13199         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
13200         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
13201         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
13202         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
13203         sigset_t from signal.h.
13204         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
13205         which is already required.
13207 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
13209         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13211 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
13213         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
13214         (struct tcp_repair_window): New type.
13216 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13218         * libio/tst-memstream3.c: Include string.h.
13220 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13222         [BZ #18241]
13223         [BZ #20181]
13224         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
13225         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
13226         write position is at the end the buffer.
13227         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
13228         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
13229         (_IO_str_seekoff): Set correct offset from negative displacement and
13230         set EINVAL for invalid ones.
13231         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
13232         buffer length.
13233         (_IO_wstr_switch_to_get_mode): New function.
13234         (_IO_wstr_seekoff): Set correct offset from negative displacement and
13235         set EINVAL for invalid ones.
13236         * libio/tst-memstream3.c: New file.
13237         * libio/tst-wmemstream3.c: Likewise.
13238         * manual/examples/memstrm.c: Remove warning when priting size_t.
13240 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
13242         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
13243         macro to use __builtin_fma.
13244         * sysdeps/x86_64/fpu/dla.h: Remove file.
13246         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
13247         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
13248         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
13250 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
13252         [BZ #20292]
13253         * elf/Makefile (routines): Add dl-addr-obj.
13254         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
13255         tst-_dl_addr_inside_object.
13256         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
13257         [ifeq (yesyes,$(have-fpie)$(build-shared))]
13258         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
13259         [ifeq (yesyes,$(have-fpie)$(build-shared))]
13260         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
13261         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
13262         * elf/dl-open.c: Likewise.
13263         * elf/dl-addr-obj.c: New file.
13264         * elf/tst-_dl_addr_inside_object.c: New file.
13266 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
13268         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
13269         <bits/iscanonical.h>.
13270         * bits/iscanonical.h: New file.
13271         * math/s_iscanonicall.c: Likewise.
13272         * math/Versions (__iscanonicall): New libm symbol at version
13273         GLIBC_2.25.
13274         * math/libm-test.inc (iscanonical_test_data): New array.
13275         (iscanonical_test): New function.
13276         (main): Call iscanonical_test.
13277         * math/Makefile (headers): Add bits/iscanonical.h.
13278         (type-ldouble-routines): Add s_iscanonicall.
13279         * manual/arith.texi (Floating Point Classes): Document
13280         iscanonical.
13281         * manual/libm-err-tab.pl: Update comment on interfaces without
13282         ulps tabulated.
13283         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
13284         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
13285         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
13286         Likewise.
13287         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
13288         test-iscanonical-ldbl-128ibm.
13289         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
13290         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
13291         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
13292         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
13293         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
13294         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13295         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13297         Likewise.
13298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13299         Likewise.
13300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13301         Likewise.
13302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13303         Likewise.
13304         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13305         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13307 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13309         * string/bits/string3.h: Remove C++ style comments.
13311 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13313         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
13314         instead of ternary condition.
13315         (do_sincos_2): Likewise.
13316         (__sin): Likewise.
13317         (__cos): Likewise.
13318         (slow): Likewise.
13319         (sloww): Likewise.
13320         (sloww1): Likewise.
13321         (bsloww): Likewise.
13322         (bsloww1): Likewise.
13324         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
13325         instead of ternary condition.
13326         (do_sin_slow): Likewise.
13327         (do_sincos_1): Likewise.
13328         (do_sincos_2): Likewise.
13329         (__cos): Likewise.
13330         (sloww): Likewise.
13331         (sloww1): Likewise.
13332         (sloww2): Likewise.
13333         (bsloww): Likewise.
13334         (bsloww1): Likewise.
13335         (bsloww2): Likewise.
13337         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
13338         check from here...
13339         (slow2): ... and here...
13340         (__sin): ... to here.
13342 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
13344         * math/math.h
13345         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
13346         Cast argument to its own type.
13347         * math/test-iszero-excess-precision.c: New file.
13348         * math/Makefile (tests): Add test-iszero-excess-precision.
13349         (CFLAGS-test-iszero-excess-precision.c): New variable.
13351 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
13353         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
13354         field, add err field.
13355         (__spawni_child): Report error through err member instead of pipe.
13356         (__spawnix): Likewise.
13358 2016-09-28  Zack Weinberg  <zackw@panix.com>
13360         * scripts/check-installed-headers.sh: Generalize treatment of
13361         sys/elf.h to all target architectures.
13363         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
13364         deleted typedef ucontext_t.
13366 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13368         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
13369         (__INTERNAL_SYSCALL1): Likewise.
13370         (__INTERNAL_SYSCALL2): Likewise.
13371         (__INTERNAL_SYSCALL3): Likewise.
13372         (__INTERNAL_SYSCALL4): Likewise.
13373         (__INTERNAL_SYSCALL5): Likewise.
13374         (__INTERNAL_SYSCALL6): Likewise.
13375         (__INTERNAL_SYSCALL7): Likewise.
13376         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
13377         (__INTERNAL_SYSCALL_NARGS): Likewise.
13378         (__INTERNAL_SYSCALL_DISP): Likewise.
13379         (INTERNAL_SYSCALL_CALL): Likewise.
13380         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
13381         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
13382         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
13383         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
13384         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
13385         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
13386         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
13387         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
13388         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
13389         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
13390         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
13391         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
13392         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
13394 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
13396         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
13397         macro.
13398         * math/libm-test.inc (iszero_test_data): New array.
13399         (iszero_test): New function.
13400         (main): Call iszero_test.
13401         * manual/arith.texi (Floating Point Classes): Document iszero.
13402         * manual/libm-err-tab.pl: Update comment on interfaces without
13403         ulps tabulated.
13405 2016-09-23  Zack Weinberg  <zackw@panix.com>
13407         * scripts/check-installed-headers.sh: New script.
13408         * Rules: In each directory that defines header files to be installed,
13409         run check-installed-headers.sh on them as a special test.
13410         * Makefile: Likewise for the headers installed at top level.
13412         * include/aliases.h, include/alloca.h, include/argz.h
13413         * include/arpa/nameser.h, include/arpa/nameser_compat.h
13414         * include/elf.h, include/envz.h, include/err.h
13415         * include/execinfo.h, include/fpu_control.h, include/getopt.h
13416         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
13417         * include/link.h, include/malloc.h, include/mcheck.h
13418         * include/mntent.h, include/netinet/ether.h
13419         * include/nss.h, include/obstack.h, include/printf.h
13420         * include/pty.h, include/resolv.h, include/rpc/auth.h
13421         * include/rpc/auth_des.h, include/rpc/auth_unix.h
13422         * include/rpc/clnt.h, include/rpc/des_crypt.h
13423         * include/rpc/key_prot.h, include/rpc/netdb.h
13424         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
13425         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
13426         * include/rpc/rpc_msg.h, include/rpc/svc.h
13427         * include/rpc/svc_auth.h, include/rpc/xdr.h
13428         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
13429         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
13430         * include/rpcsvc/ypupd.h, include/shadow.h
13431         * include/stdio_ext.h, include/sys/epoll.h
13432         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
13433         * include/sys/prctl.h, include/sys/profil.h
13434         * include/sys/statfs.h, include/sys/sysctl.h
13435         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
13436         * sysdeps/arm/nacl/include/bits/setjmp.h
13437         * sysdeps/mips/include/sys/asm.h
13438         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
13439         * sysdeps/unix/sysv/linux/include/sys/timex.h
13440         * sysdeps/x86/fpu/include/bits/fenv.h:
13441         Add #ifndef _ISOMAC guard around internal declarations.
13442         Add multiple-inclusion guard if not already present.
13444 2016-09-23  Zack Weinberg  <zackw@panix.com>
13446         * sysdeps/generic/sys/ucontext.h
13447         * sysdeps/arm/sys/ucontext.h
13448         * sysdeps/i386/sys/ucontext.h
13449         * sysdeps/m68k/sys/ucontext.h
13450         * sysdeps/mips/sys/ucontext.h
13451         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
13452         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
13453         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
13454         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
13455         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
13456         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
13457         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
13458         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
13459         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
13460         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
13461         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
13462         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
13463         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
13464         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
13465         Include both bits/sigcontext.h and bits/sigstack.h.
13466         Fix grammar error in comment, if present.
13468         * bits/sigstack.h
13469         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
13470         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
13471         * sysdeps/unix/sysv/linux/bits/sigstack.h
13472         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
13473         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
13474         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
13475         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
13476         * bits/sigcontext.h
13477         * sysdeps/mach/hurd/i386/bits/sigcontext.h
13478         * sysdeps/unix/sysv/linux/bits/sigcontext.h
13479         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
13480         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
13481         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
13482         as well as signal.h, if this was not already allowed.  Request
13483         definition of size_t if necessary.  Minimize semantically-null
13484         differences across files.
13486 2016-09-23  Zack Weinberg  <zackw@panix.com>
13488         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
13489         Remove all logic conditional on __need macros.  Move all the
13490         conditionally defined types to their own headers...
13491         * time/bits/types/clock_t.h: Define clock_t here.
13492         * time/bits/types/clockid_t.h: Define clockid_t here.
13493         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
13494         * time/bits/types/struct_timespec.h: Define struct timespec here.
13495         * time/bits/types/struct_timeval.h: Define struct timeval here.
13496         * time/bits/types/struct_tm.h: Define struct tm here.
13497         * time/bits/types/time_t.h: Define time_t here.
13498         * time/bits/types/timer_t.h: Define timer_t here.
13499         * time/Makefile: Install the new headers.
13501         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
13502         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
13503         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
13504         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
13505         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
13506         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
13507         * sysdeps/unix/sysv/linux/bits/resource.h
13508         * sysdeps/unix/sysv/linux/bits/timex.h
13509         * sysdeps/unix/sysv/linux/mips/bits/resource.h
13510         * sysdeps/unix/sysv/linux/net/ppp_defs.h
13511         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
13512         * sysdeps/unix/sysv/linux/sys/acct.h
13513         * sysdeps/unix/sysv/linux/sys/timerfd.h
13514         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
13515         * time/sys/time.h, time/sys/timeb.h
13516         Use the new bits/types headers.
13518         * include/time.h: Remove __need logic.
13519         * include/bits/time.h
13520         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
13521         * include/bits/types/time_t.h, include/bits/types/timer_t.h
13522         * include/bits/types/struct_itimerspec.h
13523         * include/bits/types/struct_timespec.h
13524         * include/bits/types/struct_timeval.h
13525         * include/bits/types/struct_tm.h:
13526         New wrapper headers.
13528 2016-09-23  Zack Weinberg  <zackw@panix.com>
13530         * sysdeps/mach/hurd/net/if_ppp.h
13531         * sysdeps/unix/sysv/linux/net/if_ppp.h:
13532         Only define struct ifpppstatsreq and struct ifpppcstatsreq
13533         if __USE_MISC is defined, to ensure struct ifreq is declared.
13535         * inet/netinet/ether.h: Condition all function prototypes
13536         on __USE_MISC, to ensure struct ether_addr is declared.
13538         * socket/bits/types/struct_osockaddr.h: New header.
13539         * include/bits/types/struct_osockaddr.h: New wrapper.
13540         * socket/Makefile: Install the new header.
13541         * socket/sys/socket.h, inet/protocols/talkd.h:
13542         Refer to bits/types/struct_osockaddr.h for the definition of
13543         struct osockaddr.
13545 2016-09-23  Zack Weinberg  <zackw@panix.com>
13547         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
13548         * inet/protocols/routed.h, inet/protocols/talkd.h
13549         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
13550         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
13551         * sysdeps/generic/netinet/if_ether.h
13552         * sysdeps/generic/netinet/in_systm.h
13553         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
13554         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
13555         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
13556         * sysdeps/mach/hurd/net/if_arp.h
13557         * sysdeps/mach/hurd/net/if_ppp.h
13558         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
13559         * sysdeps/unix/sysv/linux/bits/in.h
13560         * sysdeps/unix/sysv/linux/net/ethernet.h
13561         * sysdeps/unix/sysv/linux/net/if_arp.h
13562         * sysdeps/unix/sysv/linux/net/if_ppp.h
13563         * sysdeps/unix/sysv/linux/net/if_shaper.h
13564         * sysdeps/unix/sysv/linux/net/route.h
13565         * sysdeps/unix/sysv/linux/netinet/if_ether.h
13566         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
13567         * sysdeps/unix/sysv/linux/netinet/if_tr.h
13568         * sysdeps/unix/sysv/linux/netipx/ipx.h
13569         * sysdeps/unix/sysv/linux/sys/acct.h
13570         * include/arpa/nameser.h, include/resolv.h:
13571         Change all uses of u_char to unsigned char,
13572         u_short and ushort to unsigned short, u_int and uint to unsigned int,
13573         u_long and ulong to unsigned long, u_int8_t to uint8_t,
13574         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
13575         and u_int64_t and u_quad_t to uint64_t.
13577         * mach/sys/reboot.h: Remove two casts of integer literals
13578         to the types they already have.
13580         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
13581         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
13582         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
13583         from referring to 'unsigned char' to 'uint8_t' for consistency with
13584         the macro definition below.
13586         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
13587         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
13588         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
13589         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
13590         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
13591         * sysdeps/unix/sysv/linux/sys/acct.h
13592         * include/arpa/nameser.h, include/resolv.h:
13593         Fix indentation disrupted by mechanical edits.
13595         * inet/protocols/talkd.h, resolv/arpa/nameser.h
13596         * sysdeps/generic/netinet/in_systm.h
13597         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
13598         * sysdeps/gnu/netinet/udp.h
13599         * sysdeps/unix/sysv/linux/net/ethernet.h
13600         * sysdeps/unix/sysv/linux/net/if_arp.h
13601         * sysdeps/unix/sysv/linux/net/if_ppp.h
13602         * sysdeps/unix/sysv/linux/net/if_shaper.h
13603         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
13604         * sysdeps/unix/sysv/linux/netinet/if_tr.h
13605         * sysdeps/unix/sysv/linux/netipx/ipx.h
13606         * sysdeps/unix/sysv/linux/sys/acct.h
13607         Include stdint.h for uintNN_t definitions.
13608         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
13610 2016-09-23  Zack Weinberg  <zackw@panix.com>
13612         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
13613         * sysdeps/unix/sysv/linux/netrose/rose.h:
13614         Include sys/socket.h and netax25/ax25.h.
13616         * inet/netinet/icmp6.h, inet/netinet/ip6.h
13617         * resolv/arpa/nameser_compat.h:
13618         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
13620         * sysdeps/unix/sysv/linux/sys/quota.h:
13621         Use __caddr_t instead of caddr_t.
13622         * sysdeps/unix/sysv/linux/sys/timerfd.h:
13623         Use __clockid_t instead of clockid_t.
13625         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
13627         * argp/argp.h: Check whether _LIBC is defined before expanding it.
13628         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
13629         expanding it.
13631         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
13632         Define __glibc_c99_flexarr_available to 1 when the compiler
13633         supports C99-compatible flexible array members, 0 otherwise.
13634         * sysdeps/unix/sysv/linux/bits/socket.h
13635         * sysdeps/mach/hurd/bits/socket.h
13636         * bits/socket.h: Use __glibc_c99_flexarr_available in
13637         definitions of struct cmsghdr and CMSG_DATA.
13639 2016-09-23  Florian Weimer  <fweimer@redhat.com>
13641         * manual/nss.texi (NSS Modules Interface): Adjust function return
13642         type to enum nss_status.  Document errnop argument.  Clarify
13643         h_errnop semantics.  Fix cross-reference formatting.
13644         (NSS Module Function Internals): Mention that *errnop needs to be
13645         set on failure, but not to zero.
13647 2016-09-23  Florian Weimer  <fweimer@redhat.com>
13649         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
13650         (get_random_name): New functions.
13651         (check_wrapper_flags_mode): Use linkat to give the new file a name
13652         determined by get_random_name.
13653         (do_test): Add calls to test open64 and openat64.
13655 2016-09-23  Florian Weimer  <fweimer@redhat.com>
13657         * test-skeleton.c: Remove #include <stdarg.h>.
13659 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
13661         [BZ #19826]
13662         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
13663         initialization of static TLS entries.
13664         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
13665         * nptl/allocatestack.c (init_one_static_tls): Likewise.
13667 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13669         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
13670         _hurd_malloc_fork_prepare.
13671         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
13672         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
13673         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
13674         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
13675         (_hurd_fork_child_hook): Drop malloc_fork_child.
13676         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
13677         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
13678         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
13679         after locking locks (notably hurd_dtable_lock). Call
13680         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
13681         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
13682         __malloc_fork_unlock_child.
13683         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
13685 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
13687         * soft-fp/extendhftf2.c: New.
13688         * soft-fp/fixhfti.c: Likewise.
13689         * soft-fp/fixunshfti.c: Likewise.
13690         * soft-fp/floattihf.c: Likewise.
13691         * soft-fp/floatuntihf.c: Likewise.
13692         * soft-fp/half.h: Likewise.
13693         * soft-fp/trunctfhf2.c: Likewise.
13695 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
13697         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
13698         macro.
13699         * math/libm-test.inc (issubnormal_test_data): New array.
13700         (issubnormal_test): New function.
13701         * manual/arith.texi (Floating Point Classes): Document
13702         issubnormal.
13703         * manual/libm-err-tab.pl: Update comment on interfaces without
13704         ulps tabulated.
13706         * sysdeps/generic/stdint.h: Define
13707         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
13708         <bits/libc-header-start.h> instead of including <features.h>.
13709         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
13710         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
13711         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
13712         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
13713         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
13714         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
13715         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
13716         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
13717         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
13718         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
13719         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
13720         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
13721         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
13722         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
13723         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
13724         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
13725         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
13726         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
13727         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
13728         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
13729         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
13730         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
13731         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
13732         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
13733         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
13734         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
13735         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
13736         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
13737         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
13738         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
13739         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
13740         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
13741         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
13742         * manual/arith.texi (Integers): Document these macros for types
13743         specified by width properties.
13744         * manual/lang.texi (Width of Type): Document these macros for
13745         other standard typedefs.
13746         * stdlib/tst-width-stdint.c: New file.
13747         * stdlib/Makefile (tests): Add tst-width-stdint.
13749 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13751         [BZ #20016]
13752         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
13753         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
13754         Move ...
13755         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
13756         ... here, as compatibility symbols in a new file.
13757         * resolv/Makefile (libresolv-routines): Add compat-hooks.
13758         * resolv/res_init.c (__res_vinit): Adjust member names.
13759         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
13760         * resolv/resolv.h (res_sendhookact, res_send_qhook)
13761         (res_send_rhook): Remove.
13762         (struct __res_state): Rename qhook, rhook members.
13764 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13766         malloc: Use __libc_lock wrappers.
13767         * malloc/arena.c (list_lock, free_list_lock): Define using
13768         __libc_lock_define_initialized.
13769         (arena_lock): Adjust formatting.
13770         * malloc/malloc.c (struct malloc_state): Define mutex using
13771         __libc_lock_define.
13772         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
13773         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
13774         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
13775         (mutex_unlock, mutex_trylock): Remove.
13776         (__pthread_initialize): Remove unused macro.
13777         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
13778         (mutex_unlock, mutex_trylock): Remove.
13780 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13782         [BZ #20592]
13783         Remove RR type classification macros.
13784         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
13785         (ns_t_udp_p, ns_t_xfr_p): Remove.
13787 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13789         Remove misleading version information.
13790         * resolv/arpa/nameser.h (__NAMESER): Remove.
13791         * resolv/arpa/nameser_compat.h (__BIND): Remove.
13793 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13795         Remove the always-defined BIND_4_COMPAT macro.
13796         * resolv/arpa/nameser.h: Unconditionally include
13797         <arpa/nameser_compat.h>.
13798         (BIND_4_COMPAT): Remove.
13799         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
13801 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13803         [BZ #20591]
13804         Remove obsolete DNSSEC support.
13805         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
13806         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
13807         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
13808         (ns_verify_tcp, ns_verify_tcp_init): Remove.
13809         (ns_cert_types): Add comment.
13810         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
13811         separately.
13812         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
13813         (dst_s_dns_key_id): Remove.
13814         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
13815         variables.
13817 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13819         [BZ #20524]
13820         * manual/string.texi (String/Array Comparison): Clarify the
13821         strverscmp behavior.
13823 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13825         * test-skeleton.c (xasprintf): Add function.
13826         * io/tst-open-tmpfile.c: New test.
13827         * io/Makefile (tests): Add it.
13829 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13831         Avoid running $(CXX) during build to obtain header file paths.
13832         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
13833         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
13834         * Makerules (cstdlib, cmath): Remove variables.  Use
13835         $(c++-cstdlib-header), $(c++-cmath-header) instead.
13836         * configure: Regenerate.
13838 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13840         * Makeconfig (all-object-suffixes): Include .op only if
13841         $(build-profile).
13843 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13845         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
13846         conditionals.  Do not define PATH_MAX.
13848 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13850         * posix/Makefile (tests): Add tst-spawn3.
13851         * posix/tst-spawn3.c: New file.
13852         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
13853         if it is already opened for open action.
13855         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
13856         all signals when executing the clone vfork child.
13857         (SIGALL_SET): Remove macro.
13859         * nptl/Makefile (tests): Add tst-exec5.
13860         * nptl/tst-exec5.c: New file.
13861         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
13862         asynchronous cancellation.
13864 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13866         * hurd/exc2signal.c: #include <hurd/signal.h>
13867         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
13868         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
13869         accordingly.
13870         * mach/mach_error.c (mach_error): Fix old-style function definition.
13871         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
13873 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13875         * math/Makefile (libm-calls): Remove s_nanF.
13876         (gen-libm-calls): Add s_nanF.
13878         * math/s_nan.c: Refactor into ...
13879         * math/s_nan_template.c: New file.
13881         * math/s_nanf.c: Removed.
13882         * math/s_nanl.c: Removed.
13883         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
13884         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
13886         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
13887         (LDOUBLE_nanl_libm_version): New macro.
13889         * sysdeps/generic/math-type-macros-double.h:
13890         (M_STRTO_NAN): New macro.
13891         * sysdeps/generic/math-type-macros-float.h: Likewise.
13892         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
13894         * sysdeps/generic/math-type-macros.h: Document
13895         M_STRTO_NAN.
13897 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13899         * math/s_nanf.c: Remove __nanf undef.
13900         * math/s_nan.c: Remove __nan undef.
13901         * math/s_nanl.c: Remove __nanl undef.
13903         * sysdeps/generic/math_private.h (__nan): Remove macro
13904         override.
13905         (__nanf): Likewise.
13906         (__nanl): Likewise.
13908 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13910         * math/Makefile (gen-all-calls): New variable.
13911         (generated): Replace gen-libm-calls with gen-all-calls.
13912         (gen-libm-templates.stmp): Likewise.  Also, ensure
13913         the output directory exists or is created and add
13914         dependency on the Makefile.
13915         (calls): Move s_ldexpF into gen-calls.
13916         (gen-calls): New variable.
13918         * math/s_ldexpf.c: Removed.
13919         * math/s_ldexpl.c: Removed.
13920         * math/s_ldexp.c: Refactored into ...
13921         * math/s_ldexp_template.c: New file.
13923         * sysdeps/generic/math-type-macros-double.h: Remove
13924         redundant fall-through definition of declare_mgen_alias.
13925         (declare_mgen_alias_2): New macro.
13927         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
13928         New macro for function aliased to two exported symbols.
13930         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
13931         new template file.
13932         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
13934 2016-09-20  Florian Weimer  <fweimer@redhat.com>
13936         * Makeconfig (all-object-suffixes): Remove .og.
13937         * Makerules (elide-routines.og): Remove.
13938         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
13939         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
13940         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
13942 2016-09-20  Florian Weimer  <fweimer@redhat.com>
13944         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
13945         .os objects.
13947 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13949         [BZ #20615]
13950         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
13951         fpu directory by non-fpu.
13952         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
13953         on non-fpu directory from a fpu directory.
13955 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
13957         * include/limits.h: Define
13958         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
13959         <bits/libc-header-start.h> instead of including <features.h>.
13960         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
13961         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
13962         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
13963         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
13964         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
13965         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
13966         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
13967         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
13968         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
13969         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
13970         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
13971         * manual/lang.texi (Width of Type): Document these macros.
13972         * stdlib/tst-width.c: New file.
13973         * stdlib/Makefile (tests): Add tst-width.
13975 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13977         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
13978         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
13980 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13982         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
13983         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
13984         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
13986 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13988         [BZ #18243]
13989         * rt/Makefile (test): Add tst-shm-cancel.
13990         * rt/tst-shm-cancel.c: New file.
13991         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
13993         [BZ #18243]
13994         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
13995         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
13996         definition.
13997         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
13998         uncontended case.
13999         * nptl/sem_wait.c (__new_sem_wait): Likewise.
14000         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
14001         (tf): Fix check for uncontended case.
14002         (do_test): Likewise.
14003         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
14004         (tf): Fix check for uncontended case.
14005         (do_test): Likewise.
14006         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
14007         (tf): Fix check for uncontended case.
14008         (do_test): Likewise.
14009         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
14010         (tf): Fix check for uncontended case.
14011         (do_test): Likewise.
14013         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
14014         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
14016         [BZ #15765]
14017         * nptl/Makefile (tests): Add tst-sem16.
14018         * nptl/tst-sem16.c: New file.
14019         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
14021         * nptl/sem_open.c (sem_open): Init pad value to 0.
14022         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
14023         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
14025 2016-09-15  Florian Weimer  <fweimer@redhat.com>
14027         [BZ #20611]
14028         * inet/Makefile (routines): Add inet6_scopeid_pton.
14029         (tests): Add tst-inet6_scopeid_pton.
14030         * inet/inet6_scopeid_pton.c: New file.
14031         * inet/net-internal.h: Likewise.
14032         * inet/tst-inet6_scopeid_pton.c: New test.
14033         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
14034         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
14035         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14037 2016-09-14  Florian Weimer  <fweimer@redhat.com>
14039         Remove support for compiling wrappers with PTW.
14040         * sysdeps/nptl/Makeconfig: Drop ptw- support.
14041         * nptl/Makefile (pthread-compat-wrappers): Define.
14042         (libpthread-routines): Use pthread-compat-wrappers.
14043         * sysdeps/unix/sysv/linux/alpha/Makefile
14044         (libpthread-routines, libpthread-shared-only-routines): Remove
14045         ptw- prefix.
14046         * sysdeps/s390/nptl/Makefile
14047         (libpthread-routines, libpthread-shared-only-routines): Likewise.
14048         * sysdeps/ia64/nptl/Makefile
14049         (libpthread-routines, libpthread-shared-only-routines): Likewise.
14050         * sysdeps/nacl/Makefile (libpthread-routines): Use
14051         pthread-compat-wrappers to filter the routines list instead of the
14052         ptw- prefix.
14054 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14056         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
14057         with L() and remove explicit suffix, convert real literals
14058         which can be equivalentally substituted with integers, and
14059         transform -L(x) to L(-x).
14061         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14062         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14063         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14064         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14065         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14066         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
14067         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14068         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14069         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14070         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14071         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14072         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14073         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14074         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14075         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14076         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14077         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14078         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14079         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14080         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14081         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
14082         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14083         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14084         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14085         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
14086         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14087         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14088         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
14089         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14090         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14091         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14092         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
14093         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14094         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14095         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14096         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14097         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14098         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14099         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14100         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14101         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14102         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14103         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14104         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
14105         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
14106         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14107         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14108         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
14109         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
14110         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
14112 2016-09-13  Florian Weimer  <fweimer@redhat.com>
14114         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
14116 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14118         * malloc/Makefile (tests): Remove individual static test names
14119         and just add all of tests-static.
14121         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
14123 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
14125         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
14126         file.
14128         * sysdeps/sparc/fpu/fegetmode.c: New file.
14129         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
14131         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
14132         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
14134         * sysdeps/s390/fpu/fegetmode.c: New file.
14135         * sysdeps/s390/fpu/fesetmode.c: Likewise.
14137         * sysdeps/powerpc/fpu/fegetmode.c: New file.
14138         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
14139         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
14140         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
14141         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
14142         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
14144         * sysdeps/mips/fpu/fegetmode.c: New file.
14145         * sysdeps/mips/fpu/fesetmode.c: Likewise.
14147         * sysdeps/m68k/fpu/fegetmode.c: New file.
14148         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
14150         * sysdeps/ia64/fpu/fegetmode.c: New file.
14151         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
14153         * sysdeps/hppa/fpu/fegetmode.c: New file.
14154         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
14156         * sysdeps/arm/fegetmode.c: New file.
14157         * sysdeps/arm/fesetmode.c: Likewise.
14159         * sysdeps/alpha/fpu/fegetmode.c: New file.
14160         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
14162         * sysdeps/aarch64/fpu/fegetmode.c: New file.
14163         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
14165         * math/fegetmode.c: New file.
14166         * math/fesetmode.c: Likewise.
14167         * sysdeps/i386/fpu/fegetmode.c: Likewise.
14168         * sysdeps/i386/fpu/fesetmode.c: Likewise.
14169         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
14170         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
14171         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
14172         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
14173         declaration.
14174         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
14175         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
14176         typedef.
14177         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14178         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14179         (femode_t): New typedef.
14180         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14181         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14182         (femode_t): New typedef.
14183         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14184         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14185         (femode_t): New typedef.
14186         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14187         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14188         (femode_t): New typedef.
14189         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14190         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14191         (femode_t): New typedef.
14192         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14193         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14194         (femode_t): New typedef.
14195         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14196         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14197         (femode_t): New typedef.
14198         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14199         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14200         (femode_t): New typedef.
14201         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14202         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14203         (femode_t): New typedef.
14204         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14205         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14206         (femode_t): New typedef.
14207         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
14208         declaration.
14209         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14210         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14211         (femode_t): New typedef.
14212         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14213         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14214         (femode_t): New typedef.
14215         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14216         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14217         (femode_t): New typedef.
14218         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14219         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14220         (femode_t): New typedef.
14221         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14222         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14223         (femode_t): New typedef.
14224         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14225         * manual/arith.texi (FE_DFL_MODE): Document macro.
14226         (fegetmode): Document function.
14227         (fesetmode): Likewise.
14228         * math/Versions (fegetmode): New libm symbol at version
14229         GLIBC_2.25.
14230         (fesetmode): Likewise.
14231         * math/Makefile (libm-support): Add fegetmode and fesetmode.
14232         (tests): Add test-femode and test-femode-traps.
14233         * math/test-femode-traps.c: New file.
14234         * math/test-femode.c: Likewise.
14235         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
14236         alias for __fe_dfl_env.
14237         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
14238         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
14239         (__fe_dfl_mode): Likewise.
14240         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
14241         version GLIBC_2.25.
14242         * sysdeps/nacl/libm.abilist: Update.
14243         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14244         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14245         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14246         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14247         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14248         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14249         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14250         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14251         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14252         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14253         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14254         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14256         Likewise.
14257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14258         Likewise.
14259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14260         Likewise.
14261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14262         Likewise.
14263         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14264         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14265         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14266         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14267         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14268         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14269         Likewise.
14270         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14271         Likewise.
14272         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14273         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14274         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14276 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
14278         [BZ #20495]
14279         [BZ #20508]
14280         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
14281         processors, set Use_dl_runtime_resolve_slow and set
14282         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
14283         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
14284         New.
14285         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
14286         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
14287         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
14288         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
14289         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
14290         if Use_dl_runtime_resolve_opt is set.  Use
14291         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
14292         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
14293         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
14294         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
14295         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
14296         New.
14297         (_dl_runtime_resolve_opt): Likewise.
14298         (_dl_runtime_profile): Define only if _dl_runtime_profile is
14299         defined.
14301 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
14303         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
14304         __libc_memalign with "+ RELA R_390_GLOB_DAT".
14306 2016-09-06  Florian Weimer  <fweimer@redhat.com>
14308         Convert malloc to __libc_lock.  Automated part, using this Perl
14309         s/// command:
14310           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
14311             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
14312         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
14313         conversion.
14315 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
14317         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
14318         (linknamespace-symlists-tests): Likewise.
14319         (linknamespace-header-tests): Likewise.
14321 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
14323         [BZ #19810]
14324         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
14325         * elf/tst-noload.c: New test case.
14326         * elf/Makefile (tests): Add tst-noload.
14328 2016-09-02  Roland McGrath  <roland@hack.frob.com>
14330         * sysdeps/nacl/dup.c: Add libc_hidden_def.
14332         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
14333         not any more.
14335         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
14337 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14339         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
14340         (do_cos_slow): Likewise.
14341         (do_sin): Likewise.
14342         (do_sin_slow): Likewise.
14343         (slow): Likewise.
14344         (slow1): Likewise.
14345         (slow2): Likewise.
14346         (sloww): Likewise.
14347         (sloww1): Likewise.
14348         (sloww2): Likewise.
14349         (bsloww): Likewise.
14350         (bsloww1): Likewise.
14351         (bsloww2): Likewise.
14352         (cslow2): Likewise.
14354         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
14356         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
14357         arguments.  Consolidate input partitioning from callers here.
14358         (do_cos_slow): Likewise.
14359         (do_sin): Likewise.
14360         (do_sin_slow): Likewise.
14361         (do_sincos_1): Remove the no longer necessary input partitioning.
14362         (do_sincos_2): Likewise.
14363         (__sin): Likewise.
14364         (__cos): Likewise.
14365         (slow1): Likewise.
14366         (slow2): Likewise.
14367         (sloww1): Likewise.
14368         (sloww2): Likewise.
14369         (bsloww1): Likewise.
14370         (bsloww2): Likewise.
14371         (cslow2): Likewise.
14373 2016-09-02  Florian Weimer  <fweimer@redhat.com>
14375         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
14376         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
14377         outside of allocated array.
14379 2016-09-02  Florian Weimer  <fweimer@redhat.com>
14381         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
14382         instead of MB_CUR_MAX to avoid variable-length array.
14384 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14386         * math/Makefile (libm-calls): Remove k_rem_pio2F.
14387         (type-double-routines): Add k_rem_pio2.
14388         (type-float-routines): Add k_rem_pio2f.
14390         * sysdeps/generic/math_private.h:
14391         (__kernel_rem_pio2l): Removed.
14393         * math/k_rem_pio2l.c: Removed.
14394         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
14395         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
14396         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
14397         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
14399 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14401         * math/Makefile (gen-libm-calls): Add s_fmin
14402         (libm-calls): Remove above.
14404         * math/s_fmin.c: Refactor into ...
14405         * math/s_fmin_template.c: New file.
14407         * math/s_fminf.c: Removed.
14408         * math/s_fminl.c: Removed.
14409         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
14410         (LDOUBLE_fmin_libm_version): New macro.
14412         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
14413         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
14415 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14417         * math/Makefile: (gen-libm-calls): Add s_fmax.
14418         (libm-calls): Remove above.
14420         * math/s_fmax.c: Refactor into ...
14421         * math/s_fmax_template.c: New file.
14422         * math/s_fmaxf.c: Removed.
14423         * math/s_fmaxl.c: Removed.
14425         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
14426         (LDOUBLE_fmaxl_libm_version): New macro.
14428         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
14429         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
14431         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
14432         s_fmin.c to pick the aarch64 version of the file.
14433         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
14434         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
14436 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14438         * math/Makefile: (gen-libm-calls): Add s_nextdown.
14439         (libm-calls): Remove above.
14441         * math/s_nextdown.c: Refactor into ...
14442         * math/s_nextdown_template.c: New file.
14443         * math/s_nextdownf.c: Removed.
14444         * math/s_nextdownl.c: Removed.
14446         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
14448 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14450         * math/Makefile (gen-libm-calls): Add s_fdim.
14451         (libm-calls): Move to above.
14453         * math/s_fdim.c: Renamed and refactored into to ...
14454         * math/s_fdim_template.c: New file.
14455         * math/s_fdiml.c: Removed.
14456         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
14457         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
14459         * sysdeps/generic/math-type-macros-double.h:
14460         (declare_mgen_alias): Don't declare if already declared.
14461         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
14462         Likewise.
14464         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
14465         (declare_mgen_alias): Don't declare if already declared.
14466         (M_LIBM_NEED_COMPAT): Likewise.
14467         (declare_mgen_libm_compat): Likewise.
14468         (LDOUBLE_fdiml_libm_version): New macro.
14470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
14471         Include math/s_fdim.c now that ldbl-opt version is not needed.
14472         (declare_mgen_alias): New macro to disable aliasing.
14474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
14475         (declare_mgen_alias): Likewise.
14476         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
14477         (declare_mgen_alias): Likewise.
14478         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
14479         (declare_mgen_alias): Likewise.
14480         (M_LIBM_NEED_COMPAT): Likewise.
14482 2016-09-01  Florian Weimer  <fweimer@redhat.com>
14484         [BZ #20525]
14485         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
14486         Include <linux/quota.h>.
14487         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
14488         and btodb.
14489         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
14490         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
14491         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
14492         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
14493         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
14494         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
14495         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
14496         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
14497         types.
14498         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
14499         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
14501 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14503         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
14504         (gammal_positive): Fix spacing.
14505         (__ieee754_gammal_r): Likewise.
14507 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14509         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
14510         (_Float128): Define as long double, always.
14511         (L): Apply long double type suffix, always.
14513         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
14514         _Float128, excepting comments.
14516         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14517         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14518         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14519         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14520         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
14521         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14522         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14523         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14524         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14525         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
14526         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14527         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14528         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14529         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14530         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14531         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14532         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14533         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14534         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14535         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14536         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14537         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
14538         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
14539         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14540         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14541         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14542         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
14543         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
14544         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14545         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14546         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
14547         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
14548         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
14549         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14550         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14551         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14552         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
14553         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
14554         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
14555         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
14556         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14557         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14558         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
14559         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
14560         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
14561         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14562         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14563         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14564         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
14565         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14566         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14567         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
14568         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14569         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14570         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
14571         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14572         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
14573         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
14574         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14575         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14576         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
14577         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
14578         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14579         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14580         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14581         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
14582         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
14583         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14585         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
14586         _Float128, and include math_private.h.
14587         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
14589         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
14590         long double semantics.
14591         (_Float128): Likewise.
14592         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
14593         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
14594         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
14595         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
14597 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
14599         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
14600         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
14601         * sysdeps/s390/configure: Regenerated.
14602         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
14603         instruction for raising over-/underflow if z196 zarch is supported
14604         by default.
14605         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
14607 2016-08-30  Svante Signell  <svante.signell@gmail.com>
14609         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
14610         it point to a dumb buffer for RPC to fill it.
14612 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14614         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
14615         instead of if/else.
14616         (do_sin_slow): Likewise.
14617         (do_sincos_1): Use fabs instead of if/else.
14618         (do_sincos_2): Likewise.
14619         (__sin): Likewise.
14620         (__cos): Likewise.
14621         (slow2): Likewise.
14622         (sloww): Likewise.
14623         (sloww1): Likewise.  Drop argument M.
14624         (sloww2): Use fabs instead of if/else.
14625         (bsloww): Likewise.
14626         (bsloww1): Likewise.
14627         (bsloww2): Likewise.
14629         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
14630         fall through comment.
14631         (do_sincos_1): Likewise.
14633         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
14634         Consolidate switch cases 0 and 2.
14636 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14638         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
14639         (libm-calls): Remove the above.
14641         * math/s_cexp_template.c: Update using type-generic macros.
14642         * math/s_clog10_template.c: Likewise.
14643         * math/s_cpow_template.c: Likewise.
14644         * math/s_clog_template.c: Likewise.
14645         * math/s_cproj_template.c: Likewise.
14646         * math/s_csqrt_template.c: Likewise.
14648         * math/s_cexp.c: Removed.
14649         * math/s_cexpf.c: Removed.
14650         * math/s_cexpl.c: Removed.
14651         * math/s_clog10.c: Removed.
14652         * math/s_clog10f.c: Removed.
14653         * math/s_clog10l.c: Removed.
14654         * math/s_cpow.c: Removed.
14655         * math/s_cpowf.c: Removed.
14656         * math/s_cpowl.c: Removed.
14657         * math/s_clog.c: Removed.
14658         * math/s_clogf.c: Removed.
14659         * math/s_clogl.c: Removed.
14660         * math/s_cproj.c: Removed.
14661         * math/s_cprojf.c: Removed.
14662         * math/s_cprojl.c: Removed.
14663         * math/s_csqrt.c: Removed.
14664         * math/s_csqrtf.c: Removed.
14665         * math/s_csqrtl.c: Removed.
14667         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
14668         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
14669         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
14670         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
14671         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
14672         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
14674         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
14675         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
14676         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
14677         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
14678         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
14679         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
14680         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
14681         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
14682         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
14683         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
14684         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
14686         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
14687         version.
14689         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
14690         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
14691         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
14692         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
14694 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14696         * s_cexp_template.c: Copy of s_cexp.c.
14697         * s_clog_template.c: Copy of s_clog.c.
14698         * s_clog10_template.c: Copy of s_clog10.c.
14699         * s_cpow_template.c: Copy of s_cpow.c.
14700         * s_cproj_template.c: Copy of s_cproj.c.
14701         * s_csqrt_template.c: Copy of s_csqrt.c.
14703 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14705         [BZ #20517]
14706         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
14707         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
14708         exported.
14710 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
14712         * math/fetestexceptflag.c: New file.
14713         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
14714         Stefan Liebler.
14715         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14716         (fetestexceptflag): New function declaration.
14717         * manual/arith.texi (fetestexceptflag): Document function.
14718         * math/Versions (fetestexceptflag): New libm symbol at version
14719         GLIBC_2.25.
14720         * math/Makefile (libm-support): Add fetestexceptflag.
14721         (tests): Add test-fetestexceptflag.
14722         * math/test-fetestexceptflag.c: New file.
14723         * sysdeps/nacl/libm.abilist: Update.
14724         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14725         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14726         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14727         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14728         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14729         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14730         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14731         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14732         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14733         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14734         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14735         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14737         Likewise.
14738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14739         Likewise.
14740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14741         Likewise.
14742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14743         Likewise.
14744         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14745         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14746         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14747         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14748         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14749         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14750         Likewise.
14751         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14752         Likewise.
14753         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14754         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14755         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14757 2016-08-26  Florian Weimer  <fweimer@redhat.com>
14759         [BZ #20432]
14760         Avoid strong references to malloc-internal symbols when linking
14761         statically, to support statically interposed mallocs.
14762         * include/libc-symbols.h (call_function_static_weak): New macro.
14763         * malloc/Makefile (tests): Add tst-interpose-nothread,
14764         tst-interpose-thread, tst-interpose-static-nothread,
14765         tst-interpose-static-thread.
14766         (tests-static): Add tst-interpose-static-nothread,
14767         tst-interpose-static-thread.
14768         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
14769         tst-interpose-aux-thread.o.
14770         (test-extras): Add tst-interpose-aux-nothread,
14771         tst-interpose-aux-thread.
14772         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
14773         tst-interpose-aux-nothread.o.
14774         (tst-interpose-thread, tst-interpose-static-thread): Link with
14775         tst-interpose-aux-thread.o and libthread.
14776         * malloc/tst-interpose-aux-nothread.c: New file.
14777         * malloc/tst-interpose-aux-thread.c: Likewise.
14778         * malloc/tst-interpose-aux.c: Likewise.
14779         * malloc/tst-interpose-aux.h: Likewise.
14780         * malloc/tst-interpose-nothread.c: Likewise.
14781         * malloc/tst-interpose-skeleton.c: Likewise.
14782         * malloc/tst-interpose-static-nothread.c: Likewise.
14783         * malloc/tst-interpose-static-thread.c: Likewise.
14784         * malloc/tst-interpose-thread.c: Likewise.
14785         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
14786         * sysdeps/mach/hurd/fork.c (__fork): Only call
14787         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
14788         __malloc_fork_unlock_child if defined.
14789         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
14791 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14793         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
14794         timespec C99 designated initialization.
14796 2016-08-26  Florian Weimer  <fweimer@redhat.com>
14798         [BZ #19946]
14799         Avoid expected SIGALRM signals.
14800         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
14801         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
14802         (xpthread_create, xpthread_detach, xpthread_join)
14803         (delayed_exit_thread, delayed_exit): New functions.
14804         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
14805         (tf): Use xpthread_cond_wait.
14806         (do_test): Likewise.  Replace alarm with delayed_exit.
14807         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
14808         (do_test): Call delayed_exit.  Report failure.
14809         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
14810         (do_test): Call delayed_exit.
14811         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
14812         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
14813         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
14814         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
14815         error.
14816         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
14817         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
14818         error.
14819         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
14820         (do_test): Call delayed_exit.
14821         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
14822         (do_test): Call delayed_exit.
14823         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
14824         (do_test): Call delayed_exit instead of alarm.  Use
14825         xpthread_mutex_lock.
14826         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
14827         (do_test): Call delayed_exit instead of alarm.  Use
14828         xpthread_mutex_lock.
14829         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
14830         (do_test): Call delayed_exit instead of alarm.
14831         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
14832         (do_test): Call delayed_exit instead of alarm.  Use
14833         xpthread_spin_lock.
14834         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
14835         (do_test): Call delayed_exit instead of alarm.  Use
14836         xpthread_join.
14838 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
14840         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
14841         adjust CFA when allocating register save area on re-aligned
14842         stack.
14844 2016-08-26  Florian Weimer  <fweimer@redhat.com>
14846         * string/tst-cmp.c: New test.
14847         * string/Makefile (tests): Add it.
14849 2016-08-25  Mark Wielaard  <mark@klomp.org>
14851         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
14852         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
14853         (check_tree_recurse): Use newly defined accessors.
14854         (check_tree): Likewise.
14855         (maybe_split_for_insert): Likewise.
14856         (__tfind): Likewise.
14857         (__tdelete): Likewise.
14858         (trecurse): Likewise.
14859         (tdestroy_recurse): Likewise.
14860         (__tsearch): Likewise. And add asserts for malloc alignment.
14861         (__twalk): Cast root to node in case CHECK_TREE is defined.
14863 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14865         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
14867 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14869         * math/Makefile (libm-gen-calls): Add
14870         catan, catanh, ctan, ctanh.
14871         (libm-calls): Remove the above.
14873         * math/s_catan_template.c: Update using type-generic macros.
14874         * math/s_catanh_template.c: Likewise.
14875         * math/s_ctan_template.c: Likewise.
14876         * math/s_ctanh_template.c: Likewise.
14878         * math/s_catanf.c: Removed.
14879         * math/s_catan.c: Removed.
14880         * math/s_catanl.c: Removed.
14881         * math/s_catanhf.c: Removed.
14882         * math/s_catanh.c: Removed.
14883         * math/s_catanhl.c: Removed.
14884         * math/s_ctanf.c: Removed.
14885         * math/s_ctan.c: Removed.
14886         * math/s_ctanl.c: Removed.
14887         * math/s_ctanhf.c: Removed.
14888         * math/s_ctanh.c: Removed.
14889         * math/s_ctanhl.c: Removed.
14891         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
14892         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
14893         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
14894         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
14895         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
14896         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
14898         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
14899         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
14900         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
14901         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
14903 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14905         * s_catan_template.c: Copy of s_catan.c.
14906         * s_catanh_template.c: Copy of s_catanh.c.
14907         * s_ctan_template.c: Copy of s_ctan.c.
14908         * s_ctanh_template.c: Copy of s_ctanh.c.
14910 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14912         * math/Makefile (gen-libm-calls): Move
14913         casin, casinh, csin, csinh here.
14914         (libm-calls): Remove the above.
14916         * math/s_casin_template.c: Update using type-generic macros.
14917         * math/s_casinh_template.c: Likewise.
14918         * math/s_csin_template.c: Likewise.
14919         * math/s_csinh_template.c: Likewise.
14920         * math/k_casinh_template.c: Likewise.
14922         * math/s_casinf.c: Removed.
14923         * math/s_casin.c: Removed.
14924         * math/s_casinl.c: Removed.
14925         * math/s_casinh.c: Removed.
14926         * math/s_casinhf.c: Removed.
14927         * math/s_casinhl.c: Removed.
14928         * math/s_csin.c: Removed.
14929         * math/s_csinf.c: Removed.
14930         * math/s_csinl.c: Removed.
14931         * math/s_csinh.c: Removed.
14932         * math/s_csinhf.c: Removed.
14933         * math/s_csinhl.c: Removed.
14934         * math/k_casinh.c: Removed.
14935         * math/k_casinhf.c: Removed.
14936         * math/k_casinhl.c: Removed.
14938         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
14939         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
14940         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
14941         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
14943         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
14944         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
14945         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
14946         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
14947         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
14948         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
14949         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
14950         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
14952         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
14953         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
14954         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
14955         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
14957         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
14958         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
14959         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
14960         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
14962 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14964         * s_casin_template.c: Copy of s_casin.c.
14965         * s_casinh_template.c: Copy of s_casinh.c.
14966         * s_csin_template.c: Copy of s_csin.c.
14967         * s_csinh_template.c: Copy of s_csinh.c.
14968         * k_casinh_template.c: Copy of k_casinh.c.
14970 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
14972         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
14974 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14976         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
14977         (mul_split) Remove, rename as mul_splitl, remove
14978         redundant float.h include, and include via mul_splitl.h
14980         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
14981         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
14982         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14983         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
14984         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
14986         * math/mul_splitl.h: New file.
14988         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
14989         Move into mul_split.h, and remove redundant float.h include.
14991         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
14992         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
14993         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
14994         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
14996         * math/mul_split.h: New file.
14998 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15000         * math/Makefile (libm-gen-calls): Move
15001         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
15002         (libm-calls): Remove above.
15004         * math/s_cacos_template.c: Update using type-generic macros.
15005         * math/s_cacosh_template.c: Likewise.
15006         * math/s_ccos_template.c: Likewise.
15007         * math/s_ccosh_template.c: Likewise.
15009         * math/s_cacosf.c: Removed.
15010         * math/s_cacos.c: Removed.
15011         * math/s_cacosl.c: Removed.
15012         * math/s_cacoshf.c: Removed.
15013         * math/s_cacosh.c: Removed.
15014         * math/s_cacoshl.c: Removed.
15015         * math/s_ccosf.c: Removed.
15016         * math/s_ccos.c: Removed.
15017         * math/s_ccosl.c: Removed.
15018         * math/s_ccoshf.c: Removed.
15019         * math/s_ccosh.c: Removed.
15020         * math/s_ccoshl.c: Removed.
15022         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
15023         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
15024         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
15025         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
15026         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
15027         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
15029         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
15030         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
15031         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
15032         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
15034         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
15035         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
15036         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
15037         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
15039 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15041         * s_cacos_template.c: Copy of s_cacos.c.
15042         * s_cacosh_template.c: Copy of s_cacosh.c.
15043         * s_ccos_template.c: Copy of s_ccos.c.
15044         * s_ccosh_template.c: Copy of s_ccosh.c.
15046 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15048         * stdlib/tst-strtod-round-skeleton.c:
15049         Refactored from tst-strtod-round.c.
15051         (L_): New macro to apply literal modifier.
15052         (FNPFX): New macro to select str or wcs prefix.
15053         (CHAR): New macro to choose wchar_t or char.
15054         (STRM): New macro to choose printf for tested character type.
15056         (STRTO): New macro to choose appropriate string -> real function.
15057         (FNPFXS): Stringitized version of FNPFX.
15058         (STR): Support for above macro.
15059         (STRX): Likewise.
15061         (TEST): Update with above macros.
15062         (test): Likewise.
15063         (GEN_ONE_TEST): Likewise.
15064         (test_in_one_mode): Likewise.
15066         * stdlib/tst-strtod-round.c: New file.
15067         * wcsmbs/tst-wcstod-round.c: New file.
15069         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
15070         (tst-wcstod-round): Add libm depencency for fesetround.
15072 2016-08-19  Zack Weinberg  <zackw@panix.com>
15074         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
15076 2016-08-18  Torvald Riegel  <triegel@redhat.com>
15078         [BZ #20477]
15079         * resolv/res_hconf.c (do_init): Use atomic access.
15080         * resolv/res_hconf.h: Add comments.
15081         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
15082         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
15083         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15085 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
15087         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
15088         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
15089         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
15090         Likewise.
15092 2016-08-18  Florian Weimer  <fweimer@redhat.com>
15094         [BZ #16907]
15095         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
15096         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
15097         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
15098         (__attribute__): Remove definition.
15100 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15102         * sysdeps/ieee754/ldbl-128/e_asinl.c:
15103         Remove unused sqrtl declaration.
15105 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15107         * math/Makefile: (gen-libm-templates.stmp): New rule.
15108         (libm-calls): Move carg conj cimag and cabs into ...
15109         (gen-libm-calls): New variable.
15110         (generated): Inform Make objects from gen-libm-calls
15111         may be generated.
15113         * sysdeps/generic/math-type-macros.h: New file.
15114         * sysdeps/generic/math-type-macros-float.h: Likewise.
15115         * sysdeps/generic/math-type-macros-double.h: Likewise.
15116         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
15117         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
15118         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
15120         * math/cabs.c: Refactor into
15121         * math/cabs_template.c: new file.
15122         * math/cabsf.c: Removed.
15123         * math/cabsl.c: Removed.
15124         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
15125         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
15127         * math/carg.c: Refactor into
15128         * math/carg_template.c: new file.
15129         * math/cargf.c: Removed.
15130         * math/cargl.c: Removed.
15131         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
15132         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
15134         * math/conj.c: Refactor into
15135         * math/conj_template.c: new file.
15136         * math/conjf.c: Removed.
15137         * math/conjl.c: Removed.
15138         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
15139         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
15141         * math/cimag.c: Refactor into
15142         * math/cimag_template.c: new file.
15143         * math/cimagf.c: Removed.
15144         * math/cimagl.c: Removed.
15145         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
15146         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
15148         * math/cimag.c: Refactor into
15149         * math/cimag_template.c: new file.
15150         * math/cimagf.c: Removed.
15151         * math/cimagl.c: Removed.
15152         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
15153         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
15155 2016-08-17  Florian Weimer  <fweimer@redhat.com>
15157         Reduce time to expected nptl/tst-once5 failure.
15158         * nptl/tst-once5.cc (TIMEOUT): Define.
15160 2016-08-17  Florian Weimer  <fweimer@redhat.com>
15162         [BZ #20452]
15163         Avoid additional copies of objects in libc.a in static libraries.
15164         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
15165         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
15166         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
15167         rt-sysdep.
15168         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
15169         Add nptl-sysdep.
15170         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
15171         Add ptw-sysdep.
15172         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
15173         rt-sysdep.
15174         * sysdeps/unix/sysv/linux/alpha/Makefile
15175         (libpthread-shared-only-routines): Add ptw-sysdep,
15176         ptw-sigprocmask, ptw-rt_sigaction.
15177         * sysdeps/unix/sysv/linux/ia64/Makefile
15178         (librt-shared-only-routines): Add rt-sysdep.
15179         * sysdeps/unix/sysv/linux/i386/Makefile
15180         (libpthread-shared-only-routines): Add libc-do-syscall.
15181         * sysdeps/unix/sysv/linux/microblaze/Makefile
15182         (libpthread-shared-only-routines): Add sysdep.
15183         * sysdeps/unix/sysv/linux/powerpc/Makefile
15184         (librt-shared-only-routines): Add rt-sysdep.
15185         (libpthread-shared-only-routines): Add sysdep.
15186         * sysdeps/unix/sysv/linux/s390/Makefile
15187         (librt-shared-only-routines): Add rt-sysdep.
15188         * sysdeps/unix/sysv/linux/sparc/Makefile
15189         (librt-shared-only-routines): Add rt-sysdep.
15190         (libpthread-shared-only-routines): Add sysdep.
15191         * sysdeps/unix/sysv/linux/tile/Makefile
15192         (libpthread-shared-only-routines): Likewise.
15194 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
15196         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
15197         Mask implicit bit out of unpacked value.
15198         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
15199         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
15200         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
15202         * sysdeps/sparc/fpu/fesetexcept.c: New file.
15204         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
15206         * sysdeps/s390/fpu/fesetexcept.c: New file.
15208         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
15209         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
15210         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
15212         * sysdeps/mips/fpu/fesetexcept.c: New file.
15214         * sysdeps/m68k/fpu/fesetexcept.c: New file.
15216         * sysdeps/ia64/fpu/fesetexcept.c: New file.
15218         * sysdeps/hppa/fpu/fesetexcept.c: New file.
15220         * sysdeps/arm/fesetexcept.c: New file.
15222         * sysdeps/alpha/fpu/fesetexcept.c: New file.
15224         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
15226         * math/fesetexcept.c: New file.
15227         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
15228         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
15229         * math/fenv.h: Define
15230         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
15231         <bits/libc-header-start.h> instead of including <features.h>.
15232         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
15233         declaration.
15234         * manual/arith.texi (fesetexcept): Document function.
15235         * math/Versions (fesetexcept): New libm symbol at version
15236         GLIBC_2.25.
15237         * math/Makefile (libm-support): Add fesetexcept.
15238         (tests): Add test-fesetexcept and test-fesetexcept-traps.
15239         * math/test-fesetexcept.c: New file.
15240         * math/test-fesetexcept-traps.c: Likewise.
15241         * sysdeps/nacl/libm.abilist: Update.
15242         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15243         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15244         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15245         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15246         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15247         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15248         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15249         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15250         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15251         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15252         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15253         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15255         Likewise.
15256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15257         Likewise.
15258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15259         Likewise.
15260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15261         Likewise.
15262         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15263         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15264         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15265         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15266         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15267         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15268         Likewise.
15269         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15270         Likewise.
15271         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15272         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15273         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15275 2016-08-16  Florian Weimer  <fweimer@redhat.com>
15277         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
15278         New.
15279         (do_test): Apply default_stack_size_in_mb if not set.
15280         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
15282 2016-08-15  Andreas Schwab  <schwab@suse.de>
15284         [BZ #20435]
15285         CVE-2016-6323
15286         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
15287         as .cantunwind.
15289 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
15291         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
15292         comment from fraiseexcpt.c.
15294         * math/test-fexcept.c (feraiseexcept_exact): New function.
15295         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
15296         (test_except): Likewise.
15298 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
15300         [BZ #20455]
15301         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
15302         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
15303         to be restored.
15305         * math/test-fexcept-traps.c: New file.
15306         * math/test-fexcept.c: Likewise.
15307         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
15308         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
15309         macro.
15310         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
15311         (EXCEPTION_SET_FORCES_TRAP): Likewise.
15313 2016-08-09  Torvald Riegel  <triegel@redhat.com>
15315         * include/atomic.h (atomic_fetch_and_relaxed,
15316         atomic_fetch_and_release, atomic_fetch_or_release,
15317         atomic_fetch_xor_release): New.
15319 2016-08-06  Christian Seiler  <christian@iwakd.de>
15321         [BZ #20444]
15322         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
15323         MACH_PORT_NULL.
15325 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
15327         * math/s_fdim.c: Avoid alias renamed.
15328         * math/s_fdimf.c: Likewise.
15329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
15330         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
15331         Add s_fdimf-vis3, s_fdim-vis3.
15332         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
15333         (CFLAGS-s_fdim-vis3.c): Likewise.
15334         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
15335         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
15337 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
15339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
15340         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
15341         Remove s_fdimf-vis3, s_fdim-vis3.
15342         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
15343         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
15344         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
15345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
15346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
15347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
15348         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
15349         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
15350         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
15351         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
15353 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
15355         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
15356         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
15357         -Wa,-Av9a -mvis.
15359 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15361         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
15362         LIT() to individual constants in simple expressions
15363         after splitting on spaces.
15364         (_apply_lit): Rename replaced version, and use it to
15365         apply to what appears to be a token.
15367         * math/libm-test.inc: Fix many, many issues with
15368         spacing.
15370 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
15372         * math/math.h: Move comment about <bits/mathdef.h> definitions
15373         above inclusion of <bits/mathdef.h>.  Do not mention
15374         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
15376 2016-08-05  Torvald Riegel  <triegel@redhat.com>
15378         * include/atomic.h (atomic_exchange_relaxed): New.
15380 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
15382         * math/e_scalb.c: Do not include <fenv.h>.
15383         (invalid_fn): Do calculation resulting in NaN instead of raising
15384         FE_INVALID and returning a NaN explicitly.
15385         * math/e_scalbf.c: Do not include <fenv.h>.
15386         (invalid_fn): Do calculation resulting in NaN instead of raising
15387         FE_INVALID and returning a NaN explicitly.
15388         * math/e_scalbl.c: Do not include <fenv.h>.
15389         (invalid_fn): Do calculation resulting in NaN instead of raising
15390         FE_INVALID and returning a NaN explicitly.
15392 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
15394         * po/de.po: Updated from Translation Project.
15395         * po/fi.po: Likewise.
15396         * po/sv.po: Likewise.
15398 2016-08-04  Florian Weimer  <fweimer@redhat.com>
15400         [BZ #20452]
15401         Use sysdep.o from libc.a in static libraries.
15402         * sysdeps/unix/sysv/linux/i386/Makefile
15403         (libpthread-shared-only-routines): Add sysdep.
15404         (librt-shared-only-routines): Likewise.
15406 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
15408         * math/tgmath.h (nextdown): Define if
15409         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
15410         (nextup): Likewise.
15412         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
15413         macro.
15414         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
15415         Document.
15416         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
15417         Document macro.
15418         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
15419         (exp10f): Likewise.
15420         (exp10l): Likewise.
15421         * math/bits/mathcalls.h (exp10): Declare if
15422         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
15424         * manual/arith.texi (nextup): Fix typo in last change.
15426 2016-08-03  Zack Weinberg  <zackw@panix.com>
15428         [BZ #19239]
15429         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
15430         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
15431         define major, minor, and makedev to issue deprecation warnings on use.
15432         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
15433         previously-activated deprecation warnings for these macros and prevent
15434         subsequent inclusions of this header from having any effect.
15435         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
15436         including <sys/sysmacros.h>, and undefine it again afterward.
15438 2016-08-03  Zack Weinberg  <zackw@panix.com>
15440         * sysdeps/generic/sys/sysmacros.h: Delete file.
15441         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
15442         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
15443         * bits/sysmacros.h: ... here; this encoding is now the generic
15444         encoding.  Now defines only the following macros:
15445         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
15446         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
15447         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
15449         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
15450         bits/sysmacros.h and the above new macros to generate the
15451         public implementations of major, minor, and makedev.
15452         * misc/tst-makedev.c: New test.
15453         * include/sys/sysmacros.h: New wrapper.
15455         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
15456         (routines): Add makedev.
15457         (tests): Add tst-makedev.
15458         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
15459         gnu_dev_makedev.
15460         * posix/Makefile (headers): Remove sys/sysmacros.h.
15461         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
15463         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
15464         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
15465         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
15466         * sysdeps/unix/sysv/linux/alpha/libc.abilist
15467         * sysdeps/unix/sysv/linux/arm/libc.abilist
15468         * sysdeps/unix/sysv/linux/hppa/libc.abilist
15469         * sysdeps/unix/sysv/linux/i386/libc.abilist
15470         * sysdeps/unix/sysv/linux/ia64/libc.abilist
15471         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
15472         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
15473         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
15474         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
15475         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
15476         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
15477         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
15478         * sysdeps/unix/sysv/linux/nios2/libc.abilist
15479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
15480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
15481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
15482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
15483         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
15484         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
15485         * sysdeps/unix/sysv/linux/sh/libc.abilist
15486         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
15487         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
15488         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
15489         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
15490         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
15491         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
15492         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
15493         Add GLIBC_2.25.
15495         * include/features.h (__glibc_clang_prereq): New macro.
15496         * misc/sys/cdefs.h (__glibc_clang_has_extension)
15497         (__attribute_deprecated_msg__): New macros.
15499 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
15501         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
15502         macro.
15503         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
15504         * manual/arith.texi (issignaling): Document as ISO from TS
15505         18661-1:2014.
15506         (nextup): Likewise.
15507         (nextupf): Likewise.
15508         (nextupl): Likewise.
15509         (nextdown): Likewise.
15510         (nextdownf): Likewise.
15511         (nextdownl): Likewise.
15512         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
15513         macro.
15514         * math/math.h: Define
15515         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
15516         <bits/libc-header-start.h> instead of including <features.h>.
15517         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
15518         [__USE_GNU].
15519         * math/bits/mathcalls.h (nextdown): Declare if
15520         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
15521         (nextup): Likewise.
15522         (__issignaling): Likewise.
15524 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15526         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
15527         check, and remove __glibc_likely hint
15528         from FP_INFINITE check.
15529         * s_csinhf.c (__csinhf): Likewise.
15531         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
15532         hint from FP_INFINITE check.
15533         * s_csinhl.c (__csinhl): Likewise.
15535 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15537         * math/Makefile (libm-calls): Insert F placeholder into
15538         object names.  Move w_lgamma_compat* routines into
15539         (libm-compat-calls): New variable.
15540         (libm-compat-calls-ldouble-yes): New variable.
15541         (calls): Insert F placeholder.
15542         (generated): Redefine using new type-foreach macro call.
15543         (routines): Likewise.
15545         (types): New variable to hold a list of symbolic names
15546         for each type supported by the target machine.
15547         (libm-routines): Redefine using new types variable.
15548         (type-foreach): macro to replace fooF with the
15549         appropriately suffixed foo for each types.
15551         (type-ldouble-suffix): New variable.
15552         (type-ldouble-routines): Likewise.
15553         (type-ldouble-yes): Likewise.
15554         (type-double-suffix): Likewise.
15555         (type-double-routines): Likewise.
15556         (type-float-suffix): Likewise.
15557         (type-float-routines): Likewise.
15559         (dbl-only-routines): Remove.
15560         (long-c-yes): Likewise.
15561         (long-m-routines): Likewise.
15562         (long-m-support): Likewise.
15563         (long-m-yes): Likewise.
15564         (test-longdouble-yes): Likewise.
15566         (test-float.o): Simplify by increasing the scope of the
15567         recipe which adds libm-test.stmp to the vector types.
15568         (test-ifloat.o): Likewise.
15569         (test-float-finite.o): Likewise.
15570         (test-double.o): Likewise
15571         (test-idouble.o): Likewise.
15572         (test-double-finite.o): Likewise.
15573         (test-ldouble.o): Likewise
15574         (test-ildoubl.o): Likewise.
15575         (test-ldouble-finite.o): Likewise.
15577         (libm-tests): Redefine type tests using foreach and the
15578         list of types in types.
15580         (CPPFLAGS-test-ildoubl.c): Rename to
15581         (CPPFLAGS-test-ildouble.c): New variable
15583         * math/test-ildoubl.c: Rename to
15584         * math/test-ildouble.c: New file.
15586 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15588         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
15589         Use fabsl instead of fabs.
15590         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
15591         Likewise.
15592         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
15593         Add long double suffix to constant to ensure proper
15594         promotion to long double.
15596 2016-08-03  Tom Tromey  <tom@tromey.com>
15598         [BZ #20311]
15599         * nptl_db/Makefile (headers): Add proc_service.h.
15600         * nptl_db/proc_service.h: Add include guard.  Use
15601         __BEGIN/__END_DECLS.
15602         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
15603         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
15604         arguments.
15607 2016-08-03  Florian Weimer  <fweimer@redhat.com>
15609         [BZ #17730]
15610         Avoid using memalign for TCB allocations.
15611         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
15612         (_dl_allocate_tls_storage): Use malloc and manual alignment.
15613         Avoid alignment gap in the TLS_DTV_AT_TP case.
15614         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
15615         determine the pointer to free.
15616         * nptl/tst-tls3-malloc.c: New test.
15617         * nptl/Makefile (tests): Add it.
15618         (tst-tls3-malloc): Link with libdl, libpthread.
15619         (LDFLAGS-tst-tls3-malloc): Set.
15620         (tst-tls3-malloc.out): Depend on DSO used in test.
15622 2016-08-03  Florian Weimer  <fweimer@redhat.com>
15624         [BZ #17730]
15625         Avoid using memalign for TLS allocations.
15626         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
15627         is_static member with to_free member.
15628         (union dtv): Use struct dtv_pointer.
15629         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
15630         dtv_pointer instead of is_static.
15631         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
15632         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
15633         instead of val.
15634         (allocate_dtv_entry): New function.
15635         (allocate_and_init): Return struct dtv_pointer.  Call
15636         allocate_dtv_entry instead of __libc_memalign.
15637         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
15638         instead of val.
15639         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
15640         instead of is_static.  Adjust call to allocate_and_init.
15641         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
15642         struct dtv_pointer instead of val.
15644 2016-08-03  Florian Weimer  <fweimer@redhat.com>
15646         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
15647         (MALLOC_ALIGN_MASK): Move ...
15648         * malloc/malloc-internal.h: ... to here.
15649         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
15651 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
15653         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
15654         (UDP_ENCAP_GTP1U): Likewise.
15656         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
15657         (PF_MAX): Update value.
15658         (AF_QIPCRTR): New macro.
15660 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
15662         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
15663         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
15664         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
15665         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
15666         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
15667         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
15668         s_truncf-vis3, s_trunc-vis3.
15669         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
15670         (CFLAGS-s_ceil-vis3.c): Likewise.
15671         (CFLAGS-s_floorf-vis3.c): Likewise.
15672         (CFLAGS-s_floor-vis3.c): Likewise.
15673         (CFLAGS-s_truncf-vis3.c): Likewise.
15674         (CFLAGS-s_trunc-vis3.c): Likewise.
15675         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
15676         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
15677         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
15678         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
15679         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
15680         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
15681         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
15682         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
15683         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
15684         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
15685         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
15686         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
15688 2016-08-02  David S. Miller  <davem@davemloft.net>
15690         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
15691         (__nearbyint_vis3): Don't check for sNaN before float register is
15692         loaded with the incoming argument.
15693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
15694         (__nearbyintf_vis3): Likewise.
15695         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
15696         Likewise.
15697         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
15698         Likewise.
15700         * string/test-strncmp.c (do_test_limit): Make sure the test data
15701         stream is aligned as required for the type "CHAR".
15702         (do_test): Likewise.
15704 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
15706         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
15707         by beq instructions jumping to the end of the function.
15708         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
15709         clobber list. Use "i" constraint instead of "X".
15710         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
15711         of "X".
15713 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
15715         * bits/libc-header-start.h: New file.
15716         * Makefile (headers): Add bits/libc-header-start.h.
15717         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
15718         (__GLIBC_USE): New macro.
15719         * libio/stdio.h: Define
15720         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
15721         <bits/libc-header-start.h> instead of including <features.h>.
15722         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
15723         (open_memstream): Likewise.
15724         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
15725         (__asprintf): Likewise.
15726         (asprintf): Likewise.
15727         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
15728         (getdelim): Likewise.
15729         (getline): Likewise.
15730         * string/string.h: Define
15731         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
15732         <bits/libc-header-start.h> instead of including <features.h>.
15733         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
15734         (strndup): Likewise.
15735         * wcsmbs/wchar.h: Define
15736         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
15737         <bits/libc-header-start.h> instead of including <features.h>.
15738         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
15739         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
15741 2016-08-02  Florian Weimer  <fweimer@redhat.com>
15743         Support linking against compatibility symbols, for use in tests.
15744         * include/libc-symbols.h (symbol_version_reference): New macro.
15745         (symbol_version): Use it.
15746         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
15747         (compat_symbol): Use compat_symbol_reference.
15748         (compat_symbol_1, compat_symbol_2): Remove.
15749         (compat_symbol_reference, compat_symbol_reference_1)
15750         (compat_symbol_reference_2): New macro.  Use
15751         symbol_version_reference.
15753 2016-08-02  Florian Weimer  <fweimer@redhat.com>
15755         [BZ #19469]
15756         * malloc/Makefile (CPPFLAGS): Compile tests with
15757         -DTEST_NO_MALLOPT.
15758         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
15760 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
15762         [BZ #20033]
15763         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
15764         finite version.
15765         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
15766         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
15767         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
15768         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
15769         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
15770         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
15771         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
15772         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
15773         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
15774         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
15775         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
15776         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
15777         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
15778         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
15779         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
15780         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
15781         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
15782         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
15783         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
15784         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
15785         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
15786         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
15787         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
15788         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
15789         in zero power.
15791 2016-08-02  Florian Weimer  <fweimer@redhat.com>
15793         [BZ #20370]
15794         * malloc/arena.c (get_free_list): Update comment.  Assert that
15795         arenas on the free list have no attached threads.
15796         (remove_from_free_list): New function.
15797         (reused_arena): Call it.
15799 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
15801         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
15802         when it is a NaN.
15803         [_IEEE_FP_INEXACT] Remove.
15804         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
15805         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
15806         when it is a NaN.
15807         [_IEEE_FP_INEXACT] Remove.
15808         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
15809         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
15810         when it is a NaN.
15811         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
15812         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
15813         when its absolute value is greater than 0x1.0p52.
15814         [_IEEE_FP_INEXACT] Remove.
15815         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
15816         when its absolute value is greater than 0x1.0p23.
15817         [_IEEE_FP_INEXACT] Remove.
15819 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
15821         * version.h (RELEASE): Set to "development"
15822         (VERSION): Set to 2.24.90.
15823         * NEWS: Add 2.25 section.
15825         * version.h (RELEASE): Set to "stable"
15826         (VERSION): Set to 2.24.
15827         * include/features.h (__GLIBC_MINOR__): Set to 24.
15829         * NEWS: Add 2.24 fixed bugs.
15830         * po/libc.pot: Regenerate.
15832 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
15834         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
15835         [$(subdir) = math] (libm-sysdep_routines): Remove.
15836         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
15837         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
15838         s_truncf-vis3, s_trunc-vis3.
15839         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
15841         file.
15842         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
15843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
15844         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
15845         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
15846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
15847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
15848         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
15849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
15851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
15852         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
15853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
15854         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
15855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
15856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
15857         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
15858         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15859         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
15860         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
15861         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
15862         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
15863         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
15864         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
15865         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
15866         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
15867         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
15868         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
15869         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
15870         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
15871         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
15872         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
15873         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
15874         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
15875         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
15876         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
15877         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
15878         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
15879         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15880         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15881         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
15882         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
15883         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
15884         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
15886 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
15888         [BZ #20384]
15889         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
15890         test-double-libmvec-sincos-avx-main.o,
15891         test-double-libmvec-sincos-avx2-main.o,
15892         test-double-libmvec-sincos-main.o,
15893         test-float-libmvec-sincosf-avx-main.o,
15894         test-float-libmvec-sincosf-avx2-main.o and
15895         test-float-libmvec-sincosf-main.o.
15896         test-float-libmvec-sincosf-avx512-main.o.
15897         ($(objpfx)test-double-libmvec-sincos): Also link with
15898         $(objpfx)test-double-libmvec-sincos-main.o.
15899         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
15900         $(objpfx)test-double-libmvec-sincos-avx-main.o.
15901         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
15902         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
15903         ($(objpfx)test-float-libmvec-sincosf): Also link with
15904         $(objpfx)test-float-libmvec-sincosf-main.o.
15905         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
15906         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
15907         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
15908         test-double-libmvec-sincos-avx512-main.o and
15909         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
15910         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
15911         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
15912         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
15913         (CFLAGS-test-double-libmvec-sincos.c): Removed.
15914         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
15915         (CFLAGS-test-double-libmvec-sincos-main.c): New.
15916         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
15917         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
15918         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
15919         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
15920         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
15921         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
15922         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
15923         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
15924         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
15925         -DREQUIRE_AVX2.
15926         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
15927         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
15928         -DREQUIRE_AVX512F.
15929         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
15930         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
15931         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
15932         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
15933         file.
15934         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
15935         Likewise.
15936         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
15937         Likewise.
15938         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
15939         Likewise.
15940         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
15941         Likewise.
15942         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
15943         Likewise.
15944         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
15945         Likewise.
15946         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
15947         Likewise.
15949 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
15951         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
15953 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
15955         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
15956         and typo in a comment about AT_HWCAP entry.
15958 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15960         * sysdeps/aarch64/libm-test-ulps: Updated.
15962 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
15964         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
15965         of r13 as it is not restored in mvcle case.
15967 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
15969         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
15970         Rename "ret" to "__ret".
15971         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
15972         inline_syscall5, inline_syscall6): Likewise.
15974 2016-07-19   Will Newton  <will.newton@gmail.com>
15976         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
15977         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
15978         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
15979         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
15980         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
15982 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
15984         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
15985         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
15986         -mfpmath=387 with $(rtld-CFLAGS).
15987         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
15988         $(rtld-CFLAGS).
15990 2016-07-18   Ross Burton  <ross.burton@intel.com>
15991              Khem Raj  <raj.khem@gmail.com>
15993         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
15994         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
15995         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
15996         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
15997         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
15998         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
15999         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
16000         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
16001         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
16002         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
16003         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
16004         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
16005         R_METAG_TLS_DTPOFF): New.
16007 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
16008             Matt Clay  <mclay@lycos.com>
16010         [BZ #20357]
16011         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
16012         to call __mpsin/__mpcos and to negate values.
16013         * math/auto-libm-test-in: Add test.
16014         * math/auto-libm-test-out: Regenerate.
16016 2016-07-18  Zack Weinberg  <zackw@panix.com>
16018         * grp/Makefile: Don't install the internal header grp-merge.h.
16020 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16022         * sysdeps/aarch64/libm-test-ulps: Regenerated.
16024 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16026         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
16028 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16030         [BZ #15368]
16031         * sysdeps/unix/sysv/linux/nptl-signals.h
16032         (__nptl_clear_internal_signals): New function.
16033         (__libc_signal_block_all): Likewise.
16034         (__libc_signal_block_app): Likewise.
16035         (__libc_signal_restore_set): Likewise.
16036         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
16037         implementation.
16038         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
16039         the cached pid/tid value in pthread structure.
16041 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
16043         [BZ #20347]
16044         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
16046 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
16048         [BZ #20348]
16049         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
16050         preadv64, pwrite64 and pwritev64.
16052 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
16054         [BZ #20350]
16055         * posix/tst-preadwrite.c: Renamed to ...
16056         * posix/tst-preadwrite-common.c: This.
16057         (PREAD): Removed.
16058         (PWRITE): Likewise.
16059         (STRINGIFY): Likewise.
16060         (STRINGIFY2): Likewise.
16061         (do_prepare): Make it static and remove function arguments.
16062         (do_test): Likewise.
16063         (PREPARE): Updated.
16064         (TEST_FUNCTION): New.
16065         (name): Make it static.
16066         (fd): Likewise.
16067         (do_prepare): Use create_temp_file.
16068         (do_test): Renamed to ...
16069         (do_test_with_offset): This.  Make it static and accept offset.
16070         Properly check return value of PWRITE and PREAD.  Return bytes
16071         read.  Don't close fd nor unlink name.
16072         * posix/tst-preadwrite.c: Rewrite.
16073         * posix/tst-preadwrite64.c: Likewise.
16075 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
16077         [BZ #20309]
16078         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
16079         -mtls-dialect=gnu2 works.
16080         * configure: Regenerated.
16081         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
16082         (tests): Add tst-gnu2-tls1.
16083         (modules-names): Add tst-gnu2-tls1mod.
16084         ($(objpfx)tst-gnu2-tls1): New.
16085         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
16086         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
16087         * elf/tst-gnu2-tls1.c: New file.
16088         * elf/tst-gnu2-tls1mod.c: Likewise.
16089         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
16090         bytes for push in the PLT entry to align the stack.
16092 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
16094         [BZ #20349]
16095         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
16097 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16099         [BZ #18707]
16100         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
16101         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
16103 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16105         * sysdeps/unix/sysv/linux/sysdep.h
16106         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
16107         guards.
16108         * misc/tst-preadvwritev-common.c: New file.
16109         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
16110         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
16111         a check for files larger than 2GB.
16113         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16114         (__ASSUME_OFF_DIFF_OFF64): Remove define.
16115         * sysdeps/unix/sysv/linux/pread.c
16116         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
16117         __OFF_T_MATCHES_OFF64_T.
16118         * sysdeps/unix/sysv/linux/pread64.c
16119         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
16120         * sysdeps/unix/sysv/linux/preadv.c
16121         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
16122         * sysdeps/unix/sysv/linux/preadv64.c
16123         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
16124         * sysdeps/unix/sysv/linux/pwrite.c
16125         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
16126         * sysdeps/unix/sysv/linux/pwrite64.c
16127         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
16128         * sysdeps/unix/sysv/linux/pwritev.c
16129         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
16130         * sysdeps/unix/sysv/linux/pwritev64.c
16131         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
16133 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
16135         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16136         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
16138 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
16140         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
16142 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
16144         [BZ #20240]
16145         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
16146         (CFLAGS-s_modf-ppc32.c): New variable.
16147         (CFLAGS-s_modff-ppc32.c): Likewise.
16148         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
16149         (CFLAGS-s_modf-ppc64.c): Likewise.
16150         (CFLAGS-s_modff-ppc64.c): Likewise.
16152 2016-07-07  Andreas Schwab  <schwab@suse.de>
16154         [BZ #20263]
16155         * nptl/tst-robust10.c: New test.
16156         * nptl/Makefile (tests): Add tst-robust10.
16158 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
16160         [BZ #20263]
16161         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
16163 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
16165         * sysdeps/s390/linkmap.h (struct link_map_machine):
16166         Remove member gotplt and add member jmprel.
16167         * sysdeps/s390/s390-32/dl-machine.h
16168         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
16169         instead of gotplt with &got[3].
16170         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
16171         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
16173 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
16175         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
16177 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16179         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
16180         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
16181         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
16182         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
16183         * libio/vtables.c (_IO_vtable_check)
16184         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
16185         * libio/libioP.h (IO_set_accept_foreign_vtables)
16186         [!PTR_MANGLE]: Do not call PTR_MANGLE.
16188 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
16190         [BZ #20314]
16191         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
16192         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
16193         $(common-objpfx)cmath.
16194         ($(common-objpfx)cstdlib): New target.
16195         ($(common-objpfx)cmath): Likewise.
16197 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
16199         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
16201 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16203         [BZ #20327]
16204         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
16205         are not part of the string.
16207 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16209         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
16210         * nptl/tst-cancel4-common.h (fifoname): New variable.
16211         (fifofd): Likewise.
16212         (cl_fifo): New function.
16213         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
16214         SIGINT.
16215         (tf_open): Add early cancel test.
16217 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
16219         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
16221 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
16223         * sysdeps/generic/ldsodefs.h
16224         (dl_symbol_visibility_binds_local_p): New inline function.
16225         * elf/dl-addr.c (determine_info): Treat hidden and internal
16226         symbols as local.
16227         * elf/dl-lookup.c (do_lookup_x): Likewise.
16228         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
16230 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
16232         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
16233         invalid exception for a sNaN input.
16234         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
16235         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
16236         (__nearbyint_vis3): Likewise
16237         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
16238         (__nearbyintf_vis3): Likewise
16239         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
16240         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
16241         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
16242         Likewise.
16243         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
16244         Likewise.
16246 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
16248         [BZ #20139]
16249         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
16250         (HAVE_AVX512DQ_ASM_SUPPORT): This.
16251         * sysdeps/x86_64/configure.ac: Require assembler from binutils
16252         2.24 or above.
16253         (HAVE_AVX512_ASM_SUPPORT): Removed.
16254         (HAVE_AVX512DQ_ASM_SUPPORT): New.
16255         * sysdeps/x86_64/configure: Regenerated.
16256         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
16257         check unconditional.
16258         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
16259         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
16260         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
16261         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
16262         Likewise.
16263         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
16264         Likewise.
16265         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
16266         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
16267         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
16268         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
16269         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
16270         Likewise.
16271         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
16272         Likewise.
16273         * sysdeps/x86_64/multiarch/memset.S: Likewise.
16274         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16275         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
16276         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
16277         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
16278         Likewise.
16279         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
16280         Likewise.
16281         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
16282         Likewise.
16283         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
16284         Likewise.
16285         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
16286         Likewise.
16287         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
16288         Likewise.
16289         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
16290         Likewise.
16291         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
16292         Likewise.
16293         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
16294         Likewise.
16295         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
16296         Likewise.
16297         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
16298         Likewise.
16300 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
16302         [BZ #20024]
16303         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
16304         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
16305         of this implementation of vector function.
16306         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
16307         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
16308         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
16309         Likewise.
16310         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
16311         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
16312         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
16313         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
16314         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
16315         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
16316         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
16317         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
16318         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
16319         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
16320         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
16321         for testing vector sincos with fixed ABI.
16322         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16323         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16324         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16325         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
16326         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16327         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16328         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16329         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
16330         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
16331         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
16332         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
16333         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
16334         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
16335         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
16336         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
16337         * sysdeps/x86_64/fpu/Makefile: Added new tests.
16339 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
16341         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
16343 2016-06-30  Anton Blanchard  <anton@samba.org>
16345         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
16346         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
16347         s_sinf-ppc64.
16348         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
16349         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
16350         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
16351         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
16353 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16355         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16356         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
16357         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
16358         e_expf-ppc64.
16359         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
16360         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
16361         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
16362         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
16364 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
16366         [BZ #20277]
16367         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
16368         when SHARED is defined.
16370 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
16372         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
16373         (index_arch_Prefer_ERMS): Likewise.
16374         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
16375         __memcpy_erms for Prefer_ERMS.
16376         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
16377         (__memmove_erms): Enabled for libc.a.
16378         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
16379         __memmove_erms or Prefer_ERMS.
16380         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
16381         __mempcpy_erms for Prefer_ERMS.
16382         * sysdeps/x86_64/multiarch/memset.S (memset): Return
16383         __memset_erms for Prefer_ERMS.
16385 2016-06-30  Andreas Schwab  <schwab@suse.de>
16387         [BZ #20262]
16388         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
16389         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
16390         of memory.
16392 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
16394         [BZ #18645]
16395         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
16396         (test-extras): Add tst-cleanupx4aux.
16397         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
16398         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
16399         tst-cleanupx4aux.o.
16400         * nptl/tst-cleanupx4aux.c: New file.
16402 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
16404         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
16406 2016-06-29  Andreas Schwab  <schwab@suse.de>
16408         [BZ #20260]
16409         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
16410         address before the beginning of the string as an integer to avoid
16411         array-bounds warning.
16413 2016-06-28  Richard Henderson  <rth@redhat.com>
16415         * elf/elf.h (EM_BPF): New.
16416         (EM_NUM): Update.
16417         (R_BPF_NONE, R_BPF_MAP_FD): New.
16419         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
16420         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
16421         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
16422         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
16423         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
16424         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
16425         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
16426         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
16427         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
16428         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
16429         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
16430         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
16431         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
16432         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
16433         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
16434         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
16435         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
16436         (EM_NUM): Update.
16438 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
16440         [BZ #18960]
16441         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
16442         Set _nl_current_LC_CATEGORY_used to two instead of one.
16444 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
16446         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
16447         (do_test): ... this.
16448         (TEST_FUNCTION): New macro.
16449          Include test-skeleton.c.
16450         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
16451         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
16453 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
16455         [BZ #15479]
16456         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
16457         floating-point environment rather than just control word.
16458         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
16459         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
16460         floating-point environment, with "invalid" exceptions merged in,
16461         rather than just control word.
16462         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
16463         * math/libm-test.inc (trunc_test_data): Do not allow spurious
16464         "inexact" exceptions.
16466         [BZ #15479]
16467         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
16468         floating-point environment rather than just control word.
16469         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
16470         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
16471         floating-point environment, with "invalid" exceptions merged in,
16472         rather than just control word.
16473         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
16474         * math/libm-test.inc (floor_test_data): Do not allow spurious
16475         "inexact" exceptions.
16477         [BZ #15479]
16478         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
16479         floating-point environment rather than just control word.
16480         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
16481         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
16482         floating-point environment, with "invalid" exceptions merged in,
16483         rather than just control word.
16484         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
16485         * math/libm-test.inc (ceil_test_data): Do not allow spurious
16486         "inexact" exceptions.
16488 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
16490         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
16491         __libc_vfork.
16492         (__vfork) [IS_IN (libc)]: Remove alias.
16493         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
16494         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
16495         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
16497 2016-06-24  Torvald Riegel  <triegel@redhat.com>
16499         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
16500         of atomic_compare_and_exchange_bool_rel.
16501         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
16502         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
16503         catomic_compare_and_exchange_bool_rel): Remove.
16504         * sysdeps/aarch64/atomic-machine.h
16505         (atomic_compare_and_exchange_bool_rel): Likewise.
16506         * sysdeps/alpha/atomic-machine.h
16507         (atomic_compare_and_exchange_bool_rel): Likewise.
16508         * sysdeps/arm/atomic-machine.h
16509         (atomic_compare_and_exchange_bool_rel): Likewise.
16510         * sysdeps/mips/atomic-machine.h
16511         (atomic_compare_and_exchange_bool_rel): Likewise.
16512         * sysdeps/microblaze/atomic-machine.h
16513         ( __arch_compare_and_exchange_bool_8_rel,
16514         __arch_compare_and_exchange_bool_16_rel): Likewise.
16515         * sysdeps/powerpc/atomic-machine.h
16516         ( __arch_compare_and_exchange_bool_8_rel,
16517         __arch_compare_and_exchange_bool_16_rel): Likewise.
16518         * sysdeps/powerpc/powerpc32/atomic-machine.h
16519         ( __arch_compare_and_exchange_bool_32_rel,
16520         __arch_compare_and_exchange_bool_64_rel): Likewise.
16521         * sysdeps/powerpc/powerpc64/atomic-machine.h
16522         ( __arch_compare_and_exchange_bool_32_rel,
16523         __arch_compare_and_exchange_bool_64_rel): Likewise.
16524         * sysdeps/tile/atomic-machine.h
16525         (atomic_compare_and_exchange_bool_rel): Likewise.
16527 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
16529         [BZ #20296]
16530         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
16531         when either argument is a NaN.
16532         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
16533         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
16535         * math/libm-test.inc (snan_value_ld): New macro.
16536         (isgreater_test_data): Add sNaN tests.
16537         (isgreaterequal_test_data): Likewise.
16538         (isless_test_data): Likewise.
16539         (islessequal_test_data): Likewise.
16540         (islessgreater_test_data): Likewise.
16541         (isunordered_test_data): Likewise.
16542         (nextafter_test_data): Likewise.
16543         (nexttoward_test_data): Likewise.
16544         (remainder_test_data): Likewise.
16545         (remquo_test_data): Likewise.
16546         (significand_test_data): Likewise.
16547         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
16549 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
16551         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
16552         environment macros are defined.
16553         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
16555 2016-06-23  Florian Weimer  <fweimer@redhat.com>
16557         [BZ #20191]
16558         Implement vtable verification in libio.
16559         * Makerules (shlib.lds): Place __libc_IO_vtables section.
16560         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
16561         * debug/vdprintf_chk.c (__vdprintf_chk): Call
16562         _IO_new_file_init_internal instead of _IO_file_init.
16563         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
16564         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
16565         * libio/Makefile (routines): Add vtables.
16566         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
16567         (_IO_init): Remove, not for internal use.
16568         (_IO_init_internal): Declare, internal replacement for _IO_init.
16569         (_IO_file_init): Remove, not for internal use.
16570         (_IO_new_file_init): Remove, not for internal use.
16571         (_IO_new_file_init_internal): Declare, internal replacement for
16572         _IO_new_file_init.
16573         (_IO_old_file_init): Remove, not for internal use.
16574         (_IO_old_file_init_internal): Declare, internal replacement for
16575         _IO_old_file_init.
16576         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
16577         internal use.
16578         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
16579         Declare.
16580         (libio_vtable): New macro.
16581         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
16582         functions.
16583         * libio/fileops.c (_IO_new_file_init_internal): Rename from
16584         _IO_new_file_init.
16585         (_IO_new_file_init): New externally visible wrapper which disables
16586         vtable verification.
16587         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
16588         Define as vtables.
16589         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
16590         (_IO_init): New externally visible wrapper which disables
16591         vtable verification.
16592         * libio/iofdopen.c (_IO_new_fdopen): Call
16593         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
16594         comment.
16595         * libio/iofopen.c (__fopen_internal): Call
16596         _IO_new_file_init_internal instead of _IO_file_init.
16597         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
16598         Define as vtables.
16599         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
16600         _IO_new_file_init_internal instead of _IO_file_init.
16601         * libio/iopopen.c (_IO_new_popen): Likewise.
16602         (_IO_proc_jumps): Define as vtable.
16603         * libio/iovdprintf.c (_IO_vdprintf): Call
16604         _IO_new_file_init_internal instead of _IO_file_init.
16605         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
16606         (__open_memstream): Call _IO_init_internal instead of _IO_init.
16607         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
16608         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
16609         _IO_old_file_init.
16610         (_IO_old_file_init): New externally visible wrapper which disables
16611         vtable verification.
16612         (_IO_old_file_jumps): Define as vtable.
16613         * libio/oldiofdopen.c (_IO_old_fdopen): Call
16614         _IO_old_file_init_internal instead of _IO_old_file_init.
16615         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
16616         * libio/oldiopopen.c (_IO_old_popen): Likewise.
16617         (_IO_old_proc_jumps): Define as vtable.
16618         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
16619         Define as vtables.
16620         * libio/vtables.c: New file.
16621         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
16622         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
16623         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
16624         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
16625         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
16626         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
16627         instead of _IO_init.
16629 2016-06-23  Florian Weimer  <fweimer@redhat.com>
16631         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
16633 2016-06-23  Florian Weimer  <fweimer@redhat.com>
16635         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
16636         potentially unused.
16638 2016-06-22  Florian Weimer  <fweimer@redhat.com>
16640         * test-skeleton.c (write_message): New function.
16641         * malloc/tst-mallocfork2.c (write_message): Remove.
16642         * debug/tst-longjmp_chk2.c (write_indented): New function.
16643         (write_message): Remove.
16644         (stackoverflow_handler): Call write_indented.
16646 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
16648         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
16649         "inexact" exceptions after fnstenv.
16650         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
16651         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
16652         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
16654 2015-06-22  Zack Weinberg  <zackw@panix.com>
16656         * sysdeps/generic/bits/hwcap.h: Moved to ...
16657         * bits/hwcap.h: Here.
16659 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
16661         * sysdeps/aarch64/memcpy.S (memcpy):
16662         Further tuning for performance.
16664 2016-06-21  Florian Weimer  <fweimer@redhat.com>
16666         [BZ #20284]
16667         * malloc/arena.c (reused_arena): Do not return NULL if we start
16668         out with a non-corrupted arena.
16670 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16672         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
16673         * misc/tst-preadvwritev.c: New file.
16674         * misc/tst-preadvwritev64.c: Likewise.
16675         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
16676         usage.
16677         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
16678         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
16679         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
16680         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
16682 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
16684         [BZ #19654]
16685         * sysdeps/x86_64/fpu/Makefile: Added new tests.
16686         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
16687         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
16688         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
16689         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
16690         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
16691         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
16692         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
16693         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
16694         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
16695         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
16696         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
16697         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
16698         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
16699         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
16700         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
16701         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
16702         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
16703         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
16704         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
16705         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
16706         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
16707         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
16708         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
16709         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
16710         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
16712 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
16714         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
16715         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
16717 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
16719         * sysdeps/aarch64/memcpy.S (memcpy):
16720         Rewrite of optimized memcpy and memmove.
16721         * sysdeps/aarch64/memmove.S (memmove): Remove
16722         memmove code (merged into memcpy.S).
16724 2016-06-20  Florian Weimer  <fweimer@redhat.com>
16726         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
16727         * sysdeps/generic/dl-dtv.h: New file.
16728         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16729         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
16730         (dtv_t): Remove.
16731         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16732         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
16733         (dtv_t): Remove.
16734         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16735         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
16736         (dtv_t): Remove.
16737         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16738         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
16739         (dtv_t): Remove.
16740         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16741         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
16742         (dtv_t): Remove.
16743         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16744         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
16745         (dtv_t): Remove.
16746         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16747         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
16748         (dtv_t): Remove.
16749         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
16750         (dtv_t): Remove.
16751         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16752         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
16753         (dtv_t): Remove.
16754         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16755         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
16756         (dtv_t): Remove.
16757         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16758         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
16759         (dtv_t): Remove.
16760         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16761         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
16762         (dtv_t): Remove.
16763         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16764         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
16765         (dtv_t): Remove.
16766         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16767         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
16768         (dtv_t): Remove.
16769         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16770         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
16771         (dtv_t): Remove.
16772         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16773         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
16774         (dtv_t): Remove.
16776 2016-06-20  Florian Weimer  <fweimer@redhat.com>
16778         Revert symbol poisoning of  __malloc_initialize_hook.
16779         * include/stdc-predef.h (__malloc_initialize_hook): Remove
16780         poisoning.
16781         * malloc/Makefile: Remove un-poisoning.
16782         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
16783         instead of old__malloc_initialize_hook.
16784         * malloc/malloc-hooks.h: Likewise.
16785         * malloc/malloc.c: Likewise.
16786         * malloc/mcheck-init.c: Likewise.
16788 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
16790         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
16792 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
16794         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
16795         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
16796         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
16797         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
16799 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16801         * NEWS: Mention addition of nextup and nextdown.
16802         * manual/arith.texi: Document nextup and nextdown.
16803         * manual/libm-err-tab.pl: Add nextup and nextdown.
16804         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
16805         * math/Versions (libm): Add GLIBC_2.24.
16806         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
16807         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
16808         Add new test.
16809         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
16810         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
16811         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
16812         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
16813         (nextup_test_data): Likewise.
16814         (nextdown_test_data): Likewise.
16815         * math/s_nextdown.c: New file.
16816         * math/s_nextdownf.c: Likewise.
16817         * math/s_nextdownl.c: Likewise.
16818         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
16819         F(nextup): New function.
16820         F(nextdown): Likewise.
16821         * math/tgmath.h: Add nextup and nextdown.
16822         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
16823         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
16824         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
16825         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
16826         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
16827         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
16828         Add nextup and nextdown.
16829         (CFLAGS-nldbl-nextup.c): New variable.
16830         (CFLAGS-nldbl-nextdown.c): Likewise.
16831         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
16832         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
16833         * sysdeps/nacl/libm.abilist: Update.
16834         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16835         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16836         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16837         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16838         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16839         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16840         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16841         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16842         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16843         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16844         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16845         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16848         Likewise.
16849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16851         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16852         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16853         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16854         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16855         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16856         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
16857         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
16858         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16859         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16860         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
16861         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16863 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
16865         * manual/pattern.texi: Fix typos & grammar errors.
16867 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
16869         * manual/search.texi: Fix typos & grammar errors.
16871 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
16873         * manual/message.texi: Fix typos & grammar errors.
16875 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
16877         * manual/contrib.texi: Fix spelling typos.
16878         * manual/crypt.texi: Likewise.
16879         * manual/filesys.texi: Likewise.
16880         * manual/locale.texi: Likewise.
16881         * manual/message.texi: Likewise.
16882         * manual/nss.texi: Likewise.
16883         * manual/string.texi: Likewise.
16885 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
16887         * manual/locale.texi: Fix typos & grammar errors.
16889 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
16891         * manual/charset.texi: Fix typos & grammar errors.
16893 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
16895         * manual/string.texi: Fix typos.
16897 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
16899         * manual/ctype.texi: Fix typos.
16901 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
16903         * manual/memory.texi: Fix various typos & grammar errors.
16905 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
16907         [BZ #20255]
16908         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
16909         * math/libm-test.inc (fdim_test_data): Add another test.
16911         [BZ #6796]
16912         [BZ #20255]
16913         [BZ #20256]
16914         * math/s_fdim.c: Include <math_private.h>.
16915         (__fdim): Use math_narrow_eval on result.
16916         * math/s_fdimf.c: Include <math_private.h>.
16917         (__fdimf): Use math_narrow_eval on result.
16918         * sysdeps/i386/fpu/s_fdim.S: Remove file.
16919         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
16920         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
16921         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
16922         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
16923         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
16924         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
16925         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
16926         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
16927         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
16928         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
16929         * math/libm-test.inc (fdim_test_data): Expect errno setting on
16930         overflow.  Add sNaN tests.
16932         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
16933         fpclassify.
16934         * math/s_fdimf.c (__fdimf): Likewise.
16935         * math/s_fdiml.c (__fdiml): Likewise.
16937 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16939         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
16940         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
16941         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16942         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
16943         ifunc'ed strcasecmp/strncasecmp.
16944         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
16945         [EALIGN]: Removed.
16946         [END]: Likewise.
16947         [__strcasecmp]: Define instead of the above to control symbol name.
16948         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
16949         for __strcasecmp_power8.
16950         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
16951         for __strncasecmp_power8.
16952         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
16953         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
16954         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
16955         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
16956         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
16957         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
16959 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
16961         [BZ #20252]
16962         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
16963         arguments when second argument is a NaN.
16964         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
16965         qNaN tests.
16967         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
16968         (conj_test_data): Likewise.
16969         (copysign_test_data): Likewise.
16970         (creal_test_data): Likewise.
16971         (fma_test_data): Likewise.
16972         (fmod_test_data): Likewise.
16974         [BZ #20250]
16975         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
16976         itself.
16977         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
16978         zero input to itself.
16979         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
16980         Likewise.
16981         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
16982         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
16983         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
16984         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
16985         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
16987 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16989         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
16990         * nptl/tst-cancel4-common.c: New file.
16991         * nptl/tst-cancel4-common.h: Likewise.
16992         * nptl/tst-cancel4.c: Move common definitions to
16993         tst-cancel4-common.{c,h} file.
16994         * nptl/tst-cancel4_1.c: New test.
16995         * nptl/tst-cancel4_2.c: New test.
16997 2016-06-13  Florian Weimer  <fweimer@redhat.com>
16999         [BZ #20248]
17000         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
17001         (write_message): New function.
17002         (stackoverflow_handler): Call it instead of printf, to avoid
17003         excessive stack usage by printf.
17004         (do_test): Restore SIGSEGV, SIGBUS default handlers.
17006 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17008         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
17009         (prio_inherit_missing): Remove define.
17010         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17011         (__ASSUME_FUTEX_LOCK_PI): Likewise.
17012         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
17013         Likewise.
17014         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17015         (__ASSUME_FUTEX_LOCK_PI): Likewise.
17016         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17017         (__ASSUME_FUTEX_LOCK_PI): Likewise.
17018         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
17019         (__ASSUME_FUTEX_LOCK_PI): Likewise.
17021 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
17023         [BZ #19670]
17024         [BZ #19672]
17026         * io/test-lfs.c (do_prepare): Use xmalloc.
17027         * io/tst-fcntl.c (do_prepare): Likewise.
17028         * libio/tst-fopenloc.c (do_bz17916): Likewise.
17029         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
17030         * login/tst-utmp.c (do_prepare): Likewise.
17031         * posix/tst-exec.c (do_prepare): Likewise.
17032         * posix/tst-pathconf.c (prepare): Likewise.
17033         * posix/tst-spawn.c (do_prepare): Likewise.
17034         * posix/tst-truncate.c (do_prepare): Likewise.
17035         * rt/tst-aio.c (do_prepare): Likewise.
17036         * rt/tst-aio64.c (do_prepare): Likewise.
17038 2016-06-11  Florian Weimer  <fweimer@redhat.com>
17040         [BZ #20237]
17041         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
17042         (get*ent): Set entidx to NULL during initialization.  If entidx is
17043         NULL, start iteration from the beginning.
17045 2016-06-11  Florian Weimer  <fweimer@redhat.com>
17047         * malloc/malloc.c (musable): Return correct size for dumped fake
17048         mmapped chunk.
17050 2016-06-11  Florian Weimer  <fweimer@redhat.com>
17052         [BZ #20222]
17053         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
17054         (_IO_cookie_write): Likewise.
17055         (_IO_cookie_seek): Likewise.
17056         (_IO_cookie_close): Likewise.
17057         (_IO_old_cookie_seek): Likewise.
17058         (set_callbacks): New function.
17059         (_IO_cookie_init): Call set_callbacks to copy callbacks.
17061 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
17063         * locale/programs/localedef.c (oldstyle_tables): Remove.
17064         * locale/programs/localedef.h (oldstyle_tables): Likewise.
17066 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
17068         [BZ #20240]
17069         * math/Makefile (CFLAGS-s_modf.c): New variable.
17070         (CFLAGS-s_modff.c): Likewise.
17071         (CFLAGS-s_modfl.c): Likewise.
17072         * math/libm-test.inc (modf_test_data): Add sNaN tests.
17074 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
17076         [BZ #20215]
17077         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
17078         [!__GNUC_PREREQ (3,2)]: Likewise.
17080 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
17082         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
17083         (msghdr.msg_controllen): Likewise.
17084         (cmsghdr.cmsg_len): Likewise.
17085         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
17086         ptw-oldsendmsg.
17087         (CFLAGS-oldrecvmsg.c): Remove rule.
17088         (CFLAGS-oldsendmsg.c): Likewise.
17089         (CFLAGS-recvmsg.c): Add rule.
17090         (CFLAGS-sendmsg.c): Likewise.
17091         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
17092         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
17093         (CFLAGS-recvmsg.c): Remove rule.
17094         (CFLAGS-sendmsg.c): Likewise.
17095         (CFLAGS-oldrecvmsg.c): Likewise.
17096         (CFLAGS-oldsendmsg.c): Likewise.
17097         (CFLAGS-recvmmsg.c): Likewise.
17098         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
17099         to kernel defined interfaces.
17100         (msghdr.msg_controllen): Likewise.
17101         (cmsghdr.cmsg_len): Likewise.
17102         (msghdr.__glibc_reserved1): Remove member.
17103         (msghdr.__glibc_reserved2): Likewise.
17104         (cmsghdr.__glibc_reserved1): Likewise.
17105         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
17106         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
17107         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
17108         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
17109         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
17110         version.
17111         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
17112         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
17113         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
17114         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
17115         Remove recvmsg and sendmsg.
17116         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
17117         Likewise.
17118         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
17119         Likewise.
17120         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
17121         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
17122         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
17123         Likewise.
17124         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
17125         Likewise.
17126         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
17127         [libc] (GLIBC_2.24): Likewise.
17128         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
17129         Likewise.
17130         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
17131         Likewise.
17132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
17133         [libc] (GLIBC_2.24): Likewise.
17134         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
17135         Likewise.
17136         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
17137         Likewise.
17138         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
17139         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
17140         Likewise.
17141         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
17142         Likewise.
17143         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
17144         Likewise.
17145         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
17146         Likewise.
17147         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
17148         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
17149         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
17150         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
17151         version for {recv,send,recm,sendm}msg.
17152         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
17153         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
17154         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
17155         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
17156         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
17157         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
17158         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
17159         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
17160         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
17161         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
17162         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
17163         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
17164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
17165         Likewise.
17166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
17167         Likewise.
17168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
17169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
17170         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
17171         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
17172         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
17173         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
17174         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
17175         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
17176         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
17177         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
17178         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
17179         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
17180         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
17182 2016-06-10  Florian Weimer  <fweimer@redhat.com>
17184         [BZ #19564]
17185         Remove __malloc_initialize_hook from the API.
17186         * malloc/malloc.h (__malloc_initialize_hook): Remove.
17187         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
17188         #pragma GCC poison.
17189         * malloc/malloc-hooks.h: New file.
17190         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
17191         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
17192         (old__malloc_initialize_hook): Rename from
17193         __malloc_initialize_hook to evade poisoning.  Turn into compat
17194         symbol.
17195         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
17196         __malloc_initialize_hook.
17197         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
17198         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
17199         * manual/memory.texi (Hooks for Malloc): Remove
17200         __malloc_initialize_hook.  Adjust hook example.
17202 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
17204         [BZ #20235]
17205         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
17206         itself.
17207         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
17208         * math/libm-test.inc (log2_test_data): Add sNaN tests.
17210         [BZ #20234]
17211         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
17212         infinity or NaN input to itself.
17214         [BZ #20233]
17215         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
17216         to itself.
17218         [BZ #20232]
17219         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
17220         itself.
17222 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
17224         * sysdeps/x86_64/start.S (_start): Always indirect branch to
17225         __libc_start_main via GOT.
17227 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
17229         * sysdeps/x86_64/memcopy.h: New file.
17230         * sysdeps/x86_64/wordcopy.c: Likewise.
17232 2016-06-09  Florian Weimer  <fweimer@redhat.com>
17234         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
17235         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
17236         <cstdlib>.
17237         (optimization_barrier): New.
17238         (do_test): Use it.  Call quick_exit in the global namespace.
17239         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
17240         instead of <cstdlib>, <thread>.
17241         (optimization_barrier): New.
17242         (non_main_thread): Adjust declaration.  Call optimization_barrier.
17243         Call quick_exit in the global namespace.
17244         (do_test): Call optimization_barrier.  Use pthread_create,
17245         pthread_join instead of std::thread.
17247 2016-06-09  Andreas Schwab  <schwab@suse.de>
17249         [BZ #19755]
17250         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
17251         new entries in auto-propagate mode.
17252         * nscd/grpcache.c (cache_addgr): Likewise.
17254 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
17256         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
17257         New functions.
17258         (add_temp_file): Use them.
17260 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
17262         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
17264 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
17266         [BZ #20229]
17267         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
17268         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
17269         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
17271         [BZ #20228]
17272         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
17273         itself.
17274         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
17275         * math/libm-test.inc (log10_test_data): Add sNaN tests.
17277         [BZ #20227]
17278         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
17279         itself.
17280         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
17281         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
17282         * math/libm-test.inc (log_test_data): Add sNaN tests.
17284         [BZ #20226]
17285         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
17286         itself.
17287         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
17288         * math/libm-test.inc (exp_test_data): Add sNaN tests.
17289         (exp10_test_data): Likewise.
17290         (expm1_test_data): Likewise.
17292         [BZ #20225]
17293         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
17294         itself.
17295         * math/s_ldexpf.c (__ldexpf): Likewise.
17296         * math/s_ldexpl.c (__ldexpl): Likewise.
17297         * math/w_scalbln.c (__w_scalbln): Likewise.
17298         * math/w_scalblnf.c (__w_scalblnf): Likewise.
17299         * math/w_scalblnl.c (__w_scalblnl): Likewise.
17300         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
17301         (scalbln_test_data): Likewise.
17303         [BZ #20224]
17304         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
17305         argument to itself.
17306         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
17308 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
17310         [BZ #19776]
17311         * sysdeps/x86_64/memcpy.S: Make it dummy.
17312         * sysdeps/x86_64/mempcpy.S: Likewise.
17313         * sysdeps/x86_64/memmove.S: New file.
17314         * sysdeps/x86_64/memmove_chk.S: Likewise.
17315         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
17316         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
17317         * sysdeps/x86_64/memmove.c: Removed.
17318         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
17319         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
17320         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
17321         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
17322         Likewise.
17323         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17324         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17325         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17326         memcpy-sse2-unaligned, memmove-avx-unaligned,
17327         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
17328         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17329         (__libc_ifunc_impl_list): Replace
17330         __memmove_chk_avx512_unaligned_2 with
17331         __memmove_chk_avx512_unaligned.  Remove
17332         __memmove_chk_avx_unaligned_2.  Replace
17333         __memmove_chk_sse2_unaligned_2 with
17334         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
17335         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
17336         with __memmove_avx512_unaligned.  Replace
17337         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
17338         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
17339         with __memcpy_chk_avx512_unaligned.  Remove
17340         __memcpy_chk_avx_unaligned_2.  Replace
17341         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
17342         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
17343         Replace __memcpy_avx512_unaligned_2 with
17344         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
17345         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
17346         with __mempcpy_chk_avx512_unaligned.  Remove
17347         __mempcpy_chk_avx_unaligned_2.  Replace
17348         __mempcpy_chk_sse2_unaligned_2 with
17349         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
17350         Replace __mempcpy_avx512_unaligned_2 with
17351         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
17352         Replace __mempcpy_sse2_unaligned_2 with
17353         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
17354         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
17355         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
17356         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
17357         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
17358         (ENTRY): Removed.
17359         (END): Likewise.
17360         (ENTRY_CHK): Likewise.
17361         (libc_hidden_builtin_def): Likewise.
17362         Don't include ../memcpy.S.
17363         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
17364         __memcpy_chk_avx512_unaligned_erms and
17365         __memcpy_chk_avx512_unaligned.  Use
17366         __memcpy_chk_avx_unaligned_erms and
17367         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
17368         Default to __memcpy_chk_sse2_unaligned.
17369         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
17370         Change function suffix from unaligned_2 to unaligned.
17371         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
17372         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
17373         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
17374         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
17375         (ENTRY): Removed.
17376         (END): Likewise.
17377         (ENTRY_CHK): Likewise.
17378         (libc_hidden_builtin_def): Likewise.
17379         Don't include ../mempcpy.S.
17380         (mempcpy): New.  Add a weak alias.
17381         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
17382         __mempcpy_chk_avx512_unaligned_erms and
17383         __mempcpy_chk_avx512_unaligned.  Use
17384         __mempcpy_chk_avx_unaligned_erms and
17385         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
17386         Default to __mempcpy_chk_sse2_unaligned.
17388 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
17390         [BZ #19881]
17391         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
17392         into ...
17393         * sysdeps/x86_64/memset.S: This.
17394         (__bzero): Removed.
17395         (__memset_tail): Likewise.
17396         (__memset_chk): Likewise.
17397         (memset): Likewise.
17398         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
17399         defined.
17400         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
17401         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
17402         (__memset_zero_constant_len_parameter): Check SHARED instead of
17403         PIC.
17404         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17405         memset-avx2 and memset-sse2-unaligned-erms.
17406         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17407         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
17408         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
17409         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
17410         (__bzero): Enabled.
17411         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
17412         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
17413         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
17414         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
17415         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
17416         (memset): Removed.
17417         (__memset_chk): Likewise.
17418         (MEMSET_SYMBOL): New.
17419         (libc_hidden_builtin_def): Replace __memset_sse2 with
17420         __memset_sse2_unaligned.
17421         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
17422         __memset_chk_sse2 and __memset_chk_avx2 with
17423         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
17424         Use __memset_chk_sse2_unaligned_erms or
17425         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
17426         __memset_chk_avx512_unaligned_erms and
17427         __memset_chk_avx512_unaligned.
17429 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17431         * math/gen-auto-libm-test.c (fp_format_desc): remove
17432         suffix member.
17433         (output_generic_value): Remove usage of suffix member,
17434         and the resulting unuse of the fp_format argument.
17435         (output_for_one_input_case): Remove unused fp_format
17436         parameter.
17438         * math/auto-libm-test-out: Regenerate.
17440         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
17441         usage with TEST_COND_ibm128.
17442         (TEST_COND_flt_32): Remove.
17443         (TEST_COND_dbl_64): Remove.
17444         (TEST_COND_ldbl_96_intel): Remove.
17445         (TEST_COND_ldbl_96_m68k): Remove.
17446         (TEST_COND_ldbl_128): Remove.
17448 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17450         * auto-libm-test-in:
17451         Replace flt-32 usage with binary32.
17452         Replace dbl-64 usage with binary64.
17453         Replace ldbl-intel-96 usage with intel96.
17454         Replace ldbl-m68k-96 usage with m68k96.
17455         Replace ldbl-128ibm usage with ibm128.
17456         Replace ldbl-128 usage with binary128.
17458         * auto-libm-test-out: Regenerate.
17460 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17462         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
17463         (parse_ulps): Dynamically generate type name matching
17464         string from all_floats.
17465         (get_ulps): Generate the ulps as an array instead.
17466         (output_ulps): Dynamically compose the type based
17467         on the number of supported formats, and print
17468         the indices as type specific helper macros.
17470         * math/libm-test.inc: Remove comment about CHOOSE.
17471         (ulp_data): Generate the type in libm-test-ulps.h.
17472         (ULP_IDX): New macro.
17473         (find_ulps): Update usage of max_ulp.
17475         * math/test-double-vlen2.h (CHOOSE): Remove.
17476         * math/test-double-vlen4.h (CHOOSE): Likewise.
17477         * math/test-double-vlen8.h (CHOOSE): Likewise.
17478         * math/test-float.c (CHOOSE): Likewise.
17479         * math/test-float-finite.c (CHOOSE): Likewise.
17480         * math/test-double.c (CHOOSE): Likewise.
17481         * math/test-double-finite.c (CHOOSE): Likewise.
17482         * math/test-idouble.c (CHOOSE): Likewise.
17483         * math/test-ifloat.c (CHOOSE): Likewise.
17484         * math/test-ildoubl.c (CHOOSE): Likewise.
17485         * math/test-ldouble-finite.c (CHOOSE): Likewise.
17486         * math/test-ldouble.c (CHOOSE): Likewise.
17488         * math/test-float.h (TEST_FLOAT): Remove.
17489         * math/test-double.h (TEST_DOUBLE): Likewise.
17490         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
17492 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17494         * math/gen-libm-test.pl: (apply_lit): New subroutine.
17495         (parse_args): Strip C suffix from floating point literals
17496         typed with 'f' and wrap them with LIT().
17498         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
17499         (test_ff_f_data_nexttoward): Rename to
17500         (test_fj_f_data): New struct.
17501         (nexttoward_test_data): Relabel tests as
17502         TEST_fj_f instead of TEST_ff_f.
17504 2016-06-08  Florian Weimer  <fweimer@redhat.com>
17506         Emacs bug 23726.
17507         * malloc/malloc.c (dumped_main_arena_start): Update comment.
17508         (__libc_realloc): Correct size computation for dumped fake mmapped
17509         chunks.
17511 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
17513         [BZ #20219]
17514         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
17515         to itself.
17516         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
17518         [BZ #20218]
17519         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
17520         to itself.
17521         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
17523 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
17525         [BZ #20195]
17526         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
17527         check to ...
17528         (init_cpu_features): Here.
17530 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
17532         [BZ #20214]
17533         * sysdeps/unix/sysv/linux/bits/in.h
17534         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
17535          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
17536         Define to 1.
17537         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
17538          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
17539         Define to 0.
17540         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
17541         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
17543 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
17545         [BZ #20198]
17546         * stdlib/Makefile (tests): Add tst-quick_exit, and
17547         tst-thread-quick_exit.
17548         [ifeq ($(have-cxx-thread_local),yes)]
17549         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
17550         (CFLAGS-tst-thread-quick_exit.o): Likewise.
17551         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
17552         (LDLIBS-tst-thread-quick_exit): Likewise.
17553         [ifneq ($(have-cxx-thread_local),yes)]
17554         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
17555         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
17556         If run_dtors is true call __call_tls_dtors.
17557         (exit): Call __run_exit_handlers with run_dtors set to true.
17558         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
17559         definition.
17560         * stdlib/quick_exit.c (quick_exit): Remove function.
17561         (__new_quick_exit): New function.
17562         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
17563         function.
17564         * stdlib/tst-quick_exit.cc: New file.
17565         * stdlib/tst-thread-quick_exit.cc: New file.
17566         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
17567         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
17568         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
17569         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
17570         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
17571         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
17572         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
17573         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
17574         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
17575         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
17576         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
17577         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
17578         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
17579         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
17580         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
17581         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
17582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
17583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
17584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
17585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
17586         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
17587         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
17588         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
17589         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
17590         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
17591         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
17592         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
17593         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
17594         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
17595         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
17597 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
17599         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
17600         a typo in comments.
17602 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
17604         [BZ #20213]
17605         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
17606         argument to itself.
17607         * math/libm-test.inc (asin_test_data): Add sNaN tests.
17609 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17611         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
17612         required flags.
17613         (CFLAGS-pwritev64.c): Likewise.
17614         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
17615         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
17616         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
17617         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
17618         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
17619         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
17620         syscall from auto-generation.
17621         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
17622         [WORDSIZE == 64] (pwritev64): Remove macro.
17623         [!PWRITEV] (PWRITEV): Likewise.
17624         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
17625         [!PWRITEV] (PWRITE): Likewise.
17626         [!PWRITEV] (OFF_T): Likewise.
17627         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
17628         (LO_HI_LONG): Remove macro.
17629         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
17630         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
17631         (PWRITEV): Remove macro.
17632         (PWRITEV_REPLACEMENTE): Likewise.
17633         (PWRITE): Likewise.
17634         (OFF_T): Likewise.
17635         (pwritev64): New function.
17636         * nptl/tst-cancel4.c (tf_writev): Add test.
17638         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
17639         required flags.
17640         (CFLAGS-preadv64.c): Likewise.
17641         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
17642         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
17643         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
17644         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
17645         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
17646         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
17647         syscall from auto-generation.
17648         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
17649         [WORDSIZE == 64] (preadv64): Remove macro.
17650         [!PREADV] (PREADV): Likewise.
17651         [!PREADV] (PREADV_REPLACEMENT): Likewise.
17652         [!PREADV] (PREAD): Likewise.
17653         [!PREADV] (OFF_T): Likewise.
17654         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
17655         (LO_HI_LONG): Remove macro.
17656         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
17657         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
17658         (PREADV): Remove macro.
17659         (PREADV_REPLACEMENTE): Likewise.
17660         (PREAD): Likewise.
17661         (OFF_T): Likewise.
17662         (preadv64): New function.
17663         * nptl/tst-cancel4.c (tf_preadv): Add test.
17665 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
17667         [BZ #20212]
17668         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
17669         argument to itself.
17670         * math/libm-test.inc (acos_test_data): Add sNaN tests.
17672 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17674         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
17675         New symbol defined as libc_hidden_def.
17676         (strcasestr): Became a weak alias to __strcasestr.
17677         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
17678         according to multi-arch support.  Move __stpncpy hidden
17679         definition from here to...
17680         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
17681         symbol stpncpy.
17682         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
17683         libc_hidden_builtin_def.
17684         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
17685         memset symbol to use when multi-arch support is available.
17687 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
17689         * dlfcn/tst-rec-dlopen.c: Include string.h.
17691 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
17693         * manual/install.texi: Remove mention of --without-tls
17694         * INSTALL: Regenerate.
17696 2016-06-05  Florian Weimer  <fweimer@redhat.com>
17698         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
17699         Remove.
17700         (call_function, interposed_malloc_called): New variables.
17701         (malloc): New function.
17702         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
17703         and clear call_function as needed.
17705 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
17707         * include/wchar.h (__wmemset): Use __typeof.
17709 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
17711         * include/wchar.h (__wmemset): Declare function without typeof.
17713 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
17715         [BZ #20205]
17716         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
17717         exponent when incrementing negative subnormal with low mantissa
17718         word zero.
17719         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
17720         Add another test.
17722 2016-06-03  Florian Weimer  <fweimer@redhat.com>
17724         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
17725         __wmemset instead of wmemset.
17727 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
17729         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
17730         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
17731         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
17732         __USE_KERNEL_IPV6_DEFS to 0.
17733         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
17734         Update comment.
17736 2016-06-01  Florian Weimer  <fweimer@redhat.com>
17738         [BZ #19861]
17739         Do not use IFUNC resolver with potentially unrelocated symbol.
17740         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
17741         (DEFINE_FORK): Remove macro and inline definition.
17742         (fork_alias): Renamed from fork_ifunc.
17743         (__fork_alias): Renamed from __fork_ifunc.
17745 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
17747         [BZ 19653]
17748         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
17749         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
17751 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17753         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
17754         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
17755         i386-linux-gnu).
17756         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
17757         Set to no.
17758         * sysdeps/mach/hurd/configure: Refresh.
17760 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17762         [BZ #20178]
17763         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
17764         on failure instead of exit.
17766 2016-05-30  Roland McGrath  <roland@hack.frob.com>
17768         [BZ #3629]
17769         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
17770         of POSIX.1-2008.
17772 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17774         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
17775           Use PLT entry for calling _hurd_self_sigstate.
17777 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
17779         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
17780         available logical processors with SMT level type sharing L2
17781         cache for Intel processors.
17783 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
17785         [BZ #20160]
17786         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
17787         argument to itself before returning the result.
17788         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
17789         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
17790         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
17791         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
17792         Likewise.
17793         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
17794         Likewise.
17795         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
17796         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
17797         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
17798         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
17799         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
17800         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
17802         [BZ #20160]
17803         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
17804         argument to itself before returning the result.
17805         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
17806         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
17807         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
17808         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
17809         Likewise.
17810         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
17811         Likewise.
17812         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
17813         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
17814         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
17815         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
17816         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
17817         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
17819 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17821         * libm-test.inc: Replace usage of M_El with
17822         (lit_e): New macro.
17824 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17826         * libm-test.inc: Replace usage of M_PI_4l with
17827         (lit_pi_4_d): New macro.
17829 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17831         * libm-test.inc: Replace usage of M_PIl with
17832         (lit_pi): New macro.
17834 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17836         * libm-test.inc: Replace usage of M_PI2l with
17837         (lit_pi_2_d): New macro.
17839         * math/test-double.h (LITM): New macro.
17840         * math/test-float.h (LITM): Likewise.
17841         * math/test-ldouble.h (LITM): Likewise.
17843 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17845         * libm-test.inc (M_PI_34l): Rename to
17846         (lit_pi_3_m_4_d): New Macro.
17847         (M_PI_34_LOG10El): Rename to
17848         (lit_pi_3_m_4_ln10_m_d): New Macro.
17849         (M_PI2_LOG10El): Rename to
17850         (lit_pi_2_ln10_m_d):  New Macro.
17851         (M_PI4_LOG10El): Rename to
17852         (lit_pi_4_ln10_m_d):  New Macro.
17853         (M_PI_LOG10El): Rename to
17854         (lit_pi_ln10_d):  New Macro.
17856 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
17858         [BZ #20157]
17859         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
17860         determine whether to negate low half if [_ARCH_PPCGR], and integer
17861         comparison otherwise.
17862         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
17863         determine whether to negate low half.
17865         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
17866         (NO_TEST_INLINE_DOUBLE): Likewise.
17867         (TEST_COND_x86_64): Likewise.
17868         (TEST_COND_x86): Likewise.
17869         (M_PI_6l): Likewise.
17871 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17873         * math/libm-test.inc:
17874         (TEST_FLOAT): Change usage to TEST_COND_binary32.
17875         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
17876         (TEST_LDOUBLE): Update usage to evaluate as true if
17877         the guarded tests match the property being tested.
17878         (LDBL_MAX_EXP): Change to MAX_EXP.
17879         (LDBL_MIN_EXP): Change to MIN_EXP.
17880         (LDBL_MANT_DIG): Change to MANT_DIG, except for
17881         nexttoward tests.
17883 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17885         * math/libm-test.inc:
17886         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
17887         (TYPE_MIN): Likewise.
17888         (TYPE_TRUE_MIN): Likewise.
17889         (TYPE_MAX): Likewise.
17890         (MIN_EXP): Likewise.
17891         (MAX_EXP): Likewise.
17892         (MANT_DIG): Likewise.
17894         (FSTR_MAX): New macro.
17895         (__CONCATX): Likewise.
17896         (QTYPE_STR): Likewise.
17897         (TEST_COND_binary32): Likewise.
17898         (TEST_COND_binary64): Likewise.
17899         (TEST_COND_binary128): Likewise.
17900         (TEST_COND_ibm128): Likewise.
17901         (TEST_COND_intel96): Likewise.
17902         (TEST_COND_m68k96): Likewise.
17904         (TEST_COND_flt_32): Redefine as equivalent format test macro.
17905         (TEST_COND_dbl_64): Likewise.
17906         (TEST_COND_ldbl_96_intel): Likewise.
17907         (TEST_COND_ldbl_96_m68k): Likewise.
17908         (TEST_COND_ldbl_128): Likewise.
17909         (TEST_COND_ldbl_128ibm): Likewise.
17911         (plus_zero): Redefine using LIT macro.
17912         (minus_zero): Likewise.
17913         (plus_infty): Redefine as (INF).
17914         (minux_infty): Redefine as (-INF).
17915         (max_value): Redefine as TYPE_MAX.
17916         (min_value): Redefine as TYPE_MIN.
17917         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
17919         (print_float): Refactor to use snprintf to convert FLOAT values
17920         to string. This brings it closer to dropin replacement of strtof
17921         for the TS 18661 defined types.
17922         (update_stats): Likewise.
17923         (print_complex_function_ulps): Likewise.
17924         (print_max_error): Likewise.
17925         (print_complex_max_error): Likewise.
17926         (check_float_internal): Likewise.
17928         * math/test-float.h (PREFIX): New macro.
17929         (LIT): Likewise.
17930         (TYPE_STR): Likewise.
17931         (FTOSTR): Likewise.
17933         * math/test-double.h (PREFIX): New macro.
17934         (LIT): Likewise.
17935         (TYPE_STR): Likewise.
17936         (FTOSTR): Likewise.
17938         * math/test-ldouble.h (PREFIX): New macro.
17939         (LIT): Likewise.
17940         (TYPE_STR): Likewise.
17941         (FTOSTR): Likewise.
17943 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
17945         [BZ #20156]
17946         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
17947         to itself when zero or not finite.
17948         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
17949         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
17950         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
17951         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
17953 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
17955         [BZ #20153]
17956         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
17957         x * x + x for infinities and NaNs.
17959         [BZ #20151]
17960         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
17961         argument to itself before returning result.
17962         (__ieee754_y0l): Likewise.
17963         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
17964         (__ieee754_y1l).
17966         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
17967         (atan_test_data): Likewise.
17968         (ceil_test_data): Likewise.
17969         (cos_test_data): Likewise.
17970         (cosh_test_data): Likewise.
17971         (erf_test_data): Likewise.
17972         (exp2_test_data): Likewise.
17973         (fabs_test_data): Likewise.
17974         (floor_test_data): Likewise.
17975         (ilogb_test_data): Likewise.
17976         (j0_test_data): Likewise.
17977         (j1_test_data): Likewise.
17978         (jn_test_data): Likewise.
17979         (lgamma_test_data): Likewise.
17980         (lrint_test_data): Likewise.
17981         (llrint_test_data): Likewise.
17982         (logb_test_data): Likewise.
17983         (lround_test_data): Likewise.
17984         (llround_test_data): Likewise.
17985         (nearbyint_test_data): Likewise.
17986         (rint_test_data): Likewise.
17987         (round_test_data): Likewise.
17988         (sin_test_data): Likewise.
17989         (sincos_test_data): Likewise.
17990         (sinh_test_data): Likewise.
17991         (sqrt_test_data): Likewise.
17992         (tan_test_data): Likewise.
17993         (tanh_test_data): Likewise.
17994         (tgamma_test_data): Likewise.
17995         (trunc_test_data): Likewise.
17996         (y0_test_data): Likewise.
17997         (y1_test_data): Likewise.
17998         (yn_test_data): Likewise.
18000         * math/libm-test.inc: Update comment about NaN testing.
18001         (TEST_SNAN): New macro.
18002         (snan_value): Likewise.
18003         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
18004         (fpclassify_test_data): Add sNaN tests.
18005         (isfinite_test_data): Likewise.
18006         (isinf_test_data): Likewise.
18007         (isnan_test_data): Likewise.
18008         (isnormal_test_data): Likewise.
18009         (issignaling_test_data): Likewise.
18010         (signbit_test_data): Likewise.
18011         * math/gen-libm-test.pl (%beautify): Add snan_value.
18012         (show_exceptions): Add argument $test_snan.
18013         (parse_args): Handle snan_value as non-finite.  Update call to
18014         show_exceptions.
18015         * math/Makefile (libm-test-no-inline-cflags): Add
18016         -fsignaling-nans.
18018 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18020         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
18021         (CFLAGS-oldsendmsg.c): Add rule.
18022         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
18023         Correct recvmsg symbol name.
18024         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
18025         Likewise.
18027 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18029         * sysdeps/unix/sysv/linux/Makefile
18030         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
18031         oldsendmmsg.
18032         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
18033         sendmmsg.
18034         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18035         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18036         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18037         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
18038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
18039         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18040         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18041         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
18042         Likewise.
18043         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18044         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
18045         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
18046         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
18047         iovlen and controllen fields to adjust to POSIX specification.
18048         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
18050         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
18051         and change to correct expected type.
18052         (msghdr.msg_controllen): Likewise.
18053         (cmsghdr.cmsg_len): Likewise.
18054         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
18055         expected POSIX assumption about the size.
18056         (msghdr.msg_controllen): Likewise.
18057         (msghdr.__glibc_reserved1): Likewise.
18058         (msghdr.__glibc_reserved2): Likewise.
18059         (cmsghdr.cmsg_len): Likewise.
18060         (cmsghdr.__glibc_reserved1): Likewise.
18061         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
18062         Add ptw-oldrecvmsg and ptw-oldsendmsg.
18063         (CFLAGS-sendmsg.c): Remove rule.
18064         (CFLAGS-recvmsg.c): Likewise.
18065         (CFLAGS-oldsendmsg.c): Add rule.
18066         (CFLAGS-oldrecvmsg.c): Likewise.
18067         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
18068         recvmsg and sendmsg.
18069         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
18070         Likewise.
18071         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
18072         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
18073         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
18074         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
18075         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
18076         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
18077         Likewise.
18078         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
18079         Likewise.
18080         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
18081         Likewise.
18082         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
18083         Likewise.
18084         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
18085         Likewise.
18086         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
18087         Likewise.
18088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
18089         (GLIBC_2.24): Likewise.
18090         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
18091         Likewise.
18092         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
18093         Likewise.
18094         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
18095         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
18096         Likewise.
18097         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
18098         Likewise.
18099         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
18100         Likewise.
18101         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
18102         (GLIBC_2.24): Likewise.
18103         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
18104         Likewise.
18105         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
18106         Likewise.
18107         * sysdeps/unix/sysv/linux/Makefile
18108         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
18109         (CFLAGS-sendmsg.c): Add rule.
18110         (CFLAGS-recvmsg.c): Likewise.
18111         (CFLAGS-oldsendmsg.c): Likewise.
18112         (CFLAGS-oldrecvmsg.c): Likewise.
18113         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
18114         initialization.
18115         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
18116         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
18117         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
18118         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
18119         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
18120         iovlen and controllen fields to adjust to POSIX specification.
18121         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
18122         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
18123         added recvmsg and sendmsg.
18124         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18125         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
18126         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18127         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18128         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18129         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18130         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18131         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18132         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
18133         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18134         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18135         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
18136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
18137         Likewise.
18138         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
18139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
18140         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
18141         Likewise.
18142         Likewise.
18143         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18144         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18145         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18146         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18147         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18148         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18149         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
18150         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18151         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
18152         Likewise.
18153         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18154         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18156         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
18157         from auto-generation.
18158         (sendmsg): Likewise.
18159         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
18160         (sendmsg): Likewise.
18161         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
18162         (sendmsg): Likewise.
18163         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
18164         (sendmsg): Likewise.
18165         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
18166         (sendmsg): Likewise.
18167         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
18168         (sendmsg): Likewise.
18169         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
18170         Likewise.
18171         (sendmsg): Likewise.
18172         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
18173         (sendmsg): Likewise.
18174         * sysdeps/unix/sysv/linux/i386/kernel-features.h
18175         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
18176         Remove.
18177         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
18178         Likewise.
18179         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
18180         Undefine.
18181         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
18182         Likewise.
18183         * sysdeps/unix/sysv/linux/kernel-features.h
18184         (__ASSUME_SENDMSG_SYSCALL): Define.
18185         (__ASSUME_RECVMSG_SYSCALL): Likewise.
18186         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18187         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
18188         Remove.
18189         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
18190         Likewise.
18191         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
18192         Undefine.
18193         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
18194         Likewise.
18195         * sysdeps/unix/sysv/linux/s390/kernel-features.h
18196         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
18197         Remove.
18198         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
18199         Likewise.
18200         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
18201         Undefine.
18202         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
18203         Likewise.
18204         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18205         (__ASSUME_SENDMSG_SYSCALL): Undefine.
18206         (__ASSUME_RECVMSG_SYSCALL): Likewise.
18207         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
18208         (__ASSUME_SENDMSG_SYSCALL): Likewise.
18209         (__ASSUME_RECVMSG_SYSCALL): Likewise.
18210         * sysdeps/unix/sysv/linux/sh/kernel-features.h
18211         (__ASSUME_SENDMSG_SYSCALL): Likewise.
18212         (__ASSUME_RECVMSG_SYSCALL): Likewise.
18214 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18216         * stdlib/gen-tst-strtod-round.c: Add backslash to
18217         compile command in comment.
18218         (printfp): Remove the literal suffix, and define an infinite
18219         value as INF to avoid expansion clash with INFINITY.
18220         (round_str): Remove the literal suffix.
18221         (round_for_all): Likewise, remove the now duplicate ldbl-64
18222         entry, and remove some magic constants.
18224         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
18225         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
18226         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
18227         (_CONCAT): New macro.
18228         (CONCAT): Likewise.
18229         (CHOOSE_ld): Likewise.
18230         (CHOOSE_f): Likewise.
18231         (CHOOSE_d): Likewise.
18232         (FTYPE_MEMBER): Likewise.
18233         (BOOL_MEMBER): Likewise.
18234         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
18235         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
18236         (_XNTRY): Likewise.
18237         (XNTRY): Likewise.
18238         (_ENTRY): Likewise.
18239         (ENTRY): Likewise.
18240         (test_exactness): Generate members via macro.
18241         (test_results): Likewise.
18242         (test): Update members.
18243         (TEST): Redefine using new macros.
18244         (INF): New macro.
18245         (fetestmodes): New structure.
18246         (do_test): Refactor to be type generic.
18247         (test_in_one_mode): Refactor duplicate code into
18248         (GEN_ONE_TEST): New macro.
18250         * stdlib/tst-strtod-round-data.h: Regenerate.
18252         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
18253         Extend to pass additional arbitrary parameters to
18254         generators.
18256 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
18258         [BZ #15479]
18259         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
18260         floating-point state after first floating-point operation on
18261         input.  Restore full floating-point state instead of just rounding
18262         mode.
18263         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
18264         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
18265         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
18266         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
18267         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
18269         [BZ #15479]
18270         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
18271         floating-point state after first floating-point operation on
18272         input.  Restore full floating-point state instead of just rounding
18273         mode.
18274         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
18275         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
18276         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
18277         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
18278         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
18280 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18282         [BZ #19727]
18283         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
18284         valid high surrogate.
18285         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
18286         of an utf16 surrogate.
18287         * iconv/gconv_simple.c (BODY): Likewise.
18288         * iconvdata/bug-iconv12.c: New file.
18289         * iconvdata/Makefile (tests): Add bug-iconv12.
18291 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18293         [BZ #19726]
18294         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
18295         outptrp in case of an illegal input.
18296         * iconv/tst-iconv6.c: New file.
18297         * iconv/Makefile (tests): Add tst-iconv6.
18299 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18301         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
18302         an error in case of a value in range of an utf16 low surrogate.
18304 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18306         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
18307         an error in case of a value in range of an utf16 low surrogate.
18309 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18311         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
18312         Move to ...
18313         * sysdeps/s390/Makefile: ... here.
18314         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
18315         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
18316         (BRANCH_ON_COUNT): New define.
18317         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
18318         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
18319         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
18320         run on s390-32, too.
18321         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
18322         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
18323         run on s390-32, too.
18324         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
18325         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
18326         run on s390-32, too.
18328 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18330         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
18331         etf3eh or new vector loop-variant.
18333 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18335         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
18336         etf3eh or new vector loop-variant.
18338 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18340         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
18341         or new vector loop-variant.
18343 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18345         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
18346         Rename to TR_LOOP and usage of tr instead of troo instruction.
18348 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18350         * sysdeps/s390/multiarch/gconv_simple.c: New File.
18351         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
18353 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18355         * sysdeps/s390/multiarch/8bit-generic.c: New File.
18356         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
18357         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
18358         New override define.
18359         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
18361 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18363         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
18364         * sysdeps/s390/configure.ac: Add test for S390 vector register
18365         support in gcc.
18366         * sysdeps/s390/configure: Regenerated.
18368 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18370         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
18371         Install file from $(objpfx)gconv-modules.
18372         ($(objpfx)gconv-modules): Concatenate architecture specific file
18373         in variable sysdeps-gconv-modules and gconv-modules in src dir.
18374         * sysdeps/s390/gconv-modules: New file.
18375         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
18376         Deleted.
18377         ($(objpfx)gconv-modules-s390): Deleted.
18378         (sysdeps-gconv-modules): New variable.
18380 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
18382         [BZ #15479]
18383         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
18384         of immediate operand to rounding instruction.
18385         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
18386         Likewise.
18387         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
18388         Likewise.
18389         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
18390         Likewise.
18392 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18394         * math/libm-test.inc (MIN_EXP): Directly define as
18395         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
18397 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18399         * math/libm-test.inc (MANT_DIG): Directly define as
18400         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
18402 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18404         * stdlib/gen-tst-strtod-round.c (main):
18405           Change usage to more closely match the generated
18406           output.  Add usage and compilation instructions.
18407           (string_to_fp): Add and use FILE* parameter as
18408           output target.
18409           (print_fp): Likewise.
18410           (round_str): Likewise.
18411           (round_for_all): Likewise.
18412         * stdlib/tst-strtod-round.c (tests): Move into
18413         * stdlib/tst-strtod-round-data.h: New file.
18415 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
18417         [BZ #15479]
18418         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
18419         (__round): Do not force "inexact" exception.
18420         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
18421         variable.
18422         (__round): Do not force "inexact" exception.
18423         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
18424         (__roundf): Do not force "inexact" exception.
18425         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
18426         (__roundl): Do not force "inexact" exception.
18427         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
18428         (__roundl): Do not force "inexact" exception.
18429         * math/libm-test.inc (round_test_data): Do not allow spurious
18430         "inexact" exceptions.
18432         [BZ #15479]
18433         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
18434         exception in comment.
18435         (huge): Remove variable.
18436         (__floor): Do not force "inexact" exception.
18437         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
18438         "inexact" exception in comment.
18439         (huge): Remove variable.
18440         (__floor): Do not force "inexact" exception.
18441         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
18442         exception in comment.
18443         (huge): Remove variable.
18444         (__floorf): Do not force "inexact" exception.
18445         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
18446         exception in comment.
18447         (huge): Remove variable.
18448         (__floorl): Do not force "inexact" exception.
18450         [BZ #15479]
18451         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
18452         exception in comment.
18453         (huge): Remove variable.
18454         (__ceil): Do not force "inexact" exception.
18455         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
18456         "inexact" exception in comment.
18457         (huge): Remove variable.
18458         (__ceil): Do not force "inexact" exception.
18459         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
18460         (__ceilf): Do not force "inexact" exception.
18461         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
18462         exception in comment.
18463         (huge): Remove variable.
18464         (__ceill): Do not force "inexact" exception.
18466 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
18468         * config.h.in (BIND_NOW): New.
18469         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
18470         * configure: Regenerated.
18471         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
18472         indirect branch via the GOT slot.
18474 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
18476         [BZ #19765]
18477         * sysdeps/s390/mempcpy.S: New File.
18478         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
18479         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
18480         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18481         Add mempcpy variants.
18482         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
18483         (memcpy): Adjust to be usable from mempcpy entry point.
18484         (__memcpy_mvcle): Likewise.
18485         * sysdeps/s390/s390-64/memcpy.S: Likewise.
18486         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
18487         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
18488         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
18489         (__memcpy_z10): Likewise.
18490         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
18492 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
18494         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
18495         Remove __GI_ symbol.
18496         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
18497         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
18498         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
18499         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
18500         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
18501         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
18503 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
18505         * sysdeps/s390/s390-64/memcpy.S (memcpy):
18506         Use cghi instead of chi to compare 64bit value.
18508 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
18510         * sysdeps/s390/s390-32/memcpy.S (memcpy):
18511         Jump to 1MB check before executing mvc-loop.
18513 2016-05-24  Florian Weimer  <fweimer@redhat.com>
18515         [BZ #6527]
18516         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
18517         unconditionally.
18518         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
18520 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18522         * stdlib/tst-strtod6.c (do_test): Use new type generic
18523         invocation of the test function.
18524         (test): Refactor into ...
18525         (TEST_STRTOD): New macro base function.
18527 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18529         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
18530         (TEST_STRTOD): New macro.
18531         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
18533 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18535         * stdlib/tst-strtod6.c (do_test): Use new type generic
18536         invocation of the test function.
18537         (test): Refactor into ...
18538         (TEST_STRTOD): New macro base function.
18540 2016-05-23  Florian Weimer  <fweimer@redhat.com>
18542         CVE-2016-4429
18543         [BZ #20112]
18544         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
18545         payload.
18547 2016-05-23  Florian Weimer  <fweimer@redhat.com>
18549         [BZ #20111]
18550         * bits/sockaddr.h (_SS_SIZE): Define.
18551         * bits/socket.h (_SS_SIZE): Remove.
18552         (_SS_PADSIZE): Adjust to account for all padding.
18553         (struct sockaddr_storage): Update comment.  Avoid implicit
18554         padding.
18555         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
18556         (_SS_PADSIZE): Adjust to account for all padding.
18557         (struct sockaddr_storage): Update comment.  Avoid implicit
18558         padding.
18559         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
18560         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
18561         (_SS_PADSIZE): Adjust to account for all padding.
18562         (struct sockaddr_storage): Update comment.  Avoid implicit
18563         padding.
18564         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
18565         __SS_SIZE is 126 in this version.
18566         * inet/tst-sockaddr.c: New file.
18567         * inet/Makefile (tests): Add tst-sockaddr.c
18568         (tst-sockaddr.c): Compile with non-strict aliasing.
18570 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
18572         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
18573         [XPG3 || XPG4].
18574         (NL_ARGMAX): Also expect for [XPG3].
18575         (NL_LANGMAX): Likewise.
18576         (NL_MSGMAX): Likewise.
18577         (NL_NMAX): Likewise.
18578         (NL_SETMAX): Likewise.
18579         (NL_TEXTMAX): Likewise.
18580         (NZERO): Likewise.
18581         (TMP_MAX): Likewise.
18582         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
18583         variable.
18585         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
18586         (PF_MAX): Update value.
18587         (AF_KCM): New macro.
18588         (SOL_NETBEUI): Likewise.
18589         (SOL_LLC): Likewise.
18590         (SOL_DCCP): Likewise.
18591         (SOL_NETLINK): Likewise.
18592         (SOL_TIPC): Likewise.
18593         (SOL_RXRPC): Likewise.
18594         (SOL_PPPOL2TP): Likewise.
18595         (SOL_BLUETOOTH): Likewise.
18596         (SOL_PNPIPE): Likewise.
18597         (SOL_RDS): Likewise.
18598         (SOL_IUCV): Likewise.
18599         (SOL_CAIF): Likewise.
18600         (SOL_ALG): Likewise.
18601         (SOL_NFC): Likewise.
18602         (SOL_KCM): Likewise.
18603         (MSG_BATCH): New enum value and macro.
18605 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
18607         [BZ #18185]
18608         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
18609         sharing L2 cache to 2 for Knights Landing.
18611 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
18613         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
18614         (FTW_DP): Do not expect for [XPG3 || XPG4].
18615         (FTW_SL): Do not expect for [XPG3].
18616         (FTW_SLN): Likewise.
18617         (FTW_PHYS): Likewise.
18618         (FTW_MOUNT): Likewise.
18619         (FTW_DEPTH): Likewise.
18620         (FTW_CHDIR): Likewise.
18621         (nftw): Likewise.
18622         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
18623         variable.
18625 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
18627         * manual/errno.texi: Fix various typos & grammar errors.
18629 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
18631         * manual/intro.texi: Fix duplicated typo.
18633 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
18635         [BZ #13304]
18636         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
18637         <float.h>, <math_private.h> and <stdlib.h>.
18638         (add_split): New function.
18639         (mul_split): Likewise.
18640         (ext_val): New typedef.
18641         (store_ext_val): New function.
18642         (mul_ext_val): New function.
18643         (compare): New function.
18644         (add_split_ext): New function.
18645         (__fmal): After checking for Inf, NaN and zero, compute result as
18646         an exact sum of scaled double values in round-to-nearest before
18647         adding those up and adjusting for other rounding modes.
18648         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
18649         tests of fma.
18650         * math/auto-libm-test-out: Regenerated.
18652 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
18654         [BZ #20119]
18655         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
18656         processor level type mask for CPUID with EAX == 11.
18658 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
18660         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
18661         logical threads if the HTT bit is 0.
18662         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
18663         (index_cpu_HTT): Likewise.
18664         (reg_HTT): Likewise.
18666 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
18668         [BZ #20115]
18669         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
18670         Remove alignments on jump targets.
18672 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
18674         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
18675         (getpwent): Likewise.
18676         (setpwent): Likewise.
18677         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
18678         variable.
18680         * conform/data/search.h-data (insque): Do not expect for [XPG3].
18681         (remque): Likewise.
18682         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
18683         variable.
18685 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
18687         * math/libm-test.inc: Update comment not to refer to signs of NaNs
18688         not being tested.
18690 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
18692         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
18693         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
18694         call.
18695         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
18696         (__condvar_cleanup1): Likewise.
18698 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
18700         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
18701         New
18702         (__pthread_unwind): Renamed to ...
18703         (PTHREAD_UNWIND): This.
18704         (__pthread_enable_asynccancel): Replace
18705         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
18707 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
18709         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
18710         (CLONE_NEWCGROUP): New macro.
18712         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
18713         (Q_GETNEXTQUOTA): New macro.
18715 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
18717         [BZ #19907]
18718         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
18719         buffer updated by the previous run.
18720         * string/test-memcpy.c (do_one_test): Likewise.
18721         * benchtests/bench-memmove.c (do_one_test): Add a comment.
18722         * string/test-memmove.c (do_one_test): Likewise.
18724 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
18726         [BZ #20094]
18727         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
18728         not [__USE_XOPEN].
18729         (unlockpt): Likewise.
18730         (ptsname): Likewise.
18731         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
18732         variable.
18734         [BZ #20076]
18735         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
18736         instead of [__USE_UNIX98].
18737         (S_ISSOCK): Likewise.
18738         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
18739         variable.
18741         [BZ #20074]
18742         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
18743         [__USE_POSIX].
18744         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
18745         variable.
18747         [BZ #20051]
18748         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
18749         (ttyslot): Do not declare.
18750         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
18751         (ttyslot): New prototype.
18752         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
18753         variable.
18754         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
18756 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
18758         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
18760 2016-05-13  Florian Weimer  <fweimer@redhat.com>
18762         Fix race condition in tst-mallocfork2, use fewer resources.
18763         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
18764         to current process group.
18765         (signal_sender): Yield in the non-sleeping case.
18767 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
18769         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
18770         (ecvt): Likewise.
18771         (fcvt): Likewise.
18772         (gcvt): Likewise.
18773         (getsubopt): Likewise.
18774         (grantpt): Likewise.
18775         (initstate): Likewise.
18776         (l64a): Likewise.
18777         (mktemp): Likewise.
18778         (mkstemp): Likewise.
18779         (ptsname): Likewise.
18780         (random): Likewise.
18781         (realpath): Likewise.
18782         (setstate): Likewise.
18783         (srandom): Likewise.
18784         (ttyslot): Likewise.
18785         (unlockpt): Likewise.
18786         (valloc): Likewise.
18788         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
18789         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
18790         variable.
18792 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
18794         [BZ #20072]
18795         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
18796         init_cpu_features only if SHARED is defined.
18797         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
18799 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
18801         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
18802         non-inclusive caches on Intel processors.
18804 2016-05-13  Florian Weimer  <fweimer@redhat.com>
18806         * malloc/malloc.c (dumped_main_arena_start)
18807         (dumped_main_arena_end): New variables.
18808         (DUMPED_MAIN_ARENA_CHUNK): New macro.
18809         (do_check_chunk): Skip dumped fake mmapped chunks.
18810         (munmap_chunk): Likewise.
18811         (__libc_free): Do not adjust statistics for fake mmapped chunks.
18812         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
18813         mmapped chunks.
18814         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
18815         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
18816         and dumped_main_arena_end to cover the dumped heap.
18818 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
18820         * conform/data/time.h-data (getdate_err): Do not expect for
18821         [XPG3].
18822         (getdate): Likewise.
18823         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
18824         variable.
18826         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
18827         (F_ULOCK): Likewise.
18828         (F_TEST): Likewise.
18829         (F_TLOCK): Likewise.
18830         (useconds_t): Likewise.
18831         (intptr_t): Do not expect for [XPG3] or [XPG4].
18832         (brk): Do not expect for [XPG3]
18833         (fchown): Likewise.
18834         (fchdir): Likewise.
18835         (ftruncate): Likewise.
18836         (getdtablesize): Likewise.
18837         (gethostid): Likewise.
18838         (getpagesize): Likewise.
18839         (getpgid): Likewise.
18840         (getsid): Likewise.
18841         (getwd): Likewise.
18842         (lchown): Likewise.
18843         (lockf): Likewise.
18844         (readlink): Likewise.
18845         (sbrk): Likewise.
18846         (setpgrp): Likewise.
18847         (setregid): Likewise.
18848         (setreuid): Likewise.
18849         (symlink): Likewise.
18850         (sync): Likewise.
18851         (truncate): Likewise.
18852         (ualarm): Likewise.
18853         (usleep): Likewise.
18854         (vfork): Likewise.
18855         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
18856         variable.
18858         [BZ #20054]
18859         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
18860         not [__USE_UNIX98].
18861         * conform/data/unistd.h-data (gethostname): Do not expect for
18862         [XPG3].
18864         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
18865         [!POSIX] (S_IFBLK): Likewise.
18866         [!POSIX] (S_IFCHR): Likewise.
18867         [!POSIX] (S_IFIFO): Likewise.
18868         [!POSIX] (S_IFREG): Likewise.
18869         [!POSIX] (S_IFDIR): Likewise.
18870         [!POSIX] (S_IFLNK): Likewise.
18871         [!POSIX] (S_IFSOCK): Likewise.
18872         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
18873         variable.
18874         (test-xfail-XPG4/fcntl.h/conform): Likewise.
18876 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
18878         * sysdeps/aarch64/memset.S (__memset):
18879         Rewrite of optimized memset.
18881 2016-05-12  Florian Weimer  <fweimer@redhat.com>
18883         [BZ #19703]
18884         Partially async-signal-safe fork for single-threaded processes.
18885         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
18886         variable.  Do not acquire and reset/release malloc and libio locks
18887         in single-threaded processes.
18888         * malloc/tst-mallocfork2.c: New file.
18889         * malloc/Makefile (tests): Add it.
18891 2016-05-12  Florian Weimer  <fweimer@redhat.com>
18893         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
18894         argument.  Use scratch buffer instead of extend_alloca.
18895         (gethosts): Use scratch buffer instead of extend_alloca.
18896         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
18897         extend_alloca.
18898         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
18900 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
18902         [BZ #20055]
18903         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
18904         instead of [__USE_UNIX98].
18905         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
18906         [__USE_UNIX98].
18907         * conform/data/termios.h-data (tcgetsid): Do not expect for
18908         [XPG3].
18909         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
18910         variable.
18911         (test-xfail-XPG4/termios.h/conform): Likewise.
18913 2016-05-11  Florian Weimer  <fweimer@redhat.com>
18915         Do not use mcheck in localedef.
18916         * locale/programs/localedef.c (turn_on_mcheck)
18917         (__malloc_initialize_hook): Remove.
18919 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
18921         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
18922         * sysdeps/s390/s390-64/Makefile: Likewise.
18924 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
18926         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
18927         Remove ifunc-defines.sym.
18928         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
18929         Likewise.
18930         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
18931         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
18932         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
18933         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
18934         rtld-global-offsets.sym.
18935         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
18936         * sysdeps/x86/cpu-features-offsets.sym: This.
18937         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
18938         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
18940 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
18942         [BZ #20073]
18943         * io/sys/stat.h (fchmod): Declare for
18944         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
18945         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
18946         variable.
18948         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
18949         [XPG3] (S_IFSOCK): Likewise.
18950         [XPG3] (S_ISVTX): Likewise.
18951         [XPG3] (S_ISLNK): Likewise.
18952         [XPG3] (S_ISSOCK): Likewise.
18953         [XPG3] (fchmod): Likewise.
18954         [XPG3] (lstat): Likewise.
18955         [XPG3] (mknod): Likewise.
18957         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
18958         [XPG3].  Expect type long and XFAIL for [XPG4].
18959         (st_blocks): Likewise.
18961         [BZ #20044]
18962         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
18963         (pthread_atfork): New prototype.
18964         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
18965         variable.
18967         [BZ #20043]
18968         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
18969         prototype.
18971 2016-05-10  Florian Weimer  <fweimer@redhat.com>
18973         [BZ #20017]
18974         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
18975         gmtime.
18977 2016-05-10  Florian Weimer  <fweimer@redhat.com>
18979         [BZ #19994]
18980         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
18981         flag in _res.options.
18983 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
18985         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
18986         [XPG3 || XPG4].
18987         (blksize_t): Likewise.
18988         (clockid_t): Likewise.
18989         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
18990         variable.
18991         (test-xfail-XPG4/sys/types.h/conform): Likewise.
18993 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
18995         * sysdeps/unix/sysv/linux/s390/init-first.c:
18996         Add VDSO_SYMBOL(getcpu).
18997         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
18998         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
18999         Add VDSO_SYMBOL(getcpu).
19000         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
19001         New define HAVE_GETCPU_VSYSCALL.
19002         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19004 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
19006         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
19007         instead of <sysdeps/x86_64/cacheinfo.c>.
19008         * sysdeps/x86_64/cacheinfo.c: Moved to ...
19009         * sysdeps/x86/cacheinfo.c: Here.
19011 2016-05-04  Florian Weimer  <fweimer@redhat.com>
19013         * malloc/malloc-internal.h: Adjust header file guard.
19015 2016-05-04  Florian Weimer  <fweimer@redhat.com>
19017         [BZ #19787]
19018         * inet/getnameinfo.c (check_sprintf_result): New function.
19019         (CHECKED_SNPRINTF): New macro.
19020         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
19021         to the host buffer.
19022         (gni_host_local): Use checked_copy to copy the host name.
19023         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
19024         (gni_serv_local): Use checked_copy to copy the service name.
19025         (getnameinfo): Remove unnecessary truncation of result buffers.
19027 2016-05-04  Florian Weimer  <fweimer@redhat.com>
19029         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
19030         in case of inet_ntop failure.
19032 2016-05-04  Florian Weimer  <fweimer@redhat.com>
19034         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
19035         avoid long lines.
19036         (gni_host_inet_numeric): Likewise.  Reduce scope of local
19037         variables.
19038         (gni_host_inet, gni_host_local): Add comment.
19039         (gni_host): Add comment.  Use temporary to avoid long lines.
19041 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
19043         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
19044         registers specifiers where general purpose registers specifiers should
19045         have been used.
19047 2016-05-04  Florian Weimer  <fweimer@redhat.com>
19049         [BZ #19779]
19050         CVE-2016-1234
19051         Avoid copying names of directory entries.
19052         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
19053         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
19054         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
19055         (struct readdir_result): New type.
19056         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
19057         (GL_READDIR): New macros.
19058         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
19059         (convert_dirent, convert_dirent64): New functions.
19060         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
19061         convert_dirent64.  Adjust references to the readdir result.
19062         * sysdeps/unix/sysv/linux/i386/glob64.c:
19063         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
19064         * posix/bug-glob2.c (LONG_NAME): Define.
19065         (filesystem): Add LONG_NAME.
19066         (my_DIR): Increase the size of room_for_dirent.
19068 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
19070         [BZ #20041]
19071         * misc/sys/select.h (__need_timespec): Only define if
19072         [__USE_XOPEN2K].
19073         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
19074         variable.
19075         (test-xfail-XPG4/utmpx.h/conform): Likewise.
19076         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
19077         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
19079 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19080             Segher Boessenkool  <segher@gcc.gnu.org>
19082         [BZ #20004]
19083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
19084         (__novec_swapcontext): Add missing load.
19086 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
19088         [BZ #20023]
19089         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
19090         <time.h>.
19091         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
19092         variable.
19093         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
19095 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
19098         flags CLONE_VM compare.
19100 2016-05-02  Florian Weimer  <fweimer@redhat.com>
19102         [BZ #20031]
19103         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
19104         completely empty.
19106 2016-05-02  Florian Weimer  <fweimer@redhat.com>
19108         [BZ #19573]
19109         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
19110         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
19111         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
19112         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
19113         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
19114         (hesiod_free_list): Mark as hidden.
19115         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
19116         res_set, res_get.
19117         * hesiod/hesiod.c: Remove unnecessary forward declarations.
19118         (init, __hesiod_res_get, __hesiod_res_set): Remove.
19119         (hesiod_init): Remove obsolete res_ninit call.
19120         (hesiod_end): Do not free resolver state.  Do not invoke callback.
19121         (hesiod_bind): Do not call init.
19122         (get_txt_records): Use res_mkquery, res_send instead of
19123         res_nmkquery, res_nsend.
19124         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
19125         instead of _nss_hesiod_init.
19126         (_nss_hesiod_initgroups_dyn): Likewise.
19127         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
19128         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
19129         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
19131 2016-05-02  Florian Weimer  <fweimer@redhat.com>
19133         * hesiod/hesiod_p.h (DEF_RHS): Remove.
19134         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
19136 2016-05-02  Florian Weimer  <fweimer@redhat.com>
19138         * hesiod/hesiod.h: Remove RCS keyword.
19139         * hesiod/hesiod_p.h: Likewise.
19141         * hesiod/hesiod.c: Likewise.
19143 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
19145         [BZ #12450]
19146         * locale/iso-639.def: Add Samogitian/sgs.
19148 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
19150         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
19152         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
19154 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
19155             Carlos O'Donell  <carlos@redhat.com>
19157         [BZ #19072]
19158         * grp/Makefile (headers): Add grp-merge.h
19159         (routines): Add grp-merge.
19160         * grp/getgrgid_r.c: Include grp-merge.h.
19161         (DEEPCOPY_FN): Define.
19162         (MERGE_FN): Define.
19163         * grp/getgrname_r.c: Include grp-merge.h.
19164         (DEEPCOPY_FN): Define.
19165         (MERGE_FN): Define.
19166         * grp/grp-merge.c: New file.
19167         * grp/grp-merge.h: New file.
19168         * include/grp-merge.h: New file.
19169         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
19170         __copy_grp@GLIBC_PRIVATE.
19171         * manual/nss.texi (Actions in the NSS configuration): Describe
19172         return, continue, and merge.
19173         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
19174         (DEEPCOPY_FN): Define.
19175         (MERGE_FN): Define.
19176         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
19177         (DEEPCOPY_FN): Define.
19178         (MERGE_FN): Define.
19179         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
19180         [!MERGE_FN]: Define __merge_einval.
19181         (CHECK_MERGE): Define.
19182         (REENTRANT_NAME): Process merge if do_merge is true.
19183         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
19184         (__nss_getent_r): Likewise.
19185         * nss/nsswitch.c (nss_parse_service_list): Likewise.
19186         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
19188 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19190         [BZ #20012]
19191         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
19192         length to calculate the buffer to read.
19193         (fmemopen_write): Set the buffer position based on bytes written.
19194         (fmemopen_seek): Return EINVAL for invalid whence modes.
19196         [BZ #19957]
19197         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
19198         tst-getpid2.
19199         (test): Add tst-clone2.
19200         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
19201         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
19202         pid/tid fields for CLONE_VM.
19203         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
19204         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
19205         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
19206         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
19207         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
19208         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
19209         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
19210         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
19211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
19212         Likewise.
19213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19214         Likewise.
19215         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
19216         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
19217         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
19218         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
19219         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
19220         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
19221         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
19222         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
19224 2016-04-29  Florian Weimer  <fweimer@redhat.com>
19226         [BZ #19642]
19227         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
19228         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
19229         (gni_serv_local, gni_serv): New functions extracted from
19230         getnameinfo.
19231         (getnameinfo): Call gni_host and gni_serv to perform the
19232         processing.  Always free scratch buffer.
19234 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
19236         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
19237         remaining bytes in the dest string, with zeros.
19239 2016-04-29  Florian Weimer  <fweimer@redhat.com>
19241         [BZ #20010]
19242         CVE-2016-3706
19243         * sysdeps/posix/getaddrinfo.c
19244         (convert_hostent_to_gaih_addrtuple): New function.
19245         (gethosts): Call convert_hostent_to_gaih_addrtuple.
19246         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
19247         AF_INET data.
19249 2016-04-29  Florian Weimer  <fweimer@redhat.com>
19251         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
19252         callback function gl_readdir.
19253         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
19254         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
19255         (glob_in_dir): Remove len.  Use strdup instead of malloc and
19256         memcpy to copy the name.
19257         * manual/pattern.texi (Calling Glob): Document requirements for
19258         implementations of the gl_readdir callback function.
19259         * manual/examples/mkdirent.c: New example.
19260         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
19261         per the manual guidance.
19262         * posix/tst-gnuglob.c (my_readdir): Likewise.
19264 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
19266         [BZ #20014]
19267         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
19268         not [__USE_POSIX].
19269         (getchar_unlocked): Likewise.
19270         (putc_unlocked): Likewise.
19271         (putchar_unlocked): Likewise.
19272         (flockfile): Likewise.
19273         (ftrylockfile): Likewise.
19274         (funlockfile): Likewise.
19275         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
19276         variable.
19277         (test-xfail-XPG4/stdio.h/conform): Likewise.
19279         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
19280         Expect constant.
19281         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
19282         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
19283         variable.
19284         (test-xfail-XPG4/langinfo.h/conform): Likewise.
19285         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
19287         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
19288         [__USE_LARGEFILE64] (off64_t): Likewise.
19289         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
19290         variable.
19292 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19294         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
19296 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19298         * resolv/inet_addr.c: Reindent preprocessor conditionals.
19299         * resolv/res_init.c: Likewise.
19300         * resolv/res_mkquery.c: Likewise.
19302 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19304         * resolv/res_init.c (isascii): Do not define.  Use definition in
19305         <ctype.h>.
19306         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
19307         (LOG_AUTH): Remove.
19308         (SPRINTF): Remove, adjust caller.
19309         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
19311 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19313         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
19314         SUNSECURITY conditional.
19315         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
19317 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19319         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
19320         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
19321         Remove BSD-related preprocessor conditionals.
19322         * conf/portability.h: Remove.
19324 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19326         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
19327         * resolv/res_data.c: Likewise.
19329 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19331         * resolv/res_comp.c: Remove code conditional on __ultrix__.
19332         * resolv/res_data.c: Remove code conditional on ultrix.
19334 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19336         * resolv/res_init.c (RFC1535): Do not define.  Remove
19337         RFC1535 preprocessor conditionals.
19338         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
19339         because there configuration options which make the resolver
19340         behavior different.
19342 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19344         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
19345         RESOLVSORT preprocessor conditionals.
19346         * resolv/nss_dns/dns-host.c: Likewise.
19347         * resolv/res_init.c: Likewise.
19349 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19351         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
19352         is never defined.
19354 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19356         * inet/inet_lnaof.c: Remove SCSS keyword.
19357         * inet/inet_mkadr.c: Likewise.
19358         * inet/inet_net.c: Likewise.
19359         * inet/inet_netof.c: Likewise.
19360         * inet/rcmd.c: Likewise.
19361         * inet/rexec.c: Likewise.
19362         * inet/ruserpass.c: Likewise.
19364 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19366         * resolv/inet_addr.c: Remove _LIBC conditionals.
19367         * resolv/res_data.c: Likewise.
19368         * resolv/res_init.c: Likewise.
19369         * resolv/res_mkquery.c: Likewise.
19370         * resolv/res_libc.c: Update comment.
19371         * resolv/README: Update.
19373 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19375         * resolv/gethnamaddr.c: Remove SCSS keyword.
19376         * resolv/herror.c: Likewise.
19377         * resolv/inet_addr.c: Likewise.
19378         * resolv/inet_net_ntop.c: Likewise.
19379         * resolv/inet_net_pton.c: Likewise.
19380         * resolv/inet_neta.c: Likewise.
19381         * resolv/inet_ntop.c: Likewise.
19382         * resolv/inet_pton.c: Likewise.
19383         * resolv/ns_date.c: Remove RCS keyword.
19384         * resolv/ns_name.c: Likewise.
19385         * resolv/ns_netint.c: Likewise.
19386         * resolv/ns_parse.c: Likewise.
19387         * resolv/ns_print.c: Likewise.
19388         * resolv/ns_samedomain.c: Likewise.
19389         * resolv/ns_ttl.c: Likewise.
19390         * resolv/nsap_addr.c: Likewise.
19391         * resolv/res_comp.c: Remove SCSS and RCS keyword.
19392         * resolv/res_data.c: Remove RCS keyword.
19393         * resolv/res_debug.c: Remove SCSS and RCS keyword.
19394         * resolv/res_init.c: Likewise.
19395         * resolv/res_mkquery.c: Likewise.
19396         * resolv/res_query.c: Likewise.
19397         * resolv/res_send.c: Likewise.
19399 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
19401         * conform/data/stdio.h-data (fdopen): Expect also for
19402         [XPG3 || XPG4].
19404         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
19405         (fseeko): Likewise.
19406         (ftello): Likewise.
19407         (ftrylockfile): Likewise.
19408         (funlockfile): Likewise.
19409         (getc_unlocked): Likewise.
19410         (getchar_unlocked): Likewise.
19411         (putc_unlocked): Likewise.
19412         (putchar_unlocked): Likewise.
19414 2016-04-27  Florian Weimer  <fweimer@redhat.com>
19416         [BZ #19868]
19417         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
19418         DNS packet syntax checks (which were not needed before).  Skip
19419         over non-PTR records.
19421 2016-04-27  Florian Weimer  <fweimer@redhat.com>
19423         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
19424         definition.  Include <stddef.h> instead.
19426 2016-04-27  Florian Weimer  <fweimer@redhat.com>
19428         [BZ #19831]
19429         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
19430         function.
19431         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
19432         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
19434 2016-04-27  Florian Weimer  <fweimer@redhat.com>
19436         [BZ #19862]
19437         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
19438         (getanswer_r): Do not call syslog.
19439         (gaih_getanswer_slice): Likewise.
19440         * resolv/gethnamaddr.c (AskedForGot): Remove.
19441         (getanswer): Do not call syslog.
19442         (gethostbyaddr): Likewise.
19444 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
19446         * conform/data/signal.h-data (union sigval): Expect also if
19447         [XOPEN2K].
19448         (struct sigevent): Likewise.
19449         (SIGEV_NONE): Likewise.
19450         (SIGEV_SIGNAL): Likewise.
19451         (SIGEV_THREAD): Likewise.
19452         (SIGRTMIN): Likewise.
19453         (SIGRTMAX): Likewise.
19454         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
19455         variable.
19456         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
19458 2016-04-27  Florian Weimer  <fweimer@redhat.com>
19460         [BZ #19830]
19461         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
19462         (gaih_getanswer_slice): Likewise.
19463         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
19464         Also check for availability of RR metadata.
19466 2016-04-27  Florian Weimer  <fweimer@redhat.com>
19468         [BZ #19825]
19469         * resolv/res_send.c (send_vc): Remove early *resplen2
19470         initialization.  Set *resplen2 on socket error.  Call
19471         close_and_return_error for other errors.
19473 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
19475         * sysdeps/unix/sysv/linux/netiucv/iucv.h
19476         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
19477         (SCM_IUCV_TRGCLS): New define.
19479 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19481         [BZ #20005]
19482         * libio/fmemopen.c (fmemopen_write): Update internal position after
19483         write.
19484         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
19485         * stdio-common/tst-fmemopen4.c: New file..
19487 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
19489         [BZ #19996]
19490         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
19491         not [__USE_XOPEN2K].
19492         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
19493         variable.
19495         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
19496         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
19497         variable.
19499         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
19500         [__USE_XOPEN2K8].
19501         [__USE_LARGEFILE64] (off64_t): Likewise.
19502         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
19503         variable.
19505 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
19507         [BZ #19989]
19508         * libio/stdio.h (cuserid): Do not declare if
19509         [__USE_XOPEN2K && !__USE_GNU].
19510         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
19511         variable.
19513 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19515         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
19516         (sysdep_routines): Add P8 and PPC64 strcspn targets.
19517         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19518         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
19519         ifunc'ed strcspn.
19520         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
19521         [EALIGN]: Removed.
19522         [END]: Likewise
19523         [STRSPN]: Define instead of the above to control symbol name.
19524         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
19525         New file.
19526         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
19527         Likewise.
19528         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
19529         Likewise.
19530         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
19531         Likewise.
19532         * sysdeps/powerpc/powerpc64/power8/strspn.S:
19533         [INITIAL_MASK]: New macro.
19534         [STRCSPN]: Likewise.
19535         [UPDATE_MASK]: Likewise.
19536         [USE_AS_STRCSPN]: Likewise.
19538 2016-04-25  Florian Weimer  <fweimer@redhat.com>
19540         [BZ #19931]
19541         * stdio-common/tst-vfprintf-width-prec.c: New file.
19542         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
19543         (tests-special): Add tst-vfprintf-width-prec-mem.out.
19544         (generated): Add mtrace-related files.
19545         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
19546         (tst-%-mem.out): New pattern rule, replaces
19547         tst-printf-bz18872-mem.out.
19548         * stdio-common/vfprintf.c (vfprintf): When handling a precision
19549         specifier, deallocate any previously allocated work buffer.
19551 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
19553         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
19554         Add nop before __startcontext, add explaining comments.
19556 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
19558         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
19559         any more. Notably since IPV6_PKTINFO has been reintroduced with a
19560         completely different API.
19562         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
19563         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
19564         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
19565         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
19566         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
19567         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
19568         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
19569         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
19570         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
19571         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
19573 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
19575         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
19577 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
19579         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
19580         when it is the default of 0.
19582 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19584         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
19585         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
19586         (sysdep_routines): Add new strcasestr targets.
19587         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19588         (__libc_ifunc_impl_list): Likewise.
19589         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
19590         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
19591         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
19592         * sysdeps/powerpc/powerpc64/power8/Makefile:
19593         New file to add strcasestr-ppc64 to sysdep_routines.
19594         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
19595         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
19597 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
19599         * benchtests/Makefile (wcsmbs-benchset): Include only for
19600         native builds and runs.
19601         (LOCALES): Likewise.
19602         (bench-build): Build timing-type here instead of the bench
19603         target.  Generate locale only for native builds.
19604         * benchtests/README: Add note for cross-building.
19606         * benchtests/Makefile (bench-clean): Clean up extra-objs.
19608         * benchtests/README: Update README to include instructions on
19609         using bench-build.
19611         * Makefile.in (bench-build): New target.
19612         * Rules (PHONY): Add bench-build target.
19613         * benchtests/Makefile (bench): Depend on bench-build.
19614         (bench-build): New target.
19616 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19618         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
19619         profil_reply_port.
19620         (profile_waiter): Do not initialize profil_reply_port.
19621         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
19622         frequency instead of tick length in us.
19624 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
19626         [BZ #18712]
19627         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
19628         (__old_mempcpy_small): Likewise.
19629         (__old_strcpy_small): Likewise.
19630         (__old_stpcpy_small): Likewise.
19631         (__old_strpbrk_c2): Fix compat symbol name.
19632         (__old_strpbrk_c3): Likewise.
19633         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
19634         (__mempcpy_small): Remove.
19635         (__strcpy_small): Remove.
19636         (__stpcpy_small): Remove.
19638 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
19640         [BZ #19400]
19641         * locale/iso-639.def: Add the Talossan/tzl language.
19643 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
19645         [BZ #16983]
19646         * locale/programs/ld-address.c (address_finish): Update postal_fmt
19647         comment.  Add "ln" to strchr check on postal_fmt.
19649 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
19651         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
19652         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
19653         tel_dom_fmt.
19655 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19657         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
19658         (sysdep_routines): Added __strlen_power8.
19659         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
19660         __strlen_power8 entry.
19661         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
19662         Implementation for POWER8.
19663         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
19664         for __strlen_power8.
19665         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
19666         Implementation for POWER8.
19668 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
19670         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
19672 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
19674         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
19675         Goldmont and Airmont processors.
19677 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
19679         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
19680         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
19681         (__STRING2_SMALL_GET32): Remove.
19682         (memset): Remove.
19683         (__memset_1): Remove.
19684         (__memset_gc): Remove.
19685         (__mempcpy): Remove.
19686         (mempcpy): Remove.
19687         (__mempcpy_args): Remove.
19688         (strchr): Remove.
19689         (strcpy): Remove.
19690         (strcpy_args): Remove.
19691         (__stpcpy_args): Remove.
19692         (__strcmp_cc): Remove.
19693         (__strcmp_gc): Remove.
19694         (strstr): Remove.
19696 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
19698         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
19699         * nis/nis_call.c (nis_server_cache_add): Likewise.
19701 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19703         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
19705 2016-04-14  Florian Weimer  <fweimer@redhat.com>
19707         * malloc/arena.c (__malloc_fork_lock_parent)
19708         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
19709         internal_function attribute.
19711 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
19713         * stdio-common/printf_fp.c (__printf_fp_l):
19714         Rename ___printf_fp_l to __printf_fp_l and
19715         remove strong alias. Use libc_hidden_def instead
19716         of ldbl_hidden_def macro.
19718 2016-04-14  Florian Weimer  <fweimer@redhat.com>
19720         Remove malloc hooks from fork handler.  They are no longer needed
19721         because malloc runs right before fork, and no malloc calls from
19722         other fork handlers are not possible anymore.
19723         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
19724         declarations.
19725         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
19726         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
19727         (atfork_recursive_cntr): Remove.
19728         (__malloc_fork_lock_parent): Do not override malloc hooks and
19729         thread_arena.
19730         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
19731         thread_arena.
19732         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
19733         thread_arena instead of save_arena.
19735 2016-04-14  Florian Weimer  <fweimer@redhat.com>
19737         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
19738         (thread_atfork, thread_atfork_static): Remove.
19739         * sysdeps/mach/hurd/malloc-machine.h:
19740         (thread_atfork, thread_atfork_static): Remove.
19742 2016-04-14  Florian Weimer  <fweimer@redhat.com>
19744         [BZ #19431]
19745         Run the malloc fork handler as late as possible to avoid deadlocks.
19746         * malloc/malloc-internal.h: New file.
19747         * malloc/malloc.c: Include it.
19748         * malloc/arena.c (ATFORK_MEM): Remove.
19749         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
19750         Update comment.
19751         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
19752         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
19753         Remove outdated comment.
19754         (ptmalloc_init): Do not call thread_atfork.  Remove
19755         thread_atfork_static.
19756         * malloc/tst-malloc-fork-deadlock.c: New file.
19757         * Makefile (tests): Add tst-malloc-fork-deadlock.
19758         (tst-malloc-fork-deadlock): Link against libpthread.
19759         * manual/memory.texi (Aligned Memory Blocks): Update safety
19760         annotation comments.
19761         * sysdeps/nptl/fork.c (__libc_fork): Call
19762         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
19763         __malloc_fork_unlock_child.
19764         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
19766 2016-04-14  Florian Weimer  <fweimer@redhat.com>
19768         [BZ #19613]
19769         Remove union wait.
19770         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
19771         (w_stopsig, w_stopval): Remove.
19772         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
19773         stat_loc argument.
19774         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
19775         (__WAIT_STATUS_DEFN): Remove.
19776         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
19777         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
19778         (wait, wait3, wait4): Use int * for the stat_loc argument.
19779         * posix/wait.c (__wait): Likewise.
19780         * posix/wait3.c (__wait3): Likewise.
19781         * posix/wait4.c (__wait4): Likewise.
19782         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
19783         (__WAIT_STATUS_DEFN): Remove.
19784         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
19785         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
19786         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
19787         argument.
19788         * sysdeps/posix/wait.c (__libc_wait): Likewise.
19789         * sysdeps/posix/wait3.c (__wait3): Likewise.
19790         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
19791         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
19792         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
19793         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
19794         stat_loc argument.
19795         * manual/process.texi (BSD Wait Functions): Remove union wait.
19797 2016-04-13  Andreas Schwab  <schwab@suse.de>
19799         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
19800         (test-extras): Add tst-tlsalign-vars.
19801         * math/Makefile: Wrap long lines.
19802         (libm-vec-test-wrappers): Define.
19803         (test-extras): Add $(libm-vec-test-wrappers).
19804         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
19805         * nss/Makefile (extra-test-objs): Add nss_test1.os.
19806         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
19807         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
19808         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
19809         (extra-test-objs): Add corresponding objects.
19811 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
19813         [BZ #19928]
19814         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
19815         New.
19816         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
19817         times of shared cache size.
19818         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
19819         (VMOVNT): New.
19820         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
19821         (VMOVNT): Likewise.
19822         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
19823         (VMOVNT): Likewise.
19824         (VMOVU): Changed to movups for smaller code sizes.
19825         (VMOVA): Changed to movaps for smaller code sizes.
19826         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
19827         comments.
19828         (PREFETCH): New.
19829         (PREFETCH_SIZE): Likewise.
19830         (PREFETCHED_LOAD_SIZE): Likewise.
19831         (PREFETCH_ONE_SET): Likewise.
19832         Rewrite to use forward and backward loops, which move 4 vector
19833         registers at a time, to support overlapping addresses and use
19834         non temporal store if size is above the threshold and there is
19835         no overlap between destination and source.
19837 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
19839         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
19840         Include dl-vdso.
19841         * sysdeps/unix/sysv/linux/mips/Versions: Add
19842         __vdso_clock_gettime.
19843         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
19844         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
19845         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
19846         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
19847         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
19848         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
19849         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
19850         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
19851         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
19853 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19855         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
19856         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
19857         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
19858         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
19859         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
19860         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
19861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
19862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
19863         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
19864         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
19865         syscalls generation.
19866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19867         [__NR_pwrite64] (__NR_write): Remove define.
19868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19869         [__NR_pwrite64] (__NR_write): Remove define.
19870         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
19871         Remove define.
19872         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
19873         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
19874         Remove define.
19875         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
19876         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
19877         Linux implementation as base.
19878         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
19880         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
19881         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
19882         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
19883         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
19884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
19885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
19886         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
19887         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
19888         syscall generation.
19889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19890         [__NR_pread64] (__NR_pread): Remove define.
19891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
19892         [__NR_pread64] (__NR_pread): Likewise.
19893         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
19894         define.
19895         (__libc_pread): Use SYSCALL_LL macro on offset argument.
19896         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
19897         Remove define.
19898         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
19899         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
19900         Linux implementation as base.
19901         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
19902         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
19903         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
19905         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
19906         definition.
19907         (__ALIGNMENT_COUNT): Likewise.
19908         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
19909         (__ALIGNMENT_COUNT): Likewise.
19910         (SYSCALL_LL): New define.
19911         (SYSCALL_LL64): Likewise.
19912         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
19913         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
19914         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
19915         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
19917         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19918         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
19919         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19920         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
19921         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
19922         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
19924 2016-04-11  Florian Weimer  <fweimer@redhat.com>
19926         [BZ #19865]
19927         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
19928         original buffer before retry.
19930 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19932         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
19933         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
19934         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
19935         GLRO(dl_auxv) list.
19936         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
19937         including <ldsodefs.h>.
19938         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
19940 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
19942         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
19943         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
19944         $(CPPFLAGS).
19946 2016-04-09  Khem Raj  <raj.khem@gmail.com>
19948         [BZ #17950]
19949         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
19950         Add -mfpmath=387.
19952 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
19954         * sysdeps/i386/configure.ac: Change == to = when calling test.
19955         * sysdeps/x86_64/configure.ac: Likewise.
19956         * sysdeps/i386/configure: Regenerated.
19957         * sysdeps/x86_64/configure: Likewise.
19959 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
19961         [BZ #16137]
19962         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
19963         * benchtests/bench-strcoll.c (input_files): Likewise.
19964         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
19965         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
19966         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
19968 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
19970         [BZ #19929]
19971         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
19972         [__USE_XOPEN2K8 && !__USE_GNU].
19973         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
19974         variable.
19976         [BZ #19925]
19977         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
19978         define if [!__USE_MISC && __USE_XOPEN2K].
19979         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
19980         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
19981         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
19982         Likewise.
19983         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
19984         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
19985         variable.
19986         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
19988 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19990         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
19991         (sysdep_routines): Add new strspn targets.
19992         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19993         (__libc_ifunc_impl_list): Add strspn.
19994         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
19995         New file.
19996         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
19997         Likewise.
19998         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
19999         Likewise.
20000         * sysdeps/powerpc/powerpc64/power8/strspn.S:
20001         Likewise.
20003 2016-04-07  Florian Weimer  <fweimer@redhat.com>
20005         * misc/hsearch_r.c: Include <limits.h>.
20007 2016-04-07  Florian Weimer  <fweimer@redhat.com>
20009         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
20011 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
20013         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
20014         (MEMCPY_SYMBOL): New.
20015         (MEMPCPY_SYMBOL): Likewise.
20016         (MEMMOVE_CHK_SYMBOL): Likewise.
20017         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
20018         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
20019         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
20020         Provide alias for memcpy in libc.a and ld.so.
20022 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
20024         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
20025         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
20026         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
20027         Disabled fro now.
20028         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
20029         symbols.  Properly check USE_MULTIARCH on __memset symbols.
20031 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
20033         * benchtests/Makefile (string-benchset): Add memcpy-large,
20034         memmove-large and memset-large.
20035         * benchtests/bench-memcpy-large.c: New file.
20036         * benchtests/bench-memmove-large.c: Likewise.
20037         * benchtests/bench-memmove-large.c: Likewise.
20038         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
20040 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
20042         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
20043         32-bit displacement to avoid long nop between instructions.
20045 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
20047         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
20048         a comment on VMOVU and VMOVA.
20050 2016-04-04  Florian Weimer  <fweimer@redhat.com>
20052         [BZ #19633]
20053         Use specified locale for number formatting in strfmon_l.
20054         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
20055         (__nl_lookup_word): New inline functions.
20056         * include/printf.h (__print_fp_l): Declare.
20057         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
20058         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
20059         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
20060         (___printf_fp): New function.
20061         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
20062         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
20063         * stdlib/tst-strfmon_l.c (do_test): New test.
20064         * stdlib/Makefile (tests): Add kt.
20065         (LOCALES): Build additional locales.
20066         (tst-strfmon_l.out): Require locales.
20068 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
20070         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
20071         if not in libc.
20072         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
20073         Likewise.
20074         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
20075         Likewise.
20076         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
20077         Likewise.
20079 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
20081         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
20082         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
20083         with unaligned_erms.
20084         (__memmove_erms): Skip if source == destination.
20085         (__memmove_unaligned_erms): Don't check source == destination
20086         first.
20088 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
20090         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
20091         bit_arch_Fast_Copy_Backward for Intel Core proessors.
20093 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20095         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
20096         * string/strspn.c (strspn): Likewise.
20098 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
20100         * benchtests/bench-memset.c (do_test): Support 64-byte
20101         alignment.
20102         (test_main): Test 64-byte alignment.
20104 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
20106         * benchtests/bench-memmove.c (test_main): Test 64-byte
20107         alignment.
20109 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
20111         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
20113 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20115         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
20116         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
20117         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
20119         * string/strpbrk.c (strpbrk): Rewrite function.
20120         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
20121         (__strpbrk_c2): Likewise.
20122         (__strpbrk_c3): Likewise.
20123         * string/string-inlines.c
20124         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
20125         Likewise.
20126         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
20127         Likewise.
20129         * string/strspn.c (strcspn): Rewrite function.
20130         * string/bits/string2.h (strspn): Use __builtin_strcspn.
20131         (__strspn_c1): Remove inline function.
20132         (__strspn_c2): Likewise.
20133         (__strspn_c3): Likewise.
20134         * string/string-inlines.c
20135         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
20136         compatibility symbol.
20137         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
20138         Likewise.
20139         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
20140         Likewise.
20141         * string/string-inlines.c: Include generic version.
20143 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
20144             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20146         * string/Version (libc): Add GLIBC_2.24.
20147         * string/strcspn.c (strcspn): Rewrite function.
20148         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
20149         (__strcspn_c1): Remove inline function.
20150         (__strcspn_c2): Likewise.
20151         (__strcspn_c3): Likewise.
20152         * string/string-inline.c
20153         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
20154         compatibility symbol.
20155         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
20156         Likewise.
20157         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
20158         Likewise.
20159         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
20161 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
20163         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
20164         Use ahi instead of aghi to adjust stack pointer.
20166 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20168         [BZ #19853]
20169         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
20170         TEST to take significant digits as second parameter.
20171         [TEST]: Redefine in terms of TEST_N taking 30
20172         significant digits.
20173         (do_test): Add test case to demonstrate precision
20174         failure in the ldbl-128ibm printf.
20175         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
20176         (__mpn_extract_long_double): Carry 7 extra intermediate
20177         bits of precision to aide computing difference when
20178         signs differ.
20180 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
20182         [BZ #19881]
20183         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20184         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
20185         memset-avx512-unaligned-erms.
20186         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20187         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
20188         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
20189         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
20190         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
20191         __memset_sse2_unaligned_erms, __memset_erms,
20192         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
20193         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
20194         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
20195         file.
20196         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
20197         Likewise.
20198         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
20199         Likewise.
20200         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
20201         Likewise.
20203 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
20205         [BZ #19776]
20206         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20207         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
20208         memmove-avx512-unaligned-erms.
20209         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20210         (__libc_ifunc_impl_list): Test
20211         __memmove_chk_avx512_unaligned_2,
20212         __memmove_chk_avx512_unaligned_erms,
20213         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
20214         __memmove_chk_sse2_unaligned_2,
20215         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
20216         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
20217         __memmove_avx512_unaligned_erms, __memmove_erms,
20218         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
20219         __memcpy_chk_avx512_unaligned_2,
20220         __memcpy_chk_avx512_unaligned_erms,
20221         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
20222         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
20223         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
20224         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
20225         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
20226         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
20227         __mempcpy_chk_avx512_unaligned_erms,
20228         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
20229         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
20230         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
20231         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
20232         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
20233         __mempcpy_erms.
20234         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
20235         file.
20236         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
20237         Likewise.
20238         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
20239         Likewise.
20240         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
20241         Likewise.
20243 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
20245         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
20246         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
20247         (La_s390_64_regs): Likewise.
20248         (La_s390_32_retval): Append vector register lrv_v24.
20249         (La_s390_64_retval): Likeweise.
20250         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
20251         Handle extended structs La_s390_32_regs and La_s390_32_retval.
20252         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
20253         Handle extended structs La_s390_64_regs and La_s390_64_retval.
20255 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
20257         [BZ #19916]
20258         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
20259         to create a non-vector/vector version for _dl_runtime_resolve and
20260         _dl_runtime_profile. Move implementation to ...
20261         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
20262         (_dl_runtime_resolve) Save and restore fpr/vrs.
20263         (_dl_runtime_profile) Save and restore vrs and fix some issues
20264         if _dl_call_pltexit is called.
20265         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
20266         Choose the correct resolver function if running on a machine with vx.
20267         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
20268         to create a non-vector/vector version for _dl_runtime_resolve and
20269         _dl_runtime_profile. Move implementation to ...
20270         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
20271         (_dl_runtime_resolve) Save and restore fpr/vrs.
20272         (_dl_runtime_profile) Save and restore vrs and fix some issues
20273         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
20274         Choose the correct resolver function if running on a machine with vx.
20276 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20278         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
20280 2016-03-31  Florian Weimer  <fweimer@redhat.com>
20282         [BZ #19509]
20283         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
20284         skip_map != NULL.
20285         * elf/tst-dlsym-error.c: New file.
20286         * elf/Makefile (tests): Add tst-dlsym-error.
20287         (tst-dlsym-error): Link against libdl.
20289 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
20291         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20292         (__ASSUME_FUTIMESAT): Remove macro.
20293         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
20295 2016-03-29  Florian Weimer  <fweimer@redhat.com>
20297         [BZ #19879]
20298         CVE-2016-3075
20299         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
20300         copy name.
20302 2016-03-29  Florian Weimer  <fweimer@redhat.com>
20304         [BZ #19837]
20305         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
20306         error if parse_line fails.
20308 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
20310         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
20311         (index_cpu_ERMS): Likewise.
20312         (reg_ERMS): Likewise.
20314 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
20316         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
20317         PER_LINUX_FDPIC): Add.
20319 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
20321         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20322         memcpy-avx512-no-vzeroupper.
20323         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
20324         to ...
20325         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
20326         (MEMCPY): Don't define.
20327         (MEMCPY_CHK): Likewise.
20328         (MEMPCPY): Likewise.
20329         (MEMPCPY_CHK): Likewise.
20330         (MEMPCPY_CHK): Renamed to ...
20331         (__mempcpy_chk_avx512_no_vzeroupper): This.
20332         (MEMPCPY_CHK): Renamed to ...
20333         (__mempcpy_chk_avx512_no_vzeroupper): This.
20334         (MEMCPY_CHK): Renamed to ...
20335         (__memmove_chk_avx512_no_vzeroupper): This.
20336         (MEMCPY): Renamed to ...
20337         (__memmove_avx512_no_vzeroupper): This.
20338         (__memcpy_avx512_no_vzeroupper): New alias.
20339         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
20341 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
20343         [BZ #18858]
20344         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20345         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
20346         and mempcpy-avx512-no-vzeroupper.
20347         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
20348         New.
20349         (MEMPCPY): Likewise.
20350         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
20351         (MEMPCPY_CHK): New.
20352         (MEMPCPY): Likewise.
20353         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
20354         (MEMPCPY): Likewise.
20355         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
20356         (MEMPCPY): Likewise.
20357         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
20358         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
20359         Likewise.
20360         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
20361         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
20363 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
20364              Amit Pawar  <Amit.Pawar@amd.com>
20366         [BZ #19583]
20367         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
20368         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
20369         processors.  Set Fast_Copy_Backward for AMD Excavator
20370         processors.
20371         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
20372         New.
20373         (index_arch_Fast_Unaligned_Copy): Likewise.
20374         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
20375         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
20377 2016-03-25  Florian Weimer  <fweimer@redhat.com>
20379         [BZ #19791]
20380         * resolv/res_send.c (close_and_return_error): New function.
20381         (send_dg): Initialize *resplen2 after reopen failure.  Call
20382         close_and_return_error for error returns.  On error paths without
20383         __res_iclose, initialze *resplen2 explicitly.  Update comment for
20384         successful return.
20386 2016-03-25  Florian Weimer  <fweimer@redhat.com>
20388         [BZ #19860]
20389         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
20390         zero if the compiler does not provide the AVX512F bit.
20392 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
20394         [BZ #19848]
20395         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
20396         from 8 to 4.
20397         (__ieee754_powl): Compare integer exponent against 4 not 8.
20398         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
20399         from 8 to 4.
20400         (__ieee754_powl): Compare integer exponent against 4 not 8.
20401         * math/auto-libm-test-in: Add more tests of pow.
20402         * math/auto-libm-test-out: Regenerated.
20403         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
20404         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20406 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
20408         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
20409         Make code unconditional.
20410         [!__NR_utimensat]: Remove conditional code.
20411         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
20412         Make code unconditional.
20413         [!__NR_utimensat]: Remove conditional code.
20414         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
20415         Make code unconditional.
20416         [!__NR_utimensat]: Remove conditional code.
20418 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
20420         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
20421         Make code unconditional.
20423 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
20425         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
20426         call-clobbered %eax on retry path.
20427         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
20429 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
20431         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
20432         Don't set %rcx twice before "rep movsb".
20434 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
20436         [BZ #19583]
20437         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
20438         inline.  Check family before setting family, model and
20439         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
20440         bits here.
20441         (init_cpu_features): Replace HAS_CPU_FEATURE and
20442         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
20443         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
20444         for Intel processors with usable AVX2.  Call get_common_indeces
20445         for other processors with family == NULL.
20446         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
20447         (CPU_FEATURES_ARCH_P): Likewise.
20448         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
20449         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
20451 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20453         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
20454         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
20455         $(shared-thread-library) instead of hardcoding the path to libpthread.
20457 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
20459         * sysdeps/unix/sysv/linux/kernel-features.h
20460         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
20461         * sysdeps/unix/sysv/linux/getdents.c
20462         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
20463         [!have_no_getdents64_defined]: Likewise.
20464         (__GETDENTS): Remove __have_no_getdents64 conditional.
20466 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
20468         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
20469         Remove macro.
20470         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
20471         <kernel-features.h>.
20472         (signalfd) [__NR_signalfd4]: Make code unconditional.
20473         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
20475 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20477         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
20478         style.
20480 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
20482         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
20483         (__pthread_enable_asynccancel): Use JUMPTARGET to call
20484         __pthread_unwind.
20485         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
20486         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
20487         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
20488         (__condvar_cleanup1): Likewise.
20490 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
20492         [BZ #19822]
20493         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
20494         move it to the final $@ location.
20496 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20498         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
20499         access where posix_spawn success and pid argument is null.
20500         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
20501         success case.
20503 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
20505         * sysdeps/mach/hurd/i386/c++-types.data: New file.
20507         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
20509         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
20510         and __fcntl.
20511         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
20512         __fcntl only.
20513         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
20514         adding attribute_hidden to __open and __fcntl.
20516         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
20517         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
20518         depend on libc-modules.h,
20519         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
20521 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
20523         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
20524         Remove macro.
20525         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
20526         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
20527         entry.
20529         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
20530         Remove macro.
20531         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
20532         include <kernel-features.h>.
20533         [!__ASSUME_FALLOCATE]: Remove conditional code.
20534         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
20536 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
20538         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
20539         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
20540         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
20541         (_ZGVdN4v_cos_avx2): Likewise.
20542         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
20543         (_ZGVdN4v_cos): Likewise.
20544         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
20545         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
20546         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
20547         (_ZGVdN4v_exp_avx2): Likewise.
20548         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
20549         (_ZGVdN4v_exp): Likewise.
20550         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
20551         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
20552         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
20553         (_ZGVdN4v_log_avx2): Likewise.
20554         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
20555         (_ZGVdN4v_log): Likewise.
20556         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
20557         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
20558         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
20559         (_ZGVdN4vv_pow_avx2): Likewise.
20560         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
20561         (_ZGVdN4vv_pow): Likewise.
20562         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
20563         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
20564         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
20565         (_ZGVdN4v_sin_avx2): Likewise.
20566         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
20567         (_ZGVdN4v_sin): Likewise.
20568         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
20569         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
20570         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
20571         (_ZGVdN4vvv_sincos_avx2): Likewise.
20572         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
20573         (_ZGVdN4vvv_sincos): Likewise.
20574         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
20575         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
20576         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
20577         (_ZGVbN4v_cosf_sse4): Likewise.
20578         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
20579         (_ZGVdN8v_cosf_avx2): Likewise.
20580         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
20581         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
20582         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
20583         (_ZGVbN4v_expf_sse4): Likewise.
20584         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
20585         (_ZGVdN8v_expf_avx2): Likewise.
20586         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
20587         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
20588         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
20589         (_ZGVbN4v_logf_sse4): Likewise.
20590         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
20591         (_ZGVdN8v_logf_avx2): Likewise.
20592         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
20593         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
20594         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
20595         (_ZGVbN4vv_powf_sse4): Likewise.
20596         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
20597         (_ZGVdN8vv_powf_avx2): Likewise.
20598         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
20599         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
20600         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
20601         (_ZGVbN4vvv_sincosf_sse4): Likewise.
20602         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
20603         (_ZGVdN8vvv_sincosf_avx2): Likewise.
20604         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
20605         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
20606         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
20607         (_ZGVbN4v_sinf_sse4): Likewise.
20608         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
20609         (_ZGVdN8v_sinf_avx2): Likewise.
20610         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
20611         Use JUMPTARGET to call callee.
20612         (WRAPPER_IMPL_SSE2_ff): Likewise.
20613         (WRAPPER_IMPL_SSE2_fFF): Likewise.
20614         (WRAPPER_IMPL_AVX): Likewise.
20615         (WRAPPER_IMPL_AVX_ff): Likewise.
20616         (WRAPPER_IMPL_AVX_fFF): Likewise.
20617         (WRAPPER_IMPL_AVX512): Likewise.
20618         (WRAPPER_IMPL_AVX512_ff): Likewise.
20619         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
20620         Likewise.
20621         (WRAPPER_IMPL_SSE2_ff): Likewise.
20622         (WRAPPER_IMPL_SSE2_fFF): Likewise.
20623         (WRAPPER_IMPL_AVX): Likewise.
20624         (WRAPPER_IMPL_AVX_ff): Likewise.
20625         (WRAPPER_IMPL_AVX_fFF): Likewise.
20626         (WRAPPER_IMPL_AVX512): Likewise.
20627         (WRAPPER_IMPL_AVX512_ff): Likewise.
20628         (WRAPPER_IMPL_AVX512_fFF): Likewise.
20630 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20632         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
20633         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
20634         qualifier.
20635         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
20636         internal_function qualifiers.
20638 2016-03-15  Carlos O'Donell <carlos@redhat.com>
20640         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
20641         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
20642         * math/atest-exp.c (exp_mpn): Mark chk unused.
20643         * math/atest-exp2.c (exp_mpn): Likewise.
20644         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
20645         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
20647 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
20649         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
20650         Remove macro.
20651         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
20652         <kernel-features.h>.
20653         [__NR_ppoll]: Make code unconditional.
20654         [!__ASSUME_PPOLL]: Remove conditional code.
20656         * sysdeps/unix/sysv/linux/kernel-features.h
20657         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
20658         (__ASSUME_ACCEPT4): Likewise.
20659         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20660         Define.
20661         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
20662         Likewise.
20663         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20664         Likewise.
20665         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
20666         Likewise.
20667         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
20668         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
20669         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20670         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
20671         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20672         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20673         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20674         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20675         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20676         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20677         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20678         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20679         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20680         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20681         * sysdeps/unix/sysv/linux/i386/kernel-features.h
20682         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20683         Likewise.
20684         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20685         Likewise.
20686         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
20687         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
20688         0x040300].
20689         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20690         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
20691         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20692         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
20693         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
20694         0x030300].
20695         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
20696         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20697         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
20698         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
20699         0x040300].
20700         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20701         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20702         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20703         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
20704         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20705         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
20706         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
20707         0x030300].
20708         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20709         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
20710         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20711         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20712         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
20713         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20714         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20715         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20716         * sysdeps/unix/sysv/linux/s390/kernel-features.h
20717         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
20718         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
20719         0x040300].
20720         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20721         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20722         * sysdeps/unix/sysv/linux/sh/kernel-features.h
20723         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
20724         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20725         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20726         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
20727         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20728         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20729         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20730         * sysdeps/unix/sysv/linux/tile/kernel-features.h
20731         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20732         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20733         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20734         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
20735         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20736         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20737         Likewise.
20738         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20739         Likewise.
20741 2016-03-15  Andreas Schwab  <schwab@suse.de>
20743         [BZ #19257]
20744         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
20745         statp->_u._ext.nscount as loop count.
20747 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
20749         * math/test-signgam-finite-c99.c: Also #undef
20750         __LIBC_INTERNAL_MATH_INLINES.
20751         * math/test-signgam-main.c: Likewise.
20753 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
20755         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
20756         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
20757         (MADV_FREE): Likewise.
20758         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
20759         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
20760         EPOLLEXCLUSIVE.
20762 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
20764         * timezone/README: Remove mention of checktab.awk. Mention wiki
20765         SharedSourceFiles.
20767 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
20769         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
20770         WUNTRACED.
20772 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20774         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
20775         order to match the type of p when calling atomic_exchange_acq().
20777 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20779         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
20780         cfi_offset calls.
20781         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
20782         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
20783         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
20784         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
20785         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
20787 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
20789         * timezone/checktab.awk: Removed.
20791 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
20793         * manual/math.texi (Errors in Math Functions): Document relaxed
20794         accuracy goals for IBM long double.
20795         * math/libm-test.inc (test_exceptions): Always allow spurious
20796         "underflow" and "inexact" exceptions for IBM long double.
20798 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
20800         [BZ #19762]
20801         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
20802         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
20803         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
20804         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
20805         (bit_arch_*): This for feature array.
20806         (bit_*): Renamed to ...
20807         (bit_cpu_*): This for cpu array.
20808         (index_*): Renamed to ...
20809         (index_arch_*): This for feature array.
20810         (index_*): Renamed to ...
20811         (index_cpu_*): This for cpu array.
20812         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
20813         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
20814         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
20815         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
20816         bit_##name with index_cpu_##name and bit_cpu_##name.
20817         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
20818         bit_##name with index_arch_##name and bit_arch_##name.
20820 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
20822         [BZ #19792]
20823         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
20824         Terminate FDE before return label.
20826 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
20828         [BZ #19790]
20829         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
20830         (rintl): Define as macro.
20831         [USE_AS_NEARBYINTL] (__rintl): Likewise.
20832         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
20833         of fesetround.  Ensure results are evaluated before end of scope.
20834         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
20835         USE_AS_NEARBYINTL and include s_rintl.c.
20836         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
20837         Disable exception traps in new environment.
20838         (libc_feholdsetround_ppc_ctx): Likewise.
20840 2016-03-08  Roland McGrath  <roland@hack.frob.com>
20842         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
20843         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
20844         (tst_audit10_aux) [__AVX512F__]: ... here.
20846 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
20848         * include/sys/auxv.h: New file.
20850 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
20852         [BZ #19759]
20853         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
20855 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
20857         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
20858         operand modifier.
20859         (feclearexcept): Likewise.
20861 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20863         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
20864         to reflect the entire 32-bit HWCAP.
20865         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
20866         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
20868 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
20870         [BZ #19783]
20871         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
20872         $(test-via-rtld-prefix).
20873         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
20875 2016-03-08  Florian Weimer  <fweimer@redhat.com>
20877         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
20878         union wait.  Report any non-zero exit status as error.
20880 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20882         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
20883         configured with --enable-hardcoded-path-in-tests.
20885 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
20887         [BZ #19677]
20888         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
20889         (__ieee754_remainderl): Put zero low parts in canonical form.
20890         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
20891         file.  Based on
20892         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
20893         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
20894         with wrapper round test-fmodrem-ldbl-128ibm.c.
20895         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
20896         file.
20897         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
20898         Likewise.
20899         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
20900         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
20902 2016-03-07  Florian Weimer  <fweimer@redhat.com>
20904         [BZ #19610]
20905         * elf/ldconfig.c (opt_link): Update comment.
20906         (options): Update help string for option -X.
20907         (search_dir): Unlink stale symbolic link only if updating symbolic
20908         links.
20909         * elf/tst-ldconfig-X.sh: New file.
20910         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
20911         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
20913 2016-03-07  Andreas Schwab  <schwab@suse.de>
20915         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
20916         needed arguments.
20918 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
20920         [BZ #15333]
20921         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
20922         to lstat64.
20924 2016-03-07  Florian Weimer  <fweimer@redhat.com>
20926         * libio/filedoalloc.c (isatty): Remove.
20927         (local_isatty): Add comment.  Call __isatty directly.
20928         (_IO_file_doallocate): Update comment.  Assume _LIBC.
20929         * libio/wfiledoalloc.c (isatty): Remove.
20930         (_IO_wfile_doallocate): Update comment.
20932 2016-03-07  Florian Weimer  <fweimer@redhat.com>
20934         [BZ #19269]
20935         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
20936         tst-audit4-aux.o.
20937         (tst-audit10): Depend on tst-audit10-aux.o.
20938         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
20939         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
20940         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
20941         instead of inline AVX code.
20942         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
20943         instead of inline AVX512 code.
20944         * sysdeps/x86_64/tst-audit4-aux.c: New file
20945         * sysdeps/x86_64/tst-audit10-aux.c: New file
20947         [BZ #19648]
20948         * test-skeleton.c (main): Do not set RLIMIT_DATA.
20950 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20952         [BZ #14750]
20953         [BZ #10354]
20954         [BZ #18433]
20955         * include/sched.h (__clone): Add hidden prototype.
20956         (__clone2): Likewise.
20957         * include/unistd.h (__dup): Likewise.
20958         * posix/Makefile (tests): Add tst-spawn2.
20959         * posix/tst-spawn2.c: New file.
20960         * sysdeps/posix/dup.c (__dup): Add hidden definition.
20961         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
20962         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
20963         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
20964         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
20965         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
20966         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
20967         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
20968         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
20969         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
20970         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
20971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
20972         Likewise.
20973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20974         Likewise.
20975         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
20976         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
20977         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
20978         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
20979         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
20980         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
20981         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
20982         * sysdeps/unix/sysv/linux/nptl-signals.h
20983         (____nptl_is_internal_signal): New function.
20984         * sysdeps/unix/sysv/linux/spawni.c: New file.
20986         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
20987         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
20988         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
20989         * posix/tst-execvp2.c (do_test): Likewise.
20990         * posix/tst-execvp3.c (do_test): Likewise.
20991         * posix/tst-execvp4.c (do_test): Likewise.
20992         * posix/tst-execvpe1.c: New file.
20993         * posix/tst-execvpe2.c: Likewise.
20994         * posix/tst-execvpe3.c: Likewise.
20995         * posix/tst-execvpe4.c: Likewise.
20996         * posix/tst-execvpe5.c: Likewise.
20997         * posix/tst-execvpe6.c: Likewise.
20999         [BZ #19534]
21000         * posix/execl.c (execl): Remove dynamic memory allocation.
21001         * posix/execle.c (execle): Likewise.
21002         * posix/execlp.c (execlp): Likewise.
21004 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
21006         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
21007         Replace .text with .text.avx512.
21008         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
21009         Likewise.
21011 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
21013         * sysdeps/generic/libnsl.abilist: New file.
21014         * sysdeps/generic/libutil.abilist: New file.
21016 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
21018         [BZ #19762]
21019         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
21020         HAS_ARCH_FEATURE with Fast_Rep_String.
21021         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
21022         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
21023         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
21024         Likewise.
21025         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
21026         Likewise.
21027         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
21028         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
21029         Likewise.
21030         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
21031         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
21032         Likewise.
21034 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
21036         [BZ #19745]
21037         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
21038         with *%rax in call.
21040 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
21042         [BZ #19745]
21043         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
21044         with *__libc_start_main@GOTPCREL(%rip) in call.
21046 2016-03-04  Roland McGrath  <roland@hack.frob.com>
21048         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
21049         inside conditional for nonempty $(CXX).
21051         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
21052         nonempty.
21054         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
21055         to test for empty $(CXX) rather than $(CXX) of "no".
21057 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
21059         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
21061 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
21062             H.J. Lu  <hongjiu.lu@intel.com>
21064         [BZ #18880]
21065         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
21066         instead of Slow_BSF, and also check for Fast_Copy_Backward to
21067         enable __memcpy_ssse3_back.
21069 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
21071         [BZ #19758]
21072         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
21073         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
21075 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
21077         [BZ #19490]
21078         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
21079         (__fentry__): Likewise.
21081 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
21083         * gmon/Makefile (noprof): Add $(sysdep_noprof).
21084         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
21086 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
21088         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
21089         __mcount_internal directly.
21090         (C_LABEL(__fentry__)): Likewise.
21091         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
21092         directly.
21094 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
21096         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21097         (__start_context): Call __setcontext directly.
21099 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
21101         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21102         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
21103         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
21104         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
21105         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21106         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
21107         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
21108         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
21109         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
21110         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
21111         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
21112         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
21113         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21114         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
21115         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
21116         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21117         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
21118         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21119         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
21120         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
21121         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
21122         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21123         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
21124         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
21125         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
21126         Remove conditional code.
21127         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
21128         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
21129         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
21130         * sysdeps/unix/sysv/linux/sh/kernel-features.h
21131         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
21132         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
21133         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
21134         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
21135         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
21136         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
21137         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21138         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
21140 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
21142         * NEWS (2.23): Fix typo in bug 19048 text.
21144 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
21146         [BZ #14259]
21147         * Makeconfig: Rename msgcatdir to localedir.
21148         Rename inst_msgcatdir to inst_localedir.
21149         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
21150         * config.make.in: Add localedir.
21151         * elf/Makefile ($(objpfx)sotruss): Use localedir.
21152         (ldd-rewrite): Likewise.
21153         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
21154         (install-others): Use inst_localedir.
21155         (CPPFLAGS): Use localedir.
21156         * locale/Makefile (locale-CPPFLAGS): Likewise.
21157         * po/Makefile (mo-installed): Use inst_localedir.
21159         [BZ #19575]
21160         * localedata/charmaps/GB18030: Update comments regarding PAU to
21161         non-PUA mappings.
21163 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
21165         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
21166         test for header.
21167         * sysdeps/unix/sysv/linux/configure: Regenerated.
21168         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
21169         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
21170         Remove conditional code.
21171         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
21173         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
21174         Define to 3.2.0.
21175         (arch_minimum_kernel): Likewise.
21176         * sysdeps/unix/sysv/linux/configure: Regenerated.
21177         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
21178         Define to 2.6.32.
21179         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
21180         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
21181         (arch_minimum_kernel): Define to 2.6.32.
21182         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
21183         * README: Document Linux 3.2 requirement.
21184         * manual/install.texi (Linux): Document Linux 3.2 headers
21185         requirement.
21186         * INSTALL: Regenerated.
21188 2016-02-24  Andreas Schwab  <schwab@suse.de>
21190         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
21191         if !NO_LONG_DOUBLE.
21193 2016-02-22  Roland McGrath  <roland@hack.frob.com>
21195         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
21196         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
21198 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
21200         [BZ #19512]
21201         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
21203 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
21205         * posix/tst-dir.c: Include libc-internal.h.
21207 2016-02-20  Florian Weimer  <fweimer@redhat.com>
21209         [BZ #19056]
21210         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
21211         * manual/filesys.texi (Reading/Closing Directory): Mention
21212         deprecaion.
21213         * posix/tst-dir.c (main): Disable deprecation warning in test.
21215 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
21217         [BZ #19679]
21218         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
21219         Renamed to ...
21220         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
21221         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
21222         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
21223         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
21224         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
21225         * sysdeps/x86_64/dl-trampoline.h
21226         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
21227         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
21229 2016-02-19  Mark Wielaard  <mjw@redhat.com>
21231         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
21233 2016-02-19  Mark Wielaard  <mjw@redhat.com>
21235         * elf/elf.h (R_386_GOT32X): New.
21236         (R_386_NUM): Update.
21237         (R_X86_64_GOTPCRELX: New.
21238         (R_X86_64_REX_GOTPCRELX): New.
21239         (R_X86_64_NUM): Update.
21241 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
21243         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
21245 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
21247         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
21248         assign attr->stackaddr to it, and adjust it down when
21249         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
21250         [_STACK_GROWS_UP]: Delete assert.
21251         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
21252         Implement stack grows up logic.
21253         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
21254         stack grows up logic.
21256 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21258         * NEWS: Update with 2.24 template.
21260 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
21262         [BZ #19678]
21263         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
21264         Ensure +0.0 is returned when taking the next value below the least
21265         positive value.
21267 2016-02-19  Florian Weimer  <fweimer@redhat.com>
21269         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
21270         available.  Do not define NO_THREADS.
21271         * malloc/malloc.c: Do not check NO_THREADS.
21272         * malloc/arena.c: Likewise.
21274 2016-02-19  Florian Weimer  <fweimer@redhat.com>
21276         * malloc/malloc.c (__libc_mallinfo): Update comment.
21277         (struct malloc_par): Remove max_total_mem member, it was always 0.
21278         (int_mallinfo): Store 0 into usmblks (no functional change).
21279         * malloc/hooks.c (struct malloc_state): Document that
21280         max_total_mem is always 0.
21281         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
21282         always 0.
21283         * manual/memory.texi (Statistics of Malloc): Likewise.
21285 2016-02-19  Florian Weimer  <fweimer@redhat.com>
21287         * malloc/malloc.c (sysmalloc): Do not update arena_max.
21288         * malloc/arena.c (arena_max): Remove.
21289         (heap_trim, _int_new_arena): Do not update arena_max.
21291 2016-02-19  Florian Weimer  <fweimer@redhat.com>
21293         * resolv/res_init.c (res_ninit): Update comment.
21295 2016-02-19  Florian Weimer  <fweimer@redhat.com>
21297         [BZ #19505]
21298         * posix/spawn_int.h: Add headers and include guard.
21299         (__spawn_valid_fd): New function.
21300         * posix/spawn_faction_addopen.c
21301         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
21302         * posix/spawn_faction_addclose.c
21303         (posix_spawn_file_actions_addclose): Likewise.
21304         * posix/spawn_faction_adddup2.c
21305         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
21306         second file descriptor.
21307         * posix/spawn_valid_fd.c: New file.
21308         * posix/tst-posix_spawn-fd.c: New file.
21309         * posix/Makefile (routines): Add spawn_valid_fd.
21310         (tests): Add tst-posix_spawn-fd.
21312 2016-02-19  Florian Weimer  <fweimer@redhat.com>
21314         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
21315         (do_test): Limit the number of arenas, so that we can use fewer
21316         outer threads.  Limit timeout to 3 seconds, in preparation for a
21317         larger TIMEOUT value.
21319 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
21321         [BZ #19674]
21322         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
21323         sign in overflowing and underflowing results when overflow or
21324         underflow is detected early.  Include sign in result before rather
21325         than after scaling.
21327         [BZ #19603]
21328         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
21329         (__ieee754_remainderl): Adjust sign of integer version of low part
21330         when taking absolute value of high part.
21331         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
21332         * math/libm-test.inc (remainder_test_data): Add another test.
21333         (remquo_test_data): Likewise.
21335 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
21337         [BZ #19602]
21338         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
21339         equal high parts and both low parts zero specially.
21340         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
21341         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
21342         Add test-fmodl-ldbl-128ibm.
21344         [BZ #19595]
21345         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
21346         common logic for all cases of shifting subnormal results.  Do not
21347         insert sign bit in shifted mantissa.  Always pass -1023 as biased
21348         exponent to ldbl_insert_mantissa in subnormal case.
21350         [BZ #19594]
21351         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
21352         on high and low parts then adjust result and use
21353         ldbl_canonicalize_int if needed.
21355         [BZ #19593]
21356         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
21357         on high part and __floor or __ceil on low part then use
21358         ldbl_canonicalize_int if needed.
21360         [BZ #19592]
21361         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
21362         high and low parts then use ldbl_canonicalize_int if needed.
21364         [BZ #17899]
21365         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
21366         New function.
21367         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
21368         on high and low parts then use ldbl_canonicalize_int if needed.
21370 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21372         * configure: Regenerated.
21374         * po/libc.pot: Regenerated.
21376         * po/be.po: Updated translation.
21377         * po/bg.po: Likewise.
21378         * po/ca.po: Likewise.
21379         * po/cs.po: Likewise.
21380         * po/da.po: Likewise.
21381         * po/el.po: Likewise.
21382         * po/eo.po: Likewise.
21383         * po/es.po: Likewise.
21384         * po/fi.po: Likewise.
21385         * po/fr.po: Likewise.
21386         * po/gl.po: Likewise.
21387         * po/hr.po: Likewise.
21388         * po/hu.po: Likewise.
21389         * po/ia.po: Likewise.
21390         * po/id.po: Likewise.
21391         * po/it.po: Likewise.
21392         * po/ja.po: Likewise.
21393         * po/lt.po: Likewise.
21394         * po/nb.po: Likewise.
21395         * po/nl.po: Likewise.
21396         * po/pt_BR.po: Likewise.
21397         * po/rw.po: Likewise.
21398         * po/sk.po: Likewise.
21399         * po/sl.po: Likewise.
21400         * po/sv.po: Likewise.
21401         * po/tr.po: Likewise.
21402         * po/zh_CN.po: Likewise.
21403         * po/zh_TW.po: Likewise.
21405         * version.h (RELEAES): Set to "development".
21406         (VERSION): Set to 2.23.90.
21408         * version.h (RELEASE): Set to "stable".
21409         (VERSION): Set to 2.23.
21410         * include/feature.h (__GLIBC_MINOR__): Set to 23.
21412         * NEWS: Updated fixed bugs.
21414 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
21415             Wilco Dijkstra  <wdijkstr@arm.com>
21417         [BZ #19462]
21418         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
21419         (_STRING_INLINE_unaligned): This.
21420         * include/string.h: Include <string_private.h>.
21421         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
21422         _STRING_INLINE_unaligned.
21423         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
21424         (_STRING_INLINE_unaligned): New.
21425         * sysdeps/aarch64/string_private.h: New file.
21426         * sysdeps/generic/string_private.h: Likewise.
21427         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
21428         * sysdeps/s390/string_private.h: Likewise.
21429         * sysdeps/x86/string_private.h: Likewise.
21430         * sysdeps/m68k/m680x0/m68020/bits/string.h
21431         (_STRING_ARCH_unaligned): Renamed to ...
21432         (_STRING_INLINE_unaligned): This.
21433         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
21434         to ...
21435         (_STRING_INLINE_unaligned): This.
21436         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
21437         to ...
21438         (_STRING_INLINE_unaligned): This.
21439         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
21440         to ...
21441         (_STRING_INLINE_unaligned): This.
21443 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
21444             H.J. Lu  <hongjiu.lu@intel.com>
21446         [BZ #19590]
21447         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
21448         relocation.
21450 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
21452         [BZ #18665]
21453         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
21454         *herrno_p.
21455         (gaih_getanswer): Document functional behviour. Return tryagain
21456         if any result is tryagain.
21457         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
21458         when freed.
21459         * resolv/res_send.c: Add copyright text.
21460         (__libc_res_nsend): Document that MAXPACKET is expected.
21461         (send_vc): Document. Remove buffer reuse.
21462         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
21463         size of the buffer. Add Dprint for truncated UDP buffer.
21465 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
21467         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
21468         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
21469         * INSTALL: Regenerate.
21471 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
21472             Jonathan Wakely  <jwakely@redhat.com>
21473             Carlos O'Donell  <carlos@redhat.com>
21475         [BZ 19439]
21476         * math/Makefile (tests): Add test-math-isinff.
21477         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
21478         * math/bits/mathcalls.h [__USE_MISC]: Use
21479         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
21480         functions not in C++11 and which don't conflict e.g. isinff,
21481         isinfl etc.
21482         * math/test-math-isinff.cc: New file.
21484 2016-02-12  Florian Weimer  <fweimer@redhat.com>
21486         * misc/bug18240.c (do_test): Set RLIMIT_AS.
21488 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21490         [BZ #19529]
21491         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
21493 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21495         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
21497 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
21499         [BZ #19550]
21500         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
21501         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
21502         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
21503         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
21504         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
21505         New syscall entry.
21506         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
21507         New syscall entry.
21508         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
21509         syscall entry.
21511 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
21513         [BZ #18240]
21514         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
21515         unsigned int wraparound.
21517 2016-01-27  Florian Weimer  <fweimer@redhat.com>
21519         [BZ #18240]
21520         * misc/bug18240.c: New test.
21521         * misc/Makefile (tests): Add it.
21523 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
21524             Joseph Myers  <joseph@codesourcery.com>
21526         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
21527         load in branch delay slot when less than a word of input left.
21529 2016-01-27  Andreas Schwab  <schwab@suse.de>
21531         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
21532         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
21533         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
21534         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
21536 2016-01-26  David S. Miller  <davem@davemloft.net>
21538         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
21540 2016-01-25  David S. Miller  <davem@davemloft.net>
21542         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
21543         __sqrtl_finite.
21544         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
21545         instead using versioned_symbol.
21546         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
21547         of entries.
21549         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
21550         __sqrtl_finite to GLIBC_2.23
21552 2016-01-25  Ricchard Henderson  <rth@redhat.com>
21554         * sysdeps/alpha/fpu/libm-test-ulps: Update.
21556 2016-01-25  Andreas Schwab  <schwab@suse.de>
21558         [BZ #17514]
21559         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
21560         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
21561         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
21562         * nptl/tst-mutex-errorcheck.c: New file.
21564 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21566         [BZ #18560]
21567         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
21568         (IPCOP_semop): Likewise.
21569         (IPCOP_semget): Likewise.
21570         (IPCOP_semctl): Likewise.
21571         (IPCOP_msgsnd): Likewise.
21572         (IPCOP_msgrcv): Likewise.
21573         (IPCOP_msgget): Likewise.
21574         (IPCOP_msgctl): Likewise.
21575         (IPCOP_shmat): Likewise.
21576         (IPCOP_shmdt): Likewise.
21577         (IPCOP_shmget): Likewise.
21578         (IPCOP_shmctl): Likewise.
21580 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
21582         * string/tst-endian.c: Include <libc-internal.h>.
21583         (do_test): Ignore tautological-compare warnings around
21584         "htobeXX (beXXtoh (i)) != i" and
21585         "htoleXX (leXXtoh (i)) != i" if-statements.
21587 2016-01-24  David S. Miller  <davem@davemloft.net>
21589         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
21590         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
21591         alias.
21592         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
21593         __sqrtl_finite.
21595         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21597 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
21599         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
21600         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
21601         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
21603 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21605         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
21606         (thread_func): Use new function to simplify barrier check.
21607         (do_test): Use new function to simplify checking barrier exit
21608         code, and actually join the child thread.
21610 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21612         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
21613         semicolon.
21614         (__libc_tend): Likewise.
21615         (__libc_tabort): Likewise.
21617 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
21619         * sysdeps/nios2/libm-test-ulps: Update.
21620         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
21621         (__gtsf2): Likewise.
21622         (__unorddf2): Likewise.
21623         (__unordsf2): Likewise.
21624         (__ledf2): Likewise.
21626 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
21628         * nis/nis_table.c (__follow_path): Disable diagnostic for
21629         uninitialized variable that is a false positive for gcc 4.7.
21630         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
21632 2016-01-20  Roland McGrath  <roland@hack.frob.com>
21634         * sysdeps/nacl/lowlevellock-futex.h
21635         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
21636         Always evaluate PRIVATE argument.
21638 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
21640         [BZ #19490]
21641         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
21642         (pthread_cond_broadcast): Use ENTRY/END
21643         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
21644         (pthread_cond_signal): Likewise.
21645         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
21646         Likewise.
21647         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
21648         Likewise.
21649         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
21650         Likewise.
21652 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
21654         * sysdeps/ieee754/dbl-64/s_finite.c
21655         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
21656         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
21657         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
21658         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
21659         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
21661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
21662         (__gtsf2): Add as optional for libc.so.
21663         (__unordsf2): Likewise.
21664         (__signbit): Remove for libc.so.
21665         (__signbitl): Likewise.
21667 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
21669         * iconvdata/bug-iconv11.c (test_ibm93x):
21670         Use %zu printf format specifier for size_t argument.
21672 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
21674         * math/gen-libm-test.pl (parse_ulps): Do not reduce
21675         already-recorded ulps.
21676         * sysdeps/arm/libm-test-ulps: Regenerated.
21677         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
21678         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21679         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
21681 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
21682             Paul Pluzhnikov  <ppluzhnikov@google.com>
21684         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
21685         assembler not supporting AVX-512.
21687 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
21689         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21691 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
21693         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
21694         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21696         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
21698         * sysdeps/arm/libm-test-ulps: Regenerated.
21700 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
21702         [BZ #19451]
21703         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
21705 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
21707         [BZ #19486]
21708         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
21709         * sysdeps/generic/fix-fp-int-convert-overflow.h
21710         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
21711         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
21712         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
21713         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
21714         Likewise.
21715         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
21716         Avoid conversions to long int where inexact exceptions
21717         could be raised.
21718         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
21719         Likewise.
21720         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
21721         Avoid conversions to long long int where inexact exceptions
21722         could be raised.
21723         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
21724         Likewise.
21726 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
21728         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
21729         * configure: Regenerated.
21731 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
21733         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
21735 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
21737         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
21738         outside of comment.
21740 2016-01-15  Torvald Riegel  <triegel@redhat.com>
21742         * nptl/tst-barrier1.c: Add description on first line.
21743         * nptl/tst-barrier2.c: Likewise.
21744         * nptl/tst-barrier3.c: Likewise.
21745         * nptl/tst-barrier4.c: Likewise.
21746         * nptl/tst-barrier5.c: Likewise.
21748 2016-01-15  Torvald Riegel  <triegel@redhat.com>
21750         [BZ #18868]
21751         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
21753 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
21755         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
21756         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
21757         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
21758         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
21759         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
21760         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
21761         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
21762         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
21763         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
21764         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
21765         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
21767 2016-01-15  Torvald Riegel  <triegel@redhat.com>
21769         [BZ #13065]
21770         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
21771         new implementation.
21772         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
21773         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
21774         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
21775         (BARRIER_IN_THRESHOLD): New macro.
21776         * nptl/pthread_barrierattr_setpshared.c
21777         (pthread_barrierattr_setpshared): Clean up.
21778         * nptl/tst-barrier4.c: Correct comment.
21779         * nptl/tst-barrier5.c: New file.
21780         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
21781         (gen-as-const-headers): Remove lowlevelbarrier.sym.
21782         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
21783         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
21784         * nptl/lowlevelbarrier.sym: Remove.
21785         * nptl/DESIGN-barrier.txt: Remove.
21786         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
21787         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
21788         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
21789         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
21790         error.
21791         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
21792         implementation.
21794 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21796         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
21797         (do_child): Mask SIGRTMIN while thr is running.
21799 2016-01-15  Martin Sebor  <msebor@redhat.com>
21801         [BZ #19432]
21802         * iconvdata/Makefile: Add bug-iconv11.
21803         * iconvdata/bug-iconv11.c: New test.
21804         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
21805         * iconvdata/ibm933.c: Same.
21806         * iconvdata/ibm935.c: Same.
21807         * iconvdata/ibm937.c: Same.
21808         * iconvdata/ibm939.c: Same.
21810 2016-01-15  Martin Sebor  <msebor@redhat.com>
21812         [BZ #19443]
21813         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
21814         [DEBUG] (_ufc_set_bits): Declare used.
21815         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
21816         [DEBUG] (print_all): Declare used.
21817         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
21818         operands of the ternary ?: expression to target type.
21819         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
21820         calling the undeclared abort.
21821         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
21823 2016-01-15  Martin Sebor  <msebor@redhat.com>
21825         [BZ #18755]
21826         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
21827         warnings.
21828         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
21829         (__gai_create_helper_thread): Same.
21830         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
21831         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
21832         to suppress -Wmaybe-uninitialized warnings.
21834 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
21836         [BZ #19465]
21837         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
21838         inside if.
21839         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21840         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21841         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21843 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
21845         [BZ #19466]
21846         * time/tst-mktime2.c (time_t_max): Removed.
21847         (time_t_min): Likewise.
21848         (TYPE_SIGNED): New.
21849         (TYPE_MINIMUM): Likewise.
21850         (TYPE_MAXIMUM): Likewise.
21851         (TIME_T_MIN): Likewise.
21852         (TIME_T_MAX): Likewise.
21853         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
21854         and TIME_T_MIN.
21855         (do_test): Likewise.
21857 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
21859         [BZ #19467]
21860         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
21861         index_Fast_Unaligned_Load flag for Excavator family CPUs.
21863 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
21865         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
21867 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
21869         * benchtests/Makefile (PYTHON): Define.
21870         (bench-func): Use $(PYTHON) to run python scripts.
21871         ($(objpfx)bench-%.c): Likewise.
21873 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
21875         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
21876         leading slash when `file_name' is "/".
21878 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
21880         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
21881         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
21882         Likewise.
21883         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
21884         Likewise.
21885         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
21886         Likewise.
21887         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
21888         enum constant and macro.
21889         (PTRACE_SETSIGMASK): Likewise.
21890         (PTRACE_SECCOMP_GET_FILTER): Likewise.
21891         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
21892         (PTRACE_GETSIGMASK): Likewise.
21893         (PTRACE_SETSIGMASK): Likewise.
21894         (PTRACE_SECCOMP_GET_FILTER): Likewise.
21895         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
21896         Likewise.
21897         (PTRACE_SETSIGMASK): Likewise.
21898         (PTRACE_SECCOMP_GET_FILTER): Likewise.
21899         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
21900         (PTRACE_GETSIGMASK): Likewise.
21901         (PTRACE_SETSIGMASK): Likewise.
21902         (PTRACE_SECCOMP_GET_FILTER): Likewise.
21903         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
21904         Likewise.
21905         (PTRACE_SETSIGMASK): Likewise.
21906         (PTRACE_SECCOMP_GET_FILTER): Likewise.
21907         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
21908         Likewise.
21909         (PTRACE_SETSIGMASK): Likewise.
21910         (PTRACE_SECCOMP_GET_FILTER): Likewise.
21911         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
21912         Likewise.
21913         (PTRACE_SETSIGMASK): Likewise.
21914         (PTRACE_SECCOMP_GET_FILTER): Likewise.
21916 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
21917             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21919         [BZ #19439]
21920         * math/bits/mathcalls.h
21921         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
21922         prototype.
21923         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
21925 2016-01-11  Andreas Schwab  <schwab@suse.de>
21927         [BZ #19253]
21928         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
21929         cache when TZDEFRULES was used.
21930         * time/tst-tzname.c: New file.
21931         * time/Makefile (test): Add tst-tzname.
21932         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
21933         * timezone/Makefile (test-zones): Add $(posixrules-file).
21934         ($(testdata)/$(posixrules-file)): New rule.
21936 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
21938         Fix doc quoting problems with Texinfo 5
21939         Without this change, in the info file output, Texinfo 5 quotes code
21940         in text with undirected single quotes 'like this' and generates
21941         code examples that with many PDF readers cannot be cut out of PDFs
21942         and pasted into code.
21943         * manual/libc.texinfo: Configure the libc manual like the GNU
21944         Emacs manual, by using @documentencoding and setting
21945         txicodequoteundirected and txicodequotebacktick.  This way,
21946         Texinfo 5 quotes code in text with directed single quotes ‘like
21947         this’ and produces examples that can be cut out of PDFs.  This
21948         change causes Texinfo 5 to generate info files that contain UTF-8
21949         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
21950         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
21952 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21954         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
21955         __libc_tabort, __libc_tend): New wrappers that enforce compiler
21956         barriers to their respective compiler built-ins.
21957         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
21958         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
21959         * sysdeps/powerpc/sysdep.h: Likewise.
21960         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
21961         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
21962         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
21964 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
21966         * scripts/config.guess: Revert previous shebang change.
21967         * scripts/config.sub: Likewise.
21968         * scripts/mkinstalldirs: Likewise.
21970 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21972         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
21973         PPC_FEATURE2_HAS_IEEE128.
21974         * sysdeps/powerpc/dl-procinfo.c:
21975         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
21977 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
21979         [BZ #19415]
21980         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
21981         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
21982         (_dl_lookup_address): Rewrite using function resolver trampoline.
21983         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
21984         two bits in address.
21986 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
21988         * longlong.h: Change !__SHMEDIA__ to
21989         (!defined (__SHMEDIA__) || !__SHMEDIA__).
21990         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
21992 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
21993             Joseph Myers  <joseph@codesourcery.com>
21994             Mark Shinwell  <shinwell@codesourcery.com>
21995             Andrew Stubbs  <ams@codesourcery.com>
21996             Rich Felker <dalias@libc.org>
21998         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
22000 2016-01-07  Richard Henderson  <rth@redhat.com>
22002         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
22004 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
22006         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
22007         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
22008         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
22009         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
22010         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
22012 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
22013             Joseph Myers  <joseph@codesourcery.com>
22015         * timezone/private.h: Update from tzcode 2015g.
22016         * timezone/tzfile.h: Likewise.
22017         * timezone/tzselect.ksh: Likewise.
22018         * timezone/zdump.c: Likewise.
22019         * timezone/zic.c: Likewise.
22020         * timezone/ialloc.c: Remove file.
22021         * timezone/scheck.c: Likewise.
22022         * timezone/Makefile (extra-objs): Remove variable.
22023         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
22024         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
22025         -Wno-maybe-uninitialized.
22026         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
22027         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
22028         (CFLAGS-ialloc.c): Remove variable.
22029         (CFLAGS-scheck.c): Likewise.
22030         * timezone/README: Update list of files from tzcode.
22032 2016-01-07  Khem Raj  <raj.khem@gmail.com>
22034         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
22035         instead of __fxprintf when _LIBC is undefined.
22037 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
22039         * catgets/test-gencat.sh: Remove space after shebang.
22040         * conform/GlibcConform.pm: Likewise.
22041         * conform/check-header-lists.sh: Likewise.
22042         * conform/conformtest.pl: Likewise.
22043         * conform/linknamespace.pl: Likewise.
22044         * conform/list-header-symbols.pl: Likewise.
22045         * debug/catchsegv.sh: Likewise.
22046         * elf/genrtldtbl.awk: Likewise.
22047         * elf/tst-pathopt.sh: Likewise.
22048         * elf/tst-rtld-load-self.sh: Likewise.
22049         * grp/tst_fgetgrent.sh: Likewise.
22050         * iconvdata/gen-8bit-gap-1.sh: Likewise.
22051         * iconvdata/gen-8bit-gap.sh: Likewise.
22052         * iconvdata/gen-8bit.sh: Likewise.
22053         * iconvdata/run-iconv-test.sh: Likewise.
22054         * intl/tst-gettext.sh: Likewise.
22055         * intl/tst-gettext2.sh: Likewise.
22056         * intl/tst-gettext4.sh: Likewise.
22057         * intl/tst-gettext6.sh: Likewise.
22058         * intl/tst-translit.sh: Likewise.
22059         * io/ftwtest-sh: Likewise.
22060         * libio/test-freopen.sh: Likewise.
22061         * locale/gen-translit.pl: Likewise.
22062         * malloc/tst-mtrace.sh: Likewise.
22063         * manual/check-safety.sh: Likewise.
22064         * manual/libc-texinfo.sh: Likewise.
22065         * manual/tsort.awk: Likewise.
22066         * manual/xtract-typefun.awk: Likewise.
22067         * nptl/tst-cancel-wrappers.sh: Likewise.
22068         * nptl/tst-tls6.sh: Likewise.
22069         * posix/globtest.sh: Likewise.
22070         * posix/tst-getconf.sh: Likewise.
22071         * posix/wordexp-tst.sh: Likewise.
22072         * scripts/check-c++-types.sh: Likewise.
22073         * scripts/check-local-headers.sh: Likewise.
22074         * scripts/config.guess: Likewise.
22075         * scripts/config.sub: Likewise.
22076         * scripts/cpp: Likewise.
22077         * scripts/cross-test-ssh.sh: Likewise.
22078         * scripts/documented.sh: Likewise.
22079         * scripts/evaluate-test.sh: Likewise.
22080         * scripts/gen-libc-abis: Likewise.
22081         * scripts/gen-sorted.awk: Likewise.
22082         * scripts/list-fixed-bugs.py: Likewise.
22083         * scripts/merge-test-results.sh: Likewise.
22084         * scripts/mkinstalldirs: Likewise.
22085         * scripts/rellns-sh: Likewise.
22086         * scripts/test-installation.pl: Likewise.
22087         * scripts/update-copyrights: Likewise.
22088         * stdio-common/tst-printf.sh: Likewise.
22089         * stdio-common/tst-unbputc.sh: Likewise.
22090         * stdlib/tst-fmtmsg.sh: Likewise.
22091         * stdlib/tst-setcontext3.sh: Likewise.
22092         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
22093         * sysdeps/unix/make-syscalls.sh: Likewise.
22095 2016-01-06  John David Anglin  <dave.anglin@bell.net>
22097         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
22098         asm stw with atomic_exchange_rel.  Add explanatory comment.
22099         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
22100         Likewise.
22102 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
22104         [BZ #19122]
22105         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
22106         * sysdeps/generic/dl-unistd.h: New file.
22107         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
22109 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
22111          [BZ #19122]
22112          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
22113          * sysdeps/generic/dl-mman.h: New file.
22114          * sysdeps/mach/hurd/dl-mman.h: Likewise.
22116 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
22118         * manual/texinfo.tex: Update to version 2016-01-04.21 with
22119         trailing whitespace removed.
22120         * scripts/config.guess: Update to version 2016-01-01.
22121         * scripts/config.sub: Update to version 2016-01-01.
22122         * scripts/move-if-change: Update from gnulib.
22124 2016-01-04  Anton Blanchard  <anton@samba.org>
22126         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
22127         for array indices.
22128         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
22130 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
22132         * NEWS: Update copyright dates.
22133         * catgets/gencat.c (print_version): Likewise.
22134         * csu/version.c (banner): Likewise.
22135         * debug/catchsegv.sh: Likewise.
22136         * debug/pcprofiledump.c (print_version): Likewise.
22137         * debug/xtrace.sh (do_version): Likewise.
22138         * elf/ldconfig.c (print_version): Likewise.
22139         * elf/ldd.bash.in: Likewise.
22140         * elf/pldd.c (print_version): Likewise.
22141         * elf/sotruss.sh: Likewise.
22142         * elf/sprof.c (print_version): Likewise.
22143         * iconv/iconv_prog.c (print_version): Likewise.
22144         * iconv/iconvconfig.c (print_version): Likewise.
22145         * locale/programs/locale.c (print_version): Likewise.
22146         * locale/programs/localedef.c (print_version): Likewise.
22147         * login/programs/pt_chown.c (print_version): Likewise.
22148         * malloc/memusage.sh (do_version): Likewise.
22149         * malloc/memusagestat.c (print_version): Likewise.
22150         * malloc/mtrace.pl: Likewise.
22151         * manual/libc.texinfo: Likewise.
22152         * nptl/version.c (banner): Likewise.
22153         * nscd/nscd.c (print_version): Likewise.
22154         * nss/getent.c (print_version): Likewise.
22155         * nss/makedb.c (print_version): Likewise.
22156         * posix/getconf.c (main): Likewise.
22157         * scripts/test-installation.pl: Likewise.
22158         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
22160         * All files with FSF copyright notices: Update copyright dates
22161         using scripts/update-copyrights.
22162         * intl/plural.c: Regenerated.
22163         * locale/programs/charmap-kw.h: Likewise.
22164         * locale/programs/locfile-kw.h: Likewise.
22166 2016-01-02  Helge Deller  <deller@gmx.de>
22168         [BZ #19285]
22169         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
22170         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
22171         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
22172         (MADV_xxK_PAGES): Remove.
22174 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
22176         [BZ #15421]
22177         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
22178         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
22179         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
22180         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
22182 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
22184         [BZ #19408]
22185         * sysdeps/unix/sysv/linux/personality.c: New file.
22186         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
22187         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
22188         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
22189         (sysdep_routines): Add personality.
22190         (tests): Add tst-personality.
22191         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
22192         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
22193         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
22194         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
22195         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
22196         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
22197         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
22198         Likewise.
22199         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
22200         Likewise.
22201         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
22202         Likewise.
22203         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
22204         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
22205         Likewise.
22207 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
22209         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
22210         (PATH_ARM_SYSTYPE): Remove.
22211         (PATH_CPUINFO): Likewise.
22212         (IO_BASE_FOOTBRIDGE): Likewise.
22213         (IO_SHIFT_FOOTBRIDGE): Likewise.
22214         (struct platform): Likewise.
22215         (init_iosys): Remove compatibility code for 2.4 kernels.
22216         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
22218 2015-12-29  Florian Weimer  <fweimer@redhat.com>
22220         * malloc/tst-malloc-thread-fail.c: New file.
22221         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
22222         (tst-malloc-thread-fail): Link against libpthread.
22224 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
22226         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
22227         (get_parser): New function.
22228         (main): New function.
22230 2015-12-29  Rob Wu  <rob@robwu.nl>
22232         [BZ #19369]
22233         * resolv/res_init.c (__res_vinit): Reset defdname before use.
22235 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
22237         [BZ #19270]
22238         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
22240 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
22242         [BZ #15421]
22243         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
22245 2015-12-23  Torvald Riegel  <triegel@redhat.com>
22247         [BZ #13690]
22248         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
22249         after releasing it.
22250         (__lll_robust_unlock): Likewise.
22251         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
22252         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
22253         (lll_robust_unlock): Likewise.
22254         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
22255         Prevent warnings in callers.
22257 2015-12-23  Florian Weimer  <fweimer@redhat.com>
22259         * malloc/arena.c (list_lock): Update comment.
22261 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22263         * sysdeps/powerpc/hwcapinfo.c: Export symbol
22264         __parse_hwcap_and_convert_at_platform to libc.a.
22266 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22268         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
22269         platform and feature support for POWER9.
22270         * sysdeps/powerpc/dl-procinfo.h: Likewise.
22271         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
22272         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
22273         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
22274         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
22275         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
22276         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
22277         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
22279 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22281         Harmonize generic stdio-lock support with nptl
22283         This fixes build when _IO_funlockfile is a macro, fixes build where
22284         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
22285         stack unwind.
22287         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
22288         _IO_release_lock ): Use cleanup attribute on new
22289         _IO_acquire_lock_file variable instead of assuming that
22290         _IO_release_lock will be called.
22291         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
22292         _IO_acquire_lock_needs_exceptions_enabled.
22293         (_IO_acquire_lock_clear_flags2): New macro.
22295 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22297         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
22299 2015-12-21  Florian Weimer  <fweimer@redhat.com>
22301         [BZ #19182]
22302         * malloc/arena.c (list_lock): Document lock ordering requirements.
22303         (free_list_lock): New lock.
22304         (ptmalloc_lock_all): Comment on free_list_lock.
22305         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
22306         (detach_arena): Update comment.  free_list_lock is now needed.
22307         (_int_new_arena): Use free_list_lock around detach_arena call.
22308         Acquire arena lock after list_lock.  Add comment, including FIXME
22309         about incorrect synchronization.
22310         (get_free_list): Switch to free_list_lock.
22311         (reused_arena): Acquire free_list_lock around detach_arena call
22312         and attached threads counter update.  Add two FIXMEs about
22313         incorrect synchronization.
22314         (arena_thread_freeres): Switch to free_list_lock.
22315         * malloc/malloc.c (struct malloc_state): Update comments to
22316         mention free_list_lock.
22318 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
22320         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
22321         Remove functions.
22322         (sloww, sloww1): Accept argument to offset quadrant.
22323         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
22324         quadrant.
22325         (__sin, __cos): Consolidate common code into new functions.
22326         (reduce_sincos_1, do_sincos_1): New functions.
22327         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
22329         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
22330         code to new functions.
22331         (reduce_sincos_2, do_sincos_2): New functions.
22332         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
22334         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
22335         common code for sincos.
22336         (__cos) [!IN_SINCOS]: Likewise.
22337         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
22338         New function.
22339         (__sincos): Use it.
22341 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
22343         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
22344         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
22345         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
22347 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
22349         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
22350         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
22351         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
22352         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
22353         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22354         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
22355         index_Prefer_No_VZEROUPPER): New feature.
22356         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
22357         Prefer_No_VZEROUPPER for Knights Landing.
22359 015-12-18  Torvald Riegel  <triegel@redhat.com>
22361         * math/atest-exp2.c (mp_exp_m1): Remove.
22363 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22365         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
22366         syscalls.
22367         (__SYSCALL0): New macro.
22368         (__SYSCALL1): Likewise.
22369         (__SYSCALL2): Likewise.
22370         (__SYSCALL3): Likewise.
22371         (__SYSCALL4): Likewise.
22372         (__SYSCALL5): Likewise.
22373         (__SYSCALL6): Likewise.
22374         (__SYSCALL_CONCAT_X): Likewise.
22375         (__SYSCALL_CONCAT): Likewise.
22376         (__SYSCALL_DIST): Likewise.
22377         (__SYSCALL_CALL): Likewise.
22379 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
22381         [BZ #19363]
22382         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
22384 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22386         [BZ #19375]
22387         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
22388         negative subnormals.
22390 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
22392         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
22393         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
22394         (INTERNAL_SYSCALL_NCS): Use it.
22395         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
22397 2015-12-16  Florian Weimer  <fweimer@redhat.com>
22399         [BZ #19243]
22400         * malloc/arena.c (get_free_list): Remove assert and adjust
22401         reference count handling.  Add comment about reused_arena
22402         interaction.
22403         (reused_arena): Add comments abount get_free_list interaction.
22404         * malloc/tst-malloc-thread-exit.c: New file.
22405         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
22406         (tst-malloc-thread-exit): Link against libpthread.
22408 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
22410         [BZ #19367]
22411         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
22412         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
22413         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
22414         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
22415         (index_Prefer_MAP_32BIT_EXEC): Likewise.
22417 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
22419         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
22420         Silvermont optimizations for Knights Landing.
22422 2015-12-15  Andreas Schwab  <schwab@suse.de>
22424         [BZ #17197]
22425         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
22426         immediately after emitting SI.
22427         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
22428         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
22429         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
22430         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
22431         * iconvdata/bug-iconv10.c: New file.
22432         * iconvdata/Makefile (tests): Add bug-iconv10.
22433         ($(objpfx)bug-iconv10.out): New rule.
22435 2015-12-15  Florian Weimer  <fweimer@redhat.com>
22437         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
22438         aliasing violation.
22440 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
22442         [BZ #18472]
22443         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
22444         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
22445         conditionals for them.
22446         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
22447         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
22448         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
22449         sys/kdaemon.h.
22450         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
22451         compat-only syscall, obsoleted in glibc 2.23.
22452         (create_module): Likewise.
22453         (get_kernel_syms): Likewise.
22454         (query_module): Likewise.
22455         (uselib): Likewise.
22456         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
22458 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
22460         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
22461         <linux/version.h>.
22462         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
22463         conditional code.
22464         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
22465         and ioshift_name initialization.
22467 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
22469         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
22470         Fix indentation.
22472 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
22474         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
22476 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
22478         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
22480 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
22481             Jakub Wilk  <jwilk@debian.org>
22483         [BZ #19347]
22484         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
22485         to change the group of the device to the tty group.
22487 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
22489         Split large string section; add truncation advice
22490         * manual/examples/strncat.c: Remove.
22491         This example was misleading, as the code would have undefined
22492         behavior if "hello" was longer than SIZE.  Anyway, the manual
22493         shouldn't encourage strncpy+strncat for this sort of thing.
22494         * manual/string.texi (Copying Strings and Arrays): Split into
22495         three sections Copying Strings and Arrays, Concatenating Strings,
22496         and Truncating Strings, as this section was way too long.  All
22497         cross-referenced changed.  Add advice about string-truncation
22498         functions.  Remove misleading strncat example.
22500 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
22502         * manual/nss.texi (NSS Modules Interface): Document
22503         NSS_STATUS_NOTFOUND and SUCCESS.
22505 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
22507         [BZ 18568]
22508         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
22509         201505L, for Unicode 8.
22511 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
22513         * locale/C-translit.h: Regenerate.
22515 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
22517         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
22518         and U+0153.
22520 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
22522         [BZ #19351]
22523         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
22524         expanding log(1+z), compare z rather than its square with epsilon
22525         to determine when to avoid evaluating the expansion.
22527         [BZ #19350]
22528         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
22529         Increase overflow threshold.
22531         [BZ #19349]
22532         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
22533         when small.
22535         * sysdeps/unix/sysv/linux/i386/kernel-features.h
22536         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
22537         New macro.
22538         [__LINUX_KERNEL_VERSION >= 0x040300]
22539         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
22540         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
22541         Likewise.
22542         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
22543         Likewise.
22544         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
22545         Likewise.
22546         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
22547         Likewise.
22548         [__LINUX_KERNEL_VERSION >= 0x040300]
22549         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
22550         [__LINUX_KERNEL_VERSION >= 0x040300]
22551         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
22552         [__LINUX_KERNEL_VERSION >= 0x040300]
22553         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
22554         [__LINUX_KERNEL_VERSION >= 0x040300]
22555         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
22556         [__LINUX_KERNEL_VERSION >= 0x040300]
22557         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
22558         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
22559         Likewise.
22560         [__LINUX_KERNEL_VERSION >= 0x040300]
22561         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
22562         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
22563         Likewise.
22564         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
22565         Likewise.
22566         [__LINUX_KERNEL_VERSION >= 0x040300]
22567         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
22568         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
22569         Likewise.
22570         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
22571         Likewise.
22572         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22573         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
22574         Likewise.
22575         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
22576         Likewise.
22577         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
22578         Likewise.
22579         [__LINUX_KERNEL_VERSION >= 0x040300]
22580         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
22581         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
22582         Likewise.
22583         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
22584         Likewise.
22585         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
22586         Likewise.
22587         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
22588         Likewise.
22589         [__LINUX_KERNEL_VERSION >= 0x040300]
22590         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
22591         [__LINUX_KERNEL_VERSION >= 0x040300]
22592         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
22593         [__LINUX_KERNEL_VERSION >= 0x040300]
22594         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
22595         [__LINUX_KERNEL_VERSION >= 0x040300]
22596         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
22597         [__LINUX_KERNEL_VERSION >= 0x040300]
22598         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
22599         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
22600         Likewise.
22601         [__LINUX_KERNEL_VERSION >= 0x040300]
22602         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
22603         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
22604         Likewise.
22605         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
22606         Likewise.
22607         [__LINUX_KERNEL_VERSION >= 0x040300]
22608         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
22609         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
22610         Likewise.
22611         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
22612         Likewise.
22613         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22614         (__ASSUME_SOCKET_SYSCALL): Likewise.
22615         (__ASSUME_BIND_SYSCALL): Likewise.
22616         (__ASSUME_CONNECT_SYSCALL): Likewise.
22617         (__ASSUME_LISTEN_SYSCALL): Likewise.
22618         (__ASSUME_ACCEPT_SYSCALL): Likewise.
22619         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
22620         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
22621         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
22622         (__ASSUME_SEND_SYSCALL): Likewise.
22623         (__ASSUME_SENDTO_SYSCALL): Likewise.
22624         (__ASSUME_RECV_SYSCALL): Likewise.
22625         (__ASSUME_RECVFROM_SYSCALL): Likewise.
22626         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
22627         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
22628         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
22629         (__ASSUME_SENDMSG_SYSCALL): Likewise.
22630         (__ASSUME_RECVMSG_SYSCALL): Likewise.
22631         * sysdeps/unix/sysv/linux/sh/kernel-features.h
22632         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
22633         Likewise.
22634         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
22635         Likewise.
22636         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
22637         Likewise.
22638         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
22639         Likewise.
22640         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
22641         Likewise.
22642         [__LINUX_KERNEL_VERSION >= 0x020625]
22643         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
22644         [__LINUX_KERNEL_VERSION >= 0x020625]
22645         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
22646         [__LINUX_KERNEL_VERSION >= 0x020625]
22647         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
22648         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
22649         Likewise.
22650         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
22651         Likewise.
22652         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
22653         Likewise.
22654         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
22655         Likewise.
22656         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
22657         Likewise.
22658         [__LINUX_KERNEL_VERSION >= 0x020625]
22659         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
22660         [__LINUX_KERNEL_VERSION >= 0x020625]
22661         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
22662         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
22663         Likewise.
22664         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
22665         Likewise.
22667 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
22669         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
22670         record the current if the current ABI and CPU support the FP64
22671         extension.
22672         (has-modd-spreg): Define to record the current if the current ABI and
22673         CPU support 32-bit floating point values in odd FPU registers.
22674         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
22675         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
22676         $(has-modd-spreg) equals yes.
22677         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
22678         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
22679         $(has-modd-spreg) equal yes.
22681 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
22683         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
22684         basename.
22686 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
22688         * benchtests/Makefile (bench-math): Move ffs and ffsll...
22689         (bench-string): ... here.
22690         (bench): Add bench-string.
22691         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
22692         to *-benchset to reflect what they are.
22693         (benchset): Adjust.
22695         * benchtests/sincos-inputs: Add inputs from sin-inputs and
22696         cos-inputs.
22698 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
22700         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
22701         __attribute__ ((__simd__)) for vector math function declarations.
22703 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
22705         Fix typo in strncat, wcsncat manual entries
22706         * manual/string.texi (Copying and Concatenation): Fix typos in
22707         sample implementations of strncat and wcsncat, by having them use
22708         the old value of the destination length, not the new one.
22710 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
22712         [BZ #16961]
22713         [BZ #16962]
22714         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
22715         string on the stack for strtod.
22716         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
22717         a string on the stack for strtof.
22718         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
22719         constructing a string on the stack for strtold.
22720         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
22721         __strtold_nan to GLIBC_PRIVATE.
22722         * math/test-nan-overflow.c: New file.
22723         * math/test-nan-payload.c: Likewise.
22724         * math/Makefile (tests): Add test-nan-overflow and
22725         test-nan-payload.
22727 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
22729         Consistency about byte vs character in string.texi
22730         * manual/string.texi (String and Array Utilities):
22731         Distinguish more carefully among bytes, multibyte characters,
22732         and wide characters.  Use "byte" when talking about C 'char',
22733         to distinguish it more clearly from multibyte characters.
22734         Say "wide character" or "multibyte character" instead of
22735         "character", when a wide or multibyte character is intended.
22736         Similarly for "multibyte string" versus "string".
22737         Define these terms more carefully.
22739 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
22741         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
22742         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
22743         Likewise.
22744         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
22745         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
22746         * sysdeps/sh/math_private.h: New file.
22747         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
22748         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
22749         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
22750         long double function name.
22751         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22752         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22753         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22754         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
22755         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22756         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
22757         Remove __finitel, __isinfl, and __isnanl.
22758         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
22759         Likewise.
22760         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
22761         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
22762         Remove __finitel.
22763         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
22764         Likewise.
22765         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
22767 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
22769         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
22770         installed libmvec_nonshared.a.
22772 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22774         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
22775         (sysdep_routines): Likewise.
22776         (sysdep-rtld-routines): Likewise.
22777         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
22778         [$(subdir) = nptl](tests-static): test-get_hwcap-static
22779         * sysdeps/powerpc/Versions: Added new
22780         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
22781         * sysdeps/powerpc/hwcapinfo.c: New file.
22782         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
22783         and parse hwcap, hwcap2 and platform number information.
22784         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
22785         to store HWCAP+HWCAP2 and platform number.
22786         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
22787         for HWCAP+HWCAP2 and platform number in the TCB.
22788         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
22789         the HWCAP, HWCAP2 and platform number in the TCB.
22790         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
22791         (TLS_INIT_TP): Included calls to add the hwcap and
22792         at_platform values in the TCB in TP initialization.
22793         (TLS_DEFINE_INIT_TP): Likewise.
22794         (THREAD_GET_HWCAP): New macro.
22795         (THREAD_SET_HWCAP): Likewise.
22796         (THREAD_GET_AT_PLATFORM): Likewise.
22797         (THREAD_SET_AT_PLATFORM): Likewise.
22798         * sysdeps/powerpc/powerpc32/dl-machine.h:
22799         (dl_platform_init): New function that calls
22800         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
22801         powerpc32.
22802         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
22803         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
22804         this functionality, static linking case.
22805         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
22806         linking case.
22807         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
22808         __parse_hwcap_and_convert_at_platform for the static linking case.
22809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
22810         Included the new __parse_hwcap_and_convert_at_platform symbol in the
22811         ABI list for GLIBC 2.23.
22812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
22813         Likewise.
22814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
22815         Likewise.
22817 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
22819         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
22820         * configure: Regenerate.
22821         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
22822         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
22824 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
22826         * iconvdata/ibm930.c: Add comment explaining encoding uses.
22827         * iconvdata/ibm933.c: Likewise.
22828         * iconvdata/ibm935.c: Likewise.
22829         * iconvdata/ibm937.c: Likewise.
22830         * iconvdata/ibm939.c: Likewise.
22832 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22834         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
22835         pthread_join.
22836         * nptl/tst-cancel21.c (tf): Likewise.
22838 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
22840         [BZ #19313]
22841         * bits/typesizes.h (__CPU_MASK_TYPE): New.
22842         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
22843         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
22844         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
22845         Likewise.
22846         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
22847         Likewise.
22848         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
22849         Likewise.
22850         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
22851         Likewise.
22852         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
22853         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
22854         unsigned long int with __CPU_MASK_TYPE.
22856 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22858         * sysdeps/aarch64/libm-test-ulps: Regenerated.
22860 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
22862         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
22863         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
22864         t512.x.
22865         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
22867 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
22869         [BZ #19214]
22870         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
22871         argument to return extended model.  Update family and model
22872         with extended family and model when family == 0x0f.
22873         (init_cpu_features): Updated.
22875 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22877         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
22878         signed off_t, so 32bit bigger than 2GiB values are fine actually.
22880         * sysdeps/mach/hurd/mmap64.c: New file.
22882 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
22884         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
22885         rights for its main user thread in NEWTASK.
22887 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
22889         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
22890         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
22892 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
22894         [BZ #14259]
22895         * Makeconfig: Rename localedir to complocaledir.
22896         Rename inst_localedir to inst_complocaledir.
22897         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
22898         * config.make.in: Use complocaledir and libc_cv_complocaledir.
22899         * configure.ac: Use libc_cv_complocaledir.
22900         * configure: Regenerate.
22901         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
22902         -DCOMPLOCALEDIR.
22903         * locale/findlocale.c: Use COMPLOCALEDIR.
22904         * locale/loadarchive.c: Likewise.
22905         * locale/programs/locale.c: Likewise.
22906         * locale/programs/localedef.c: Likewise.
22907         * locale/programs/locarchive.c: Likewise.
22908         * localedata/Makefile: Use inst_complocaledir.
22909         * sysdeps/gnu/configure: Regenerate.
22910         * sysdeps/hppa/configure: Regenerate.
22911         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
22912         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
22913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
22914         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
22915         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
22916         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
22917         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
22919 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
22921         [BZ #19058]
22922         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
22923         AS_NEEDED.
22924         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
22925         workaround.
22926         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
22927         libmvec-static-only-routines): Added new file.
22928         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
22930 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22932         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
22933         of interrupted RPC instead of restoring it.
22935         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
22936         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
22937         libc_hidden_def.
22938         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
22939         into initialized data instead of common. Define rtld_hidden_data_def.
22940         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
22941         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
22942         libc_hidden_def.
22943         (if_freenameindex): Add libc_hidden_weak.
22944         (if_nameindex): Add libc_hidden_weak.
22945         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
22946         __open64.
22947         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
22948         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
22949         * sysdeps/mach/nanosleep.c: Include <time.h>
22950         (__nanosleep): Rename to __libc_nanosleep.
22951         (__nanosleep): Add weak_alias.
22952         (nanosleep): Update alias.
22954 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
22956         * stdlib/strtod_nan.c: New file.
22957         * stdlib/strtod_nan_double.h: Likewise.
22958         * stdlib/strtod_nan_float.h: Likewise.
22959         * stdlib/strtod_nan_main.c: Likewise.
22960         * stdlib/strtod_nan_narrow.h: Likewise.
22961         * stdlib/strtod_nan_wide.h: Likewise.
22962         * stdlib/strtof_nan.c: Likewise.
22963         * stdlib/strtold_nan.c: Likewise.
22964         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
22965         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
22966         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
22967         * wcsmbs/wcstod_nan.c: Likewise.
22968         * wcsmbs/wcstof_nan.c: Likewise.
22969         * wcsmbs/wcstold_nan.c: Likewise.
22970         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
22971         strtold_nan.
22972         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
22973         wcstof_nan.
22974         * include/stdlib.h (__strtof_nan): Declare and use
22975         libc_hidden_proto.
22976         (__strtod_nan): Likewise.
22977         (__strtold_nan): Likewise.
22978         (__wcstof_nan): Likewise.
22979         (__wcstod_nan): Likewise.
22980         (__wcstold_nan): Likewise.
22981         * include/wchar.h (____wcstoull_l_internal): Declare.
22982         * stdlib/strtod_l.c: Do not include <ieee754.h>.
22983         (____strtoull_l_internal): Remove declaration.
22984         (STRTOF_NAN): Define macro.
22985         (SET_MANTISSA): Remove macro.
22986         (STRTOULL): Likewise.
22987         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
22988         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
22989         (STRTOF_NAN): Define macro.
22990         (SET_MANTISSA): Remove macro.
22991         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
22992         (SET_MANTISSA): Remove macro.
22993         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
22994         macro.
22995         (SET_MANTISSA): Remove macro.
22996         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
22997         macro.
22998         (SET_MANTISSA): Remove macro.
22999         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
23000         (SET_MANTISSA): Remove macro.
23001         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
23002         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
23003         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
23005         [BZ #19266]
23006         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
23007         upper case and lower case letters inside NAN(), not using TOLOWER.
23008         * stdlib/tst-strtod-nan-locale-main.c: New file.
23009         * stdlib/tst-strtod-nan-locale.c: Likewise.
23010         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
23011         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
23012         Depend on $(gen-locales).
23013         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
23014         * wcsmbs/tst-wcstod-nan-locale.c: New file.
23015         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
23016         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
23017         Depend on $(gen-locales).
23018         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
23020 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
23022         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
23024         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
23025         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
23026         __finitel, __isinfl, and __isnanl.
23027         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
23028         Likewise.
23029         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23030         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
23031         __finitel.
23032         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
23033         Likewise.
23034         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23036 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
23038         * malloc/memusage.c (me): Remove redundant getenv call.
23040 2015-10-24  Florian Weimer  <fweimer@redhat.com>
23042         [BZ #19143]
23043         [BZ #19164]
23044         * nptl/check-cpuset.h: Remove.
23045         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
23046         Remove CPU set size check.
23047         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
23048         Likewise.
23049         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
23050         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
23051         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
23052         (__pthread_setaffinity_new): Remove CPU set size check.
23053         * sysdeps/unix/sysv/linux/sched_setaffinity.c
23054         (__kernel_cpumask_size): Remove.
23055         (__sched_setaffinity_new): Remove CPU set size check.
23056         * manual/threads.texi (Default Thread Attributes): Remove stale
23057         reference to check_cpuset_attr, determine_cpumask_size in comment.
23058         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
23059         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
23060         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
23061         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
23062         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
23063         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
23064         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
23065         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
23066         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
23067         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
23068         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
23069         skeleton test file.
23070         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
23071         tst-affinity-pid.
23073 2015-11-24  Florian Weimer  <fweimer@redhat.com>
23075         * scripts/update-abilist.sh: New file.
23076         * Makefile (+subdir_targets): Add subdir_update-all-abi.
23077         * Makerules (update-all-abi-%, update-all-abi)
23078         (subdir_update-all-abi): New targets.
23079         * elf/Makefile (update-all-abi): New target.
23081 2015-11-24  Florian Weimer  <fweimer@redhat.com>
23083         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
23084         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
23085         (__libc_lock_define_initialized): Use it.
23086         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
23087         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
23088         * malloc/malloc.c (main_arena): Likewise.
23089         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
23090         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
23092 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
23094         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
23095         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
23096         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
23097         (PTRACE_O_MASK): Update value.
23098         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
23099         New value in enum __ptrace_setoptions.
23100         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
23101         (PTRACE_O_MASK): Update value.
23102         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
23103         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
23104         (PTRACE_O_MASK): Update value.
23105         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
23106         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
23107         (PTRACE_O_MASK): Update value.
23108         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
23109         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
23110         (PTRACE_O_MASK): Update value.
23111         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
23112         New value in enum __ptrace_setoptions.
23113         (PTRACE_O_MASK): Update value.
23114         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
23115         New value in enum __ptrace_setoptions.
23116         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
23117         (PTRACE_O_MASK): Update value.
23119         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
23120         New macro.
23121         (PACKET_AUXDATA): Likewise.
23122         (PACKET_ORIGDEV): Likewise.
23123         (PACKET_VERSION): Likewise.
23124         (PACKET_HDRLEN): Likewise.
23125         (PACKET_RESERVE): Likewise.
23126         (PACKET_TX_RING): Likewise.
23127         (PACKET_LOSS): Likewise.
23128         (PACKET_VNET_HDR): Likewise.
23129         (PACKET_TX_TIMESTAMP): Likewise.
23130         (PACKET_TIMESTAMP): Likewise.
23131         (PACKET_FANOUT): Likewise.
23132         (PACKET_TX_HAS_OFF): Likewise.
23133         (PACKET_QDISC_BYPASS): Likewise.
23134         (PACKET_ROLLOVER_STATS): Likewise.
23135         (PACKET_FANOUT_DATA): Likewise.
23136         (PACKET_MR_UNICAST): Likewise.
23138         [BZ #19242]
23139         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
23140         (TOUPPER): Likewise.
23141         * stdlib/tst-strtol-locale-main.c: New file.
23142         * stdlib/tst-strtol-locale.c: Likewise.
23143         * stdlib/Makefile (tests): Add tst-strtol-locale.
23144         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
23145         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
23146         Depend on $(gen-locales).
23147         * wcsmbs/tst-wcstol-locale.c: New file.
23148         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
23149         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
23150         tr_TR.ISO-8859-9.
23151         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
23152         Depend on $(gen-locales).
23154 2015-11-20  Roland McGrath  <roland@hack.frob.com>
23156         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
23157         __glibc_likely instead of __builtin_expect.  After falling back to
23158         dyncode_create in a non-ET_DYN case, use the allocate_code_data
23159         system interface to register the code pages as occupied.
23161 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
23163         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
23164         [!ARM_MATH_PRIVATE_H].
23165         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
23166         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
23167         [!HPPA_MATH_PRIVATE_H].
23168         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
23169         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
23170         to [!I386_MATH_PRIVATE_H].
23171         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
23172         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
23173         Change guard to [!M68K_MATH_PRIVATE_H].
23174         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
23175         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
23176         guard to [!MICROBLAZE_MATH_PRIVATE_H].
23177         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
23178         macro.
23179         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
23180         [!MIPS_MATH_PRIVATE_H].
23181         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
23182         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
23183         [!NIO2_MATH_PRIVATE_H].
23184         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
23185         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
23186         [!TILE_MATH_PRIVATE_H].
23187         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
23189         [BZ #15421]
23190         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
23191         initialize with 0 and define as weak alias of __signgam.
23192         * include/math.h [!_ISOMAC] (__signgam): Declare.
23193         * math/Makefile (libm-calls): Add w_lgamma_compat.
23194         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
23195         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
23196         test-signgam-ullong-init.
23197         (tests-static): Add test-signgam-uchar-static,
23198         test-signgam-uchar-init-static, test-signgam-uint-static,
23199         test-signgam-uint-init-static, test-signgam-ullong-static and
23200         test-signgam-ullong-init-static.
23201         (CFLAGS-test-signgam-uchar.c): New variable.
23202         (CFLAGS-test-signgam-uchar-init.c): Likewise.
23203         (CFLAGS-test-signgam-uchar-static.c): Likewise.
23204         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
23205         (CFLAGS-test-signgam-uint.c): Likewise.
23206         (CFLAGS-test-signgam-uint-init.c): Likewise.
23207         (CFLAGS-test-signgam-uint-static.c): Likewise.
23208         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
23209         (CFLAGS-test-signgam-ullong.c): Likewise.
23210         (CFLAGS-test-signgam-ullong-init.c): Likewise.
23211         (CFLAGS-test-signgam-ullong-static.c): Likewise.
23212         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
23213         * math/Versions (libm): Add GLIBC_2.23.
23214         * math/lgamma-compat.h: New file.
23215         * math/test-signgam-main.c: Likewise.
23216         * math/test-signgam-uchar-init-static.c: Likewise.
23217         * math/test-signgam-uchar-init.c: Likewise.
23218         * math/test-signgam-uchar-static.c: Likewise.
23219         * math/test-signgam-uchar.c: Likewise.
23220         * math/test-signgam-uint-init-static.c: Likewise.
23221         * math/test-signgam-uint-init.c: Likewise.
23222         * math/test-signgam-uint-static.c: Likewise.
23223         * math/test-signgam-uint.c: Likewise.
23224         * math/test-signgam-ullong-init-static.c: Likewise.
23225         * math/test-signgam-ullong-init.c: Likewise.
23226         * math/test-signgam-ullong-static.c: Likewise.
23227         * math/test-signgam-ullong.c: Likewise.
23228         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
23229         wrapper of w_lgamma_main.c.
23230         * math/w_lgamma_compat.c: New file.
23231         * math/w_lgamma_compatf.c: Likewise.
23232         * math/w_lgamma_compatl.c: Likewise.
23233         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
23234         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
23235         defining compatibility symbols.
23236         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
23237         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
23238         wrapper of w_lgammaf_main.c.
23239         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
23240         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
23241         defining compatibility symbols.
23242         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
23243         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
23244         wrapper of w_lgammal_main.c.
23245         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
23246         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
23247         defining compatibility symbols.
23248         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
23249         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
23250         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
23251         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
23252         <lgamma-compat.h>.
23253         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
23254         (__ieee754_gamma): Define as alias.
23255         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
23256         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
23257         <lgamma-compat.h>.
23258         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
23259         (__ieee754_gammaf): Define as alias.
23260         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
23261         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
23262         <lgamma-compat.h>.
23263         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
23264         (__ieee754_gammal): Define as alias.
23265         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
23266         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
23267         <math/w_lgamma_compat.c>.
23268         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
23269         Define as alias of __lgamma_compat and use in defining lgammal.
23270         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
23271         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
23272         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
23273         (USE_AS_COMPAT): New macro.
23274         (LGAMMA_OLD_VER): Undefine and redefine.
23275         (lgammal): Do not define here.
23276         (gammal): Only define here if [GAMMA_ALIAS].
23277         * conform/linknamespace.pl (@whitelist): Remove signgam.
23278         * sysdeps/nacl/libm.abilist: Update.
23279         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23280         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23281         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
23282         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
23283         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
23284         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
23285         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
23286         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
23287         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
23288         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
23289         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23290         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
23291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
23292         Likewise.
23293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
23294         Likewise.
23295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
23296         Likewise.
23297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
23298         Likewise.
23299         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23300         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23301         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
23302         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23303         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23304         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
23305         Likewise.
23306         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
23307         Likewise.
23308         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23309         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
23310         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
23312 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23314         [BZ #16364]
23315         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
23316         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
23318 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
23320         * sysdeps/s390/fpu/bits/mathinline.h:
23321         Use __asm__ [__volatile__] instead of asm [volatile].
23322         * sysdeps/s390/abort-instr.h: Likewise.
23323         * sysdeps/s390/atomic-machine.h: Likewise.
23324         * sysdeps/s390/bits/string.h: Likewise.
23325         * sysdeps/s390/dl-tls.h: Likewise.
23326         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
23327         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
23328         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
23329         * sysdeps/s390/fpu/fesetround.c: Likewise.
23330         * sysdeps/s390/fpu/fpu_control.h: Likewise.
23331         * sysdeps/s390/fpu/s_fma.c: Likewise.
23332         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
23333         * sysdeps/s390/memusage.h: Likewise.
23334         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
23335         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
23336         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
23337         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
23338         * sysdeps/s390/nptl/tls.h: Likewise.
23339         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
23340         * sysdeps/s390/s390-32/backtrace.c: Likewise.
23341         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
23342         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
23343         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23344         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
23345         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
23346         * sysdeps/s390/s390-64/backtrace.c: Likewise.
23347         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
23348         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
23349         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
23350         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23351         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
23352         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
23353         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
23354         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
23355         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
23356         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
23357         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
23358         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23359         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
23360         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23361         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
23363 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23364             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23366         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
23367         Add lwarx hint, and use macro for acquire instruction.
23368         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
23369         Likewise.
23370         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
23371         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
23372         update to use new atomic macros.
23374 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23376         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
23377         (__lll_trylock_elision): Fix setting of adapt_count.
23378         * sysdeps/unix/sysv/linux/powerpc/htm.h
23379         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
23380         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
23381         (_ABORT_SYSCALL): Renumber, and clarify definition.
23382         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
23384 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23386         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
23387         after system headers to prevent MIN/MAX redefinition.  Define
23388         HAVE_ALLOCA to preserve builtin alloca usage.
23390 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
23392         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
23393         static and don't set or restore rounding.
23394         (__cos)[IN_SINCOS]: Likewise.
23395         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
23396         (__sincos): Set and restore rounding mode.  Remove check for infinite
23397         or NaN input.
23399         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
23401         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
23402         as used.
23404 2015-11-16  Florian Weimer  <fweimer@redhat.com>
23406         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
23408 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
23410         * config.make.in (have-glob-dat-reloc): New.
23411         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
23412         target supports GLOB_DAT relocaton. AC_SUBST.
23413         * configure: Regenerated.
23414         * elf/Makefile (tests): Add tst-prelink.
23415         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
23416         (tst-prelink-ENV): New.
23417         ($(objpfx)tst-prelink-conflict.out): Likewise.
23418         ($(objpfx)tst-prelink-cmp.out): Likewise.
23419         * sysdeps/x86/tst-prelink.c: Moved to ...
23420         * elf/tst-prelink.c: Here.
23421         * sysdeps/x86/tst-prelink.exp: Moved to ...
23422         * elf/tst-prelink.exp: Here.
23423         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
23424         (tst-prelink-ENV): Removed.
23425         ($(objpfx)tst-prelink-conflict.out): Likewise.
23426         ($(objpfx)tst-prelink-cmp.out): Likewise.
23427         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
23429 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
23431         [BZ #14551]
23432         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
23433         (__mpn_construct_long_double): If high part overflows to infinity,
23434         set errno and recompute overflowed result of the correct sign.
23435         * sysdeps/ieee754/ldbl-128ibm/Makefile
23436         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
23437         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
23438         $(libm).
23439         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
23441 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
23443         [BZ #15479]
23444         [BZ #19238]
23445         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
23446         floating-point state after first operation on input.  Restore full
23447         state rather than just rounding mode.
23448         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
23449         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
23450         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
23452         [BZ #19235]
23453         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
23454         add 0.5 to integer arguments.
23455         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
23456         Likewise.
23457         (.LC2): New object.
23459 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
23461         * scripts/pylintrc (reports): Set to no.
23463 2015-11-10  Roland McGrath  <roland@hack.frob.com>
23465         * elf/dl-load.c (open_verify): Take new argument FD.
23466         Skip __open call if passed FD is not -1.
23467         (_dl_map_object, open_path): Update callers.
23468         * elf/dl-sysdep-open.h: New file.
23469         * elf/dl-load.c: Include it.
23470         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
23471         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
23472         * sysdeps/nacl/dl-sysdep-open.h: New file.
23473         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
23474         from libc to rtld.
23476 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
23478         [BZ #19228]
23479         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
23480         and restore full floating-point state.
23481         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
23482         Likewise.
23483         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
23484         Likewise.
23485         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
23486         Likewise.
23487         * math/test-nearbyint-except-2.c: New file.
23488         * math/Makefile (tests): Add test-nearbyint-except-2.
23490 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
23492         [BZ #19178]
23493         * sysdeps/x86/Makefile (tests): Add tst-prelink.
23494         (tst-prelink-ENV): New.
23495         ($(objpfx)tst-prelink-conflict.out): Likewise.
23496         ($(objpfx)tst-prelink-cmp.out): Likewise.
23497         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
23498         * sysdeps/x86/tst-prelink.c: New file.
23499         * sysdeps/x86/tst-prelink.exp: Likewise.
23501 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
23503         * math/auto-libm-test-in: Add another test of pow.
23504         * math/auto-libm-test-out: Regenerated.
23505         * math/libm-test.inc (pow_test_data): Add another test.
23507 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23509         [BZ #19219]
23510         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
23511         weak_alias to nearbyintl.
23513 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
23515         * sysdeps/aarch64/bits/string.h: New file.
23516         (_STRING_ARCH_unaligned): Define.
23518 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
23520         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
23521         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
23522         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
23523         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
23524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
23526 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
23528         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
23529         for original name of the DSO.  Add it to the name list of the DSO
23530         if it is actually given.
23531         (_dl_map_object): Keep track of whether an audit module rewrote
23532         the file name.  If yes, pass the original name to
23533         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
23534         debugging is enabled, log the change of the file name.
23535         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
23536         _dl_map_object_from_fd.
23537         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
23538         * elf/tst-audit11.c: New file
23539         * elf/tst-auditmod11.c: New file.
23540         * elf/tst-audit11mod1.c: New file.
23541         * elf/tst-audit11mod2.c: New file.
23542         * elf/tst-audit11mod2.map: New file.
23543         * elf/tst-audit12.c: New file
23544         * elf/tst-auditmod12.c: New file.
23545         * elf/tst-audit12mod1.c: New file.
23546         * elf/tst-audit12mod2.c: New file.
23547         * elf/tst-audit12mod2.map: New file.
23548         * elf/tst-audit12mod3.c: New file.
23550 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
23552         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
23553         Don't create weak aliases,
23554         because versioned symbols are created later.
23555         * sysdeps/s390/s390-32/setjmp.S
23556         (setjmp, _setjmp): Remove weak and rename to an unique name
23557         in SHARED case due to existing versioned symbols.
23558         * sysdeps/s390/s390-64/setjmp.S: Likewise.
23559         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
23560         (getcontext): Create weak alias only in non SHARED case.
23561         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
23563 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
23565         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
23566         (__ASSUME_*_SYSCALL) Define new macros.
23567         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
23568         Remove socketcall syscalls.
23569         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
23570         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
23571         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
23572         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
23573         * sysdeps/unix/sysv/linux/send.c (__libc_send):
23574         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
23576 2015-11-09  Florian Weimer  <fweimer@redhat.com>
23578         [BZ #12926]
23579         Terminate process on invalid netlink response.
23580         * sysdeps/unix/sysv/linux/netlinkaccess.h
23581         (__netlink_assert_response): Declare.
23582         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
23583         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
23584         (sysdep_routines): Add netlink_assert_response.
23585         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
23586         __netlink_assert_response.
23587         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
23588         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
23589         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
23590         __netlink_assert_response.
23592 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
23594         [BZ #19178]
23595         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
23596         (RTYPE_CLASS_PLT): Likewise.
23597         (RTYPE_CLASS_COPY): Likewise.
23598         (RTYPE_CLASS_TLS): Likewise.
23599         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
23600         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
23601         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
23602         DL_DEBUG_PRELINK.
23604 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
23606         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
23607         calls with argument -0.5.
23608         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
23610         * configure.ac (libc_cv_z_nodelete): Remove configure test.
23611         (libc_cv_z_nodlopen): Likewise.
23612         (libc_cv_z_initfirst): Likewise.
23613         * configure: Regenerated.
23615 2015-11-06  Florian Weimer  <fweimer@redhat.com>
23617         Simplify abilist format to be line-based.
23618         * scripts/abilist.awk: Collect descriptors in the descs variable.
23619         (emit): Write descs variable and sort it
23620         externally, with sort.
23621         * sysdeps/**/*.abilist: Convert to new format.
23623 2015-11-06  Mark Wielaard  <mjw@redhat.com>
23625         [BZ #11460]
23626         * io/Makefile (routines): Add fts64.
23627         (tests): Add tst-fts and tst-fts-lfs.
23628         (CFLAGS-fts64.c): New.
23629         * io/Versions (GLIBC_2.23): New.
23630         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
23631         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
23632         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
23633         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
23634         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
23635         (FTSENT64): Likewise.
23636         (fts64_children): Likewise.
23637         (fts64_close): Likewise.
23638         (fts64_open): Likewise.
23639         (fts64_read): Likewise.
23640         (fts64_set): Likewise.
23641         * io/fts64.c: New file.
23642         * io/tst-fts.c: New test.
23643         * io/tst-fts-lfs.c: Likewise.
23644         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
23645         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
23646         fts64_set.
23647         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23648         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
23649         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
23650         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
23651         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
23652         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
23653         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
23654         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
23655         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
23656         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
23657         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23658         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23659         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
23660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
23661         Likewise.
23662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
23663         Likewise.
23664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
23665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
23666         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23667         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23668         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
23669         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23670         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23671         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
23672         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
23673         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23674         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
23675         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
23676         * sysdeps/wordsize-64/fts.c: New file.
23677         * sysdeps/wordsize-64/fts64.c: Likewise.
23678         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
23679         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
23680         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
23681         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
23683 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
23685         * math/libm-test.inc (NON_FINITE): New macro.
23686         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
23687         * math/gen-libm-test.pl (show_exceptions): Add argument
23688         $non_finite.
23689         (parse_args): Update call to show_exceptions.
23690         * math/test-math-finite.h: New file.
23691         * math/test-math-no-finite.h: Likewise.
23692         * math/test-double-finite.c: Likewise.
23693         * math/test-float-finite.c: Likewise.
23694         * math/test-ldouble-finite.c: Likewise.
23695         * math/test-double.c: Include "test-math-no-finite.h".
23696         * math/test-float.c: Include "test-math-no-finite.h".
23697         * math/test-ldouble.c: Include "test-math-no-finite.h".
23698         * math/test-math-inline.h (TEST_FINITE): New macro.
23699         * math/test-math-vector.h (TEST_FINITE): Likewise.
23700         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
23701         (libm-tests): Add test-float-finite and test-double-finite.
23702         ($(objpfx)test-float-finite.o): New dependency on
23703         $(objpfx)libm-test.stmp.
23704         ($(objpfx)test-double-finite.o): Likewise.
23705         ($(objpfx)test-ldouble-finite.o): Likewise.
23706         (libm-test-no-inline-cflags): New variable.
23707         (libm-test-finite-cflags): Likewise.
23708         (CFLAGS-test-float-finite.c): Likewise.
23709         (CFLAGS-test-double-finite.c): Likewise.
23710         (CFLAGS-test-ldouble-finite.c): Likewise.
23711         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
23712         (CFLAGS-test-double.c): Likewise.
23713         (CFLAGS-test-ldouble.c): Likewise.
23715 2015-11-05  Roland McGrath  <roland@hack.frob.com>
23717         * io/fcntl.c (__fcntl): Add ... to prototype.
23718         * misc/ioctl.c (__ioctl): Likewise.
23719         * misc/syscall.c (syscall): Likewise.
23721 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
23723         * scripts/list-fixed-bugs.py: New file.
23725         [BZ #19213]
23726         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
23727         returned for argument 1.
23728         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
23729         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
23730         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
23731         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
23732         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
23733         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
23735         [BZ #19211]
23736         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
23737         __USE_XOPEN], not if [!__USE_ISOC99].
23738         (lgammaf): Likewise.
23739         (lgammal): Likewise.
23740         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
23741         (gammaf): Likewise.
23742         (gammal): Likewise.
23743         * math/test-signgam-finite-c11.c: New file.
23744         * math/test-signgam-finite-c99.c: Likewise.
23745         * math/test-signgam-finite.c: Likewise.
23746         * math/Makefile (tests): Add test-signgam-finite,
23747         test-signgam-finite-c99 and test-signgam-finite-c11.
23748         (CFLAGS-test-signgam-finite.c): New variable.
23749         (CFLAGS-test-signgam-finite-c99.c): Likewise.
23750         (CFLAGS-test-signgam-finite-c11.c): Likewise.
23752         [BZ #19212]
23753         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
23754         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
23755         500].
23756         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
23757         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
23758         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
23759         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
23760         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
23761         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
23762         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
23763         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
23764         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
23765         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
23767         [BZ #19209]
23768         * math/bits/math-finite.h (ldexp): Remove declaration.
23769         (ldexpf): Likewise.
23770         (ldexpl): Likewise.
23772         [BZ #19205]
23773         * math/bits/math-finite.h (acosf): Condition declaration on
23774         [__USE_ISOC99].
23775         (acosl): Likewise.
23776         (acoshf): Likewise.
23777         (acoshl): Likewise.
23778         (asinf): Likewise.
23779         (asinl): Likewise.
23780         (atan2f): Likewise.
23781         (atan2l): Likewise.
23782         (atanhf): Likewise.
23783         (atanhl): Likewise.
23784         (coshf): Likewise.
23785         (coshl): Likewise.
23786         (expf): Likewise.
23787         (expl): Likewise.
23788         (fmodf): Likewise.
23789         (fmodl): Likewise.
23790         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
23791         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
23792         (j0l): Likewise.
23793         (y0f): Likewise.
23794         (y0l): Likewise.
23795         (j1f): Likewise.
23796         (j1l): Likewise.
23797         (y1f): Likewise.
23798         (y1l): Likewise.
23799         (jnf): Likewise.
23800         (jnl): Likewise.
23801         (ynf): Likewise.
23802         (ynl): Likewise.
23803         (lgammaf_r): Condition declaration on [__USE_ISOC99].
23804         (lgammal_r): Likewise.
23805         (__lgamma_r_finite): New declaration.
23806         (__lgammaf_r_finite): Likewise.
23807         (__lgammal_r_finite): Likewise.
23808         (lgamma): Use __lgamma_r_finite.
23809         (lgammaf): Condition definition on [__USE_ISOC99].  Use
23810         __lgammaf_r_finite.
23811         (lgammal): Condition definition on [__USE_ISOC99].  Use
23812         __lgammal_r_finite.
23813         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
23814         __lgamma_r_finite.
23815         (gammaf): Condition definition on [__USE_ISOC99].  Use
23816         __lgammaf_r_finite.
23817         (gammal): Condition definition on [__USE_ISOC99].  Use
23818         __lgammal_r_finite.
23819         (logf): Condition declaration on [__USE_ISOC99].
23820         (logl): Likewise.
23821         (log10f): Likewise.
23822         (log10l): Likewise.
23823         (ldexpf): Likewise.
23824         (ldexpl): Likewise.
23825         (powf): Likewise.
23826         (powl): Likewise.
23827         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
23828         __USE_ISOC99].
23829         (remainderf): Condition declaration on [__USE_ISOC99].
23830         (remainderl): Likewise.
23831         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
23832         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
23833         (scalbl): Likewise.
23834         (sinhf): Condition declaration on [__USE_ISOC99].
23835         (sinhl): Likewise.
23836         (sqrtf): Likewise.
23837         (sqrtl): Likewise.
23839 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
23841         * sysdeps/arm/atomic-machine.h
23842         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
23843         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
23844         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
23845         Remove conditional code.
23846         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
23847         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
23848         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
23849         Change conditional to [__ASSEMBLER__].
23850         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
23851         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
23852         [!__ASSEMBLER__].
23853         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
23854         code.
23855         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
23856         conditional macro definitions.
23857         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
23858         (__arch_compare_and_exchange_val_16_acq): Likewise.
23859         (__arch_compare_and_exchange_val_32_acq): Likewise.
23860         (atomic_exchange_and_add): Likewise.
23861         (atomic_add): Likewise.
23862         (atomic_add_negative): Likewise.
23863         (atomic_add_zero): Likewise.
23864         (atomic_bit_set): Likewise.
23865         (atomic_bit_test_set): Likewise.
23866         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
23867         code unconditional.
23868         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
23870         * math/test-math-errno.h: New file.
23871         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
23872         empty.
23873         (TEST_ERRNO): New macro.
23874         (TEST_EXCEPTIONS): Likewise.
23875         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
23876         (TEST_EXCEPTIONS): Likewise.
23877         * math/test-math-vector.h (TEST_ERRNO): Likewise.
23878         * math/test-double.c: Include "test-math-errno.h".
23879         * math/test-float.c: Likewise.
23880         * math/test-ldouble.c: Likewise.
23881         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
23882         code unconditional.
23883         (test_exceptions): Only run code if TEST_EXCEPTIONS.
23884         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
23885         unconditional.
23886         (test_errno): Only run code if TEST_ERRNO.
23887         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
23889 2015-11-04  Florian Weimer  <fweimer@redhat.com>
23891         * nptl/tst-once5.cc: Remove attribution.
23893 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
23895         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
23896         sqrt, tan, tanh, y0, y1 and yn.
23897         * math/auto-libm-test-out: Regenerated.
23898         * math/libm-test.inc (scalb_test_data): Add more tests.
23899         (scalbn_test_data): Likewise.
23900         (scalbln_test_data): Likewise.
23901         (signbit_test_data): Likewise.
23902         (sin_test_data): Likewise.
23903         (sincos_test_data): Likewise.
23904         (sinh_test_data): Likewise.
23905         (sqrt_test_data): Likewise.
23906         (tan_test_data): Likewise.
23907         (tanh_test_data): Likewise.
23908         (tgamma_test_data): Likewise.
23909         (y0_test_data): Likewise.
23910         (y1_test_data): Likewise.
23911         (yn_test_data): Likewise.
23912         (significand_test_data): Likewise.
23913         * sysdeps/i386/fpu/libm-test-ulps: Update.
23915 2015-11-03  David Kastrup  <dak@gnu.org>
23917         [BZ #18604]
23918         * assert/assert.h (assert): Don't macro-expand failed assertion
23919         expression in error message.
23920         * malloc/malloc.c (assert): Likewise.
23922 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
23924         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
23925         test.
23926         * configure: Regenerated.
23928 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
23930         * math/libm-test.inc (modf_test_data): Add more tests.
23931         (nearbyint_test_data): Likewise.
23932         (nextafter_test_data): Likewise.
23933         (nexttoward_test_data): Likewise.
23934         (pow_test_data): Likewise.
23935         (remainder_test_data): Likewise.
23936         (remquo_test_data): Likewise.
23937         (rint_test_data): Likewise.
23939         [BZ #19201]
23940         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
23941         Check for zero remainder in case of large exponents and ensure
23942         correct sign of result in that case.
23943         * math/libm-test.inc (remainder_test_data): Add more tests.
23945         [BZ #6799]
23946         * math/s_nextafter.c: Include <errno.h>.
23947         (__nextafter): Set errno on overflow and underflow.
23948         * math/s_nexttowardf.c: Include <errno.h>.
23949         (__nexttowardf): Set errno on overflow and underflow.
23950         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
23951         (__nextafterl): Set errno on overflow and underflow.
23952         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
23953         (__nexttoward): Set errno on overflow and underflow.
23954         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
23955         (__nexttowardf): Set errno on overflow and underflow.
23956         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
23957         (__nextafterf): Set errno on overflow and underflow.
23958         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
23959         (__nextafterl): Set errno on overflow and underflow.
23960         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
23961         (__nexttoward): Set errno on overflow and underflow.
23962         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
23963         (__nexttowardf): Set errno on overflow and underflow.
23964         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
23965         (__nextafterl): Set errno on overflow and underflow.
23966         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
23967         (__nexttoward): Set errno on overflow and underflow.
23968         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
23969         (__nexttowardf): Set errno on overflow and underflow.
23970         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
23971         (__nexttoward): Set errno on overflow and underflow.
23972         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
23973         (__nexttowardf): Set errno on overflow and underflow.
23974         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
23975         (__nldbl_nexttowardf): Set errno on overflow and underflow.
23976         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
23977         (__nextafterl): Set errno on overflow and underflow.
23978         * math/libm-test.inc (nextafter_test_data): Do not allow errno
23979         setting to be missing on overflow.  Add more tests.
23980         (nexttoward_test_data): Likewise.
23982         * configure.ac (libc_cv_initfini_array): Remove configure test.
23983         * configure: Regenerated.
23985 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
23987         [BZ #19189]
23988         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
23989         non-finite argument handle arguments with negative sign.
23991         * math/libm-test.inc (j0_test_data): Do not test sign of zero
23992         result from infinite argument.
23993         (j1_test_data): Likewise.
23994         (jn_test_data): Likewise.
23995         (y0_test_data): Likewise.
23996         (y1_test_data): Likewise.
23997         (yn_test_data): Likewise.
23999         [BZ #16171]
24000         * math/w_remainder.c (drem): Define as weak alias of __remainder.
24001         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
24002         * math/w_remainderf.c (dremf): Define as weak alias of
24003         __remainderf.
24004         * math/w_remainderl.c (dreml): Define as weak alias of
24005         __remainderl.
24006         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
24007         __remainder.
24008         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
24009         __remainderf.
24010         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
24011         __remainderl.
24012         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
24013         weak alias of remainderl.
24014         * sysdeps/ieee754/ldbl-opt/w_remainder.c
24015         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
24016         alias of __remainder.
24017         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
24018         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
24019         strong alias of __remainderl.
24020         (dreml): Use long_double_symbol.
24021         * math/Makefile (libm-calls): Remove w_drem.
24022         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
24023         (CFLAGS-nldbl-drem.c): Remove variable.
24024         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
24025         * math/w_drem.c: Remove file.
24026         * math/w_dremf.c: Likewise.
24027         * math/w_dreml.c: Likewise.
24028         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
24029         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
24030         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
24032         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
24033         * sysdeps/i386/configure: Regenerated.
24034         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
24035         * sysdeps/x86_64/configure: Regenerated.
24037         * configure.ac (libc_cv_asm_protected_directive): Remove configure
24038         test.
24039         (libc_cv_visibility_attribute): Likewise.
24040         (libc_cv_protected_data): Test unconditionally.
24041         (libc_cv_broken_visibility_attribute): Remove configure test.
24042         (libc_cv_have_sdata_section): Test unconditionally.
24043         * configure: Regenerated.
24045         * include/libc-internal.h (libc_max_align_t): Remove typedef.
24046         * include/scratch_buffer.h: Include <stddef.h> instead of
24047         <libc-internal.h>.
24048         (struct scratch_buffer): Use max_align_t instead of
24049         libc_max_align_t.
24051 2015-10-29  Florian Weimer  <fweimer@redhat.com>
24053         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
24054         instead of extend_alloca.  Change control flow to avoid a goto.
24055         Remove assert which is trivially always true.
24057 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
24059         [BZ #16068]
24060         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
24061         (FE_ALL_EXCEPT_X86): New macro.
24062         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
24063         FE_ALL_EXCEPT.  Ensure precision control is included in
24064         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
24065         handle "denormal operand exception" and clear FZ and DAZ bits.
24066         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
24067         (FE_ALL_EXCEPT_X86): New macro.
24068         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
24069         FE_ALL_EXCEPT.  Ensure precision control is included in
24070         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
24071         handle "denormal operand exception" and clear FZ and DAZ bits.
24072         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
24073         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
24074         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
24075         test-fenv-x87 and test-fenv-sse-2.
24076         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
24078         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
24079         * math/test-double.h (BUILD_COMPLEX): New macro.
24080         * math/test-float.h (BUILD_COMPLEX): Likewise.
24081         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
24083         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
24084         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
24085         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
24086         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
24087         instead of DBL_DENORM_MIN in comment.
24088         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
24089         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
24090         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
24091         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
24092         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
24093         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
24095 2015-10-28  Florian Weimer  <fweimer@redhat.com>
24097         [BZ #19048]
24098         * malloc/malloc.c (struct malloc_state): Update comment.  Add
24099         attached_threads member.
24100         (main_arena): Initialize attached_threads.
24101         * malloc/arena.c (list_lock): Update comment.
24102         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
24103         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
24104         (deattach_arena): New function.
24105         (_int_new_arena): Initialize arena reference count and deattach
24106         replaced arena.
24107         (get_free_list, reused_arena): Update reference count and deattach
24108         replaced arena.
24109         (arena_thread_freeres): Update arena reference count and only put
24110         unreferenced arenas on the free list.
24112 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
24114         [BZ #19181]
24115         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
24116         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
24117         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
24118         * math/test-fenv-clear-main.c: New file.
24119         * math/test-fenv-clear.c: Likewise.
24120         * math/Makefile (tests): Add test-fenv-clear.
24121         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
24122         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
24123         test-fenv-clear-sse.
24124         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
24126         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
24127         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
24128         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
24130 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24132         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
24133         static libc.
24135 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
24137         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
24138         test.
24139         * sysdeps/i386/configure: Regenerated.
24140         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
24141         test.
24142         * sysdeps/x86_64/configure: Regenerated.
24143         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
24144         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24145         memset-avx2 unconditionally instead of conditionally on
24146         [$(config-cflags-avx2) = yes].
24147         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
24148         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
24149         unconditional.
24150         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
24151         * sysdeps/x86_64/multiarch/memset_chk.S
24152         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
24153         to [IS_IN (libc) && SHARED].
24155 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
24157         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
24158         configure test.
24159         * sysdeps/arm/configure: Regenerated.
24160         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
24161         Define variable if not already defined.
24163         [BZ #17404]
24164         * sysdeps/mips/atomic-machine.h
24165         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
24166         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
24167         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
24169         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
24170         unconditional.
24171         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
24172         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
24173         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
24174         unconditional.
24175         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
24176         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
24177         unconditional.
24178         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
24179         * stdlib/setenv.c
24180         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
24181         code unconditional.
24182         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
24183         Remove conditional code.
24184         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
24185         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
24186         unconditional.
24187         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
24188         code.
24189         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
24190         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
24191         unconditional.
24192         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
24193         code.
24194         * sysdeps/ieee754/ldbl-128/k_tanl.c
24195         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
24196         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
24197         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
24198         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
24199         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
24200         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
24201         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
24202         unconditional.
24203         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
24204         code.
24205         * sysdeps/ieee754/ldbl-96/k_tanl.c
24206         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
24207         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
24209         * nptl/tst-initializers1-c11.c: New file.
24210         * nptl/tst-initializers1-gnu11.c: Likewise.
24211         * nptl/Makefile (tests): Add these new tests.
24212         (CFLAGS-tst-initializers1-c11.c): New variable.
24213         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
24215         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
24216         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
24217         instead of -std=gnu99.
24218         * configure.ac (systemtap): Test with -std=gnu11 instead of
24219         -std=gnu99.
24220         * configure: Regenerated.
24221         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
24222         in compilation command in comment.
24224         * sysdeps/nptl/configure.ac: Remove file.
24225         * sysdeps/nptl/configure: Remove generated file.
24226         * configure.ac (libc_cv_forced_unwind): Do not substitute.
24227         * configure: Regenerated.
24228         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
24229         * config.make.in (have-forced-unwind): Remove variable.
24230         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
24231         unconditional.
24232         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
24233         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
24234         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
24235         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
24236         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
24237         unconditional.
24239 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24241         [BZ #19174]
24242         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
24243         .skip_lock_out_of_tbegin_retries.
24244         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
24245         (__lll_lock_elision): Likewise, and respect a value of
24246         try_tbegin <= 0.
24248 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24250         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
24251         statement.
24253 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
24255         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
24256         variable.
24257         (test-xfail-ISO11/stdalign.h/conform): Likewise.
24258         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
24260         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
24261         of -std=c1x -D_ISOC11_SOURCE.
24263         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
24264         * configure: Regenerated.
24265         * manual/install.texi (Tools for Compilation): Document
24266         requirement for GCC 4.7 or later.
24267         * INSTALL: Regenerated.
24269 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
24271         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
24272         on CNT to a conditional jump to 'puntdata'.
24274 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
24276         * configure.ac (libc_cv_gcc___thread): Remove configure test.
24277         (libc_cv_gcc_tls_model_attr): Likewise.
24278         * configure: Regenerated.
24280         * configure.ac (libc_cv_need_minus_P): Remove configure test.
24281         * configure: Regenerated.
24282         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
24284 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
24286         * configure.ac (old_glibc_headers): Remove configure test.
24287         * configure: Regenerated.
24288         * config.make.in (old-glibc-headers): Remove variable.
24289         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
24290         (install): Remove dependency on remove-old-headers.
24291         (headers2_0): Remove variable.
24292         (remove-old-headers): Remove rule.
24294         * configure.ac (libc_cv_dot_text): Remove configure test.
24295         (libc_cv_asm_set_directive): Use .text instead of
24296         ${libc_cv_dot_text} in configure test.
24297         * configure: Regenerated.
24299 2015-10-26  Florian Weimer  <fweimer@redhat.com>
24301         [BZ #19168]
24302         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24304 2015-10-26  Florian Weimer  <fweimer@redhat.com>
24306         * configure.ac (CXX): Clear the variable if the C++ toolchain does
24307         not support static linking.
24308         * configure: Regenerate.
24310 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
24312         * math/libm-test.inc (check_float_internal): Do not special-case
24313         errors up to 0.5 ulp.
24315         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
24316         log2.
24317         * math/auto-libm-test-out: Regenerated.
24318         * math/libm-test.inc (MAX_EXP): New macro.
24319         (ilogb_test_data): Add more tests.
24320         (isfinite_test_data): Likewise.
24321         (isgreater_test_data): Likewise.
24322         (isgreaterequal_test_data): Likewise.
24323         (isinf_test_data): Likewise.
24324         (isless_test_data): Likewise.
24325         (islessequal_test_data): Likewise.
24326         (islessgreater_test_data): Likewise.
24327         (isnan_test_data): Likewise.
24328         (isnormal_test_data): Likewise.
24329         (issignaling_test_data): Likewise.
24330         (isunordered_test_data): Likewise.
24331         (j0_test_data): Likewise.
24332         (j1_test_data): Likewise.
24333         (jn_test_data): Likewise.
24334         (lgamma_test_data): Likewise.
24335         (log_test_data): Likewise.
24336         (log10_test_data): Likewise.
24337         (log1p_test_data): Likewise.
24338         (log2_test_data): Likewise.
24339         (logb_test_data): Likewise.
24340         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24342         [BZ #18611]
24343         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
24344         avoid excess range and precision on underflow.
24345         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
24346         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
24347         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
24348         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
24349         underflow.
24350         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
24351         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24352         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
24353         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
24354         * math/auto-libm-test-in: Do not allow missing errno setting for
24355         tests of j1 and jn.
24356         * math/auto-libm-test-out: Regenerated.
24358 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
24360         [BZ #15491]
24361         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
24362         floating-point environment instead of clearing all exceptions.
24363         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
24364         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
24365         merging in "invalid" exceptions from frndint.
24366         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
24367         * math/test-nearbyint-except.c: New file.
24368         * math/Makefile (tests): Add test-nearbyint-except.
24370 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
24372         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
24374         * sysdeps/tile/libm-test-ulps: Regenerated.
24376 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
24379         (__NR_sync_file_range2): Assume it is always defined.
24380         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
24381         (__NR_sync_file_range): Assume it is always defined.
24383 2015-10-22  Andreas Schwab  <schwab@suse.de>
24385         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
24386         INTERNAL_SYSCALL_ERRNO.
24387         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24388         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
24389         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24390         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
24391         Likewise.
24392         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24394 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
24396         * io/tst-fcntl.c (fd): New static variable.
24397         (do_prepare): Open temporary file here....
24398         (do_test): ...not here.
24400         * io/ftwtest-sh: Also trap on exit to remove temporary files.
24402 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
24404         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
24405         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
24406         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
24407         Moved before "#ifdef __ASSEMBLER__".
24409 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
24411         [BZ #19156]
24412         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
24413         arguments very close to 0.
24415 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
24417         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
24418         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
24420 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
24422         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
24423         New.  Defined for GCC 5 and above when not compiling for
24424         profiling.
24425         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
24427         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
24428         Renamed to ...
24429         (CFLAGS-epoll_pwait.o): This.
24430         (CFLAGS-mmap.c): Renamed to ...
24431         (CFLAGS-mmap.o): This.
24432         (CFLAGS-mmap64.c): Renamed to ...
24433         (CFLAGS-mmap64.o): This.
24434         (CFLAGS-epoll_pwait.os): New.
24435         (CFLAGS-mmap.os): Likewise.
24436         (CFLAGS-mmap64.os): Likewise.
24437         (CFLAGS-semtimedop.os): Likewise.
24438         (CFLAGS-semtimedop.c): Renamed to ...
24439         (CFLAGS-semtimedop.o): This.
24441 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24443         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
24444         warning message.
24446 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
24448         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
24449         * Makefile ($(objpfx)c++-types-check.out): Filter out
24450         $(+gccwarn-c) instead of -Wstrict-prototypes.
24452         * io/fts.c (fts_open): Convert to prototype-style function
24453         definition.
24454         * malloc/mcheck.c (mcheck): Likewise.
24455         (mcheck_pedantic): Likewise.
24456         * posix/regexec.c (re_search_2_stub): Likewise.  Use
24457         internal_function.
24458         (re_search_internal): Likewise.
24459         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
24460         prototype-style function definition.
24461         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
24462         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
24463         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
24464         (xdr_utmpptr): Likewise.
24465         (xdr_utmparr): Likewise.
24466         (xdr_utmpidle): Likewise.
24467         (xdr_utmpidleptr): Likewise.
24468         (xdr_utmpidlearr): Likewise.
24470         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
24471         log, log10 and log2.
24472         * math/auto-libm-test-out: Regenerated.
24473         * math/libm-test.inc (fmod_test_data): Add more tests.
24474         (fpclassify_test_data): Likewise.
24475         (frexp_test_data): Likewise.
24476         (hypot_test_data): Likewise.
24477         (ilogb_test_data): Likewise.
24479 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
24481         * debug/fortify_fail.c (__fortify_fail): Convert to
24482         prototype-style function definition.  Use internal_function.
24483         * libio/genops.c (save_for_backup): Convert to prototype-style
24484         function definition.
24485         * libio/wgenops.c (save_for_wbackup): Likewise.
24486         * login/grantpt.c (grantpt): Likewise.
24487         * login/ptsname.c (ptsname): Likewise.
24488         (__ptsname_r): Likewise.
24489         * login/unlockpt.c (unlockpt): Likewise.
24490         * mach/msgserver.c (__mach_msg_server): Likewise.
24491         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
24492         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
24493         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
24494         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
24495         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
24496         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
24497         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
24498         Likewise.
24499         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
24500         internal_function.
24501         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
24502         prototype-style function definition.
24503         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
24504         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
24505         (__pthread_create_2_0): Likewise.
24506         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
24507         * nptl/register-atfork.c (__register_atfork): Likewise.
24508         * posix/glob.c (glob): Likewise.
24509         * posix/regcomp.c (re_comp): Likewise.
24510         * posix/regexec.c (re_exec): Likewise.
24511         * stdlib/add_n.c [__STDC__]: Make code unconditional.
24512         [!__STDC__]: Remove conditional code.
24513         * stdlib/cmp.c [__STDC__]: Make code unconditional.
24514         [!__STDC__]: Remove conditional code.
24515         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
24516         [!__STDC__]: Remove conditional code.
24517         * stdlib/divrem.c [__STDC__]: Make code unconditional.
24518         [!__STDC__]: Remove conditional code.
24519         * stdlib/lshift.c [__STDC__]: Make code unconditional.
24520         [!__STDC__]: Remove conditional code.
24521         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
24522         [!__STDC__]: Remove conditional code.
24523         * stdlib/mul.c [__STDC__]: Make code unconditional.
24524         [!__STDC__]: Remove conditional code.
24525         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
24526         [!__STDC__]: Remove conditional code.
24527         * stdlib/rshift.c [__STDC__]: Make code unconditional.
24528         [!__STDC__]: Remove conditional code.
24529         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
24530         function definition.
24531         (STRTOF): Likewise.
24532         * stdlib/strtod_l.c (__STRTOF): Likewise.
24533         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
24534         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
24535         (__strtol_l): Likewise.
24536         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
24537         [!__STDC__]: Remove conditional code.
24538         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
24539         definition.
24540         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
24541         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
24542         type.
24543         (__strcasecmp): Convert to prototype-style function definition.
24544         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
24545         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
24546         type.
24547         (__strncasecmp): Convert to prototype-style function definition.
24548         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
24549         * sunrpc/xdr.c (xdr_union): Likewise.
24550         * sunrpc/xdr_array.c (xdr_array): Likewise.
24551         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
24552         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
24553         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
24554         Likewise.
24555         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
24556         Likewise.
24557         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
24558         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
24559         Likewise.
24560         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
24561         (LOCALE_PARAM_PROTO): Likewise.
24562         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
24563         argument type.
24564         (ut_argument_spec): Remove macro.
24565         (ut_argument_spec_iso): Rename to ut_argument_spec.
24566         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
24567         prototype-style function definition.
24568         (memcpy_uppcase): Likewise.
24569         (__strftime_internal): Likewise.
24570         (my_strftime): Likewise.
24571         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
24572         (LOCALE_PARAM_DECL): Likewise.
24573         [_LIBC] (LOCALE_PARAM): Include argument type.
24574         (__strptime_internal): Convert to prototype-style function
24575         definition.
24576         (strptime): Likewise.
24577         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
24578         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
24579         type.
24580         (__wcscasecmp): Convert to prototype-style function definition.
24581         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
24582         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
24583         type.
24584         (__wcsncasecmp): Convert to prototype-style function definition.
24586         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
24587         function definition.
24588         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
24589         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
24590         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
24591         * elf/dl-minimal.c (_itoa): Likewise.
24592         * hurd/hurdmalloc.c (malloc): Likewise.
24593         (free): Likewise.
24594         (realloc): Likewise.
24595         * inet/inet6_option.c (inet6_option_space): Likewise.
24596         (inet6_option_init): Likewise.
24597         (inet6_option_append): Likewise.
24598         (inet6_option_alloc): Likewise.
24599         (inet6_option_next): Likewise.
24600         (inet6_option_find): Likewise.
24601         * io/ftw.c (FTW_NAME): Likewise.
24602         (NFTW_NAME): Likewise.
24603         (NFTW_NEW_NAME): Likewise.
24604         (NFTW_OLD_NAME): Likewise.
24605         * libio/iofwide.c (_IO_fwide): Likewise.
24606         * libio/strops.c (_IO_str_init_static_internal): Likewise.
24607         (_IO_str_init_static): Likewise.
24608         (_IO_str_init_readonly): Likewise.
24609         (_IO_str_overflow): Likewise.
24610         (_IO_str_underflow): Likewise.
24611         (_IO_str_count): Likewise.
24612         (_IO_str_seekoff): Likewise.
24613         (_IO_str_pbackfail): Likewise.
24614         (_IO_str_finish): Likewise.
24615         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
24616         (_IO_wstr_overflow): Likewise.
24617         (_IO_wstr_underflow): Likewise.
24618         (_IO_wstr_count): Likewise.
24619         (_IO_wstr_seekoff): Likewise.
24620         (_IO_wstr_pbackfail): Likewise.
24621         (_IO_wstr_finish): Likewise.
24622         * locale/programs/localedef.c (normalize_codeset): Likewise.
24623         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
24624         (add_locales_to_archive): Likewise.
24625         (delete_locales_from_archive): Likewise.
24626         * malloc/malloc.c (__libc_mallinfo): Likewise.
24627         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
24628         * misc/tsearch.c (__tfind): Likewise.
24629         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
24630         * nptl/pthread_attr_getdetachstate.c
24631         (__pthread_attr_getdetachstate): Likewise.
24632         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
24633         Likewise.
24634         * nptl/pthread_attr_getinheritsched.c
24635         (__pthread_attr_getinheritsched): Likewise.
24636         * nptl/pthread_attr_getschedparam.c
24637         (__pthread_attr_getschedparam): Likewise.
24638         * nptl/pthread_attr_getschedpolicy.c
24639         (__pthread_attr_getschedpolicy): Likewise.
24640         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
24641         Likewise.
24642         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
24643         Likewise.
24644         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
24645         Likewise.
24646         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
24647         Likewise.
24648         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
24649         (__pthread_attr_init_2_0): Likewise.
24650         * nptl/pthread_attr_setdetachstate.c
24651         (__pthread_attr_setdetachstate): Likewise.
24652         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
24653         Likewise.
24654         * nptl/pthread_attr_setinheritsched.c
24655         (__pthread_attr_setinheritsched): Likewise.
24656         * nptl/pthread_attr_setschedparam.c
24657         (__pthread_attr_setschedparam): Likewise.
24658         * nptl/pthread_attr_setschedpolicy.c
24659         (__pthread_attr_setschedpolicy): Likewise.
24660         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
24661         Likewise.
24662         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
24663         Likewise.
24664         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
24665         Likewise.
24666         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
24667         Likewise.
24668         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
24669         Likewise.
24670         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
24671         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
24672         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
24673         use internal_function.
24674         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
24675         prototype-style function definition.
24676         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
24677         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
24678         internal_function.
24679         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
24680         Convert to prototype-style function definition.
24681         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
24682         Likewise.
24683         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
24684         Likewise.
24685         (__pthread_mutex_unlock): Likewise.
24686         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
24687         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
24688         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
24689         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
24690         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
24691         * nss/makedb.c (process_input): Likewise.
24692         * posix/fnmatch.c (__strchrnul): Likewise.
24693         (__wcschrnul): Likewise.
24694         (fnmatch): Likewise.
24695         * posix/fnmatch_loop.c (FCT): Likewise.
24696         * posix/glob.c (globfree): Likewise.
24697         (__glob_pattern_type): Likewise.
24698         (__glob_pattern_p): Likewise.
24699         * posix/regcomp.c (re_compile_pattern): Likewise.
24700         (re_set_syntax): Likewise.
24701         (re_compile_fastmap): Likewise.
24702         (regcomp): Likewise.
24703         (regerror): Likewise.
24704         (regfree): Likewise.
24705         * posix/regexec.c (regexec): Likewise.
24706         (re_match): Likewise.
24707         (re_search): Likewise.
24708         (re_match_2): Likewise.
24709         (re_search_2): Likewise.
24710         (re_search_stub): Likewise.  Use internal_function
24711         (re_copy_regs): Likewise.
24712         (re_set_registers): Convert to prototype-style function
24713         definition.
24714         (prune_impossible_nodes): Likewise.  Use internal_function.
24715         * resolv/inet_net_pton.c (inet_net_pton): Convert to
24716         prototype-style function definition.
24717         (inet_net_pton_ipv4): Likewise.
24718         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
24719         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
24720         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
24721         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
24722         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
24723         Make variadic.
24724         * time/strptime_l.c (localtime_r): Convert to prototype-style
24725         function definition.
24726         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
24727         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
24728         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
24729         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
24731         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
24732         definition.
24733         (_ufc_doit_r): Likewise.
24734         * crypt/crypt_util.c (_ufc_copymem): Likewise.
24735         (_ufc_output_conversion_r): Likewise.
24736         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
24737         * inet/rcmd.c (rcmd_af): Likewise.
24738         (rcmd): Likewise.
24739         (ruserok_af): Likewise.
24740         (ruserok): Likewise.
24741         (ruserok2_sa): Likewise.
24742         (ruserok_sa): Likewise.
24743         (iruserok_af): Likewise.
24744         (iruserok): Likewise.
24745         (__ivaliduser): Likewise.
24746         (__validuser2_sa): Likewise.
24747         * inet/rexec.c (rexec_af): Likewise.
24748         (rexec): Likewise.
24749         * inet/ruserpass.c (ruserpass): Likewise.
24750         * locale/programs/xmalloc.c (xcalloc): Likewise.
24751         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
24752         * math/w_drem.c (__drem): Likewise.
24753         * math/w_dremf.c (__dremf): Likewise.
24754         * math/w_dreml.c (__dreml): Likewise.
24755         * misc/daemon.c (daemon): Likewise.
24756         * resolv/res_debug.c (p_fqnname): Likewise.
24757         * stdlib/div.c (div): Likewise.
24758         * string/memcmp.c (memcmp_bytes): Likewise.
24759         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
24760         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
24762         * crypt/cert.c (main): Convert to prototype-style function
24763         definition.
24764         * io/pipe.c (__pipe): Likewise.
24765         * io/pipe2.c (__pipe2): Likewise.
24766         * misc/futimesat.c (futimesat): Likewise.
24767         * misc/utimes.c (__utimes): Likewise.
24768         * posix/execve.c (__execve): Likewise.
24769         * posix/execvp.c (execvp): Likewise.
24770         * posix/execvpe.c (__execvpe): Likewise.
24771         * posix/fexecve.c (fexecve): Likewise.
24772         * socket/socketpair.c (socketpair): Likewise.
24773         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
24774         * stdlib/erand48.c (erand48): Likewise.
24775         * stdlib/erand48_r.c (__erand48_r): Likewise.
24776         * stdlib/jrand48.c (jrand48): Likewise.
24777         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
24778         * stdlib/lcong48.c (lcong48): Likewise.
24779         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
24780         * stdlib/nrand48.c (nrand48): Likewise.
24781         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
24782         * stdlib/seed48.c (seed48): Likewise.
24783         * stdlib/seed48_r.c (__seed48_r): Likewise.
24784         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
24785         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
24786         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
24788 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
24790         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
24791         * configure: Regenerated.
24792         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
24793         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
24794         unconditional.
24795         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
24796         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
24797         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
24798         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
24799         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
24800         unconditional.
24801         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
24803         * posix/Makefile (CFLAGS-regex.c): Remove variable.
24804         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
24806         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
24807         function definition.
24808         * crypt/crypt_util.c (__encrypt_r): Likewise.
24809         * libio/genops.c (_IO_no_init): Likewise.
24810         * libio/iofopncook.c (_IO_fopencookie): Likewise.
24811         (_IO_old_fopencookie): Likewise.
24812         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
24813         * libio/iogetline.c (_IO_getline): Likewise.
24814         (_IO_getline_info): Likewise.
24815         * libio/iogetwline.c (_IO_getwline): Likewise.
24816         (_IO_getwline_info): Likewise.
24817         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
24818         * libio/vswprintf.c (_IO_vswprintf): Likewise.
24819         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
24820         (find_entry): Likewise.
24821         (iterate_table): Likewise.
24822         (lookup): Likewise.
24823         * login/forkpty.c (forkpty): Likewise.
24824         * misc/hsearch_r.c (__hsearch_r): Likewise.
24825         * misc/select.c (__select): Likewise.
24826         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
24827         Likewise.
24828         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
24829         Likewise.
24830         * nptl/old_pthread_cond_timedwait.c
24831         (__pthread_cond_timedwait_2_0): Likewise.
24832         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
24833         * nptl/pthread_barrierattr_getpshared.c
24834         (pthread_barrierattr_getpshared): Likewise.
24835         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
24836         Likewise.
24837         * nptl/pthread_mutex_setprioceiling.c
24838         (pthread_mutex_setprioceiling): Likewise.
24839         * nptl/pthread_mutexattr_getprioceiling.c
24840         (pthread_mutexattr_getprioceiling): Likewise.
24841         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
24842         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
24843         Likewise.
24844         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
24845         Likewise.
24846         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
24847         Likewise.
24848         * socket/recvfrom.c (__recvfrom): Likewise.
24849         * socket/sendto.c (__sendto): Likewise.
24850         * socket/setsockopt.c (__setsockopt): Likewise.
24851         * stdio-common/_itoa.c (_itoa): Likewise.
24852         * stdio-common/_itowa.c (_itowa): Likewise.
24853         * stdio-common/reg-printf.c (__register_printf_specifier):
24854         Likewise.
24855         (__register_printf_function): Likewise.
24856         * stdio-common/tempname.c (__path_search): Likewise.
24857         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
24858         * stdlib/mul_1.c (mpn_mul_1): Likewise.
24859         * stdlib/random_r.c (__initstate_r): Likewise.
24860         * stdlib/setenv.c (__add_to_environ): Likewise.
24861         * stdlib/submul_1.c (mpn_submul_1): Likewise.
24862         * streams/getpmsg.c (getpmsg): Likewise.
24863         * streams/putmsg.c (putmsg): Likewise.
24864         * streams/putpmsg.c (putpmsg): Likewise.
24865         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
24866         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
24867         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
24868         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
24869         * sunrpc/pm_getport.c (pmap_getport): Likewise.
24870         * sunrpc/svc_udp.c (cache_get): Likewise.
24871         * sunrpc/xdr_array.c (xdr_vector): Likewise.
24872         * sysdeps/mach/hurd/getcwd.c
24873         (__canonicalize_directory_name_internal): Likewise.
24874         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
24875         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
24876         * sysdeps/mach/hurd/select.c (__select): Likewise.
24877         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
24878         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
24879         * sysdeps/sparc/nptl/pthread_barrier_init.c
24880         (__pthread_barrier_init): Likewise.
24881         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
24882         (__pthread_cond_timedwait): Likewise.
24883         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
24884         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
24885         Likewise.
24886         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
24887         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
24888         Likewise.
24889         * sysvipc/semtimedop.c (semtimedop): Likewise.
24890         * time/setitimer.c (__setitimer): Likewise.
24891         * time/strftime_l.c (emacs_strftime): Likewise.
24893 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
24895         * config.make.in (have-ssp): Delete.
24896         (stack-protector): New variable.
24897         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
24898         cache test for -fstack-protector-strong.  Export stack_protector to
24899         the best ssp flag.
24900         * configure: Regenerated.
24901         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
24902         * nscd/Makefile (CFLAGS-nscd): Likewise.
24903         * resolv/Makefile (CFLAGS-libresolv): Likewise.
24905 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
24907         [BZ #19122]
24908         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
24909         attribute_hidden.
24911 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24913         [BZ #18743]
24914         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
24915         code to...
24916         (ELIDE_LOCK): ...here.
24917         (__get_new_count): New function with part of the code from
24918         __elide_lock that updates the value of adapt_count after a
24919         transaction abort.
24920         (__elided_trylock): Moved this code to...
24921         (ELIDE_TRYLOCK): ...here.
24923 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
24925         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
24926         * configure: Regenerate.
24927         * INSTALL: Regenerate.
24928         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
24929         and tweak grammar.
24931 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
24933         * login/programs/pt_chown.c: Include signal.h
24934         (main): Clear any signal mask from the parent process.
24936 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
24938         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
24939         * configure: Regenerated.
24940         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
24941         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
24942         $(gnu89-inline-CFLAGS).
24944         * configure.ac (libc_cv_asm_weak_directive): Remove configure
24945         test.
24946         (libc_cv_asm_weakext_directive): Likewise.
24947         * configure: Regenerated.
24948         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
24949         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
24950         * include/libc-symbols.h
24951         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
24952         #error.
24953         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
24954         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
24956         * sysdeps/arm/backtrace.c (__backtrace): Convert to
24957         prototype-style function definition.
24958         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
24959         * sysdeps/i386/ffs.c (__ffs): Likewise.
24960         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
24961         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
24962         Likewise.
24963         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
24964         Likewise.
24965         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
24966         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
24967         Likewise.
24968         * sysdeps/m68k/ffs.c (__ffs): Likewise.
24969         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
24970         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
24971         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
24972         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
24973         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
24974         * sysdeps/mach/hurd/access.c (__access): Likewise.
24975         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
24976         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
24977         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
24978         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
24979         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
24980         (cthread_getspecific): Likewise.
24981         (cthread_setspecific): Likewise.
24982         (__libc_getspecific): Likewise.
24983         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
24984         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
24985         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
24986         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
24987         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
24988         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
24989         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
24990         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
24991         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
24992         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
24993         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
24994         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
24995         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
24996         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
24997         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
24998         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
24999         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
25000         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
25001         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
25002         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
25003         * sysdeps/mach/hurd/link.c (__link): Likewise.
25004         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
25005         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
25006         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
25007         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
25008         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
25009         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
25010         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
25011         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
25012         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
25013         * sysdeps/mach/hurd/rename.c (rename): Likewise.
25014         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
25015         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
25016         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
25017         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
25018         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
25019         * sysdeps/mach/hurd/send.c (__send): Likewise.
25020         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
25021         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
25022         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
25023         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
25024         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
25025         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
25026         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
25027         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
25028         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
25029         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
25030         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
25031         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
25032         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
25033         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
25034         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
25035         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
25036         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
25037         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
25038         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
25039         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
25040         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
25041         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
25042         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
25043         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
25044         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
25045         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
25046         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
25047         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
25048         * sysdeps/posix/alarm.c (alarm): Likewise.
25049         * sysdeps/posix/cuserid.c (cuserid): Likewise.
25050         * sysdeps/posix/dirfd.c (dirfd): Likewise.
25051         * sysdeps/posix/dup.c (__dup): Likewise.
25052         * sysdeps/posix/dup2.c (__dup2): Likewise.
25053         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
25054         (main): Likewise.
25055         * sysdeps/posix/flock.c (__flock): Likewise.
25056         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
25057         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
25058         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
25059         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
25060         * sysdeps/posix/isatty.c (__isatty): Likewise.
25061         * sysdeps/posix/killpg.c (killpg): Likewise.
25062         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
25063         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
25064         * sysdeps/posix/raise.c (raise): Likewise.
25065         * sysdeps/posix/remove.c (remove): Likewise.
25066         * sysdeps/posix/rename.c (rename): Likewise.
25067         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
25068         * sysdeps/posix/seekdir.c (seekdir): Likewise.
25069         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
25070         * sysdeps/posix/sigignore.c (sigignore): Likewise.
25071         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
25072         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
25073         * sysdeps/posix/sigset.c (sigset): Likewise.
25074         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
25075         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
25076         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
25077         * sysdeps/posix/time.c (time): Likewise.
25078         * sysdeps/posix/ttyname.c (getttyname): Likewise.
25079         (ttyname): Likewise.
25080         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
25081         * sysdeps/posix/utime.c (utime): Likewise.
25082         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
25083         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
25084         Likewise.
25085         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
25086         (pthread_spin_trylock): Likewise.
25087         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
25088         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
25089         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
25090         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
25091         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
25092         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
25093         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
25094         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
25095         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
25096         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
25097         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
25098         * sysdeps/s390/ffs.c (__ffs): Likewise.
25099         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
25100         Likewise.
25101         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
25102         Likewise.
25103         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
25104         Likewise.
25105         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
25106         (pthread_barrier_destroy): Likewise.
25107         * sysdeps/sparc/nptl/pthread_barrier_wait.c
25108         (__pthread_barrier_wait): Likewise.
25109         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
25110         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
25111         (__pthread_barrier_wait): Likewise.
25112         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
25113         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
25114         (memcmp_not_common_alignment): Likewise.
25115         (MEMCMP): Likewise.
25116         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
25117         (_wordcopy_fwd_dest_aligned): Likewise.
25118         (_wordcopy_bwd_aligned): Likewise.
25119         (_wordcopy_bwd_dest_aligned): Likewise.
25120         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
25121         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
25122         * sysdeps/unix/bsd/stty.c (stty): Likewise.
25123         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
25124         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
25125         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
25126         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
25127         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
25128         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
25129         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
25130         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
25131         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
25132         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
25133         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
25134         * sysdeps/unix/stime.c (stime): Likewise.
25135         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
25136         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
25137         Likewise.  Use internal_function.
25138         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
25139         Convert to prototype-style function definition.
25140         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
25141         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
25142         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
25143         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
25144         Likewise.  Use internal_function.
25145         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
25146         prototype-style function definition
25147         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
25148         Likewise.
25149         (__getlogin_r): Likewise.
25150         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
25151         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
25152         (__pthread_cond_broadcast): Likewise.
25153         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
25154         (__pthread_cond_destroy): Likewise.
25155         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
25156         (__pthread_cond_init): Likewise.
25157         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
25158         (__pthread_cond_signal): Likewise.
25159         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
25160         (__pthread_cond_wait): Likewise.
25161         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
25162         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
25163         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
25164         Likewise.
25165         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
25166         Likewise.
25167         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
25168         Likewise.
25169         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
25170         Likewise.
25171         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
25172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
25173         (__ftruncate64): Likewise.
25174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
25175         (truncate64): Likewise.
25176         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
25177         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
25178         (pthread_getcpuclockid): Likewise.
25179         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
25180         Likewise.
25181         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
25182         Likewise.
25183         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
25184         Likewise.
25185         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
25186         Likewise.
25187         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
25188         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
25189         (__libc_sigaction): Likewise.
25190         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
25191         Likewise.
25192         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
25193         (__sigprocmask): Likewise.
25194         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
25195         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
25196         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
25197         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
25198         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
25199         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
25200         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
25201         Likewise.
25202         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
25203         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
25204         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
25205         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
25206         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
25207         Likewise.
25208         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
25209         (__sigprocmask): Likewise.
25210         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
25211         (cfgetispeed): Likewise.
25212         (cfsetospeed): Likewise.
25213         (cfsetispeed): Likewise.
25214         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
25215         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
25216         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
25217         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
25218         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
25219         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
25220         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
25221         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
25222         Likewise.
25223         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
25224         Likewise.
25225         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
25226         Likewise.
25227         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
25228         Likewise.
25229         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
25231 2015-10-17  Florian Weimer  <fweimer@redhat.com>
25233         sunrpc: Rewrite with explicit TLS access using __thread.
25234         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
25235         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
25236         directly.
25237         (__rpc_thread_variables): Access thread_rpc_vars directly.
25238         Eliminate redundant assignment of the tvp variable.
25240 2015-10-17  Florian Weimer  <fweimer@redhat.com>
25242         malloc: Rewrite with explicit TLS access using __thread.
25243         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
25244         (tsd_setspecific, tsd_getspecific): Remove.
25245         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
25246         (tsd_setspecific, tsd_getspecific): Likewise.
25247         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
25248         (tsd_setspecific, tsd_getspecific): Likewise.
25249         * malloc/arena.c (thread_arena): New TLS variable.
25250         (arena_key): Remove variable.
25251         (arena_get): Use thread_arena.
25252         (arena_lookup): Remove macro.
25253         (malloc_atfork, free_atfork, ptmalloc_lock_all)
25254         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
25255         (_int_new_arena, get_free_list, reused_arena)
25256         (arena_thread_freeres): Use thread_arena.
25257         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
25258         tsd_getspecific, tsd_setspecific from safety annotations.
25259         (Allocating Cleared Space): Remove arena_lookup from safety
25260         annotations.
25262 2015-10-17  Florian Weimer  <fweimer@redhat.com>
25264         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
25265         struct scratch_buffer instead of extend_alloca.
25267 2015-10-17  Florian Weimer  <fweimer@redhat.com>
25269         * sysdeps/unix/sysv/linux/kernel-features.h
25270         (__ASSUME_SOCK_CLOEXEC): Remove.
25271         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
25272         (__have_paccept): Remove unused macro.
25273         * include/unistd.h (__have_sock_cloexec): Remove declaration.
25274         * misc/syslog.c (openlog_internal): Remove fallback code for
25275         !__ASSUME_SOCK_CLOEXEC.
25276         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
25277         missing SOCK_CLOEXEC.
25278         * nscd/connections.c (have_sock_cloexec): Remove definition.
25279         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
25280         * nscd/nscd_helper.c (open_socket): Remove fallback code for
25281         !__ASSUME_SOCK_CLOEXEC.
25282         * resolv/res_send.c (__have_o_nonblock): Remove definition.
25283         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
25284         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
25285         definition.
25286         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
25287         code for !__ASSUME_SOCK_CLOEXEC.
25289 2015-10-17  Florian Weimer  <fweimer@redhat.com>
25291         [BZ #18982]
25292         * manual/stdio.texi (Variable Arguments Output): Add portability
25293         note, explaining that vfprintf clobbers the va_list pointer.
25295 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
25297         * math/libm-test.inc (fabs_test_data): Add more tests.
25298         (fdim_test_data): Likewise.
25299         (fma_test_data): Likewise.
25300         (fmax_test_data): Likewise.
25301         (fmin_test_data): Likewise.
25302         (fmod_test_data): Likewise.
25304 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
25306         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
25307         data.
25309 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
25311         * math/libm-test.inc (ceil_test_data): Add more tests and more
25312         expectations for "inexact".
25313         (floor_test_data): Add more tests.
25314         (round_test_data): Likewise.
25315         (trunc_test_data): Likewise.
25317         * crypt/cert.c (good_bye): Convert to prototype-style function
25318         definition.
25319         (get8): Likewise.
25320         (put8): Likewise.
25321         * crypt/crypt-entry.c (crypt): Likewise.
25322         (__fcrypt): Likewise.
25323         * crypt/crypt_util.c (_ufc_prbits): Likewise.
25324         (_ufc_set_bits): Likewise.
25325         (_ufc_clearmem): Likewise.
25326         (__init_des_r): Likewise.
25327         (shuffle_sb): Likewise.
25328         (shuffle_sb): Likewise.
25329         (_ufc_setup_salt_r): Likewise.
25330         (_ufc_mk_keytab_r): Likewise.
25331         (_ufc_dofinalperm_r): Likewise.
25332         (encrypt): Likewise.
25333         (__setkey_r): Likewise.
25334         (setkey): Likewise.
25335         * crypt/md5.c (md5_init_ctx): Likewise.
25336         (md5_read_ctx): Likewise.
25337         (md5_finish_ctx): Likewise.
25338         (md5_stream): Likewise.
25339         (md5_buffer): Likewise.
25340         (md5_process_bytes): Likewise.
25341         * crypt/sha256.c (__sha256_init_ctx): Likewise.
25342         (__sha256_finish_ctx): Likewise.
25343         (__sha256_process_bytes): Likewise.
25344         * crypt/sha512.c (__sha512_init_ctx): Likewise.
25345         (__sha512_finish_ctx): Likewise.
25346         (__sha512_process_bytes): Likewise.
25347         * ctype/isctype.c (__isctype): Likewise.
25348         * debug/backtrace.c (__backtrace): Likewise.
25349         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
25350         * debug/fgets_chk.c (__fgets_chk): Likewise.
25351         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
25352         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
25353         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
25354         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
25355         * debug/memset_chk.c (__memset_chk): Likewise.
25356         * debug/strcat_chk.c (__strcat_chk): Likewise.
25357         * debug/strncat_chk.c (__strncat_chk): Likewise.
25358         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
25359         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
25360         * dirent/dirfd.c (dirfd): Likewise.
25361         * dirent/getdents.c (__getdirentries): Likewise.
25362         * dirent/getdents64.c (getdirentries64): Likewise.
25363         * dirent/rewinddir.c (__rewinddir): Likewise.
25364         * dirent/seekdir.c (seekdir): Likewise.
25365         * dirent/telldir.c (telldir): Likewise.
25366         * elf/sln.c (makesymlinks): Likewise.
25367         (makesymlink): Likewise.
25368         * gmon/gmon.c (__moncontrol): Likewise.
25369         (__monstartup): Likewise.
25370         (write_hist): Likewise.
25371         (write_call_graph): Likewise.
25372         (write_bb_counts): Likewise.
25373         * grp/setgroups.c (setgroups): Likewise.
25374         * inet/inet_lnaof.c (inet_lnaof): Likewise.
25375         * inet/inet_net.c (inet_network): Likewise.
25376         * inet/inet_netof.c (inet_netof): Likewise.
25377         * inet/rcmd.c (rresvport_af): Likewise.
25378         (rresvport): Likewise.
25379         * io/access.c (__access): Likewise.
25380         * io/chdir.c (__chdir): Likewise.
25381         * io/chmod.c (__chmod): Likewise.
25382         * io/chown.c (__chown): Likewise.
25383         * io/close.c (__close): Likewise.
25384         * io/creat.c (creat): Likewise.
25385         * io/creat64.c (creat64): Likewise.
25386         * io/dup.c (__dup): Likewise.
25387         * io/dup2.c (__dup2): Likewise.
25388         * io/dup3.c (__dup3): Likewise.
25389         * io/euidaccess.c (__euidaccess): Likewise.
25390         * io/faccessat.c (faccessat): Likewise.
25391         * io/fchmod.c (__fchmod): Likewise.
25392         * io/fchmodat.c (fchmodat): Likewise.
25393         * io/fchown.c (__fchown): Likewise.
25394         * io/fchownat.c (fchownat): Likewise.
25395         * io/fcntl.c (__fcntl): Likewise.
25396         * io/flock.c (__flock): Likewise.
25397         * io/fts.c (fts_load): Likewise.
25398         (fts_close): Likewise.
25399         (fts_read): Likewise.
25400         (fts_set): Likewise.
25401         (fts_children): Likewise.
25402         (fts_build): Likewise.
25403         (fts_stat): Likewise.
25404         (fts_sort): Likewise.
25405         (fts_alloc): Likewise.
25406         (fts_lfree): Likewise.
25407         (fts_palloc): Likewise.
25408         (fts_padjust): Likewise.
25409         (fts_maxarglen): Likewise.
25410         (fts_safe_changedir): Likewise.
25411         * io/getwd.c (getwd): Likewise.
25412         * io/isatty.c (__isatty): Likewise.
25413         * io/lchown.c (__lchown): Likewise.
25414         * io/link.c (__link): Likewise.
25415         * io/linkat.c (linkat): Likewise.
25416         * io/lseek.c (__libc_lseek): Likewise.
25417         * io/mkdir.c (__mkdir): Likewise.
25418         * io/mkdirat.c (mkdirat): Likewise.
25419         * io/mkfifo.c (mkfifo): Likewise.
25420         * io/mkfifoat.c (mkfifoat): Likewise.
25421         * io/open.c (__libc_open): Likewise.
25422         * io/open64.c (__libc_open64): Likewise.
25423         * io/readlink.c (__readlink): Likewise.
25424         * io/readlinkat.c (readlinkat): Likewise.
25425         * io/rmdir.c (__rmdir): Likewise.
25426         * io/symlink.c (__symlink): Likewise.
25427         * io/symlinkat.c (symlinkat): Likewise.
25428         * io/ttyname.c (ttyname): Likewise.
25429         * io/ttyname_r.c (__ttyname_r): Likewise.
25430         * io/umask.c (__umask): Likewise.
25431         * io/unlink.c (__unlink): Likewise.
25432         * io/unlinkat.c (unlinkat): Likewise.
25433         * io/utime.c (utime): Likewise.
25434         * libio/clearerr.c (clearerr): Likewise.
25435         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
25436         * libio/feof.c (_IO_feof): Likewise.
25437         * libio/feof_u.c (feof_unlocked): Likewise.
25438         * libio/ferror.c (_IO_ferror): Likewise.
25439         * libio/ferror_u.c (ferror_unlocked): Likewise.
25440         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
25441         * libio/fileno.c (__fileno): Likewise.
25442         * libio/fputc.c (fputc): Likewise.
25443         * libio/fputc_u.c (fputc_unlocked): Likewise.
25444         * libio/fputwc.c (fputwc): Likewise.
25445         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
25446         * libio/freopen.c (freopen): Likewise.
25447         * libio/freopen64.c (freopen64): Likewise.
25448         * libio/fseek.c (fseek): Likewise.
25449         * libio/fseeko.c (fseeko): Likewise.
25450         * libio/fseeko64.c (fseeko64): Likewise.
25451         * libio/ftello.c (__ftello): Likewise.
25452         * libio/ftello64.c (ftello64): Likewise.
25453         * libio/fwide.c (fwide): Likewise.
25454         * libio/genops.c (_IO_un_link): Likewise.
25455         (_IO_link_in): Likewise.
25456         (_IO_least_marker): Likewise.
25457         (_IO_switch_to_main_get_area): Likewise.
25458         (_IO_switch_to_backup_area): Likewise.
25459         (_IO_switch_to_get_mode): Likewise.
25460         (_IO_free_backup_area): Likewise.
25461         (_IO_switch_to_put_mode): Likewise.
25462         (__overflow): Likewise.
25463         (__underflow): Likewise.
25464         (__uflow): Likewise.
25465         (_IO_setb): Likewise.
25466         (_IO_doallocbuf): Likewise.
25467         (_IO_default_underflow): Likewise.
25468         (_IO_default_uflow): Likewise.
25469         (_IO_default_xsputn): Likewise.
25470         (_IO_sgetn): Likewise.
25471         (_IO_default_xsgetn): Likewise.
25472         (_IO_sync): Likewise.
25473         (_IO_default_setbuf): Likewise.
25474         (_IO_default_seekpos): Likewise.
25475         (_IO_default_doallocate): Likewise.
25476         (_IO_init): Likewise.
25477         (_IO_old_init): Likewise.
25478         (_IO_default_sync): Likewise.
25479         (_IO_default_finish): Likewise.
25480         (_IO_default_seekoff): Likewise.
25481         (_IO_sputbackc): Likewise.
25482         (_IO_sungetc): Likewise.
25483         (_IO_set_column): Likewise.
25484         (_IO_set_column): Likewise.
25485         (_IO_adjust_column): Likewise.
25486         (_IO_get_column): Likewise.
25487         (_IO_init_marker): Likewise.
25488         (_IO_remove_marker): Likewise.
25489         (_IO_marker_difference): Likewise.
25490         (_IO_marker_delta): Likewise.
25491         (_IO_seekmark): Likewise.
25492         (_IO_unsave_markers): Likewise.
25493         (_IO_nobackup_pbackfail): Likewise.
25494         (_IO_default_pbackfail): Likewise.
25495         (_IO_default_seek): Likewise.
25496         (_IO_default_stat): Likewise.
25497         (_IO_default_read): Likewise.
25498         (_IO_default_write): Likewise.
25499         (_IO_default_showmanyc): Likewise.
25500         (_IO_default_imbue): Likewise.
25501         (_IO_iter_next): Likewise.
25502         (_IO_iter_file): Likewise.
25503         * libio/getc.c (_IO_getc): Likewise.
25504         * libio/getwc.c (_IO_getwc): Likewise.
25505         * libio/iofclose.c (_IO_new_fclose): Likewise.
25506         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
25507         * libio/iofflush.c (_IO_fflush): Likewise.
25508         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
25509         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
25510         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
25511         * libio/iofgets.c (_IO_fgets): Likewise.
25512         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
25513         * libio/iofgetws.c (fgetws): Likewise.
25514         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
25515         * libio/iofopen64.c (_IO_fopen64): Likewise.
25516         * libio/iofopncook.c (_IO_cookie_read): Likewise.
25517         (_IO_cookie_write): Likewise.
25518         (_IO_cookie_seek): Likewise.
25519         (_IO_cookie_close): Likewise.
25520         (_IO_cookie_seekoff): Likewise.
25521         (_IO_old_cookie_seek): Likewise.
25522         * libio/iofputs.c (_IO_fputs): Likewise.
25523         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
25524         * libio/iofputws.c (fputws): Likewise.
25525         * libio/iofputws_u.c (fputws_unlocked): Likewise.
25526         * libio/iofread.c (_IO_fread): Likewise.
25527         * libio/iofread_u.c (__fread_unlocked): Likewise.
25528         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
25529         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
25530         * libio/ioftell.c (_IO_ftell): Likewise.
25531         * libio/iofwrite.c (_IO_fwrite): Likewise.
25532         * libio/iogetdelim.c (_IO_getdelim): Likewise.
25533         * libio/iogets.c (_IO_gets): Likewise.
25534         * libio/iopadn.c (_IO_padn): Likewise.
25535         * libio/iopopen.c (_IO_new_proc_open): Likewise.
25536         (_IO_new_popen): Likewise.
25537         (_IO_new_proc_close): Likewise.
25538         * libio/ioputs.c (_IO_puts): Likewise.
25539         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
25540         (_IO_seekoff): Likewise.
25541         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
25542         (_IO_seekpos): Likewise.
25543         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
25544         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
25545         * libio/ioungetc.c (_IO_ungetc): Likewise.
25546         * libio/ioungetwc.c (ungetwc): Likewise.
25547         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
25548         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
25549         * libio/iowpadn.c (_IO_wpadn): Likewise.
25550         * libio/libc_fatal.c (__libc_fatal): Likewise.
25551         * libio/memstream.c (__open_memstream): Likewise.
25552         (_IO_mem_sync): Likewise.
25553         (_IO_mem_finish): Likewise.
25554         * libio/oldfileops.c (_IO_old_file_init): Likewise.
25555         (_IO_old_file_close_it): Likewise.
25556         (_IO_old_file_finish): Likewise.
25557         (_IO_old_file_fopen): Likewise.
25558         (_IO_old_file_attach): Likewise.
25559         (_IO_old_file_setbuf): Likewise.
25560         (_IO_old_do_write): Likewise.
25561         (old_do_write): Likewise.
25562         (_IO_old_file_underflow): Likewise.
25563         (_IO_old_file_overflow): Likewise.
25564         (_IO_old_file_sync): Likewise.
25565         (_IO_old_file_seekoff): Likewise.
25566         (_IO_old_file_write): Likewise.
25567         (_IO_old_file_xsputn): Likewise.
25568         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
25569         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
25570         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
25571         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
25572         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
25573         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
25574         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
25575         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
25576         (_IO_old_popen): Likewise.
25577         (_IO_old_proc_close): Likewise.
25578         * libio/oldpclose.c (__old_pclose): Likewise.
25579         * libio/pclose.c (__new_pclose): Likewise.
25580         * libio/peekc.c (_IO_peekc_locked): Likewise.
25581         * libio/putc.c (_IO_putc): Likewise.
25582         * libio/putc_u.c (putc_unlocked): Likewise.
25583         * libio/putchar.c (putchar): Likewise.
25584         * libio/putchar_u.c (putchar_unlocked): Likewise.
25585         * libio/putwc.c (putwc): Likewise.
25586         * libio/putwc_u.c (putwc_unlocked): Likewise.
25587         * libio/putwchar.c (putwchar): Likewise.
25588         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
25589         * libio/rewind.c (rewind): Likewise.
25590         * libio/setbuf.c (setbuf): Likewise.
25591         * libio/setlinebuf.c (setlinebuf): Likewise.
25592         * libio/vasprintf.c (_IO_vasprintf): Likewise.
25593         * libio/vscanf.c (_IO_vscanf): Likewise.
25594         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
25595         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
25596         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
25597         * libio/wgenops.c (_IO_least_wmarker): Likewise.
25598         (_IO_switch_to_main_wget_area): Likewise.
25599         (_IO_switch_to_wbackup_area): Likewise.
25600         (_IO_wsetb): Likewise.
25601         (_IO_wdefault_pbackfail): Likewise.
25602         (_IO_wdefault_finish): Likewise.
25603         (_IO_wdefault_uflow): Likewise.
25604         (__woverflow): Likewise.
25605         (__wuflow): Likewise.
25606         (__wunderflow): Likewise.
25607         (_IO_wdefault_xsputn): Likewise.
25608         (_IO_wdefault_xsgetn): Likewise.
25609         (_IO_wdoallocbuf): Likewise.
25610         (_IO_wdefault_doallocate): Likewise.
25611         (_IO_switch_to_wget_mode): Likewise.
25612         (_IO_free_wbackup_area): Likewise.
25613         (_IO_switch_to_wput_mode): Likewise.
25614         (_IO_sputbackwc): Likewise.
25615         (_IO_sungetwc): Likewise.
25616         (_IO_adjust_wcolumn): Likewise.
25617         (_IO_init_wmarker): Likewise.
25618         (_IO_wmarker_delta): Likewise.
25619         (_IO_seekwmark): Likewise.
25620         (_IO_unsave_wmarkers): Likewise.
25621         * libio/wmemstream.c (open_wmemstream): Likewise.
25622         (_IO_wmem_sync): Likewise.
25623         (_IO_wmem_finish): Likewise.
25624         * locale/nl_langinfo.c (nl_langinfo): Likewise.
25625         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
25626         * locale/programs/simple-hash.c (init_hash): Likewise.
25627         (delete_hash): Likewise.
25628         (insert_entry): Likewise.
25629         (set_entry): Likewise.
25630         (next_prime): Likewise.
25631         (is_prime): Likewise.
25632         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
25633         (xmalloc): Likewise.
25634         (xrealloc): Likewise.
25635         * locale/programs/xstrdup.c (xstrdup): Likewise.
25636         * localedata/collate-test.c (xstrcoll): Likewise.
25637         * localedata/xfrm-test.c (xstrcmp): Likewise.
25638         * login/getlogin_r.c (__getlogin_r): Likewise.
25639         * login/getpt.c (__posix_openpt): Likewise.
25640         * login/login_tty.c (login_tty): Likewise.
25641         * login/setlogin.c (setlogin): Likewise.
25642         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
25643         (mach_msg_destroy_port): Likewise.
25644         (mach_msg_destroy_memory): Likewise.
25645         * malloc/mcheck.c (flood): Likewise.
25646         * misc/acct.c (acct): Likewise.
25647         * misc/brk.c (__brk): Likewise.
25648         * misc/chflags.c (chflags): Likewise.
25649         * misc/chroot.c (chroot): Likewise.
25650         * misc/fchflags.c (fchflags): Likewise.
25651         * misc/fstab.c (getfsspec): Likewise.
25652         (getfsfile): Likewise.
25653         * misc/fsync.c (fsync): Likewise.
25654         * misc/ftruncate.c (__ftruncate): Likewise.
25655         * misc/ftruncate64.c (__ftruncate64): Likewise.
25656         * misc/getdomain.c (getdomainname): Likewise.
25657         (getdomainname): Likewise.
25658         * misc/gethostname.c (__gethostname): Likewise.
25659         * misc/getpass.c (getpass): Likewise.
25660         * misc/getttyent.c (skip): Likewise.
25661         (value): Likewise.
25662         * misc/gtty.c (gtty): Likewise.
25663         * misc/hsearch.c (hsearch): Likewise.
25664         (hcreate): Likewise.
25665         * misc/hsearch_r.c (__hcreate_r): Likewise.
25666         (__hdestroy_r): Likewise.
25667         * misc/ioctl.c (__ioctl): Likewise.
25668         * misc/mkdtemp.c (mkdtemp): Likewise.
25669         * misc/mkostemp.c (mkostemp): Likewise.
25670         * misc/mkostemp64.c (mkostemp64): Likewise.
25671         * misc/mkostemps.c (mkostemps): Likewise.
25672         * misc/mkostemps64.c (mkostemps64): Likewise.
25673         * misc/mkstemp.c (mkstemp): Likewise.
25674         * misc/mkstemp64.c (mkstemp64): Likewise.
25675         * misc/mkstemps.c (mkstemps): Likewise.
25676         * misc/mkstemps64.c (mkstemps64): Likewise.
25677         * misc/mktemp.c (__mktemp): Likewise.
25678         * misc/preadv.c (preadv): Likewise.
25679         * misc/preadv64.c (preadv64): Likewise.
25680         * misc/pwritev.c (pwritev): Likewise.
25681         * misc/pwritev64.c (pwritev64): Likewise.
25682         * misc/readv.c (__readv): Likewise.
25683         * misc/revoke.c (revoke): Likewise.
25684         * misc/setdomain.c (setdomainname): Likewise.
25685         * misc/setegid.c (setegid): Likewise.
25686         * misc/seteuid.c (seteuid): Likewise.
25687         * misc/sethostid.c (sethostid): Likewise.
25688         * misc/sethostname.c (sethostname): Likewise.
25689         * misc/setregid.c (__setregid): Likewise.
25690         * misc/setreuid.c (__setreuid): Likewise.
25691         * misc/sstk.c (sstk): Likewise.
25692         * misc/stty.c (stty): Likewise.
25693         * misc/syscall.c (syscall): Likewise.
25694         * misc/syslog.c (setlogmask): Likewise.
25695         * misc/truncate.c (__truncate): Likewise.
25696         * misc/truncate64.c (truncate64): Likewise.
25697         * misc/ualarm.c (ualarm): Likewise.
25698         * misc/usleep.c (usleep): Likewise.
25699         * misc/ustat.c (ustat): Likewise.
25700         * misc/writev.c (__writev): Likewise.
25701         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
25702         * nptl/old_pthread_cond_broadcast.c
25703         (__pthread_cond_broadcast_2_0): Likewise.
25704         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
25705         Likewise.
25706         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
25707         Likewise.
25708         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
25709         Likewise.
25710         * nptl/pt-raise.c (raise): Likewise.
25711         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
25712         Likewise.
25713         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
25714         * nptl/pthread_barrierattr_destroy.c
25715         (pthread_barrierattr_destroy): Likewise.
25716         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
25717         Likewise.
25718         * nptl/pthread_barrierattr_setpshared.c
25719         (pthread_barrierattr_setpshared): Likewise.
25720         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
25721         Likewise.
25722         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
25723         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
25724         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
25725         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
25726         Likewise.
25727         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
25728         Likewise.
25729         * nptl/pthread_condattr_getpshared.c
25730         (pthread_condattr_getpshared): Likewise.
25731         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
25732         Likewise.
25733         * nptl/pthread_condattr_setpshared.c
25734         (pthread_condattr_setpshared): Likewise.
25735         * nptl/pthread_detach.c (pthread_detach): Likewise.
25736         * nptl/pthread_equal.c (__pthread_equal): Likewise.
25737         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
25738         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
25739         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
25740         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
25741         Likewise.
25742         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
25743         Likewise.
25744         * nptl/pthread_mutex_getprioceiling.c
25745         (pthread_mutex_getprioceiling): Likewise.
25746         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
25747         Likewise.
25748         * nptl/pthread_mutexattr_getprotocol.c
25749         (pthread_mutexattr_getprotocol): Likewise.
25750         * nptl/pthread_mutexattr_getpshared.c
25751         (pthread_mutexattr_getpshared): Likewise.
25752         * nptl/pthread_mutexattr_getrobust.c
25753         (pthread_mutexattr_getrobust): Likewise.
25754         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
25755         Likewise.
25756         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
25757         Likewise.
25758         * nptl/pthread_mutexattr_setprioceiling.c
25759         (pthread_mutexattr_setprioceiling): Likewise.
25760         * nptl/pthread_mutexattr_setprotocol.c
25761         (pthread_mutexattr_setprotocol): Likewise.
25762         * nptl/pthread_mutexattr_setpshared.c
25763         (pthread_mutexattr_setpshared): Likewise.
25764         * nptl/pthread_mutexattr_setrobust.c
25765         (pthread_mutexattr_setrobust): Likewise.
25766         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
25767         Likewise.
25768         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
25769         Likewise.
25770         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
25771         Likewise.
25772         * nptl/pthread_rwlockattr_getkind_np.c
25773         (pthread_rwlockattr_getkind_np): Likewise.
25774         * nptl/pthread_rwlockattr_getpshared.c
25775         (pthread_rwlockattr_getpshared): Likewise.
25776         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
25777         Likewise.
25778         * nptl/pthread_rwlockattr_setkind_np.c
25779         (pthread_rwlockattr_setkind_np): Likewise.
25780         * nptl/pthread_rwlockattr_setpshared.c
25781         (pthread_rwlockattr_setpshared): Likewise.
25782         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
25783         Likewise.
25784         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
25785         Likewise.
25786         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
25787         Likewise.
25788         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
25789         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
25790         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
25791         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
25792         * nptl/sem_close.c (sem_close): Likewise.
25793         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
25794         * nptl/sem_init.c (__old_sem_init): Likewise.
25795         * nptl/sigaction.c (__sigaction): Likewise.
25796         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
25797         * posix/_exit.c (_exit): Likewise.
25798         * posix/alarm.c (alarm): Likewise.
25799         * posix/confstr.c (confstr): Likewise.
25800         * posix/fpathconf.c (__fpathconf): Likewise.
25801         * posix/getgroups.c (__getgroups): Likewise.
25802         * posix/getpgid.c (__getpgid): Likewise.
25803         * posix/group_member.c (__group_member): Likewise.
25804         * posix/pathconf.c (__pathconf): Likewise.
25805         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
25806         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
25807         * posix/setgid.c (__setgid): Likewise.
25808         * posix/setpgid.c (__setpgid): Likewise.
25809         * posix/setuid.c (__setuid): Likewise.
25810         * posix/sleep.c (__sleep): Likewise.
25811         * posix/sysconf.c (__sysconf): Likewise.
25812         * posix/times.c (__times): Likewise.
25813         * posix/uname.c (__uname): Likewise.
25814         * posix/waitid.c (__waitid): Likewise.
25815         * pwd/getpw.c (__getpw): Likewise.
25816         * resolv/base64.c (b64_pton): Likewise.
25817         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
25818         * resolv/gethnamaddr.c (Dprintf): Likewise.
25819         (gethostbyname): Likewise.
25820         (gethostbyname2): Likewise.
25821         (gethostbyaddr): Likewise.
25822         (_sethtent): Likewise.
25823         (_gethtbyname): Likewise.
25824         (_gethtbyname2): Likewise.
25825         (_gethtbyaddr): Likewise.
25826         (map_v4v6_address): Likewise.
25827         (map_v4v6_hostent): Likewise.
25828         (addrsort): Likewise.
25829         (ht_sethostent): Likewise.
25830         (ht_gethostbyname): Likewise.
25831         (ht_gethostbyaddr): Likewise.
25832         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
25833         (inet_net_ntop_ipv4): Likewise.
25834         * resolv/inet_neta.c (inet_neta): Likewise.
25835         * resolv/inet_ntop.c (inet_ntop): Likewise.
25836         (inet_ntop4): Likewise.
25837         (inet_ntop6): Likewise.
25838         * resolv/inet_pton.c (__inet_pton): Likewise.
25839         (inet_pton4): Likewise.
25840         (inet_pton6): Likewise.
25841         * resolv/res_debug.c (loc_aton): Likewise.
25842         (loc_ntoa): Likewise.
25843         * resource/getpriority.c (__getpriority): Likewise.
25844         * resource/getrusage.c (__getrusage): Likewise.
25845         * resource/nice.c (nice): Likewise.
25846         * resource/setpriority.c (__setpriority): Likewise.
25847         * resource/setrlimit64.c (setrlimit64): Likewise.
25848         * resource/vlimit.c (vlimit): Likewise.
25849         * resource/vtimes.c (vtimes): Likewise.
25850         * rt/aio_error.c (aio_error): Likewise.
25851         * rt/aio_return.c (aio_return): Likewise.
25852         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
25853         * signal/kill.c (__kill): Likewise.
25854         * signal/killpg.c (killpg): Likewise.
25855         * signal/raise.c (raise): Likewise.
25856         * signal/sigaction.c (__sigaction): Likewise.
25857         * signal/sigaddset.c (sigaddset): Likewise.
25858         * signal/sigaltstack.c (sigaltstack): Likewise.
25859         * signal/sigandset.c (sigandset): Likewise.
25860         * signal/sigblock.c (__sigblock): Likewise.
25861         * signal/sigdelset.c (sigdelset): Likewise.
25862         * signal/sigempty.c (sigemptyset): Likewise.
25863         * signal/sigfillset.c (sigfillset): Likewise.
25864         * signal/sighold.c (sighold): Likewise.
25865         * signal/sigignore.c (sigignore): Likewise.
25866         * signal/sigintr.c (siginterrupt): Likewise.
25867         * signal/sigisempty.c (sigisemptyset): Likewise.
25868         * signal/sigismem.c (sigismember): Likewise.
25869         * signal/signal.c (signal): Likewise.
25870         * signal/sigorset.c (sigorset): Likewise.
25871         * signal/sigpause.c (__sigpause): Likewise.
25872         * signal/sigpending.c (sigpending): Likewise.
25873         * signal/sigprocmask.c (__sigprocmask): Likewise.
25874         * signal/sigrelse.c (sigrelse): Likewise.
25875         * signal/sigreturn.c (__sigreturn): Likewise.
25876         * signal/sigset.c (sigset): Likewise.
25877         * signal/sigsetmask.c (__sigsetmask): Likewise.
25878         * signal/sigstack.c (sigstack): Likewise.
25879         * signal/sigsuspend.c (__sigsuspend): Likewise.
25880         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
25881         * signal/sysv_signal.c (__sysv_signal): Likewise.
25882         * socket/accept.c (accept): Likewise.
25883         * socket/accept4.c (__libc_accept4): Likewise.
25884         * socket/bind.c (__bind): Likewise.
25885         * socket/connect.c (__connect): Likewise.
25886         * socket/getpeername.c (getpeername): Likewise.
25887         * socket/getsockname.c (__getsockname): Likewise.
25888         * socket/getsockopt.c (getsockopt): Likewise.
25889         * socket/listen.c (__listen): Likewise.
25890         * socket/recv.c (__recv): Likewise.
25891         * socket/recvmsg.c (__recvmsg): Likewise.
25892         * socket/send.c (__send): Likewise.
25893         * socket/sendmsg.c (__sendmsg): Likewise.
25894         * socket/shutdown.c (shutdown): Likewise.
25895         * socket/sockatmark.c (sockatmark): Likewise.
25896         * socket/socket.c (__socket): Likewise.
25897         * stdio-common/ctermid.c (ctermid): Likewise.
25898         * stdio-common/cuserid.c (cuserid): Likewise.
25899         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
25900         * stdio-common/remove.c (remove): Likewise.
25901         * stdio-common/rename.c (rename): Likewise.
25902         * stdio-common/renameat.c (renameat): Likewise.
25903         * stdio-common/tempname.c (__gen_tempname): Likewise.
25904         * stdio-common/xbug.c (InitBuffer): Likewise.
25905         (AppendToBuffer): Likewise.
25906         (ReadFile): Likewise.
25907         * stdlib/a64l.c (a64l): Likewise.
25908         * stdlib/drand48_r.c (drand48_r): Likewise.
25909         * stdlib/getcontext.c (getcontext): Likewise.
25910         * stdlib/getenv.c (getenv): Likewise.
25911         * stdlib/l64a.c (l64a): Likewise.
25912         * stdlib/llabs.c (llabs): Likewise.
25913         * stdlib/lldiv.c (lldiv): Likewise.
25914         * stdlib/lrand48_r.c (lrand48_r): Likewise.
25915         * stdlib/mrand48_r.c (mrand48_r): Likewise.
25916         * stdlib/putenv.c (putenv): Likewise.
25917         * stdlib/random.c (__srandom): Likewise.
25918         (__initstate): Likewise.
25919         (__setstate): Likewise.
25920         * stdlib/random_r.c (__srandom_r): Likewise.
25921         (__setstate_r): Likewise.
25922         (__random_r): Likewise.
25923         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
25924         * stdlib/setcontext.c (setcontext): Likewise.
25925         * stdlib/setenv.c (setenv): Likewise.
25926         (unsetenv): Likewise.
25927         * stdlib/srand48.c (srand48): Likewise.
25928         * stdlib/srand48_r.c (__srand48_r): Likewise.
25929         * stdlib/swapcontext.c (swapcontext): Likewise.
25930         * stdlib/system.c (__libc_system): Likewise.
25931         * stdlib/tst-strtod.c (expand): Likewise.
25932         * stdlib/tst-strtol.c (expand): Likewise.
25933         * stdlib/tst-strtoll.c (expand): Likewise.
25934         * streams/fattach.c (fattach): Likewise.
25935         * streams/fdetach.c (fdetach): Likewise.
25936         * streams/getmsg.c (getmsg): Likewise.
25937         * streams/isastream.c (isastream): Likewise.
25938         * string/ffs.c (__ffs): Likewise.
25939         * string/ffsll.c (ffsll): Likewise.
25940         * string/memcmp.c (memcmp_common_alignment): Likewise.
25941         (memcmp_not_common_alignment): Likewise.
25942         (MEMCMP): Likewise.
25943         * string/memcpy.c (memcpy): Likewise.
25944         * string/memmove.c (MEMMOVE): Likewise.
25945         * string/memset.c (memset): Likewise.
25946         * string/rawmemchr.c (RAWMEMCHR): Likewise.
25947         * string/strchrnul.c (STRCHRNUL): Likewise.
25948         * string/strerror.c (strerror): Likewise.
25949         * string/strndup.c (__strndup): Likewise.
25950         * string/strverscmp.c (__strverscmp): Likewise.
25951         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
25952         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
25953         (clnttcp_freeres): Likewise.
25954         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
25955         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
25956         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
25957         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
25958         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
25959         (xdr_callhdr): Likewise.
25960         * sunrpc/rpcinfo.c (udpping): Likewise.
25961         (tcpping): Likewise.
25962         (pstatus): Likewise.
25963         (pmapdump): Likewise.
25964         (brdcst): Likewise.
25965         (deletereg): Likewise.
25966         (getprognum): Likewise.
25967         (getvers): Likewise.
25968         (get_inet_address): Likewise.
25969         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
25970         * sunrpc/svc_udp.c (svcudp_create): Likewise.
25971         (svcudp_stat): Likewise.
25972         (svcudp_recv): Likewise.
25973         (svcudp_reply): Likewise.
25974         (svcudp_getargs): Likewise.
25975         (svcudp_freeargs): Likewise.
25976         (svcudp_destroy): Likewise.
25977         * sunrpc/xdr.c (xdr_bytes): Likewise.
25978         (xdr_netobj): Likewise.
25979         (xdr_string): Likewise.
25980         (xdr_wrapstring): Likewise.
25981         * sunrpc/xdr_float.c (xdr_float): Likewise.
25982         (xdr_double): Likewise.
25983         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
25984         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
25985         * sysvipc/ftok.c (ftok): Likewise.
25986         * sysvipc/msgctl.c (msgctl): Likewise.
25987         * sysvipc/msgget.c (msgget): Likewise.
25988         * sysvipc/msgrcv.c (msgrcv): Likewise.
25989         * sysvipc/msgsnd.c (msgsnd): Likewise.
25990         * sysvipc/semget.c (semget): Likewise.
25991         * sysvipc/semop.c (semop): Likewise.
25992         * sysvipc/shmat.c (shmat): Likewise.
25993         * sysvipc/shmctl.c (shmctl): Likewise.
25994         * sysvipc/shmdt.c (shmdt): Likewise.
25995         * sysvipc/shmget.c (shmget): Likewise.
25996         * termios/cfmakeraw.c (cfmakeraw): Likewise.
25997         * termios/speed.c (cfgetospeed): Likewise.
25998         (cfgetispeed): Likewise.
25999         (cfsetospeed): Likewise.
26000         (cfsetispeed): Likewise.
26001         * termios/tcflow.c (tcflow): Likewise.
26002         * termios/tcflush.c (tcflush): Likewise.
26003         * termios/tcgetattr.c (__tcgetattr): Likewise.
26004         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
26005         * termios/tcgetsid.c (tcgetsid): Likewise.
26006         * termios/tcsendbrk.c (tcsendbreak): Likewise.
26007         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
26008         * time/adjtime.c (__adjtime): Likewise.
26009         * time/dysize.c (dysize): Likewise.
26010         * time/ftime.c (ftime): Likewise.
26011         * time/getitimer.c (__getitimer): Likewise.
26012         * time/gettimeofday.c (__gettimeofday): Likewise.
26013         * time/gmtime.c (__gmtime_r): Likewise.
26014         (gmtime): Likewise.
26015         * time/localtime.c (__localtime_r): Likewise.
26016         (localtime): Likewise.
26017         * time/offtime.c (__offtime): Likewise.
26018         * time/settimeofday.c (__settimeofday): Likewise.
26019         * time/stime.c (stime): Likewise.
26020         * time/strftime_l.c (tm_diff): Likewise.
26021         (iso_week_days): Likewise.
26022         * time/strptime.c (strptime): Likewise.
26023         * time/time.c (time): Likewise.
26024         * time/timespec_get.c (timespec_get): Likewise.
26025         * time/tzset.c (tzset_internal): Likewise.
26026         (compute_change): Likewise.
26027         (__tz_compute): Likewise.
26028         * wcsmbs/btowc.c (__btowc): Likewise.
26029         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
26030         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
26031         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
26032         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
26033         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
26034         * wcsmbs/wcscat.c (__wcscat): Likewise.
26035         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
26036         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
26037         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
26038         * wcsmbs/wcscspn.c (wcscspn): Likewise.
26039         * wcsmbs/wcsdup.c (wcsdup): Likewise.
26040         * wcsmbs/wcslen.c (__wcslen): Likewise.
26041         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
26042         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
26043         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
26044         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
26045         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
26046         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
26047         * wcsmbs/wcsspn.c (wcsspn): Likewise.
26048         * wcsmbs/wcsstr.c (wcsstr): Likewise.
26049         * wcsmbs/wcstok.c (wcstok): Likewise.
26050         * wcsmbs/wctob.c (wctob): Likewise.
26051         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
26052         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26053         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
26054         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
26055         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
26056         * wcsmbs/wmemset.c (__wmemset): Likewise.
26057         * wctype/wcfuncs.c (__towlower): Likewise.
26058         (__towupper): Likewise.
26060         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
26061         (lll_unlock_elision): Add adapt_count parameter.
26063 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
26065         * sysdeps/nptl/configure.ac: Do not give errors based on the
26066         results of top-level configure tests.
26067         * sysdeps/nptl/configure: Regenerated.
26069         * configure.ac (libc_cv_Bgroup): Remove configure test.
26070         * configure: Regenerated.
26071         * config.make.in (have-Bgroup): Remove variable.
26073         * configure.ac (sizeof_long_double): Remove configure test.
26074         * configure: Regenerated.
26075         * config.make.in (sizeof-long-double): Remove variable.
26077         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
26078         * configure: Regenerated.
26079         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
26080         variable.
26081         (exceptions): Likewise.
26082         * sysdeps/arm/configure: Regenerated.
26083         * config.make.in (exceptions): Remove variable.
26084         * Makeconfig (uses-callbacks): Use -fexceptions instead of
26085         $(exceptions).
26086         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
26087         (CFLAGS-vdprintf_chk.c): Likewise.
26088         (CFLAGS-printf_chk.c): Likewise.
26089         (CFLAGS-fprintf_chk.c): Likewise.
26090         (CFLAGS-vprintf_chk.c): Likewise.
26091         (CFLAGS-vfprintf_chk.c): Likewise.
26092         (CFLAGS-gets_chk.c): Likewise.
26093         (CFLAGS-fgets_chk.c): Likewise.
26094         (CFLAGS-fgets_u_chk.c): Likewise.
26095         (CFLAGS-fread_chk.c): Likewise.
26096         (CFLAGS-fread_u_chk.c): Likewise.
26097         (CFLAGS-wprintf_chk.c): Likewise.
26098         (CFLAGS-fwprintf_chk.c): Likewise.
26099         (CFLAGS-vwprintf_chk.c): Likewise.
26100         (CFLAGS-vfwprintf_chk.c): Likewise.
26101         (CFLAGS-fgetws_chk.c): Likewise.
26102         (CFLAGS-fgetws_u_chk.c): Likewise.
26103         * libio/Makefile (CFLAGS-fileops.c): Likewise.
26104         (CFLAGS-fputc.c): Likewise.
26105         (CFLAGS-fputwc.c): Likewise.
26106         (CFLAGS-freopen64.c): Likewise.
26107         (CFLAGS-freopen.c): Likewise.
26108         (CFLAGS-fseek.c): Likewise.
26109         (CFLAGS-fseeko64.c): Likewise.
26110         (CFLAGS-fseeko.c): Likewise.
26111         (CFLAGS-ftello64.c): Likewise.
26112         (CFLAGS-ftello.c): Likewise.
26113         (CFLAGS-fwide.c): Likewise.
26114         (CFLAGS-genops.c): Likewise.
26115         (CFLAGS-getc.c): Likewise.
26116         (CFLAGS-getchar.c): Likewise.
26117         (CFLAGS-getwc.c): Likewise.
26118         (CFLAGS-getwchar.c): Likewise.
26119         (CFLAGS-iofclose.c): Likewise.
26120         (CFLAGS-iofflush.c): Likewise.
26121         (CFLAGS-iofgetpos64.c): Likewise.
26122         (CFLAGS-iofgetpos.c): Likewise.
26123         (CFLAGS-iofgets.c): Likewise.
26124         (CFLAGS-iofgetws.c): Likewise.
26125         (CFLAGS-iofputs.c): Likewise.
26126         (CFLAGS-iofputws.c): Likewise.
26127         (CFLAGS-iofread.c): Likewise.
26128         (CFLAGS-iofsetpos64.c): Likewise.
26129         (CFLAGS-iofsetpos.c): Likewise.
26130         (CFLAGS-ioftell.c): Likewise.
26131         (CFLAGS-iofwrite.c): Likewise.
26132         (CFLAGS-iogetdelim.c): Likewise.
26133         (CFLAGS-iogetline.c): Likewise.
26134         (CFLAGS-iogets.c): Likewise.
26135         (CFLAGS-iogetwline.c): Likewise.
26136         (CFLAGS-ioputs.c): Likewise.
26137         (CFLAGS-ioseekoff.c): Likewise.
26138         (CFLAGS-ioseekpos.c): Likewise.
26139         (CFLAGS-iosetbuffer.c): Likewise.
26140         (CFLAGS-iosetvbuf.c): Likewise.
26141         (CFLAGS-ioungetc.c): Likewise.
26142         (CFLAGS-ioungetwc.c): Likewise.
26143         (CFLAGS-oldfileops.c): Likewise.
26144         (CFLAGS-oldiofclose.c): Likewise.
26145         (CFLAGS-oldiofgetpos64.c): Likewise.
26146         (CFLAGS-oldiofgetpos.c): Likewise.
26147         (CFLAGS-oldiofsetpos64.c): Likewise.
26148         (CFLAGS-oldiofsetpos.c): Likewise.
26149         (CFLAGS-peekc.c): Likewise.
26150         (CFLAGS-putc.c): Likewise.
26151         (CFLAGS-putchar.c): Likewise.
26152         (CFLAGS-putwc.c): Likewise.
26153         (CFLAGS-putwchar.c): Likewise.
26154         (CFLAGS-rewind.c): Likewise.
26155         (CFLAGS-wfileops.c): Likewise.
26156         (CFLAGS-wgenops.c): Likewise.
26157         (CFLAGS-oldiofopen.c): Likewise.
26158         (CFLAGS-iofopen.c): Likewise.
26159         (CFLAGS-iofopen64.c): Likewise.
26160         (CFLAGS-oldtmpfile.c): Likewise.
26161         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
26162         (CFLAGS-fprintf.c): Likewise.
26163         (CFLAGS-printf.c): Likewise.
26164         (CFLAGS-vfwprintf.c): Likewise.
26165         (CFLAGS-vfscanf.c): Likewise.
26166         (CFLAGS-vfwscanf.c): Likewise.
26167         (CFLAGS-fscanf.c): Likewise.
26168         (CFLAGS-scanf.c): Likewise.
26169         (CFLAGS-isoc99_vfscanf.c): Likewise.
26170         (CFLAGS-isoc99_vscanf.c): Likewise.
26171         (CFLAGS-isoc99_fscanf.c): Likewise.
26172         (CFLAGS-isoc99_scanf.c): Likewise.
26173         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
26174         (CFLAGS-isoc99_fwscanf.c): Likewise.
26175         (CFLAGS-isoc99_vwscanf.c): Likewise.
26176         (CFLAGS-isoc99_vfwscanf.c): Likewise.
26178         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
26179         after mkstemp64.
26180         * login/tst-utmp.c (do_prepare): Likewise.
26181         * rt/tst-aio.c (do_prepare): Likewise.
26182         * rt/tst-aio64.c (do_prepare): Likewise.
26184 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
26186         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
26187         (__lll_lock_elision): Remove adapt_count decrement...
26188         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
26189         (__lll_trylock_elision): Likewise.
26190         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
26191         (__lll_unlock_elision): ... to here. And utilize
26192         new adapt_count parameter.
26193         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
26194         (__lll_unlock_elision): Update to include adapt_count
26195         parameter.
26196         (lll_unlock_elision): Pass pointer to adapt_count
26197         variable.
26199 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
26201         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
26202         Add elision adapt_count parameter to list of arguments.
26203         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
26204         (lll_unlock_elision): Update with new parameter list
26205         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
26206         (lll_unlock_elision): Likewise.
26207         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
26208         (lll_unlock_elision): Likewise.
26210 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
26212         [BZ #19122]
26213         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
26214         attribute_hidden.
26216         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
26217         attribute_hidden.
26218         [IS_IN (rtld)] (__strdup): Likewise.
26219         [IS_IN (rtld)] (__strerror_r): Likewise.
26220         [IS_IN (rtld)] (__strsep_g): Likewise.
26221         [IS_IN (rtld)] (memchr): Likewise.
26222         [IS_IN (rtld)] (memcmp): Likewise.
26223         [IS_IN (rtld)] (memcpy): Likewise.
26224         [IS_IN (rtld)] (memmove): Likewise.
26225         [IS_IN (rtld)] (memset): Likewise.
26226         [IS_IN (rtld)] (rawmemchr): Likewise.
26227         [IS_IN (rtld)] (stpcpy): Likewise.
26228         [IS_IN (rtld)] (strchr): Likewise.
26229         [IS_IN (rtld)] (strcmp): Likewise.
26230         [IS_IN (rtld)] (strlen): Likewise.
26231         [IS_IN (rtld)] (strnlen): Likewise.
26232         [IS_IN (rtld)] (strsep): Likewise.
26234         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
26235         attribute_hidden.
26236         [IS_IN (rtld)] (__strtoul_internal): Likewise.
26238         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
26239         attribute_hidden.
26240         [IS_IN (rtld)] (__libc_sigaction): Likewise.
26242         * include/setjmp.h (__longjmp): Add attribute_hidden.
26243         [IS_IN (rtld)] (__sigsetjmp): Likewise.
26245         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
26246         Add attribute_hidden.
26248         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
26249         [IS_IN (rtld)] (__open): Likewise.
26250         [IS_IN (rtld)] (__fcntl): Likewise.
26252         * include/dirent.h (__opendirat): Add attribute_hidden.
26253         (__getdents): Likewise.
26254         (__getdents64): Likewise.
26255         (__alloc_dir): Likewise.
26256         [IS_IN (rtld)] (__closedir): Likewise.
26257         [IS_IN (rtld)] (__fdopendir): Likewise.
26258         [IS_IN (rtld)] (__readdir): Likewise.
26259         [IS_IN (rtld)] (__readdir64): Likewise.
26260         [IS_IN (rtld)] (__rewinddir): Likewise.
26262         * include/dlfcn.h (_dl_catch_error): Moved to ...
26263         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
26264         attribute_hidden.
26266         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
26267         (_itoa_word): Likewise.
26269         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
26270         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
26271         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
26272         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
26273         (_dl_higher_prime_number): Likewise.
26274         (_dl_debug_printf_c): Likewise.
26275         (_dl_signal_cerror): Likewise.
26276         (_dl_receive_error): Likewise.
26277         (_dl_reloc_bad_type): Likewise.
26278         (_dl_resolve_conflicts): Likewise.
26279         (_dl_check_all_versions): Likewise.
26280         (_dl_check_map_versions): Likewise.
26281         (_dl_sort_fini): Likewise.
26282         (_dl_debug_initialize): Likewise.
26283         (_dl_init_paths): Likewise.
26284         (_dl_show_auxv): Likewise.
26285         (_dl_next_ld_env_entry): Likewise.
26286         (_dl_important_hwcaps): Likewise.
26287         (_dl_load_cache_lookup): Likewise.
26288         (_dl_update_slotinfo): Likewise.
26289         (_dl_show_scope): Likewise.
26291         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
26292         attribute_hidden.
26293         (_wordcopy_fwd_dest_aligned): Likewise.
26294         (_wordcopy_bwd_aligned): Likewise.
26295         (_wordcopy_bwd_dest_aligned): Likewise.
26297         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
26298         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
26299         Likewise.
26300         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
26301         Likewise.
26302         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
26304 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
26306         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
26307         GCC 5 requirement.
26309 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
26311         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
26312         test.
26313         * sysdeps/i386/configure: Regenerated.
26314         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
26315         code unconditional.
26317         * configure.ac (libc_cv_asm_previous_directive): Remove configure
26318         test.
26319         (libc_cv_asm_popsection_directive): Likewise.
26320         * configure: Regenerated.
26321         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
26322         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
26323         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
26324         (__make_section_unallocated): Make definition unconditional.
26325         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
26326         Remove conditional definition.
26327         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
26328         (__make_section_unallocated): Likewise.
26330         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
26331         * configure: Regenerated.
26332         * config.make.in (static-libgcc): Remove variable.
26333         * Makerules (build-shlib-helper): Use -static-libgcc instead of
26334         $(static-libgcc).
26335         (build-module-helper): Likewise.
26337         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
26338         * configure: Regenerated.
26340 2015-10-15  Florian Weimer  <fweimer@redhat.com>
26342         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
26343         (struct char_buffer): New type.
26344         (char_buffer_start, char_buffer_size, char_buffer_error)
26345         (char_buffer_rewind, char_buffer_add): New functions.
26346         (ADDW): Remove macro, replaced by the char_buffer_add function.
26347         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
26348         of extend_alloca.  Make control flow more explicit.
26350 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
26352         [BZ #19137]
26353         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
26354         Add -fomit-frame-pointer.
26355         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
26357 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
26359         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
26360         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
26361         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
26362         only if !__GNUC_PREREQ (5,0).
26363         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
26364         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
26365         (INTERNAL_SYSCALL_NCS): Likewise.
26366         (LOADREGS_0): New macro for GCC 5.
26367         (ASMARGS_0): Likewise.
26368         (LOADREGS_1): Likewise.
26369         (ASMARGS_1): Likewise.
26370         (LOADREGS_2): Likewise.
26371         (ASMARGS_2): Likewise.
26372         (LOADREGS_3): Likewise.
26373         (ASMARGS_3): Likewise.
26374         (LOADREGS_4): Likewise.
26375         (ASMARGS_4): Likewise.
26376         (LOADREGS_5): Likewise.
26377         (ASMARGS_5): Likewise.
26378         (LOADREGS_6): Likewise.
26379         (ASMARGS_6): Likewise.
26381 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
26383         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
26384         -fomit-frame-pointer.
26385         (CFLAGS-mmap64.c): Likewise.
26386         (CFLAGS-semtimedop.c): Likewise.
26387         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
26388         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
26389         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
26390         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
26392 2015-10-15  Florian Weimer  <fweimer@redhat.com>
26394         [BZ #18928]
26395         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
26396         _dl_pointer_guard member.
26397         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
26398         initializer.
26399         (security_init): Always set up pointer guard.
26400         (process_envvars): Do not process LD_POINTER_GUARD.
26402 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
26404         [BZ #19134]
26405         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
26406         (.LC2): Likewise.
26407         (.LC3): Likewise.
26408         (__lround): Do not add 0.5 to integer or out-of-range arguments.
26410 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26412         [BZ #19129]
26413         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
26414         r0 and r1.
26416 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
26418         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
26420 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
26422         * include/stap-probe.h: Fix macro definition formatting.
26424 2015-10-14  Florian Weimer  <fweimer@redhat.com>
26426         [BZ #19074]
26427         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
26428         load and store num_ifs.
26430 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
26432         [BZ #18822]
26433         * sysdeps/unix/sysv/linux/sched_getaffinity.c
26434         (__sched_getaffinity_new): Add libc_hidden_proto and
26435         libc_hidden_def.
26437 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
26439         [BZ #19007]
26440         * scripts/localplt.awk: Also allow GOT references.
26441         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
26442         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
26443         with "+ REL R_386_GLOB_DAT".
26444         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
26445         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
26447 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
26449         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
26450         INLINE_SYSCALL_ERROR_RETURN_VALUE.
26451         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
26452         Likewise.
26453         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
26454         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
26455         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
26456         INTERNAL_SYSCALLINTERNAL_SYSCALL and
26457         INLINE_SYSCALL_ERROR_RETURN_VALUE.
26458         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
26459         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
26460         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
26461         Likewise.
26462         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
26464 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
26466         [BZ #19125]
26467         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
26468         <math_private.h> and <stdint.h>.
26469         (__llround): Avoid conversions to and from long long int, and
26470         subtractions, where those might raise spurious exceptions.
26471         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
26472         <math_private.h> and <stdint.h>.
26473         (__llroundf): Avoid conversions to and from long long int, and
26474         subtractions, where those might raise spurious exceptions.
26476 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
26478         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
26479         INLINE_SYSCALL_ERROR_RETURN_VALUE.
26480         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
26481         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
26482         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
26483         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
26484         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
26485         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
26486         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
26487         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
26488         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
26489         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
26490         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
26491         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
26492         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
26493         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
26494         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
26495         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
26496         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
26497         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
26498         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
26499         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
26500         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
26501         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
26502         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
26503         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
26504         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
26505         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
26506         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
26507         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
26508         (__xstat64_conv): Likewise.
26509         (__xstat32_conv): Likewise.
26511 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
26513         * sysdeps/unix/sysv/linux/sysdep.h: New file.
26514         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
26515         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
26516         <sysdeps/unix/sysv/linux/sysdep.h>.
26517         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
26518         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
26519         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
26520         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26521         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
26522         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
26523         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
26524         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
26525         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
26526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
26527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26528         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26529         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26530         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26531         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
26532         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26533         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
26534         (sysdep-dl-routines): Add sysdep.
26535         [$(subdir) == nptl] (libpthread-routines): Likewise.
26536         [$(subdir) == rt] (librt-routines): Likewise.
26537         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
26538         PIC when branching to SYSCALL_ERROR_LABEL.
26539         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
26540         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
26541         <sysdeps/unix/sysv/linux/sysdep.h>.
26542         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
26543         (SYSCALL_ERROR_ERRNO): Removed.
26544         (SYSCALL_ERROR_HANDLER): Changed to empty.
26545         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
26546         (__syscall_error): New prototype.
26547         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
26548         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
26550 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
26552         [BZ #19124]
26553         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
26554         (_dl_runtime_resolve_avx512): Make it a hidden alias of
26555         _dl_runtime_resolve_avx.
26556         (_dl_runtime_profile_avx512): Make it a hidden alias of
26557         _dl_runtime_profile_avx.
26559 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
26561         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
26562         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
26563         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
26564         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
26566         [BZ #16422]
26567         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
26568         New configure test.
26569         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
26570         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
26571         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
26572         <math_private.h> and <stdint.h>.
26573         (__llrint): Avoid conversions to long long int where those might
26574         raise spurious exceptions.
26575         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
26576         <math_private.h> and <stdint.h>.
26577         (__llrintf): Avoid conversions to long long int where those might
26578         raise spurious exceptions.
26580 2015-10-12  Andreas Schwab  <schwab@suse.de>
26582         [BZ #18969]
26583         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
26584         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
26585         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
26586         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
26587         $(gen-locales).
26588         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
26589         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
26590         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
26591         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
26592         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
26593         $(gen-locales).
26594         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
26595         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
26596         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
26597         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
26598         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
26599         ($(objpfx)tst-ftell-active-handler.out)
26600         ($(objpfx)tst-ftell-append.out)
26601         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
26602         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
26603         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
26604         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
26605         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
26606         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
26607         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
26608         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
26609         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
26610         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
26611         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
26612         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
26613         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
26614         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
26615         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
26616         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
26617         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
26618         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
26619         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
26620         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
26621         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
26622         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
26623         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
26624         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
26625         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
26626         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
26627         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
26628         $(gen-locales).
26629         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
26630         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
26631         $(gen-locales).
26632         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
26633         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
26634         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
26635         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
26636         $(gen-locales).
26637         * libio/tst_wprintf2.c (main): Use explicit locale.
26638         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
26640 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26642         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
26643         __msg_sig_post.
26644         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
26646 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
26648         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
26649         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
26651         * sysdeps/arm/libm-test-ulps: Regenerated.
26653         [BZ #15470]
26654         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
26656         [BZ #16399]
26657         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
26658         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
26659         and <fix-fp-int-convert-overflow.h>.
26660         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
26661         FIX_DBL_LLONG_CONVERT_OVERFLOW.
26662         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
26663         and <fix-fp-int-convert-overflow.h>.
26664         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
26665         FIX_DBL_LLONG_CONVERT_OVERFLOW.
26666         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
26667         <fix-fp-int-convert-overflow.h>.
26668         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
26669         FIX_DBL_LLONG_CONVERT_OVERFLOW.
26670         * sysdeps/ieee754/dbl-64/s_lround.c: Include
26671         <fix-fp-int-convert-overflow.h>.
26672         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
26673         FIX_DBL_LLONG_CONVERT_OVERFLOW.
26674         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
26675         and <fix-fp-int-convert-overflow.h>.
26676         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
26677         FIX_DBL_LLONG_CONVERT_OVERFLOW.
26678         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
26679         <limits.h> and <fix-fp-int-convert-overflow.h>.
26680         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
26681         FIX_DBL_LLONG_CONVERT_OVERFLOW.
26682         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
26683         and <fix-fp-int-convert-overflow.h>.
26684         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
26685         FIX_DBL_LLONG_CONVERT_OVERFLOW.
26686         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
26687         and <fix-fp-int-convert-overflow.h>.
26688         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
26689         FIX_DBL_LLONG_CONVERT_OVERFLOW.
26690         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
26692 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
26694         [BZ #18589]
26695         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
26696         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
26697         $(gen-locales).
26699 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26700             Phil Blundell <pb@pbcl.net>
26702         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
26703         * nptl/tst-cancel26.c: New file.
26704         * nptl/tst-cancel27.c: Likewise.
26706 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
26708         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
26709         __ILP32__ isn't defined.
26710         (lrint): Likewise.
26711         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
26712         (lrintf): Likewise.
26713         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
26714         (lrintl): Likewise.
26715         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
26716         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
26717         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
26719 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26721         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
26722         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
26724         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
26725         file.
26726         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
26727         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
26729 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
26731         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
26732         configure test.
26733         * sysdeps/i386/configure: Regenerated.
26734         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
26735         configure test.
26736         * sysdeps/x86_64/configure: Regenerated.
26737         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
26738         Make code unconditional.
26740         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
26741         test.
26742         * sysdeps/i386/configure: Regenerated.
26743         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
26744         test.
26745         * sysdeps/x86_64/configure: Regenerated.
26746         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
26747         Make code unconditional.
26748         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
26749         Likewise.
26750         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
26751         Likewise.
26752         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26753         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
26754         code unconditional.
26755         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26756         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
26757         code unconditional.
26758         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26759         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
26760         code unconditional.
26761         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
26762         code unconditional.
26763         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26764         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
26765         code unconditional.
26766         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26767         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
26768         code unconditional.
26769         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26770         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
26771         code unconditional.
26772         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26773         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
26774         code unconditional.
26775         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26776         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
26778         [BZ #19095]
26779         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
26780         mantissa to long int before shifting left.
26782 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
26784         [BZ #19094]
26785         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
26786         <limits.h>.
26787         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
26788         when result overflows but exception would not result from cast.
26789         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
26790         <limits.h>.
26791         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
26792         when result overflows but exception would not result from cast.
26793         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
26794         <limits.h>.
26795         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
26796         when result overflows but exception would not result from cast.
26797         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
26798         <limits.h>.
26799         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
26800         when result overflows but exception would not result from cast.
26801         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
26802         <limits.h>.
26803         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
26804         when result overflows but exception would not result from cast.
26805         * math/libm-test.inc (lrint_test_data): Add more tests.
26806         (llrint_test_data): Likewise.
26808 2015-10-08  Roland McGrath  <roland@hack.frob.com>
26810         [BZ #18872]
26811         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
26812         Move out from under [$(run-built-tests) = yes] conditional.
26813         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
26814         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
26816 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
26818         [BZ #18589]
26819         * string/Makefile (tests): Add bug-strcoll2.
26820         (LOCALES): Add cs_CZ.UTF-8.
26821         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
26823         [BZ #18589]
26824         * string/bug-strcoll2.c: New file.
26825         * locale/categories.def: Revert commit
26826         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
26827         * locale/langinfo.h: Likewise.
26828         * locale/localeinfo.h: Likewise.
26829         * locale/C-collate.c: Likewise.
26830         * locale/programs/ld-collate.c (collate_output): Likewise.
26831         * string/strcoll_l.c (STRDIFF): Likewise.
26832         (STRCOLL): Likewise.
26833         * wcsmbs/wcscoll_l.c: Likewise.
26835 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
26837         * math/libm-test.inc (lround_test_data): Do not expect the absence
26838         of "inexact" for some tests with non-integer arguments.
26839         (llround_test_data): Likewise.
26841         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
26842         test.
26843         (libc_cv_cc_sse2avx): Likewise.
26844         * sysdeps/i386/configure: Regenerated.
26845         * sysdeps/i386/i686/multiarch/Makefile
26846         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
26847         [$(subdir) = math].
26848         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
26849         code unconditional.
26850         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
26851         Likewise.
26852         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
26853         Likewise.
26854         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
26855         Likewise.
26856         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
26857         test.
26858         (libc_cv_cc_sse2avx): Likewise.
26859         * sysdeps/x86_64/configure: Regenerated.
26860         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
26861         unconditional.
26862         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
26863         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
26864         unconditional.
26865         (_dl_runtime_profile)
26866         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
26867         conditional code.
26868         * sysdeps/x86_64/fpu/multiarch/Makefile
26869         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
26870         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
26871         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
26872         * sysdeps/x86_64/fpu/multiarch/e_exp.c
26873         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
26874         * sysdeps/x86_64/fpu/multiarch/e_log.c
26875         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
26876         * sysdeps/x86_64/fpu/multiarch/s_atan.c
26877         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
26878         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
26879         Likewise.
26880         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
26881         Likewise.
26882         * sysdeps/x86_64/fpu/multiarch/s_sin.c
26883         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
26884         * sysdeps/x86_64/fpu/multiarch/s_tan.c
26885         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
26886         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
26887         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
26888         (HAVE_SSE2AVX_SUPPORT): Likewise.
26890 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
26892         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
26893         instead of #pragma optimize.
26895 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
26897         [BZ #17195]
26898         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
26899         as is similarly done in systrim and _int_free already.
26901 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26903         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
26905 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
26907         [BZ #19088]
26908         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
26909         <limits.h>.
26910         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
26911         overflows but exception would not result from cast.
26912         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
26913         and <limits.h>.
26914         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
26915         overflows but exception would not result from cast.
26916         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
26917         <limits.h>.
26918         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
26919         overflows but exception would not result from cast.
26920         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
26921         <limits.h>.
26922         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
26923         overflows but exception would not result from cast.
26924         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
26925         <limits.h>.
26926         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
26927         overflows but exception would not result from cast.
26928         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
26929         <limits.h>.
26930         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
26931         overflows but exception would not result from cast.
26932         * math/libm-test.inc (lround_test_data): Add more tests.
26933         (llround_test_data): Likewise.
26935 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
26937         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
26938         (CFLAGS-ialloc.c): Ditto.
26939         (CFLAGS-scheck.c): Ditto.
26941 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
26943         [BZ #19086]
26944         * manual/filesys.texi (Storage Allocation): Fix argument order for
26945         posix_fallocate64.
26947 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
26949         [BZ #19085]
26950         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
26951         exponent below 48 inside case for non-overflowing exponent.
26952         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
26954 2015-10-07  Florian Weimer  <fweimer@redhat.com>
26956         * iconvdata/cp737.h (from_idx): Add const.
26957         * iconvdata/cp775.h (from_idx): Likewise.
26959 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
26961         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
26962         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
26963         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
26965         [BZ #19079]
26966         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
26967         file, conditioned on [!_LP64].
26968         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
26969         [!_LP64] (__lround): Do not define as function or alias.
26970         [!_LP64] (lround): Likewise.
26971         [!_LP64] (__lroundl): Likewise.
26972         [!_LP64] (lroundl): Likewise.
26973         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
26974         macro.
26975         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
26976         Likewise.
26978 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
26980         * math/libm-test.inc (lrint_test_data): Add more tests.
26981         (llrint_test_data): Likewise.
26982         (lround_test_data): Likewise.
26983         (llround_test_data): Likewise.
26985         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
26986         (llrint_test_data): Add tests used for lrint.
26988         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
26989         test.
26990         * sysdeps/i386/configure: Regenerated.
26991         * sysdeps/i386/i686/multiarch/Makefile
26992         [$(config-cflags-sse4) = yes]: Make code unconditional.
26993         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
26994         Likewise.
26995         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
26996         Likewise.
26997         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
26998         test.
26999         * sysdeps/x86_64/configure: Regenerated.
27000         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
27001         Make code unconditional.
27002         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
27003         Likewise.
27004         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
27005         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
27007         * scripts/rpm2dynsym.sh: Remove file.
27009 2015-10-06  Florian Weimer  <fweimer@redhat.com>
27011         * configure.ac (libc_cv_cxx_thread_local): Define.
27012         * configure: Regenerate.
27013         * config.make.in (have-cxx-thread_local): Define.
27014         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
27015         (LDLIBS-tst-thread_local1): Define.
27016         (tests): Add tst-thread_local1.
27017         [have-cxx-thread_local != yes] (tests-unsupported): Add
27018         tst-thread_local1.
27019         * nptl/tst-thread_local1.cc: New file.
27021 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
27023         [BZ #19078]
27024         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
27025         (u_thres): Likewise.
27026         (__expl): Determine whether to call __kernel_standard_l based on
27027         value of result, not argument.
27029         * math/libm-test.inc (scalb_test_data): Add more expectations for
27030         the "inexact" exception.
27032         [BZ #19077]
27033         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
27034         0.0L for argument 1.0L.
27036         [BZ #19076]
27037         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
27038         constant 0.0L when computing infinite result.
27040 2015-10-06  Florian Weimer  <fweimer@redhat.com>
27042         [BZ #10432]
27043         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
27044         malloc_usable_size.
27046 2015-10-06  Florian Weimer  <fweimer@redhat.com>
27048         [BZ #19018]
27049         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
27050         Mangle function pointer before storing it.
27051         (__call_tls_dtors): Demangle function pointer before calling it.
27053 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
27055         [BZ #19012]
27056         * iconv/gconv_db.c (gen_steps): Check for additional errors.
27057         Clean up on failure.
27059 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
27061         [BZ #19071]
27062         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
27063         long int variable to store possibly incremented high part of
27064         mantissa.
27065         * math/libm-test.inc (lround_test_data): Add tests used for
27066         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
27067         for tests requiring 64-bit long.  Do not condition tests on
27068         [TEST_FLOAT] unnecessarily.
27069         (llround_test_data): Add tests used for lround.  Add another
27070         expectation for the "inexact" exception.  Do not condition tests
27071         on [TEST_FLOAT] unnecessarily.
27073         [BZ #887]
27074         [BZ #19049]
27075         [BZ #19050]
27076         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
27077         * sysdeps/ieee754/dbl-64/e_log10.c: Include
27078         <fix-int-fp-convert-zero.h>.
27079         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27080         * sysdeps/ieee754/dbl-64/e_log2.c: Include
27081         <fix-int-fp-convert-zero.h>.
27082         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27083         * sysdeps/ieee754/dbl-64/s_erf.c: Include
27084         <fix-int-fp-convert-zero.h>.
27085         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27086         * sysdeps/ieee754/dbl-64/s_logb.c: Include
27087         <fix-int-fp-convert-zero.h>.
27088         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27089         * sysdeps/ieee754/flt-32/e_log10f.c: Include
27090         <fix-int-fp-convert-zero.h>.
27091         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27092         * sysdeps/ieee754/flt-32/e_log2f.c: Include
27093         <fix-int-fp-convert-zero.h>.
27094         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27095         * sysdeps/ieee754/flt-32/s_erff.c: Include
27096         <fix-int-fp-convert-zero.h>.
27097         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27098         * sysdeps/ieee754/flt-32/s_logbf.c: Include
27099         <fix-int-fp-convert-zero.h>.
27100         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27101         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
27102         <fix-int-fp-convert-zero.h>.
27103         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27104         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
27105         <fix-int-fp-convert-zero.h>.
27106         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27107         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
27108         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
27109         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
27110         file.
27111         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
27113 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
27115         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27117 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
27119         [BZ #19059]
27120         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
27121         overflowing computation.
27122         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
27123         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
27124         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
27125         Likewise.
27126         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
27127         Likewise.
27128         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
27129         Likewise.
27130         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
27131         Likewise.
27132         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
27133         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
27134         Likewise.
27135         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
27136         Likewise.
27137         * math/libm-test.inc (nexttoward_test_data): Add more tests.
27139         * nss/rewrite_field.c (__nss_rewrite_field): Use
27140         internal_function.
27141         * nss/valid_field.c (__nss_valid_field): Likewise.
27142         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
27144 2015-10-02  Florian Weimer  <fweimer@redhat.com>
27146         [BZ #18724]
27147         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
27148         (__nss_invalid_field_characters, __nss_valid_field)
27149         (__nss_valid_list_field, __nss_rewrite_field): Declare.
27150         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
27151         tst-field.c: New file.
27152         * nss/Makefile (routines): Add valid_field, rewrite_field.
27153         (tests-static): Define unconditionally.
27154         (tests): Include tests-static.
27155         [build-static-nss] (tests-static): Use append.
27156         [build-static-nss] (tests): Remove modification.
27157         * nss/getent.c (print_group): Call putgrent.  Report error.
27158         (print_gshadow): Call putsgent.  Report error.
27159         (print_passwd): Call putpwent.  Report error.
27160         (print_shadow): Call putspent.  Report error.
27161         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
27162         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
27163         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
27164         name, password, directory, shell fields for valid syntax.  Rewrite
27165         GECOS field to match syntax.
27166         * pwd/Makefile (tests): Add tst-putpwent.
27167         * pwd/tst-putpwent.c: New file.
27168         * grp/putgrent.c (putgrent): Convert to ISO function definition.
27169         Check grName, grpasswd, gr_mem fields for valid syntax.
27170         Change loop variable i to size_t.
27171         * grp/Makefile (tests): Add tst-putgrent.
27172         * grp/tst-putgrent.c: New file.
27173         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
27174         valid syntax.
27175         * shadow/Makefile (tests): Add tst-putspent.
27176         * shadow/tst-putspent.c: New file.
27177         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
27178         sg_mem fields for valid syntax.
27179         * gshadow/Makefile (tests): Add tst-putsgent.
27180         * gshadow/tst-putsgent.c: New file.
27182 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
27184         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
27185         assembly instructions.
27187 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
27189         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
27190         prefix from operands.
27192 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
27194         [BZ #16347]
27195         [BZ #19046]
27196         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
27197         <libc-internal.h>.
27198         (MAXLGM): Do not use diagnostic control macros.
27199         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
27200         threshold for ldbl-128ibm.
27201         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
27202         instead of multiplying by log then subtracting.
27203         * math/auto-libm-test-in: Add more tests of lgamma.
27204         * math/auto-libm-test-out: Regenerated.
27206         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
27207         (TYPE_HEX_DIG): Likewise.
27208         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
27209         precisions when printing floating-point numbers.
27210         (check_float_internal): Likewise.
27212 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
27214         [BZ #16620]
27215         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
27216         of log (10) rounded downward to 48 bits.
27217         (log10_low): Use corresponding low part of log (10).
27219         [BZ #19032]
27220         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
27221         compute result as (x - x) / (x - x) not as 0 / 0.
27222         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
27223         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
27225         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
27226         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
27227         and expm1.
27228         * math/auto-libm-test-out: Regenerated.
27229         * math/libm-test.inc (acos_test_data): Add more tests.
27230         (asin_test_data): Likewise.
27231         (asinh_test_data): Likewise.
27232         (atan_test_data): Likewise.
27233         (atanh_test_data): Likewise.
27234         (atan2_test_data): Likewise.
27235         (cbrt_test_data): Likewise.
27236         (ceil_test_data): Likewise.
27237         (copysign_test_data): Likewise.
27238         (cos_test_data): Likewise.
27239         (cosh_test_data): Likewise.
27240         (erf_test_data): Likewise.
27241         (erfc_test_data): Likewise.
27242         (exp_test_data): Likewise.
27243         (exp10_test_data): Likewise.
27244         (exp2_test_data): Likewise.
27245         (expm1_test_data): Likewise.
27246         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27248 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
27250         [BZ #19006]
27251         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
27252         to ...
27253         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
27254         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
27255         to ...
27256         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
27257         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
27258         to ...
27259         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
27260         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
27261         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
27262         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
27263         to ...
27264         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
27265         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
27266         Moved to ...
27267         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
27268         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
27269         Moved to ...
27270         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
27271         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
27272         to ...
27273         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
27274         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
27275         Moved to ...
27276         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
27277         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
27278         to ...
27279         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
27280         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
27281         Removed.
27282         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
27283         Likewise.
27284         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
27285         Likewise.
27286         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
27287         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
27288         Likewise.
27289         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
27290         Likewise.
27291         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
27292         Likewise.
27293         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
27294         Likewise.
27295         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
27296         Likewise.
27297         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
27298         Likewise.
27299         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
27300         Likewise.
27301         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
27302         Likewise.
27303         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
27304         Likewise.
27305         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
27306         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
27307         Likewise.
27308         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
27309         Likewise.
27310         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
27311         Likewise.
27312         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
27313         Likewise.
27314         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
27315         Likewise.
27316         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
27317         Replace ../i486/pthread_cond_timedwait.S with
27318         ../pthread_cond_timedwait.S.
27320 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
27322         * math/libm-test.inc (acos_test_data): Refine expectations for
27323         errno and "inexact" exceptions.
27324         (acosh_test_data): Likewise.
27325         (asin_test_data): Likewise.
27326         (asinh_test_data): Likewise.
27327         (atan_test_data): Likewise.
27328         (atanh_test_data): Likewise.
27329         (atan2_test_data): Likewise.
27330         (cbrt_test_data): Likewise.
27331         (ceil_test_data): Likewise.
27332         (copysign_test_data): Likewise.
27333         (cosh_test_data): Likewise.
27334         (erf_test_data): Likewise.
27335         (erfc_test_data): Likewise.
27336         (exp_test_data): Likewise.
27337         (exp10_test_data): Likewise.
27338         (exp2_test_data): Likewise.
27339         (expm1_test_data): Likewise.
27340         (fabs_test_data): Likewise.
27341         (floor_test_data): Likewise.
27342         (fma_test_data): Likewise.
27343         (fmax_test_data): Likewise.
27344         (fmin_test_data): Likewise.
27345         (fmod_test_data): Likewise.
27346         (fpclassify_test_data): Likewise.
27347         (frexp_test_data): Likewise.
27348         (hypot_test_data): Likewise.
27349         (ilogb_test_data): Likewise.
27350         (isgreater_test_data): Likewise.
27351         (isgreaterequal_test_data): Likewise.
27352         (isinf_test_data): Likewise.
27353         (isless_test_data): Likewise.
27354         (islessequal_test_data): Likewise.
27355         (islessgreater_test_data): Likewise.
27356         (isnan_test_data): Likewise.
27357         (isnormal_test_data): Likewise.
27358         (issignaling_test_data): Likewise.
27359         (isunordered_test_data): Likewise.
27360         (j0_test_data): Likewise.
27361         (j1_test_data): Likewise.
27362         (jn_test_data): Likewise.
27363         (lgamma_test_data): Likewise.
27364         (lrint_test_data): Likewise.
27365         (llrint_test_data): Likewise.
27366         (log_test_data): Likewise.
27367         (log10_test_data): Likewise.
27368         (log1p_test_data): Likewise.
27369         (log2_test_data): Likewise.
27370         (logb_test_data): Likewise.
27371         (lround_test_data): Likewise.
27372         (llround_test_data): Likewise.
27373         (modf_test_data): Likewise.
27374         (nearbyint_test_data): Likewise.
27375         (nextafter_test_data): Likewise.
27376         (nexttoward_test_data): Likewise.
27377         (pow_test_data): Likewise.
27378         (remainder_test_data): Likewise.
27379         (remquo_test_data): Likewise.
27380         (rint_test_data): Likewise.
27381         (round_test_data): Likewise.
27382         (signbit_test_data): Likewise.
27383         (sinh_test_data): Likewise.
27384         (sqrt_test_data): Likewise.
27385         (tanh_test_data): Likewise.
27386         (tgamma_test_data): Likewise.
27387         (trunc_test_data): Likewise.
27388         (y0_test_data): Likewise.
27389         (y1_test_data): Likewise.
27390         (yn_test_data): Likewise.
27391         (significand_test_data): Likewise.
27393 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
27395         * manual/filesys.texi (Storage Allocation): Document that
27396         posix_fallocate emulation fails when fd is open with O_WRONLY.
27398 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
27400         [BZ #19016]
27401         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
27402         allow more cases with X^2 + Y^2 >= 0.5.
27403         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
27404         normal element in sum instead of special-casing based on values of
27405         arguments.
27406         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
27407         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
27408         -1 as normal element in sum instead of special-casing based on
27409         values of arguments.
27410         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
27411         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
27412         (__x2y2m1): Update comment.
27413         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
27414         as normal element in sum instead of special-casing based on values
27415         of arguments.
27416         * math/s_clog.c (__clog): Handle more cases using log1p without
27417         hypot.
27418         * math/s_clog10.c (__clog10): Likewise.
27419         * math/s_clog10f.c (__clog10f): Likewise.
27420         * math/s_clog10l.c (__clog10l): Likewise.
27421         * math/s_clogf.c (__clogf): Likewise.
27422         * math/s_clogl.c (__clogl): Likewise.
27423         * math/auto-libm-test-in: Add more tests of clog and clog10.
27424         * math/auto-libm-test-out: Regenerated.
27425         * sysdeps/i386/fpu/libm-test-ulps: Update.
27426         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27428 2015-09-28  Martin Sebor  <msebor@redhat.com>
27430         [BZ #18969]
27431         * string/Makefile (LOCALES): Define.
27432         (gen-locales.mk): Include.
27433         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
27434         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
27435         * string/tst-strxfrm2.c (do_test): Print the name of the locale
27436         on setlocale failure.
27438 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
27440         [BZ #18985]
27441         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
27442         (__strftime_internal): Likewise.
27443         * time/tst-strftime.c (do_bz18985): New test.
27444         (do_test): Call it.
27446 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
27448         [BZ #18956]
27449         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
27450         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
27451         extracting high part.
27452         * math/auto-libm-test-in: Add another test of pow.
27453         * math/auto-libm-test-out: Regenerated.
27454         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27456 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
27458         [BZ #18825]
27459         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
27460         New macro.
27461         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
27462         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
27463         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
27464         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
27465         DBL_NARROW_EVAL, reloading the PIC register as needed.
27466         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
27467         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
27468         FLT_NARROW_EVAL.  Use separate return path for case when first
27469         argument is NaN.
27470         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
27471         DEFINE_LDBL_MIN.
27472         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
27473         PIC register.
27474         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
27475         math_check_force_underflow_nonneg.
27476         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
27477         underflow for subnormal result.
27478         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
27479         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
27480         math_check_force_underflow_nonneg.
27481         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
27482         math_check_force_underflow.
27483         * sysdeps/x86_64/fpu/x86_64-math-asm.h
27484         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
27485         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
27486         DEFINE_LDBL_MIN.
27487         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
27488         * math/auto-libm-test-in: Add more tests of pow.
27489         * math/auto-libm-test-out: Regenerated.
27491 2015-09-25  Florian Weimer  <fweimer@redhat.com>
27493         * nss/bug17079.c (init_test_items): Add diagnostic for
27494         inconsistent entries.
27495         (test_buffer_size): Skip inconsistent entries.
27497 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
27499         [BZ #13304]
27500         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
27501         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
27502         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
27504         [BZ #13304]
27505         * sysdeps/microblaze/s_fma.c: New file.
27506         * sysdeps/microblaze/s_fmaf.c: Likewise.
27507         * sysdeps/microblaze/sfp-machine.h: Likewise.
27509 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
27511         [BZ #17250]
27512         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
27513         member.
27515 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
27517         [BZ #18803]
27518         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
27519         (MO): New macro.
27520         (__ieee754_hypot) [PIC]: Load PIC register.
27521         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
27522         DBL_NARROW_EVAL.
27523         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
27524         math_check_force_underflow_nonneg in case where result might be
27525         tiny.
27526         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
27527         Likewise.
27528         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
27529         Likewise.
27530         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
27531         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
27532         * math/auto-libm-test-in: Add more tests of hypot.
27533         * math/auto-libm-test-out: Regenerated.
27535 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
27537         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
27539 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
27541         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
27542         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
27543         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
27544         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
27545         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
27546         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
27547         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
27549         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
27550         LOAD_PIC_REG.
27552         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
27553         (FLT_CHECK_FORCE_UFLOW): Likewise.
27554         (DBL_CHECK_FORCE_UFLOW): Likewise.
27555         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
27556         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
27557         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
27558         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
27559         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
27560         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
27561         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
27562         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
27563         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
27564         (dbl_min): Replace with use of DEFINE_DBL_MIN.
27565         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
27566         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
27567         (flt_min): Replace with use of DEFINE_FLT_MIN.
27568         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
27569         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
27570         (dbl_min): Replace with use of DEFINE_DBL_MIN.
27571         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
27572         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
27573         (flt_min): Replace with use of DEFINE_FLT_MIN.
27574         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
27575         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
27576         (dbl_min): Replace with use of DEFINE_DBL_MIN.
27577         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
27578         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
27579         (flt_min): Replace with use of DEFINE_FLT_MIN.
27580         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
27581         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
27582         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
27583         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
27584         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
27585         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
27586         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
27587         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
27588         (dbl_min): Replace with use of DEFINE_DBL_MIN.
27589         (__atan): Use DBL_CHECK_FORCE_UFLOW.
27590         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
27591         (flt_min): Replace with use of DEFINE_FLT_MIN.
27592         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
27593         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
27594         (dbl_min): Replace with use of DEFINE_DBL_MIN.
27595         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
27596         main computation.
27597         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
27598         (flt_min): Replace with use of DEFINE_FLT_MIN.
27599         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
27600         main computation.
27601         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
27602         (dbl_min): Replace with use of DEFINE_DBL_MIN.
27603         (MO): New macro.
27604         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
27605         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
27606         (flt_min): Replace with use of DEFINE_FLT_MIN.
27607         (MO): New macro.
27608         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
27609         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
27610         (__log1pl): Use MO.
27612         [BZ #19003]
27613         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
27614         $(config-cflags-nofma).
27616 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27618         * sysdeps/aarch64/libm-test-ulps: Regenerated.
27620 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
27622         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
27623         (TWO127): Likewise.
27625         * sysdeps/generic/math_private.h (fabs_tg): New macro.
27626         (min_of_type): Likewise.
27627         (math_check_force_underflow): Likewise.
27628         (math_check_force_underflow_nonneg): Likewise.
27629         (math_check_force_underflow_complex): Likewise.
27630         * math/e_exp2l.c (__ieee754_exp2l): Use
27631         math_check_force_underflow_nonneg.
27632         * math/k_casinh.c (__kernel_casinh): Likewise.
27633         * math/k_casinhf.c (__kernel_casinhf): Likewise.
27634         * math/k_casinhl.c (__kernel_casinhl): Likewise.
27635         * math/s_catan.c (__catan): Use
27636         math_check_force_underflow_complex.
27637         * math/s_catanf.c (__catanf): Likewise.
27638         * math/s_catanh.c (__catanh): Likewise.
27639         * math/s_catanhf.c (__catanhf): Likewise.
27640         * math/s_catanhl.c (__catanhl): Likewise.
27641         * math/s_catanl.c (__catanl): Likewise.
27642         * math/s_ccosh.c (__ccosh): Likewise.
27643         * math/s_ccoshf.c (__ccoshf): Likewise.
27644         * math/s_ccoshl.c (__ccoshl): Likewise.
27645         * math/s_cexp.c (__cexp): Likewise.
27646         * math/s_cexpf.c (__cexpf): Likewise.
27647         * math/s_cexpl.c (__cexpl): Likewise.
27648         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
27649         * math/s_clog10.c (__clog10): Likewise.
27650         * math/s_clog10f.c (__clog10f): Likewise.
27651         * math/s_clog10l.c (__clog10l): Likewise.
27652         * math/s_clogf.c (__clogf): Likewise.
27653         * math/s_clogl.c (__clogl): Likewise.
27654         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
27655         * math/s_csinf.c (__csinf): Likewise.
27656         * math/s_csinh.c (__csinh): Likewise.
27657         * math/s_csinhf.c (__csinhf): Likewise.
27658         * math/s_csinhl.c (__csinhl): Likewise.
27659         * math/s_csinl.c (__csinl): Likewise.
27660         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
27661         * math/s_csqrtf.c (__csqrtf): Likewise.
27662         * math/s_csqrtl.c (__csqrtl): Likewise.
27663         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
27664         * math/s_ctanf.c (__ctanf): Likewise.
27665         * math/s_ctanh.c (__ctanh): Likewise.
27666         * math/s_ctanhf.c (__ctanhf): Likewise.
27667         * math/s_ctanhl.c (__ctanhl): Likewise.
27668         * math/s_ctanl.c (__ctanl): Likewise.
27669         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
27670         instead of volatile.
27671         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
27672         math_check_force_underflow.
27673         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
27674         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
27675         volatile when forcing underflow.
27676         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
27677         math_check_force_underflow_nonneg.
27678         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
27679         Likewise.
27680         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
27681         math_check_force_underflow.
27682         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
27683         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
27684         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
27685         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
27686         math_check_force_underflow_nonneg.
27687         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
27688         math_check_force_underflow.
27689         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
27690         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
27691         instead of volatile.
27692         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
27693         math_check_force_underflow.
27694         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
27695         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
27696         math_check_force_underflow_nonneg.
27697         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
27698         math_check_force_underflow.
27699         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
27700         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
27701         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
27702         math_check_force_underflow_nonneg.
27703         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
27704         Likewise.
27705         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
27706         math_check_force_underflow.
27707         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
27708         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
27709         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
27710         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
27711         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
27712         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
27713         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
27714         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
27715         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
27716         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
27717         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
27718         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
27719         Likewise.
27720         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
27721         math_check_force_underflow_nonneg.
27722         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
27723         Likewise.
27724         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
27725         math_check_force_underflow.
27726         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
27727         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
27728         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27729         Likewise.
27730         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
27731         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
27732         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
27733         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
27734         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
27735         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
27736         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
27737         instead of volatile.
27738         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
27739         math_check_force_underflow.
27740         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
27741         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
27742         math_check_force_underflow.
27743         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
27744         Likewise.
27745         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
27746         Use math_check_force_underflow_nonneg.
27747         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
27748         math_check_force_underflow.
27749         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
27750         Likewise.
27751         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27752         Likewise.
27753         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27754         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
27755         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
27756         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
27757         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
27758         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
27759         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
27760         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
27761         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
27762         math_check_force_underflow_nonneg.
27763         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
27764         math_check_force_underflow.
27765         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
27766         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
27767         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
27768         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
27769         math_check_force_underflow_nonneg.
27770         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
27771         math_check_force_underflow.
27772         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
27773         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
27774         instead of volatile.
27775         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
27776         math_check_force_underflow.
27778         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
27779         * stdlib/strtod_l.c: Include <math_private.h>.
27780         (overflow_value): Use math_narrow_eval.
27781         (underflow_value): Likewise.
27782         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
27783         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
27784         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
27785         (__ieee754_gamma_r): Likewise.
27786         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
27787         Likewise.
27788         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
27789         Likewise.
27790         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
27791         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
27792         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
27793         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
27794         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
27795         (__ieee754_gammaf_r): Likewise.
27796         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
27797         Likewise.
27798         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
27799         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
27800         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
27801         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
27802         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
27803         volatile.
27804         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
27805         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
27806         math_narrow_eval.
27807         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
27808         Likewise.
27809         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
27810         Likewise.
27811         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
27812         Likewise.
27813         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
27814         volatile.
27815         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
27816         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
27817         math_narrow_eval.
27818         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
27819         Likewise.
27820         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
27821         Likewise.
27823 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
27825         * nptl/Versions: Remove ignored symbols.
27827 2015-09-22  Florian Weimer  <fweimer@redhat.com>
27829         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
27830         * nss/Makefile (tests): Update.
27832 2015-09-22  Florian Weimer  <fweimer@redhat.com>
27834         * nss/bug18287.c: New file.
27835         * nss/Makefile (tests): Add bug18287.
27837 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27839         * mach/Versions (__mach_host_self_): Add symbol.
27841 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27843         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
27844         vm_page_size.
27846 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27848         Really fix sysdeps/i386/fpu/s_scalbn.S build
27850         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
27851         (libc: GLIBC_2_22): Remove unused version set.
27853 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
27855         * config.make.in (enable-timezone-tools): New variable.
27856         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
27857         (enable_timezone_tools): Export to generated files.
27858         * configure: Regenerate.
27859         * INSTALL: Regenerate.
27860         * manual/install.texi (--disable-timezone-tools): Document new flag.
27861         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
27862         ifeq ($(enable-timezone-tools),yes) check.
27864 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
27866         * timezone/Makefile: Revert previous change.
27868         [BZ #18980]
27869         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
27870         (DEFINE_DBL_MIN): Likewise.
27871         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
27872         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
27873         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
27874         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
27875         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
27876         (dbl_min): Replace with use of DEFINE_DBL_MIN.
27877         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
27878         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
27879         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
27880         (dbl_min): Replace with use of DEFINE_DBL_MIN.
27881         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
27882         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
27883         (flt_min): Replace with use of DEFINE_FLT_MIN.
27884         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
27885         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
27886         (dbl_min): Replace with use of DEFINE_DBL_MIN.
27887         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
27888         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
27889         (flt_min): Replace with use of DEFINE_FLT_MIN.
27890         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
27891         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
27892         (flt_min): Replace with use of DEFINE_FLT_MIN.
27893         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
27894         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
27895         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
27896         (__ieee754_hypot): Use DBL_NARROW_EVAL.
27897         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
27898         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
27899         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
27900         (__ieee754_pow): Use DBL_NARROW_EVAL.
27901         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
27902         (__ieee754_powf): Use FLT_NARROW_EVAL.
27903         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
27904         (__ieee754_expf_sse2): Convert double-precision result to single
27905         precision.
27906         * sysdeps/i386/fpu/libm-test-ulps: Update.
27908 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
27910         * timezone/Makefile: Ignore unused variable errors due to private.h
27911         (time_t_min) and (time_t_max).
27912         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
27913         Likewise.
27915 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
27917         [BZ #18981]
27918         * sysdeps/i386/fpu/i386-math-asm.h: New file.
27919         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
27920         (__ieee754_scalb): Use DBL_NARROW_EVAL.
27921         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
27922         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
27923         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
27924         (__scalbn): Use DBL_NARROW_EVAL.
27925         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
27926         (__scalbnf): Use FLT_NARROW_EVAL.
27928 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
27930         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
27931         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
27932         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
27933         * stdio-common/printf_fp.c (___printf_fp):
27934         Use signbit to get the sign. Use isinf macro to allow inlining.
27935         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
27936         * stdio-common/printf_size.c (__printf_size): Likewise.
27938 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
27940         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
27942 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
27944         [BZ #18980]
27945         * sysdeps/generic/math_private.h: Include <float.h>.
27946         (math_narrow_eval): New macro.
27947         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
27948         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
27949         math_narrow_eval on overflowing return value.
27950         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
27951         Likewise.
27952         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
27953         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
27954         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
27955         Likewise.
27956         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
27958 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
27960         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
27961         * math/Makefile: Remove isinf_ns.c.
27962         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
27963         * math/multc3.c (__multc3): Likewise.
27964         * math/s_casin.c (__casin): Likewise.
27965         * math/s_casinf.c (__casinf): Likewise.
27966         * math/s_casinl.c (__casinl): Likewise.
27967         * math/s_cproj.c (__cproj): Likewise.
27968         * math/s_cprojf.c (__cprojf): Likewise.
27969         * math/s_cprojl.c (__cprofl): Likewise.
27970         * math/s_ctan.c (__ctan): Likewise.
27971         * math/s_ctanf.c (__ctanf): Likewise.
27972         * math/s_ctanh.c (__ctanh): Likewise.
27973         * math/s_ctanhf.c (__ctanhf): Likewise.
27974         * math/s_ctanhl.c (__ctanhl): Likewise.
27975         * math/s_ctanl.c (__ctanl): Likewise.
27976         * math/w_fmod.c (__fmod): Likewise.
27977         * math/w_fmodf.c (__fmodf): Likewise.
27978         * math/w_fmodl.c (_fmodl): Likewise.
27979         * math/w_remainder.c (__remainder): Likewise.
27980         * math/w_remainderf.c (__remainderf): Likewise.
27981         * math/w_remainderl.c (__remainderl): Likewise.
27982         * math/w_scalb.c (__scalb): Likewise.
27983         * math/w_scalbf.c (__scalbf): Likewise.
27984         * math/w_scalbl.c (__scalbl): Likewise.
27985         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
27986         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
27987         with isinf.
27988         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
27989         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
27990         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
27991         __isinf_nsf with isinf.
27992         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
27993         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
27994         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
27995         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
27996         with isinf.
27997         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
27998         __isinf_nsl with isinf.
27999         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
28000         with isinf.
28001         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
28002         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
28003         __isinf_nsl with isinf.
28004         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
28005         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
28006         with isinf.
28008 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
28010         * resolv/base64.c (rcsid): Remove unused static.
28011         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
28012         static.  (tqpi1): Likewise.
28013         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
28014         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
28015         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
28016         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
28017         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
28018         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
28019         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
28020         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
28021         Likewise.
28023 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
28025         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
28026         <nptl/pthreadP.h>.
28027         (_longjmp_unwind): Use __libc_ptf_call.
28028         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
28030 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
28032         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
28033         * sysdeps/arm/__longjmp.S: Likewise.
28035 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
28037         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
28038         Use __builtin_signbit.
28039         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
28040         Use __builtin_signbitf.
28041         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
28042         Use __builtin_signbitl.
28043         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
28044         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
28046 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
28048         [BZ #15367]
28049         [BZ #17441]
28051         * math/Makefile: Build test-snan.c with -fsignaling-nans.
28052         * math/math.h (fpclassify): Use __builtin_fpclassify when
28053         available.  (signbit): Use __builtin_signbit(f/l).
28054         (isfinite): Use__builtin_isfinite.  (isnormal): Use
28055         __builtin_isnormal.  (isnan): Use __builtin_isnan.
28056         (isinf): Use __builtin_isinf_sign.
28058 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
28060         * benchtests/Makefile: Add bench-math-inlines, link with libm.
28061         * benchtests/bench-math-inlines.c: New benchmark.
28062         * benchtests/bench-util.h: New file.
28063         * benchtests/bench-util.c: New file.
28064         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
28066 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
28068         * elf/tst-dlmopen1.c: Define TEST_SO.
28069         (do_test): Use TEST_SO.
28071         * elf/dl-load.c: Include libc-internal.h.
28072         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
28074 2015-09-18  Vincent Bernat  <vincent@bernat.im>
28076         [BZ #17887]
28077         * time/strptime_l.c (__strptime_internal): Make %z accept
28078         [+-]HH:MM time zones.
28080 2015-09-18  Vincent Bernat  <vincent@bernat.im>
28082         [BZ #17886]
28083         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
28084         valid time zone.
28086 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
28088         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
28089         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
28090         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28091         (__ASSUME_FDATASYNC): Delete.
28093 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
28095         * conform/linknamespace.pl: Require weak undefined symbols to be
28096         in the standard namespace.
28097         (%strong_syms): Rename to %seen_syms.
28098         (%strong_seen): Rename to %seen_where.
28100 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
28102         [BZ #18970]
28103         * misc/error.c (error): Replace pthread_setcancelstate with
28104         __pthread_setcancelstate.
28105         (error_at_line): Likewise.
28106         * posix/wordexp.c (parse_comm): Likewise.
28107         * stdlib/fmtmsg.c (fmtmsg): Likewise.
28108         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
28109         (__pthread_setcancelstate): This.
28110         (pthread_setcancelstate): Add an alias.
28111         * nptl/nptl-init.c (pthread_functions): Replace
28112         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
28113         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
28114         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
28115         hidden_proto.
28116         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
28117         it with hidden_def.
28118         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
28119         (pthread_setcancelstate): Renamed to ...
28120         (__pthread_setcancelstate): This.
28121         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
28122         __libc_ptf_call with __pthread_setcancelstate.
28124 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
28125             Andreas Schwab  <schwab@suse.de>
28127         [BZ #17118]
28128         * math/s_ctan.c (__ctan): Determine sign of zero real part of
28129         result when imaginary part of argument is infinite using sine and
28130         cosine.
28131         * math/s_ctanf.c (__ctanf): Likewise.
28132         * math/s_ctanl.c (__ctanl): Likewise.
28133         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
28134         of result when real part of argument is infinite using sine and
28135         cosine.
28136         * math/s_ctanhf.c (__ctanhf): Likewise.
28137         * math/s_ctanhl.c (__ctanhl): Likewise.
28138         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
28139         (ctanh_test_data): Add more tests of ctanh.
28141 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
28143         [BZ #15384]
28144         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
28145         bit-mask as in subtraction.
28146         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
28147         Likewise.
28148         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
28149         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
28150         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
28152         [BZ #18951]
28153         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
28154         underflow exception for small results.
28155         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
28156         Likewise.
28157         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
28158         Likewise.
28159         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
28160         Likewise.
28161         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
28162         Likewise.
28163         * math/auto-libm-test-in: Add more tests of tgamma.
28164         * math/auto-libm-test-out: Regenerated.
28166 2015-09-17  Andreas Schwab  <schwab@suse.de>
28168         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
28170 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
28172         [BZ #18977]
28173         * math/bits/mathcalls.h
28174         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
28175         not declare.
28176         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
28177         Likewise.
28178         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
28179         Likewise.
28180         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
28181         Likewise.
28182         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
28183         Likewise.
28184         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
28185         Likewise.
28186         * conform/data/math.h-data
28187         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
28188         function.
28189         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
28190         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
28191         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
28192         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
28193         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
28194         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
28195         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
28196         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
28197         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
28198         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
28199         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
28201         [BZ #6803]
28202         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
28203         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
28204         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
28205         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
28206         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
28207         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
28208         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
28209         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
28210         [NO_LONG_DOUBLE] (scalbnl): Likewise.
28211         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
28212         Likewise.
28213         [NO_LONG_DOUBLE] (scalbnl): Likewise.
28214         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
28215         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
28216         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
28217         long_double_symbol calls.
28218         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
28219         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
28220         strong alias of __ldexpl.
28221         (scalbnl): Define using long_double_symbol.
28222         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
28223         Remove alias.
28224         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
28225         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
28226         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
28227         (scalbln_test_data): Add more errno expectations.
28229 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
28231         Cache the host port like we cache the task port.  This way we do not
28232         need to call the kernel just to get the port.  Furthermore, we no
28233         longer increase the reference count on every invocation of
28234         `mach_host_self'.
28236         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
28237         Protect declarations against the macro expansion.
28238         * mach/mach_init.c (__mach_host_self_): New variable.
28239         (mach_init): Initialize `__mach_host_self_'.
28240         * mach/mach_init.h (__mach_host_self_): New declaration.
28241         (__mach_host_self, mach_host_self): New macros.
28242         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
28243         Release reference.
28245 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
28247         [BZ #4404]
28248         * po/de.po: Update from Translation Project.
28250         [BZ #16415]
28251         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
28252         (__expm1l): Remove code to handle positive infinity and overflow.
28253         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
28254         variable.
28255         (__expm1l): Remove code to handle positive infinity and overflow.
28257 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
28258             Paul Pluzhnikov  <ppluzhnikov@google.com>
28260         [BZ #18872]
28261         * stdio-common/Makefile (tst-printf-bz18872): New test.
28262         (tst-printf-bz18872-mem.out): Likewise.
28263         * stdio-common/tst-printf-bz18872.sh: Generate new test.
28264         * stdio-common/vfprintf.c: Fix memory leaks.
28266 2015-09-16  Andreas Schwab  <schwab@suse.de>
28268         [BZ #17244]
28269         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
28270         Remove extra va_start/va_end calls.
28272         [BZ #17243]
28273         * posix/execl.c (execl): Add missing va_end.
28274         * posix/execle.c (execle): Likewise.
28275         * posix/execlp.c (execlp): Likewise.
28277 2015-09-15  Roland McGrath  <roland@hack.frob.com>
28279         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
28280         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
28282 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
28284         [BZ #18967]
28285         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
28286         undefine around includes of <bits/mathcalls.h>.
28287         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
28288         not declare function.
28289         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
28290         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
28291         (scalb): Likewise.
28292         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
28293         not define macro.
28294         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
28295         variable.
28296         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
28297         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
28298         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
28300         [BZ #18857]
28301         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
28302         return non-finite argument without doing ordered comparisons on
28303         it.
28305         [BZ #16296]
28306         * math/fenv.h (fegetround): Use __attribute_pure__.
28307         * include/fenv.h (__fegetround): Likewise.
28309         [BZ #18595]
28310         * math/s_ctan.c (__ctan): Force underflow exception for results
28311         whose real or imaginary part has small absolute value.
28312         * math/s_ctanf.c (__ctanf): Likewise.
28313         * math/s_ctanh.c (__ctanh): Likewise.
28314         * math/s_ctanhf.c (__ctanhf): Likewise.
28315         * math/s_ctanhl.c (__ctanhl): Likewise.
28316         * math/s_ctanl.c (__ctanl): Likewise.
28317         * math/auto-libm-test-in: Do not allow missing underflow for ctan
28318         and ctanh.  Add more tests of ctan and ctanh.
28320         [BZ #15918]
28321         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
28322         handling of cases where one argument is an infinity.
28324         [BZ #18875]
28325         [BZ #18966]
28326         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
28327         (MO): New macro.
28328         (__ieee754_exp10): For small results, force underflow exception
28329         and remove excess range and precision from return value.
28330         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
28331         (MO): New macro.
28332         (__ieee754_exp10f): For small results, force underflow exception
28333         and remove excess range and precision from return value.
28334         * math/auto-libm-test-in: Add more tests of exp10.
28335         * math/auto-libm-test-out: Regenerated.
28337 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
28339         [BZ #18875]
28340         [BZ #18961]
28341         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
28342         (MO): New macro.
28343         (__ieee754_exp): For small results, force underflow exception and
28344         remove excess range and precision from return value.
28345         (__exp_finite): Likewise.
28346         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
28347         (MO): New macro.
28348         (__ieee754_expf): For small results, force underflow exception and
28349         remove excess range and precision from return value.
28350         (__expf_finite): Likewise.
28351         * math/auto-libm-test-in: Add more tests of exp.
28352         * math/auto-libm-test-out: Regenerated.
28354         [BZ #16521]
28355         [BZ #18875]
28356         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
28357         small results.
28358         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
28359         (MO): New macro.
28360         (__ieee754_exp2): For small results, force underflow exception and
28361         remove excess range and precision from return value.
28362         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
28363         (MO): New macro.
28364         (__ieee754_exp2f): For small results, force underflow exception
28365         and remove excess range and precision from return value.
28366         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
28367         (MO): New macro.
28368         (__ieee754_exp2l): Force underflow exception for small results.
28369         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
28370         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
28371         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
28372         (MO): New macro.
28373         (__ieee754_exp2l): Force underflow exception for small results.
28374         * math/auto-libm-test-in: Add more tests or exp2.
28375         * math/auto-libm-test-out: Regenerated.
28377 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
28379         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
28381         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
28382         /dev/null.
28384 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28386         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
28387         io fs process)): Drop spurious backslash.
28389 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
28391         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
28392         Use sysinfo system call instead of parsing /proc/meminfo.
28393         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
28394         Likewise.
28396 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
28398         [BZ #16985]
28399         * programs/localedef.c (main): Display argv[remaining] when
28400         output_path is NULL.
28402 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
28404         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
28405         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
28406         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
28407         tanh.
28408         * math/auto-libm-test-out: Regenerated.
28409         * sysdeps/i386/fpu/libm-test-ulps: Update.
28410         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
28411         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
28412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28414 2015-09-11  Roland McGrath  <roland@hack.frob.com>
28416         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
28417         Use 'override' keyword to freeze the value here, preventing
28418         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
28420 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
28422         [BZ #14912]
28423         * sysdeps/aarch64/bits/atomic.h: Move to ...
28424         * sysdeps/aarch64/atomic-machine.h: ...here.
28425         (_AARCH64_BITS_ATOMIC_H): Rename macro to
28426         _AARCH64_ATOMIC_MACHINE_H.
28427         * sysdeps/alpha/bits/atomic.h: Move to ...
28428         * sysdeps/alpha/atomic-machine.h: ...here.
28429         * sysdeps/arm/bits/atomic.h: Move to ...
28430         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
28431         * bits/atomic.h: Move to ...
28432         * sysdeps/generic/atomic-machine.h: ...here.
28433         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
28434         * sysdeps/i386/bits/atomic.h: Move to ...
28435         * sysdeps/i386/atomic-machine.h: ...here.
28436         * sysdeps/ia64/bits/atomic.h: Move to ...
28437         * sysdeps/ia64/atomic-machine.h: ...here.
28438         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
28439         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
28440         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
28441         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
28442         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
28443         * sysdeps/microblaze/bits/atomic.h: Move to ...
28444         * sysdeps/microblaze/atomic-machine.h: ...here.
28445         * sysdeps/mips/bits/atomic.h: Move to ...
28446         * sysdeps/mips/atomic-machine.h: ...here.
28447         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
28448         * sysdeps/powerpc/bits/atomic.h: Move to ...
28449         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
28450         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
28451         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
28452         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
28453         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
28454         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
28455         <atomic-machine.h> instead of <bits/atomic.h>.
28456         * sysdeps/s390/bits/atomic.h: Move to ...
28457         * sysdeps/s390/atomic-machine.h: ...here.
28458         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
28459         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
28460         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
28461         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
28462         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
28463         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
28464         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
28465         * sysdeps/tile/bits/atomic.h: Move to ...
28466         * sysdeps/tile/atomic-machine.h: ...here.
28467         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
28468         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
28469         <sysdeps/tile/atomic-machine.h> instead of
28470         <sysdeps/tile/bits/atomic.h>.
28471         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
28472         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
28473         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
28474         <sysdeps/tile/atomic-machine.h> instead of
28475         <sysdeps/tile/bits/atomic.h>.
28476         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
28477         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
28478         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
28479         <sysdeps/arm/atomic-machine.h> instead of
28480         <sysdeps/arm/bits/atomic.h>.
28481         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
28482         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
28483         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
28484         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
28485         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
28486         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
28487         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
28488         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
28489         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
28490         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
28491         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
28492         * sysdeps/x86_64/bits/atomic.h: Move to ...
28493         * sysdeps/x86_64/atomic-machine.h: ...here.
28494         * include/atomic.h: Include <atomic-machine.h> instead of
28495         <bits/atomic.h>.
28497         * sysdeps/mips/mips32/libm-test-ulps: Update.
28498         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
28500         [BZ #18952]
28501         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
28502         not convert non-integer negative arguments to int to determine the
28503         value of signgam.
28504         * math/auto-libm-test-in: Add more tests of lgamma.
28505         * math/auto-libm-test-out: Regenerated.
28507         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
28508         cosh, csqrt, erfc, expm1 and lgamma.
28509         * math/auto-libm-test-out: Regenerated.
28510         * sysdeps/i386/fpu/libm-test-ulps: Update.
28511         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28513 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
28515         [BZ #2542]
28516         [BZ #2543]
28517         [BZ #2558]
28518         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
28519         __lgamma_neg for arguments from -28.0 to -2.0.
28520         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
28521         __lgamma_negf for arguments from -15.0 to -2.0.
28522         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
28523         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
28524         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
28525         Call __lgamma_negl for arguments from -33.0 to -2.0.
28526         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
28527         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
28528         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
28529         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
28530         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
28531         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
28532         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
28533         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
28534         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
28535         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
28536         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
28537         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
28538         (__lgamma_neg): Likewise.
28539         (__lgamma_negl): Likewise.
28540         (__lgamma_product): Likewise.
28541         (__lgamma_productl): Likewise.
28542         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
28543         * math/auto-libm-test-in: Add more tests of lgamma.
28544         * math/auto-libm-test-out: Regenerated.
28545         * sysdeps/i386/fpu/libm-test-ulps: Update.
28546         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28548 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
28550         [BZ #18675]
28551         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
28553 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
28555         [BZ #14912]
28556         * bits/libc-lock.h: Move to ...
28557         * sysdeps/generic/libc-lock.h: ...here.
28558         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
28559         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
28560         * sysdeps/mach/hurd/libc-lock.h: ...here.
28561         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
28562         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
28563         * sysdeps/mach/bits/libc-lock.h: Move to ...
28564         * sysdeps/mach/libc-lock.h: ...here.
28565         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
28566         * sysdeps/nptl/bits/libc-lock.h: Move to ...
28567         * sysdeps/nptl/libc-lock.h: ...here.
28568         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
28569         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
28570         * sysdeps/nptl/libc-lockP.h: ...here.
28571         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
28572         * crypt/crypt_util.c: Include <libc-lock.h> instead of
28573         <bits/libc-lock.h>.
28574         * dirent/scandir-tail.c: Likewise.
28575         * dlfcn/dlerror.c: Likewise.
28576         * elf/dl-close.c: Likewise.
28577         * elf/dl-iteratephdr.c: Likewise.
28578         * elf/dl-lookup.c: Likewise.
28579         * elf/dl-open.c: Likewise.
28580         * elf/dl-support.c: Likewise.
28581         * elf/dl-writev.h: Likewise.
28582         * elf/rtld.c: Likewise.
28583         * grp/fgetgrent.c: Likewise.
28584         * gshadow/fgetsgent.c: Likewise.
28585         * gshadow/sgetsgent.c: Likewise.
28586         * iconv/gconv_conf.c: Likewise.
28587         * iconv/gconv_db.c: Likewise.
28588         * iconv/gconv_dl.c: Likewise.
28589         * iconv/gconv_int.h: Likewise.
28590         * iconv/gconv_trans.c: Likewise.
28591         * include/link.h: Likewise.
28592         * inet/getnameinfo.c: Likewise.
28593         * inet/getnetgrent.c: Likewise.
28594         * inet/getnetgrent_r.c: Likewise.
28595         * intl/bindtextdom.c: Likewise.
28596         * intl/dcigettext.c: Likewise.
28597         * intl/finddomain.c: Likewise.
28598         * intl/gettextP.h: Likewise.
28599         * intl/loadmsgcat.c: Likewise.
28600         * intl/localealias.c: Likewise.
28601         * intl/textdomain.c: Likewise.
28602         * libidn/idn-stub.c: Likewise.
28603         * libio/libioP.h: Likewise.
28604         * locale/duplocale.c: Likewise.
28605         * locale/freelocale.c: Likewise.
28606         * locale/newlocale.c: Likewise.
28607         * locale/setlocale.c: Likewise.
28608         * login/getutent_r.c: Likewise.
28609         * login/getutid_r.c: Likewise.
28610         * login/getutline_r.c: Likewise.
28611         * login/utmp-private.h: Likewise.
28612         * login/utmpname.c: Likewise.
28613         * malloc/mtrace.c: Likewise.
28614         * misc/efgcvt.c: Likewise.
28615         * misc/error.c: Likewise.
28616         * misc/fstab.c: Likewise.
28617         * misc/getpass.c: Likewise.
28618         * misc/mntent.c: Likewise.
28619         * misc/syslog.c: Likewise.
28620         * nis/nis_call.c: Likewise.
28621         * nis/nis_callback.c: Likewise.
28622         * nis/nss-default.c: Likewise.
28623         * nis/nss_compat/compat-grp.c: Likewise.
28624         * nis/nss_compat/compat-initgroups.c: Likewise.
28625         * nis/nss_compat/compat-pwd.c: Likewise.
28626         * nis/nss_compat/compat-spwd.c: Likewise.
28627         * nis/nss_nis/nis-alias.c: Likewise.
28628         * nis/nss_nis/nis-ethers.c: Likewise.
28629         * nis/nss_nis/nis-grp.c: Likewise.
28630         * nis/nss_nis/nis-hosts.c: Likewise.
28631         * nis/nss_nis/nis-network.c: Likewise.
28632         * nis/nss_nis/nis-proto.c: Likewise.
28633         * nis/nss_nis/nis-pwd.c: Likewise.
28634         * nis/nss_nis/nis-rpc.c: Likewise.
28635         * nis/nss_nis/nis-service.c: Likewise.
28636         * nis/nss_nis/nis-spwd.c: Likewise.
28637         * nis/nss_nisplus/nisplus-alias.c: Likewise.
28638         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
28639         * nis/nss_nisplus/nisplus-grp.c: Likewise.
28640         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
28641         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
28642         * nis/nss_nisplus/nisplus-network.c: Likewise.
28643         * nis/nss_nisplus/nisplus-proto.c: Likewise.
28644         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
28645         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
28646         * nis/nss_nisplus/nisplus-service.c: Likewise.
28647         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
28648         * nis/ypclnt.c: Likewise.
28649         * nptl/libc_pthread_init.c: Likewise.
28650         * nss/getXXbyYY.c: Likewise.
28651         * nss/getXXent.c: Likewise.
28652         * nss/getXXent_r.c: Likewise.
28653         * nss/nss_db/db-XXX.c: Likewise.
28654         * nss/nss_db/db-netgrp.c: Likewise.
28655         * nss/nss_db/nss_db.h: Likewise.
28656         * nss/nss_files/files-XXX.c: Likewise.
28657         * nss/nss_files/files-alias.c: Likewise.
28658         * nss/nsswitch.c: Likewise.
28659         * posix/regex_internal.h: Likewise.
28660         * posix/wordexp.c: Likewise.
28661         * pwd/fgetpwent.c: Likewise.
28662         * resolv/res_hconf.c: Likewise.
28663         * resolv/res_libc.c: Likewise.
28664         * shadow/fgetspent.c: Likewise.
28665         * shadow/lckpwdf.c: Likewise.
28666         * shadow/sgetspent.c: Likewise.
28667         * socket/opensock.c: Likewise.
28668         * stdio-common/reg-modifier.c: Likewise.
28669         * stdio-common/reg-printf.c: Likewise.
28670         * stdio-common/reg-type.c: Likewise.
28671         * stdio-common/vfprintf.c: Likewise.
28672         * stdio-common/vfscanf.c: Likewise.
28673         * stdlib/abort.c: Likewise.
28674         * stdlib/cxa_atexit.c: Likewise.
28675         * stdlib/fmtmsg.c: Likewise.
28676         * stdlib/random.c: Likewise.
28677         * stdlib/setenv.c: Likewise.
28678         * string/strsignal.c: Likewise.
28679         * sunrpc/auth_none.c: Likewise.
28680         * sunrpc/bindrsvprt.c: Likewise.
28681         * sunrpc/create_xid.c: Likewise.
28682         * sunrpc/key_call.c: Likewise.
28683         * sunrpc/rpc_thread.c: Likewise.
28684         * sysdeps/arm/backtrace.c: Likewise.
28685         * sysdeps/generic/ldsodefs.h: Likewise.
28686         * sysdeps/generic/stdio-lock.h: Likewise.
28687         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
28688         * sysdeps/i386/backtrace.c: Likewise.
28689         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
28690         * sysdeps/m68k/backtrace.c: Likewise.
28691         * sysdeps/mach/hurd/cthreads.c: Likewise.
28692         * sysdeps/mach/hurd/dirstream.h: Likewise.
28693         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
28694         * sysdeps/nptl/malloc-machine.h: Likewise.
28695         * sysdeps/nptl/stdio-lock.h: Likewise.
28696         * sysdeps/posix/dirstream.h: Likewise.
28697         * sysdeps/posix/getaddrinfo.c: Likewise.
28698         * sysdeps/posix/system.c: Likewise.
28699         * sysdeps/pthread/aio_suspend.c: Likewise.
28700         * sysdeps/s390/s390-32/backtrace.c: Likewise.
28701         * sysdeps/s390/s390-64/backtrace.c: Likewise.
28702         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28703         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
28704         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
28705         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
28706         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
28707         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
28708         * sysdeps/unix/sysv/linux/system.c: Likewise.
28709         * sysdeps/x86_64/backtrace.c: Likewise.
28710         * time/alt_digit.c: Likewise.
28711         * time/era.c: Likewise.
28712         * time/tzset.c: Likewise.
28713         * wcsmbs/wcsmbsload.c: Likewise.
28714         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
28715         instead of <bits/libc-lock.h> in comment.
28717 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
28719         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
28720         Only use .set mips2 if the current ISA is below mips2.
28721         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
28722         Likewise.
28723         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
28724         mips32r2 if the current ISA is below mips32r2.
28725         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
28726         (TLS_IE): Updated to use the TLD_RDHWR macro.
28727         (TLS_LE): Likewise.
28728         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
28729         __ASSEMBLER__ condition.
28731 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28733         Fix parallel build of before-compile targets.
28735         * sysdeps/mach/Makefile ($(patsubst
28736         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
28737         mach-before-compile target.
28738         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
28739         io fs process)): Move rule to dedicated hurd-before-compile target.
28741 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28743         Fix rules generating headers in hurd/ and mach/ when initial make call
28744         has subdir= explicitly set.
28746         * sysdeps/mach/Makefile ($(patsubst
28747         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
28748         calling $(MAKE).
28749         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
28750         io fs process)): Force subdir to hurd when calling $(MAKE).
28751         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
28752         subdir to mach when calling $(MAKE).
28754 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
28756         Check sysheaders when looking for Mach and Hurd headers
28758         * sysdeps/mach/configure.ac: Add sysheaders check.
28759         * sysdeps/mach/configure: Regenerate.
28760         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
28761         * sysdeps/mach/hurd/configure: Regenerate.
28763 2015-09-04  Roland McGrath  <roland@hack.frob.com>
28765         [BZ #18921]
28766         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
28767         Fix inverted sense of test of 'o_directory_works' value.
28768         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
28769         Bernhard Voelker <mail@bernhard-voelker.de>.
28771 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
28773         [BZ #14912]
28774         * bits/linkmap.h: Move to ...
28775         * sysdeps/generic/linkmap.h: ...here.
28776         * sysdeps/aarch64/bits/linkmap.h: Move to ...
28777         * sysdeps/aarch64/linkmap.h: ...here.
28778         * sysdeps/arm/bits/linkmap.h: Move to ...
28779         * sysdeps/arm/linkmap.h: ...here.
28780         * sysdeps/hppa/bits/linkmap.h: Move to ...
28781         * sysdeps/hppa/linkmap.h: ...here.
28782         * sysdeps/ia64/bits/linkmap.h: Move to ...
28783         * sysdeps/ia64/linkmap.h: ...here.
28784         * sysdeps/mips/bits/linkmap.h: Move to ...
28785         * sysdeps/mips/linkmap.h: ...here.
28786         * sysdeps/s390/bits/linkmap.h: Move to ...
28787         * sysdeps/s390/linkmap.h: ...here.
28788         * sysdeps/sh/bits/linkmap.h: Move to ...
28789         * sysdeps/sh/linkmap.h: ...here.
28790         * sysdeps/x86/bits/linkmap.h: Move to ...
28791         * sysdeps/x86/linkmap.h: ...here.
28792         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
28794 2015-09-04  Andreas Schwab  <schwab@suse.de>
28796         [BZ #18635]
28797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
28798         (__makecontext): Terminate FDE before return label.
28799         (__novec_makecontext): Likewise.
28801 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
28803         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
28804         first member of struct sv in syscall macro.
28806 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
28808         [BZ #14912]
28809         * bits/stdio-lock.h: Move to ...
28810         * sysdeps/generic/stdio-lock.h: ...here.
28811         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
28812         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
28813         * sysdeps/nptl/stdio-lock.h: ...here.
28814         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
28815         * include/libio.h: Include <stdio-lock.h> instead of
28816         <bits/stdio-lock.h>.
28817         * sysdeps/nptl/fork.c: Likewise.
28818         * sysdeps/pthread/flockfile.c: Likewise.
28819         * sysdeps/pthread/ftrylockfile.c: Likewise.
28820         * sysdeps/pthread/funlockfile.c: Likewise.
28822         [BZ #14912]
28823         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
28824         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
28825         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
28826         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
28827         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
28828         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
28829         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
28831 2015-09-03  Roland McGrath  <roland@hack.frob.com>
28833         * elf/Makefile (test-xfail-tst-protected1a): New variable.
28834         (test-xfail-tst-protected1b): New variable.
28836 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
28838         [BZ #14912]
28839         * bits/libc-tsd.h: Move to ...
28840         * sysdeps/generic/libc-tsd.h: ...here.
28841         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
28842         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
28843         * sysdeps/mach/hurd/libc-tsd.h: ...here.
28844         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
28845         * include/ctype.h: Include <libc-tsd.h> instead of
28846         <bits/libc-tsd.h>.
28847         * include/rpc/rpc.h: Likewise.
28848         * locale/localeinfo.h: Likewise.
28849         * sunrpc/rpc_thread.c: Likewise.
28850         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
28851         * sysdeps/nptl/malloc-machine.h: Likewise.
28853         * Makefile (headers): Remove bits/libc-lock.h.
28854         * libio/Makefile (headers): Remove bits/stdio-lock.h.
28856         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
28857         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
28858         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
28859         <bits/stdio-lock.h>.
28860         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
28861         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
28863 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
28865         [BZ #18757]
28866         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
28867         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
28868         BZ #18757.
28870 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
28872         * malloc/mtrace.pl: Filter out NULL entries.
28874 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
28876         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
28877         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
28878         macro.
28880         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
28881         (TCP_CC_INFO): Likewise.
28882         (TCP_SAVE_SYN): Likewise.
28883         (TCP_SAVED_SYN): Likewise.
28885 2015-08-31  Brett Neumeier <brett@neumeier.us>
28887         [BZ #18870]
28888         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
28890 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
28892         [BZ #18873]
28893         Fix broken overflow check in posix_fallocate
28894         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
28895         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
28896         Fix parenthesization typo.
28898 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
28900         [BZ #18887]
28901         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
28902         tst-mntent-blank-passno.
28903         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
28904         * misc/tst-mntent-blank-corrupt.c: New test.
28905         * misc/tst-mntent-blank-passno.c: New test ripped from ...
28906         * misc/tst-mntent.c (do_test): ... here.
28908 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
28910         [BZ #4404]
28911         * po/de.po: Fix SIGALRM typo.
28913 2015-08-28  James Perkins  <james@loowit.net>
28915         * time/tst-strptime2.c (tests): Replace short list of test
28916         strings for strptime %z specifier with code which exhaustively
28917         tests every combination of sign and 0 to 5 digits. Tests for
28918         rejection of invalid strings.
28920 2015-08-28  James Perkins  <james@loowit.net>
28922         [BZ #16141]
28923         * time/strptime_l.c (__strptime_internal): Fix %z minutes
28924         calculation, removing incorrect decimal time rounding, so that
28925         all minute values result in a valid seconds value.
28926         * time/strptime_l.c (__strptime_internal): Extend %z time zone
28927         offset range limits to UTC-99:59 through UTC+99:59 to parse
28928         current and historical use cases.
28929         * time/tst-strptime2.c (tests): Modify and add tests for the
28930         strptime %z input field descriptor, specifically conversion of
28931         minutes to seconds and validating an offset range of -9959 to
28932         +9959.
28934 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28935             Dmitry V. Levin  <ldv@altlinux.org>
28937         [BZ #18877]
28938         * posix/Makefile (tests): Add tst-mmap-offset.
28939         * posix/tst-mmap.c: New file.
28940         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
28941         offset calculation for negative values.
28943 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
28945         * sysdeps/i386/init-arch.h: New file.
28946         * sysdeps/i386/i586/init-arch.h: Likewise.
28947         * sysdeps/i386/i686/init-arch.h: Likewise.
28948         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
28949         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
28950         * sysdeps/x86/cpu-features.h (bit_I586): New.
28951         (bit_I686): Likewise.
28952         (bit_CX8): Likewise.
28953         (bit_CMOV): Likewise.
28954         (index_CX8): Likewise.
28955         (index_CMOV): Likewise.
28956         (index_I586): Likewise.
28957         (index_I686): Likewise.
28958         (reg_CX8): Likewise.
28959         (reg_CMOV): Likewise.
28960         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
28961         available at compile-time.
28962         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
28963         available at compile-time.
28964         * sysdeps/x86/init-arch.h (USE_I586): New macro.
28965         (USE_I686): Likewise.
28967 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
28969         * sysdeps/i386/bcopy.S: New file.
28970         * sysdeps/i386/bzero.S: Likewise.
28971         * sysdeps/i386/memcpy.S: Likewise.
28972         * sysdeps/i386/memmove.S: Likewise.
28973         * sysdeps/i386/mempcpy.S: Likewise.
28974         * sysdeps/i386/memset.S: Likewise.
28975         * sysdeps/i386/bzero.c: Removed.
28976         * sysdeps/i386/memset.c: Likewise.
28977         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
28978         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
28979         * sysdeps/i386/i586/memset_chk.S: Likewise.
28980         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
28981         * sysdeps/i386/memcpy_chk.S: Here.
28982         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
28983         * sysdeps/i386/memmove_chk.S: Here.
28984         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
28985         * sysdeps/i386/mempcpy_chk.S: Likewise.
28986         * sysdeps/i386/i686/memset_chk.S: Moved to ...
28987         * sysdeps/i386/memset_chk.S: Likewise.
28989 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
28991         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
28992         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
28993         file, move DIAG_POP_NEEDS_COMMENT to end of file.
28994         * soft-fp/fmadf4.c: Ditto.
28995         * soft-fp/fmatf4.c: Ditto.
28997 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
28999         * sysdeps/i386/i586/Implies: Removed.
29000         * sysdeps/i386/i686/Implies: Likewise.
29002 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
29004         * sysdeps/i386/i486/strlen.S: Moved to ...
29005         * sysdeps/i386/strlen.S: Here.
29007 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
29009         * sysdeps/i386/i486/strcat.S: Moved to ...
29010         * sysdeps/i386/strcat.S: Here.
29012 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
29014         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
29015         * sysdeps/i386/pthread_spin_trylock.S: Here.
29016         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
29017         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
29019 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
29021         * sysdeps/i386/i486/string-inlines.c: Moved to ...
29022         * sysdeps/i386/string-inlines.c: Here.
29024 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
29026         * sysdeps/i386/i486/htonl.S: Moved ...
29027         * sysdeps/i386/htonl.S: here.
29029 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
29031         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
29032         * sysdeps/i386/bits/atomic.h: Here.
29034 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
29036         * sysdeps/i386/i486/Versions: Removed.
29038 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
29040         [BZ #2898]
29041         * misc/mktemp.c: Add mkdtemp to the link_warning message.
29042         Based on patch by Aurelien Jarno.
29044 2015-08-26  Stan Shebs  <stanshebs@google.com>
29046         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
29047         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
29049 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
29051         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
29052         * sysdeps/powerpc/dl-procinfo.c:
29053         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
29054         feature so it shows when LD_SHOW_AUXV=1.
29056 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
29058         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
29059         (__arch_compare_and_exchange_val_32_acq): Remove and use common
29060         definition.  ISA 2.07B no longer requires full sync.
29062 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
29064         [BZ #18863]
29065         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
29066         (si_call_addr): Define.
29067         (si_syscall): Define.
29068         (si_arch): Define.
29070 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
29072         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
29073         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
29074         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
29075         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
29076         (__memset_zero_constant_len_parameter): New.
29077         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
29078         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
29079         (__memset_zero_constant_len_parameter): Don't define if
29080         __memset_chk or USE_AS_BZERO are defined.
29082         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
29083         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
29084         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
29086         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
29087         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
29088         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
29089         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
29090         comments.
29091         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
29092         -mno-mmx for $(all-rtld-routines).
29093         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
29094         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
29095         i386.
29097 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
29099         * sysdeps/generic/unwind.h
29100         (_Unwind_Word): Use __mode__(__unwind_word__)
29101         instead of __mode__(__word__).
29102         (_Unwind_Sword): Likewise.
29104         * sysdeps/s390/s390-64/utf8-utf16-z9.c
29105         (MAX_NEEDED_INPUT): New define.
29106         (MAX_NEEDED_OUTPUT): New define.
29108         * NEWS: New item for IBM z13 string optimizations.
29110         * sysdeps/s390/multiarch/memrchr-c.c: New File.
29111         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
29112         * sysdeps/s390/multiarch/memrchr.c: Likewise.
29113         * sysdeps/s390/multiarch/Makefile
29114         (sysdep_routines): Add memrchr functions.
29115         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
29116         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
29118         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
29119         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
29120         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
29121         * sysdeps/s390/multiarch/Makefile
29122         (sysdep_routines): Add wmemcmp functions.
29123         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
29124         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
29125         * benchtests/bench-wmemcmp.c: New File.
29126         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
29128         * sysdeps/s390/multiarch/wmemset-c.c: New File.
29129         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
29130         * sysdeps/s390/multiarch/wmemset.c: Likewise.
29131         * sysdeps/s390/multiarch/Makefile
29132         (sysdep_routines): Add wmemset functions.
29133         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
29134         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
29135         * wcsmbs/wmemset.c: Use WMEMSET if defined.
29136         * string/test-memset.c: Add wmemset support.
29137         * wcsmbs/test-wmemset.c: New File.
29138         * wcsmbs/Makefile (strop-tests): Add wmemset.
29139         * benchtests/bench-memset.c: Add wmemset support.
29140         * benchtests/bench-wmemset.c: New File.
29141         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
29143         * sysdeps/s390/multiarch/memccpy-c.c: New File.
29144         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
29145         * sysdeps/s390/multiarch/memccpy.c: Likewise.
29146         * sysdeps/s390/multiarch/Makefile
29147         (sysdep_routines): Add memccpy functions.
29148         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
29149         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
29150         * string/memccpy.c: Use MEMCCPY if defined.
29152         * sysdeps/s390/multiarch/memchr-vx.S: New File.
29153         * sysdeps/s390/multiarch/memchr.c: Likewise.
29154         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
29155         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
29156         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
29157         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
29158         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
29159         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
29160         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
29161         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
29162         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
29163         and rawmemchr functions.
29164         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
29165         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
29166         and wmemchr.
29167         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
29168         * string/test-memchr.c: Add wmemchr support.
29169         * wcsmbs/test-wmemchr.c: New File.
29170         * wcsmbs/Makefile (strop-tests): Add wmemchr.
29171         * benchtests/bench-memchr.c: Add wmemchr support.
29172         * benchtests/bench-wmemchr.c: New File.
29173         * benchtests/Makefile (wcsmbs-bench): wmemchr.
29175         * sysdeps/s390/multiarch/strcspn-c.c: New File.
29176         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
29177         * sysdeps/s390/multiarch/strcspn.c: Likewise.
29178         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
29179         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
29180         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
29181         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
29182         wcscspn functions.
29183         * sysdeps/s390/multiarch/ifunc-impl-list.c
29184         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
29185         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
29186         * string/test-strcspn.c: Add wcscspn support.
29187         * wcsmbs/test-wcscspn.c: New File.
29188         * wcsmbs/Makefile (strop-tests): Add wcscspn.
29189         * benchtests/bench-strcspn.c: Add wcscspn support.
29190         * benchtests/bench-wcscspn.c: New File.
29191         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
29193         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
29194         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
29195         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
29196         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
29197         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
29198         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
29199         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
29200         wcspbrk functions.
29201         * sysdeps/s390/multiarch/ifunc-impl-list.c
29202         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
29203         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
29204         * string/test-strpbrk.c: Add wcspbrk support.
29205         * wcsmbs/test-wcspbrk.c: New File.
29206         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
29207         * benchtests/bench-strpbrk.c: Add wcspbrk support.
29208         * benchtests/bench-wcspbrk.c: New File.
29209         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
29211         * sysdeps/s390/multiarch/strspn-c.c: New File.
29212         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
29213         * sysdeps/s390/multiarch/strspn.c: Likewise.
29214         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
29215         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
29216         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
29217         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
29218         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
29219         wcsspn functions.
29220         * sysdeps/s390/multiarch/ifunc-impl-list.c
29221         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
29222         * string/test-strspn.c: Add wcsspn support.
29223         * wcsmbs/test-wcsspn.c: New File.
29224         * wcsmbs/Makefile (strop-tests): Add wcsspn.
29225         * benchtests/bench-strspn.c: Add wcsspn support.
29226         * benchtests/bench-wcsspn.c: New File.
29227         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
29229         * sysdeps/s390/multiarch/strrchr-c.c: New File.
29230         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
29231         * sysdeps/s390/multiarch/strrchr.c: Likewise.
29232         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
29233         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
29234         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
29235         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
29236         wcsrchr functions.
29237         * sysdeps/s390/multiarch/ifunc-impl-list.c
29238         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
29239         * benchtests/bench-wcsrchr.c: New File.
29240         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
29242         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
29243         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
29244         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
29245         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
29246         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
29247         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
29248         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
29249         wcschrnul functions.
29250         * sysdeps/s390/multiarch/ifunc-impl-list.c
29251         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
29252         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
29253         * string/test-strchr.c: Add wcschrnul support.
29254         * wcsmbs/test-wcschrnul.c: New File.
29255         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
29256         * benchtests/bench-strchr.c: Add wcschrnul support.
29257         * benchtests/bench-wcschrnul.c: New File.
29258         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
29260         * sysdeps/s390/multiarch/strchr-c.c: New File.
29261         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
29262         * sysdeps/s390/multiarch/strchr.c: Likewise.
29263         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
29264         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
29265         * sysdeps/s390/multiarch/wcschr.c: Likewise.
29266         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
29267         wcschr functions.
29268         * sysdeps/s390/multiarch/ifunc-impl-list.c
29269         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
29270         * string/strchr.c (STRCHR): Define and use macro.
29271         * benchtests/bench-wcschr.c: New File.
29272         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
29274         * sysdeps/s390/multiarch/strncmp-c.c: New File.
29275         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
29276         * sysdeps/s390/multiarch/strncmp.c: Likewise.
29277         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
29278         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
29279         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
29280         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
29281         wcsncmp functions.
29282         * sysdeps/s390/multiarch/ifunc-impl-list.c
29283         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
29284         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
29285         * benchtests/bench-strncmp.c: Add wcsncmp support.
29286         * benchtests/bench-wcsncmp.c: New File.
29287         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
29289         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
29290         * sysdeps/s390/multiarch/strcmp.c: Likewise.
29291         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
29292         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
29293         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
29294         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
29295         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
29296         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
29297         wcscmp functions.
29298         * sysdeps/s390/multiarch/ifunc-impl-list.c
29299         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
29300         * string/strcmp.c (STRCMP): Define and use macro.
29301         * benchtests/bench-wcscmp.c: New File.
29302         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
29303         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
29304         instead of _HAVE_STRING_ARCH_memchr.
29306         * sysdeps/s390/multiarch/strncat-c.c: New File.
29307         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
29308         * sysdeps/s390/multiarch/strncat.c: Likewise.
29309         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
29310         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
29311         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
29312         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
29313         wcsncat functions.
29314         * sysdeps/s390/multiarch/ifunc-impl-list.c
29315         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
29316         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
29317         * string/test-strncat.c: Add wcsncat support.
29318         * wcsmbs/test-wcsncat.c: New File.
29319         * wcsmbs/Makefile (strop-tests): Add wcsncat.
29320         * benchtests/bench-strncat.c: Add wcsncat support.
29321         * benchtests/bench-wcsncat.c: New File.
29322         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
29324         * sysdeps/s390/multiarch/strcat-c.c: New File.
29325         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
29326         * sysdeps/s390/multiarch/strcat.c: Likewise.
29327         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
29328         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
29329         * sysdeps/s390/multiarch/wcscat.c: Likewise.
29330         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
29331         wcscat functions.
29332         * sysdeps/s390/multiarch/ifunc-impl-list.c
29333         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
29334         * string/strcat.c (STRCAT): Define and use macro.
29335         * wcsmbs/wcscat.c: Use WCSCAT if defined.
29336         * string/test-strcat.c: Add wcscat support.
29337         * wcsmbs/test-wcscat.c: New File.
29338         * wcsmbs/Makefile (strop-tests): Add wcscat.
29339         * benchtests/bench-strcat.c: Add wcscat support.
29340         * benchtests/bench-wcscat.c: New File.
29341         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
29343         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
29344         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
29345         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
29346         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
29347         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
29348         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
29349         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
29350         wcpncpy functions.
29351         * sysdeps/s390/multiarch/ifunc-impl-list.c
29352         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
29353         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
29354         * string/test-stpncpy.c: Add wcpncpy support.
29355         * wcsmbs/test-wcpncpy.c: New File.
29356         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
29357         * benchtests/bench-stpncpy.c: Add wcpncpy support.
29358         * benchtests/bench-wcpncpy.c: New File.
29359         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
29361         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
29362         * sysdeps/s390/multiarch/strncpy.c: Likewise.
29363         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
29364         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
29365         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
29366         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
29367         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
29368         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
29369         wcsncpy functions.
29370         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
29371         * sysdeps/s390/multiarch/ifunc-impl-list.c
29372         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
29373         * string/test-strncpy.c: Add wcsncpy support.
29374         * wcsmbs/test-wcsncpy.c: New File.
29375         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
29376         * benchtests/bench-strncpy.c: Add wcsncpy support.
29377         * benchtests/bench-wcsncpy.c: New File.
29378         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
29380         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
29381         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
29382         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
29383         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
29384         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
29385         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
29386         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
29387         wcpcpy functions.
29388         * string/stpcpy.c: Use STPCPY if defined.
29389         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
29390         * sysdeps/s390/multiarch/ifunc-impl-list.c
29391         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
29392         * string/test-stpcpy.c: Add wcpcpy support.
29393         * wcsmbs/test-wcpcpy.c: New File.
29394         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
29395         * benchtests/bench-stpcpy.c: Add wcpcpy support.
29396         * benchtests/bench-wcpcpy.c: New File.
29397         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
29399         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
29400         * sysdeps/s390/multiarch/strcpy.c: Likewise.
29401         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
29402         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
29403         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
29404         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
29405         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
29406         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
29407         wcscpy functions.
29408         * sysdeps/s390/multiarch/ifunc-impl-list.c
29409         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
29410         * benchtests/bench-wcscpy.c: New File.
29411         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
29413         * sysdeps/s390/multiarch/strnlen-c.c: New File.
29414         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
29415         * sysdeps/s390/multiarch/strnlen.c: Likewise.
29416         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
29417         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
29418         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
29419         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
29420         wcsnlen functions.
29421         * sysdeps/s390/multiarch/ifunc-impl-list.c
29422         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
29423         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
29424         * string/test-strnlen.c: Add wcsnlen support.
29425         * wcsmbs/test-wcsnlen.c: New File.
29426         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
29427         * benchtests/bench-strnlen.c: Add wcsnlen support.
29428         * benchtests/bench-wcsnlen.c: New File.
29429         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
29431         * sysdeps/s390/multiarch/Makefile: New File.
29432         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
29433         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
29434         * sysdeps/s390/multiarch/strlen.c: Likewise.
29435         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
29436         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
29437         * sysdeps/s390/multiarch/wcslen.c: Likewise.
29438         * string/strlen.c (STRLEN): Define and use macro.
29439         * sysdeps/s390/multiarch/ifunc-impl-list.c
29440         (IFUNC_VX_IMPL): New macro function.
29441         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
29442         * benchtests/Makefile (wcsmbs-bench): New variable.
29443         (string-bench-all): Added wcsmbs-bench.
29444         * benchtests/bench-wcslen.c: New File.
29446         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
29447         s390_vx_libc_ifunc2): New macro function.
29449         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
29450         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
29451         assembler support.
29452         * sysdeps/s390/configure: Regenerated.
29454         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
29455         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
29457         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
29458         * sysdeps/s390/dl-procinfo.h: Add vector capability.
29459         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
29461         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
29462         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
29463         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
29464         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
29465         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
29466         (memcmp, bcmp): Use __memcmp_default as alias source.
29467         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
29468         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
29469         Rename to __memcmp_default.
29470         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
29471         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
29472         (memcpy): Use __memcpy_default as alias source.
29473         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
29474         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
29475         Rename to __memcpy_default.
29476         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
29477         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
29478         (memset): Use __memset_default as alias source.
29479         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
29480         * sysdeps/s390/s390-32/memset.S (__memset_g5):
29481         Rename to __memset_default.
29482         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
29483         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
29484         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
29485         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
29486         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
29487         (memcmp, bcmp): Use __memcmp_default as alias source.
29488         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
29489         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
29490         Rename to __memcmp_default.
29491         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
29492         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
29493         (memcpy): Use __memcpy_default as alias source.
29494         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
29495         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
29496         Rename to __memcpy_default.
29497         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
29498         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
29499         (memset): Use __memset_default as alias source.
29500         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
29501         * sysdeps/s390/s390-64/memset.S (__memset_z900):
29502         Rename to __memset_default.
29503         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
29504         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
29506         [BZ #18610]
29507         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
29508         __ieee_instruction_pointer to __unused.
29509         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
29510         __ieee_instruction_pointer.
29511         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
29512         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
29513         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
29514         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
29515         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
29516         Mark dxc-field as reserved.
29518 2015-08-25  Roland McGrath  <roland@hack.frob.com>
29520         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
29521         if the weak reference is not null.
29523 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
29525         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
29527         [BZ #11214]
29528         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
29530 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
29532         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
29533         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
29534         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
29535         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
29536         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
29537         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
29538         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
29539         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
29540         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
29541         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
29542         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
29543         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
29544         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
29545         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
29546         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
29547         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
29548         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
29549         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
29551 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
29553         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
29554         register other than r0 for tabort, it has special meaning.
29555         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
29556         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
29557         transaction before starting syscall.
29559 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
29561         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
29563 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
29565         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
29567         * sysdeps/x86_64/rtld-memcmp.c: Removed.
29568         * sysdeps/x86_64/rtld-memset.S: Likewise.
29569         * sysdeps/x86_64/rtld-strchr.S: Likewise.
29570         * sysdeps/x86_64/rtld-strlen.S: Likewise.
29571         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
29572         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
29574         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
29576 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
29578         * debug/strcpy_chk.c: Improve performance.
29579         * debug/stpcpy_chk.c: Likewise.
29580         * sysdeps/x86_64/strcpy_chk.S: Remove.
29581         * sysdeps/x86_64/stpcpy_chk.S: Remove.
29583         [BZ #18240]
29584         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
29586 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
29588         [BZ #15128]
29589         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
29590         ifuncmain8.
29591         (modules-names): Add ifuncmod8.
29592         ($(objpfx)ifuncmain8): New rule.
29593         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
29594         <cpuid.h>.
29595         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
29596         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
29597         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
29598         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
29599         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
29600         * sysdeps/x86_64/dl-trampoline.h: Likewise.
29601         * sysdeps/x86_64/ifuncmain8.c: New file.
29602         * sysdeps/x86_64/ifuncmod8.c: Likewise.
29603         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
29604         Removed.
29605         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
29606         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
29607         Change rtld_savespace_sse to __glibc_unused2.
29608         (RTLD_CHECK_FOREIGN_CALL): Removed.
29609         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
29610         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
29611         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
29613 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
29615         * sysdeps/aarch64/bzero.S (__bzero): Remove.
29617 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
29619         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
29620         Unconditionally set __fpcr to avoid uninialized warning.
29621         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
29623 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29625         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
29626         is corrupt.
29628         * malloc/arena.c (arena_get2): Drop unused argument.
29629         (arena_lock): Adjust.
29630         (arena_get_retry): Likewise.
29632 2015-08-24  Andreas Schwab  <schwab@suse.de>
29634         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
29635         Don't define.
29636         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
29637         (__ASSUME_IPC64): Don't undef.
29638         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
29639         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
29640         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
29641         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
29642         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
29643         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
29644         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
29645         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
29646         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
29647         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
29648         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
29649         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
29650         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
29651         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
29652         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
29653         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
29654         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
29655         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
29656         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
29657         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
29658         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
29660 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
29662         * manual/Makefile (install): Only build manual when perl is available.
29664 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
29666         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
29667         '#undef memcpy' by '#undef memchr'.
29669 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
29671         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
29672         memchr not point to the internal __GI_memchr implementation.
29674 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
29676         * timezone/Makefile (CFLAGS-zdump.c): Remove
29677         -Wno-strict-prototypes.
29678         (CFLAGS-zic.c): Likewise.
29679         (CFLAGS-ialloc.c): Likewise.
29680         (CFLAGS-scheck.c): Likewise.
29682         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
29683         -Wno-error=undef.
29685 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
29687         * i386/i686/multiarch/strcasestr-c.c: Removed.
29688         * x86_64/multiarch/strcasestr.c: Likewise.
29689         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29690         Remove strcasestr.
29692 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
29694         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
29696         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
29697         variables for high and low parts before possibly modifying them.
29699 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
29701         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
29702         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
29703         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
29704         of "multiarch/init-arch.h".
29705         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
29706         * sysdeps/x86/init-arch.h: This.
29708 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
29710         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
29711         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
29713 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
29715         [BZ #17787]
29716         * manual/macros.texi: Add twoexp macro.
29717         * manual/filesys.texi: Fix exponents.
29718         * manual/llio.texi: Likewise.
29719         * manual/stdio.texi: Likewise.
29721 2015-08-20  Florian Weimer  <fweimer@redhat.com>
29723         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
29724         incorrect use.
29726 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
29728         [BZ #18370]
29729         * math/s_csqrt.c (__csqrt): Force underflow exception for results
29730         whose real or imaginary part has small absolute value.
29731         * math/s_csqrtf.c (__csqrtf): Likewise.
29732         * math/s_csqrtl.c (__csqrtl): Likewise.
29733         * math/auto-libm-test-in: Add more tests of csqrt.
29734         * math/auto-libm-test-out: Regenerated.
29735         * sysdeps/i386/fpu/libm-test-ulps: Update.
29737 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
29739         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
29740         __ppc_set_ppr_very_low): New functions.
29741         * manual/platform.texi: Add documentation about
29742         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
29744 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
29746         * string/stpncpy.c (stpncpy): Improve performance using
29747         __strnlen/memcpy/memset.
29749 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
29751         [BZ #18796]
29752         * scripts/test-installation.pl: Don't add -lmvec to build options if
29753         libmvec wasn't built.
29755 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
29757         [BZ #14341]
29758         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
29759         case when there is a gap between DT_REL and DT_JMPREL sections.
29760         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
29761         (LDFLAGS-tst-split-dynreloc): New.
29762         (tst-split-dynreloc-ENV): Likewise.
29763         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
29764         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
29766 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
29768         [BZ #18822]
29769         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
29770         attribute_hidden.
29771         (__xstat64_conv): Likewise.
29772         (__xstat32_conv): Likewise.
29774 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
29776         [BZ #18822]
29777         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
29778         Don't load %ebx when calling __setcontext.  Call __setcontext
29779         with HIDDEN_JUMPTARGET.
29780         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
29781         libc_hidden_def.
29783 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
29785         * sysdeps/i386/i686/Makefile
29786         [$(subdir) == string] (sysdep_routines): Moved to ...
29787         * sysdeps/i386/Makefile: Here.
29788         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
29789         * sysdeps/i386/cacheinfo.c: Here.
29790         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
29791         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
29792         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
29793         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
29795 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
29797         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
29798         __i586__ is defined.
29799         (HAS_I686): Defined to 1 if __i686__ is defined.
29801 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
29803         * elf/Makefile [$(have-z-execstack) = yes]
29804         (CPPFLAGS-tst-execstack.c): New variable.
29806         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
29807         conditional to [defined UTMPX || _HAVE_UT_TYPE].
29808         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
29809         UTMPX || _HAVE_UT_TV].
29810         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
29811         UTMPX || _HAVE_UT_TV - 0].
29813 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
29815         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
29816         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
29817         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
29819 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
29821         * sysdeps/powerpc/dl-procinfo.c:
29822         (_dl_powerpc_cap_flags): Added missing strings for some
29823         hwcap features.
29824         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
29826 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
29828         Port the 0x7efe...feff pattern to GCC 6.
29829         See Steve Ellcey's bug report in:
29830         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
29831         * string/memrchr.c (MEMRCHR):
29832         * string/rawmemchr.c (RAWMEMCHR):
29833         * string/strchr.c (strchr):
29834         * string/strchrnul.c (STRCHRNUL):
29835         Rewrite code to avoid issues with signed shift overflow.
29837 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
29839         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
29840         whether cpuid is available only if HAS_CPUID is 0.
29841         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
29842         (HAS_I586): Likewise.
29843         (HAS_I686): Likewise.
29845 2015-08-18  Zack Weinberg  <zackw@panix.com>
29847         * misc/Versions (libc): Add GLIBC_2.23.
29849 2015-08-18  Alan Modra  <amodra@gmail.com>
29851         [BZ #18421]
29852         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
29853         .Lp__global.
29854         (_start): Load %dp via .Lp__global.
29855         [!SHARED]: Use .section .rodata.
29857 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29859         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
29860         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
29862 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29864         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
29865         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
29867 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29869         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
29870         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
29872 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29874         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
29875         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
29877 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29879         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
29880         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
29882 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29884         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
29885         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
29887 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29889         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
29891 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29893         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
29894         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
29895         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
29896         (__ASSUME_LWS_CAS): Delete.
29898 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29900         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
29901         * sysdeps/hppa/configure: Regenerated.
29902         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
29903         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
29904         * sysdeps/hppa/nptl/tls.h: Likewise.
29906 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
29908         [BZ #18823]
29909         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
29910         for scaling up small arguments.
29911         * math/s_csqrtf.c (__csqrtf): Likewise.
29912         * math/s_csqrtl.c (__csqrtl): Likewise.
29913         * math/auto-libm-test-in: Add more tests of csqrt.
29914         * math/auto-libm-test-out: Regenerated.
29916 2015-08-17  Andreas Schwab  <schwab@suse.de>
29918         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
29919         version set GLIBC_2.19.
29921 2015-08-16  Zack Weinberg  <zackw@panix.com>
29923         [BZ #18681]
29924         * misc/regexp.h: This interface is no longer supported.
29925         Remove all contents, leaving only an #error directive.
29926         * misc/regexp.c (loc1, loc2, locs, step, advance):
29927         Demote to compatibility symbols.
29929 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
29931         [BZ #18084]
29932         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
29933         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
29934         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
29935         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
29936         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
29937         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
29938         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
29939         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
29940         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
29942 2015-08-15  Zack Weinberg  <zackw@panix.com>
29944         [BZ #18795]
29945         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
29946         buffer length is known to be too large, not if it's known to be
29947         small enough.
29948         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
29949         overflow at runtime, involving a length parameter, twice: once
29950         with a compile-time constant length parameter, once without.
29952 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
29954         [BZ #18824]
29955         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
29956         scaling x * y up instead of down.
29957         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29958         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29959         * math/auto-libm-test-in: Add more tests of fma.
29960         * math/auto-libm-test-out: Regenerated.
29962 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
29964         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29966 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
29968         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
29969         unnecessary movq.
29970         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
29971         Likewise.
29973 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
29975         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
29976         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
29977         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
29978         and tgamma.
29979         * math/auto-libm-test-out: Regenerated.
29980         * sysdeps/i386/fpu/libm-test-ulps: Update.
29981         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29983         [BZ #16520]
29984         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
29985         (__tanh): Force underflow exception for arguments with small
29986         absolute value.
29987         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
29988         (__tanhf): Force underflow exception for arguments with small
29989         absolute value.
29990         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
29991         (__tanhl): Force underflow exception for arguments with small
29992         absolute value.
29993         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
29994         (__tanhl): Force underflow exception for arguments with small
29995         absolute value.
29996         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
29997         (__tanhl): Force underflow exception for arguments with small
29998         absolute value.
29999         * math/auto-libm-test-in: Add more tests of tanh.
30000         * math/auto-libm-test-out: Regenerated.
30001         * sysdeps/i386/fpu/libm-test-ulps: Update.
30003 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
30005         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
30006         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
30008 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
30010         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
30011         <cpuid.h>.
30013 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
30015         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
30016         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
30018 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
30020         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
30021         Remove $(objpfx)init-arch.o.
30022         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
30023         init-arch.
30024         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
30025         (INIT_ARCH_EXT): Defined as empty.
30026         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
30027         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
30028         __init_cpu_features call.  Replace HAS_XXX with
30029         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
30030         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
30031         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
30032         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
30033         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
30034         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
30035         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
30036         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
30037         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
30038         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
30039         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
30040         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
30041         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
30042         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
30043         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
30044         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
30045         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
30046         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
30047         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
30048         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
30049         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
30050         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
30051         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
30052         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
30053         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
30054         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
30055         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
30056         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
30057         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
30058         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
30059         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
30060         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
30061         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
30062         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
30063         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
30064         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
30066 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
30068         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
30069         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
30070         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
30071         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
30072         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
30073         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
30074         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
30075         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
30076         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
30077         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
30078         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
30079         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
30080         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
30081         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30082         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30083         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30084         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30085         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30086         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30087         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30088         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30089         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30090         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30091         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30092         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30093         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30094         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30095         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30096         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30097         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30098         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30099         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30100         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30101         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30102         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30103         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30104         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30105         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30106         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30107         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30108         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30109         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30110         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30112 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
30114         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
30115         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
30116         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
30117         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30118         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30119         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
30120         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30121         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
30122         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
30123         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30124         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30125         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
30126         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
30127         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
30128         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
30129         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
30130         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
30131         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
30132         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
30133         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
30134         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
30135         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
30136         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
30137         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
30138         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30139         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
30140         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
30141         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
30142         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
30143         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
30144         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
30145         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
30146         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
30147         * sysdeps/x86_64/multiarch/memset.S: Likewise.
30148         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30149         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
30150         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
30151         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30152         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
30153         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
30154         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
30155         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
30156         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
30158 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
30160         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
30161         (dl_platform_init): Call init_cpu_features.
30162         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
30163         * sysdeps/i386/i686/cacheinfo.c
30164         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
30165         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
30166         * sysdeps/i386/i686/multiarch/Versions: Removed.
30167         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
30168         Removed.
30169         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
30170         * sysdeps/unix/sysv/linux/x86/Makefile
30171         (libpthread-sysdep_routines): Remove init-arch.
30172         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
30173         <sysdeps/x86_64/dl-procinfo.c> instead of
30174         sysdeps/generic/dl-procinfo.c>.
30175         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
30176         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
30177         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
30178         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
30179         [$(subdir) == elf] (tests-static): Add
30180         tst-get-cpu-features-static.
30181         * sysdeps/x86/Versions: New file.
30182         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
30183         * sysdeps/x86/cpu-features.c: Likewise.
30184         * sysdeps/x86/cpu-features.h: Likewise.
30185         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
30186         * sysdeps/x86/libc-start.c: Likewise.
30187         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
30188         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
30189         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
30190         * sysdeps/x86_64/dl-procinfo.c: Likewise.
30191         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
30192         Assume USE_MULTIARCH is defined and don't check it.
30193         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
30194         (is_amd): Likewise.
30195         (max_cpuid): Likewise.
30196         (intel_check_word): Likewise.
30197         (__cache_sysconf): Don't call __init_cpu_features.
30198         (__x86_preferred_memory_instruction): Removed.
30199         (init_cacheinfo): Don't call __init_cpu_features. Replace
30200         __cpu_features with GLRO(dl_x86_cpu_features).
30201         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
30202         (dl_platform_init): Call init_cpu_features.
30203         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
30204         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
30205         * sysdeps/x86_64/multiarch/Versions: Removed.
30206         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
30207         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
30208         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
30209         Removed.
30210         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
30212 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
30214         [BZ #18820]
30215         * libio/Makefile (test-fmemopen-mem): New test.
30216         * libio/test-fmemopen.c (do_bz18820): New test.
30217         * libio/fmemopen.c (__fmemopen): Fix memory leak.
30218         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
30220 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
30222         [BZ #16734]
30223         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
30224         (FREE_BUF): Delete.
30225         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
30226         * libio/genops.c (_IO_setb): Use malloc and free directly.
30227         (_IO_default_doallocate, _IO_default_finish): Likewise.
30228         ( _IO_unbuffer_all): Likewise.
30229         ( libc_freeres_fn): Likewise.
30230         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
30231         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
30232         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
30233         (_IO_wdefault_doallocate): Likewise.
30235 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
30237         [BZ #18086]
30238         * sysdeps/posix/nice.c (nice): Restore old errno.
30239         * posix/tst-nice.c (do_test): Add test for BZ #18086.
30241 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
30243         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
30245 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30247         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
30248         __bcopy and add a weak_alias to bcopy.
30249         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
30250         for static build.
30252         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
30253         cleanup macro usage.
30254         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
30255         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
30256         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
30257         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
30258         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
30259         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
30260         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
30261         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
30262         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
30263         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
30264         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
30265         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
30266         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
30267         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
30268         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
30269         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
30270         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
30271         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
30272         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
30274         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
30275         libc_hidden_def.
30276         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
30278         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
30279         (sysdep_routines): Add strstr-ppc64.
30280         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
30282 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
30284         [BZ #18778]
30285         * elf/Makefile (tests): Add Add tst-nodelete2.
30286         (modules-names): Add tst-nodelete2mod.
30287         (tst-nodelete2mod.so-no-z-defs): New.
30288         ($(objpfx)tst-nodelete2): Likewise.
30289         ($(objpfx)tst-nodelete2.out): Likewise.
30290         (LDFLAGS-tst-nodelete2): Likewise.
30291         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
30292         out of loop through all loaded libraries.
30293         * elf/tst-nodelete2.c: New file.
30294         * elf/tst-nodelete2mod.c: Likewise.
30295         * elf/tst-znodelete-zlib.cc: Delete.
30297 2015-08-11  Andreas Schwab  <schwab@suse.de>
30299         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
30300         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
30301         (__openat64_nocancel): Likewise.
30303 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
30305         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
30306         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
30307         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
30308         * math/auto-libm-test-out: Regenerated.
30309         * sysdeps/i386/fpu/libm-test-ulps: Update.
30310         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30312 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
30314         [BZ #18790]
30315         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
30316         threshold for returning +/- 1.
30317         * math/auto-libm-test-in: Add more tests of tanh.
30318         * math/auto-libm-test-out: Regenerated.
30319         * sysdeps/i386/fpu/libm-test-ulps: Update.
30321 2015-08-10  Andreas Schwab  <schwab@suse.de>
30323         [BZ #18781]
30324         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
30325         MORE_OFLAGS to oflag.
30326         * io/test-lfs.c (do_test): Test openat64.
30328 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
30330         [BZ #18789]
30331         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
30332         smaller threshold for returning the argument.
30333         * math/auto-libm-test-in: Add more tests of sinh.
30334         * math/auto-libm-test-out: Regenerated.
30335         * sysdeps/i386/fpu/libm-test-ulps: Update.
30337 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
30339         [BZ #18674]
30340         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
30341         break.
30343 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
30345         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
30346         (generated): Don't add $(addprefix z.,$(tzfiles)).
30348 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
30350         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
30351         * scripts/sysd-rules.awk: Likewise.
30353 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
30355         * iconvdata/tst-tables.sh: Change echo -n to printf.
30356         * nss/db-Makefile: Likewise.
30357         * posix/tst-getconf.sh: Likewise.
30358         * stdio-common/tst-unbputc.sh: Likewise.
30360 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
30362         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
30363         MADV_*_PAGES defines behind this feature check.
30365 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
30367         [BZ #18480]
30368         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
30369         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
30370         Define.
30371         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
30372         LOAD_REGS_5, LOAD_REGS_6): Update.
30373         (INTERNAL_SYSCALL): Update using new LOAD defines.
30374         (INTERNAL_SYSCALL_NCS): Likewise.
30375         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
30377 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
30379         [BZ #16734]
30380         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
30382 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
30384         [BZ #17905]
30385         * catgets/Makefile (tst-catgets-mem): New test.
30386         * catgets/catgets.c (catopen): Don't use unbounded alloca.
30387         * catgets/open_catalog.c (__open_catalog): Likewise.
30388         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
30390 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
30392         [BZ #18787]
30393         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
30394         clobber registers.
30395         (atomic_compare_and_exchange_val_acq): Use register asms to assign
30396         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
30397         Cast return to __typeof (oldval).
30399 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
30401         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
30402         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
30403         and delete sys/syscall.h include.
30405 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
30407         [BZ #16517]
30408         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
30409         (tan): Force underflow exception for arguments with small absolute
30410         value.
30411         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
30412         (__kernel_tanf): Force underflow exception for arguments with
30413         small absolute value.
30414         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
30415         (__kernel_tanl): Force underflow exception for arguments with
30416         small absolute value.
30417         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
30418         (__kernel_tanl): Force underflow exception for arguments with
30419         small absolute value.
30420         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
30421         (__kernel_tanl): Force underflow exception for arguments with
30422         small absolute value.
30423         * math/auto-libm-test-in: Add more tests of tan.
30424         * math/auto-libm-test-out: Regenerated.
30426 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30428         Fix sysdeps/i386/fpu/s_scalbn.S build
30430         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
30432 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
30434         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
30436 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30438         Fix gcrt0.o compilation
30440         When static-start-installed-name is different from
30441         start-installed-name, we must not use the shared objects.
30443         * csu/Makefile
30444         (extra-objs): Add gmon-start.o when building shared library and
30445         $(static-start-installed-name) is different from
30446         $(start-installed-name).
30447         $(objpfx)g$(static-start-installed-name): When building shared
30448         library and $(static-start-installed-name) is different from
30449         $(static-start-installed-name), revert to non-shared rule,
30450         i.e. using $(objpfx)% and gmon-start.o.
30452 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
30454         [BZ #16519]
30455         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
30456         (__ieee754_sinh): Force underflow exception for arguments with
30457         small absolute value.
30458         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
30459         (__ieee754_sinhf): Force underflow exception for arguments with
30460         small absolute value.
30461         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
30462         (__ieee754_sinhl): Force underflow exception for arguments with
30463         small absolute value.
30464         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
30465         (__ieee754_sinhl): Force underflow exception for arguments with
30466         small absolute value.
30467         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
30468         (__ieee754_sinhl): Force underflow exception for arguments with
30469         small absolute value.
30470         * math/auto-libm-test-in: Add more tests of sinh.
30471         * math/auto-libm-test-out: Regenerated.
30472         * sysdeps/i386/fpu/libm-test-ulps: Update.
30474 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
30476         * libio/oldfileops.c: Include unistd.h.
30478 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
30480         * stdlib/isomac.c: Include ctype.h.
30482 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
30484         * dirent/tst-seekdir.c (main): Converted to ...
30485         (do_test): ... this.
30486         (TEST_FUNCTION): New macro.
30487         Include test-skeleton.c.
30488         * elf/tst-dlmodcount.c (main): Converted to ...
30489         (do_test): ... this.
30490         (TEST_FUNCTION): New macro.
30491         Include test-skeleton.c.
30492         * elf/tst-order-main.c (main): Converted to ...
30493         (do_test): ... this.
30494         (TEST_FUNCTION): New macro.
30495         Include test-skeleton.c.
30496         * elf/tst-pie2.c (main): Converted to ...
30497         (do_test): ... this.
30498         (TEST_FUNCTION): New macro.
30499         Include test-skeleton.c.
30500         * inet/tst-ether_aton.c (main): Converted to ...
30501         (do_test): ... this.
30502         (TEST_FUNCTION): New macro.
30503         Include test-skeleton.c.
30504         * misc/tst-mntent.c (main): Converted to ...
30505         (do_test): ... this.
30506         (TEST_FUNCTION): New macro.
30507         Include test-skeleton.c.
30508         * misc/tst-tsearch.c (main): Converted to ...
30509         (do_test): ... this.
30510         (TEST_FUNCTION): New macro.
30511         Include test-skeleton.c.
30512         * posix/tst-regexloc.c (main): Converted to ...
30513         (do_test): ... this.
30514         (TEST_FUNCTION): New macro.
30515         Include test-skeleton.c.
30516         * resolv/tst-aton.c (main): Converted to ...
30517         (do_test): ... this.
30518         (TEST_FUNCTION): New macro.
30519         Include test-skeleton.c.
30520         * stdio-common/test-fwrite.c (main): Converted to ...
30521         (do_test): ... this.
30522         (TEST_FUNCTION): New macro.
30523         Include test-skeleton.c.
30524         * stdio-common/tst-ferror.c (main): Converted to ...
30525         (do_test): ... this.
30526         (TEST_FUNCTION): New macro.
30527         Include test-skeleton.c.
30528         * stdio-common/tst-printf.c (main): Converted to ...
30529         (do_test): ... this.
30530         (TEST_FUNCTION): New macro.
30531         Include test-skeleton.c.
30532         * stdio-common/tst-printfsz.c (main): Converted to ...
30533         (do_test): ... this.
30534         (TEST_FUNCTION): New macro.
30535         Include test-skeleton.c.
30536         * stdlib/tst-strtod.c (main): Converted to ...
30537         (do_test): ... this.
30538         (TEST_FUNCTION): New macro.
30539         Include test-skeleton.c.
30540         * string/tst-strlen.c (main): Converted to ...
30541         (do_test): ... this.
30542         (TEST_FUNCTION): New macro.
30543         Include test-skeleton.c.
30544         * string/tst-svc.c (main): Converted to ...
30545         (do_test): ... this.
30546         (TEST_FUNCTION): New macro.
30547         Include test-skeleton.c.
30548         * time/tst-strptime.c (main): Converted to ...
30549         (do_test): ... this.
30550         (TEST_FUNCTION): New macro.
30551         Include test-skeleton.c.
30552         * timezone/tst-timezone.c (main): Converted to ...
30553         (do_test): ... this.
30554         (TEST_FUNCTION): New macro.
30555         Include test-skeleton.c.
30557 2015-08-05  Zack Weinberg  <zackw@panix.com>
30559         * misc/regexp.h: Update comments.
30561 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
30563         [BZ #18635]
30564         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
30565         before return label.
30567 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
30569         [BZ #18661]
30570         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
30571         when calling __errno_location.
30572         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
30573         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
30575 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
30577         [BZ #18661]
30578         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
30579         (__lll_timedwait_tid): Align stack to 16 bytes when calling
30580         __gettimeofday.
30582 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
30584         [BZ #18661]
30585         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
30586         (__start_context): Don't use pop to restore %rdi so that stack
30587         is aligned to 16 bytes when calling __setcontext.
30589 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
30591         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
30592         only for libc.
30593         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
30595 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
30597         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
30598         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
30599         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
30601 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
30603         * string/memccpy.c (memccpy):
30604         Improve performance by using memchr/memcpy/__mempcpy.
30606 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
30608         * string/strncpy.c (strncpy):
30609         Improve performance by using __strnlen/memcpy.
30611 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
30613         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
30614         Optimize to avoid an unnecessary FPCR read.
30616 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
30618         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
30619         Optimize to reduce FPCR/FPSR accesses.
30621 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
30623         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
30624         dead->data[category] != NULL.
30626 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
30628         [BZ #18647]
30629         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
30630         and |x| close to 1, use absolute value of x when computing log.
30631         * math/auto-libm-test-in: Add more tests of pow.
30632         * math/auto-libm-test-out: Regenerated.
30634 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30636         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
30637         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
30638         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
30640 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
30642         [BZ #18525]
30643         * locales/km_KH: Remove timezone definition.
30644         * locales/lo_LA: Likewise.
30645         * locales/my_MM: Likewise.
30646         * locales/nan_TW@latin: Likewise.
30647         * locales/th_TH: Likewise.
30648         * locales/uk_UA: Likewise.
30650 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
30652         [BZ #18265]
30653         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
30654         (wcsncat): Likewise.
30655         (wcscmp): Likewise.
30656         (wcsncmp): Likewise.
30658 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
30660         * test-skeleton.c (usage): New function.
30661         (main): Call usage when opt is '?'.
30663 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
30665         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
30666         before first use.
30668 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
30670         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
30671         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
30672         in there too.
30674 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
30676         * version.h (RELEASE): Set to "development".
30677         (VERSION): Set to "2.22.90"
30679         * version.h (RELEASE): Set to "stable".
30680         (VERSION): Set to "2.22"
30681         * include/features.h (__GLIBC_MINOR__): Set to 22.
30683 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
30685         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
30686         Restructure macro to avoid "value computed is not used" warning.
30687         (atomic_compare_and_exchange_val_acq): Likewise.
30689 2015-08-04  Andreas Schwab  <schwab@suse.de>
30691         [BZ #18635]
30692         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
30693         ret.
30694         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
30696 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
30698         * po/pl.po: Updated translation.
30699         * po/uk.po: Likewise.
30700         * po/fi.po: Likewise.
30701         * po/ko.po: Likewise.
30702         * po/ru.po: Likewise.
30703         * po/vi.po: Likewise.
30705 2015-07-31  Zack Weinberg  <zackw@panix.com>
30707         [BZ #18681]
30708         * regexp.h: Add unconditional #warning stating that this header
30709         will be removed soon.  Revise banner comment to match.
30710         (compile): Consistently use ERROR instead of RETURN to report
30711         errors (partial fix for BZ #18681).
30712         * regexp.c: Don't include regexp.h. Remove some unnecessary
30713         declarations.
30715 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
30717         * po/libc.pot: Regenerated.
30719 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
30721         [BZ #18740]
30722         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
30723         float-vlen4-arch-ext-cflags): Removed.
30724         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
30725         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
30727 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
30729         [BZ #14113]
30730         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
30731         aligned to __aligned__.
30732         (pthread_cond_t, pthread_rwlock_t): Likewise.
30734 2015-07-30  Torvald Riegel  <triegel@redhat.com>
30736         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
30738 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
30740         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
30741         (struct sigaction): Change sa_flags from a long to an int, and add
30742         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
30744 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
30746         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
30747         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
30748         sysdeps/generic/sysdep.h include.
30749         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
30750         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
30751         sysdeps/hppa/sysdep.h.
30752         (ENTRY, PSEUDO): Undefine before defining.
30754 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
30756         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
30757         from scratch to use INTERNAL_SYSCALL.
30759 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
30761         [BZ #18078]
30762         * scripts/check-localplt.awk: Support alternate relocations.
30763         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
30764         sections.
30765         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
30766         malloc entries with + REL R_386_GLOB_DAT.
30767         * sysdeps/x86_64/localplt.data: New file.
30769 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
30771         [BZ #18731]
30772         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
30773         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
30774         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
30776 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
30778         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
30780 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
30782         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
30783         directly in terms of __sync_fetch_and_add and delete (int) cast.
30785 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
30787         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
30788         the -D_ASM_IA64_CURRENT_H flag.
30790 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
30792         [BZ #18641]
30793         * pwd/pwd.h (putpwent): Delete __nonnull markings.
30795 2015-07-27  Andreas Schwab  <schwab@suse.de>
30797         * conform/conformtest.pl (checknamespace): Filter out string
30798         literals while tokenizing.
30800 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
30802         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
30803         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
30804         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
30806 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
30808         * nptl/tst-join7mod.c: Add #include <string.h>.
30810 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
30812         * sysdeps/nios2/libm-test-ulps: Update.
30814 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
30816         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
30817         Fix order of arguments to the rt_sigprocmask syscall.
30818         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
30819         Likewise.
30821 2015-07-24  Roland McGrath  <roland@hack.frob.com>
30823         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
30825 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30827         [BZ #18457]
30828         * nptl/Makefile (tests): New test case tst-join7.
30829         (modules-names): New test case module tst-join7mod.
30830         * nptl/tst-join7.c: New file.
30831         * nptl/tst-join7mod.c: New file.
30832         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
30833         all translation units in libc.so, libpthread.so and rtld.
30835 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30837         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30839 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
30841         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
30842         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
30843         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
30844         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
30845         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
30846         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
30847         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
30848         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
30849         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
30850         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
30851         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
30852         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
30853         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
30854         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
30855         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
30856         implementation.
30858 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30860         [BZ #17711]
30861         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
30862         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
30863         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
30864         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
30865         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
30866         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
30868 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30870         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
30871         instead of just saying load lock in the comments.
30873 2015-07-23  Roland McGrath  <roland@hack.frob.com>
30875         * sysdeps/unix/Subdirs: Moved ...
30876         * sysdeps/posix/Subdirs: ... here.
30877         * login/pty.h (struct termios, struct winsize): Add forward decls.
30878         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
30879         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
30880         * sysdeps/arm/nacl/libc.abilist: Updated.
30881         * sysdeps/nacl/libutil.abilist: New file.
30883         * bits/signum.h: Update comments to mention 1003.1-2013 too.
30884         (SIGWINCH): New macro.
30886         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
30887         * sysdeps/arm/nacl/libc.abilist: Add it.
30889 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
30891         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
30893 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
30895         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
30896         Swap __glibc_reserved0 and sa_flags order.
30898 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
30900         [BZ #18657]
30901         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
30902         are pending TLS destructor calls.
30903         * include/link.h (struct link_map): Add concurrency note for
30904         L_TLS_DTOR_COUNT.
30905         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
30906         Don't touch the link map flag.  Atomically increment
30907         l_tls_dtor_count.
30908         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
30909         Avoid taking the load lock and don't touch the link map flag.
30910         * stdlib/tst-tls-atexit-nodelete.c: New test case.
30911         * stdlib/Makefile (tests): Use it.
30912         * stdlib/tst-tls-atexit.c (do_test): dlopen
30913         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
30914         to allow tst-tls-atexit-nodelete test case to use it.
30916 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
30918         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
30919         to bits/types.h.
30920         (msgqnum_t): New typedef.
30921         (msglen_t): Likewise.
30922         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
30923         and msg_qbytes type to msglen_t.
30925 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
30927         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
30928         pad0 to __glibc_reserved0.
30929         (struct stat64): Likewise.
30931 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
30933         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
30934         Change sa_flags from a long to an int and add __glibc_reserved0 before
30935         it for padding.
30937 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
30939         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
30940         anonymous by deleting "siginfo" name.
30942 2015-07-21  Roland McGrath  <roland@hack.frob.com>
30944         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
30945         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
30946         rather than __nacl_irt_filename.
30947         * sysdeps/nacl/xstat.c (__xstat): Likewise.
30949         * NEWS: New item for arm-nacl port.
30950         * sysdeps/arm/nacl/libc.abilist: New file.
30951         * sysdeps/nacl/ld.abilist: New file.
30952         * sysdeps/nacl/libBrokenLocale.abilist: New file.
30953         * sysdeps/nacl/libanl.abilist: New file.
30954         * sysdeps/nacl/libcrypt.abilist: New file.
30955         * sysdeps/nacl/libdl.abilist: New file.
30956         * sysdeps/nacl/libm.abilist: New file.
30957         * sysdeps/nacl/libpthread.abilist: New file.
30958         * sysdeps/nacl/libresolv.abilist: New file.
30959         * sysdeps/nacl/librt.abilist: New file.
30961 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
30963         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
30964         __startcontext to initialize the new context.
30965         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
30966         up CFI directive to forbid further backtracing.
30968 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
30970         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
30971         reference.
30972         * charmaps/ANSI_X3.4-1968: Likewise.
30973         * charmaps/BS_4730: Likewise.
30974         * charmaps/BS_VIEWDATA: Likewise.
30975         * charmaps/CP1250: Likewise.
30976         * charmaps/CP1251: Likewise.
30977         * charmaps/CP1252: Likewise.
30978         * charmaps/CP1253: Likewise.
30979         * charmaps/CP1254: Likewise.
30980         * charmaps/CP1255: Likewise.
30981         * charmaps/CP1256: Likewise.
30982         * charmaps/CSN_369103: Likewise.
30983         * charmaps/EBCDIC-DK-NO: Likewise.
30984         * charmaps/GB_1988-80: Likewise.
30985         * charmaps/GREEK-CCITT: Likewise.
30986         * charmaps/GREEK7: Likewise.
30987         * charmaps/INIS-8: Likewise.
30988         * charmaps/ISIRI-3342: Likewise.
30989         * charmaps/ISO_2033-1983: Likewise.
30990         * charmaps/ISO_5427-EXT: Likewise.
30991         * locales/POSIX: Likewise.
30992         * locales/ar_SA: Likewise.
30993         * locales/be_BY: Likewise.
30994         * locales/be_BY@latin: Likewise.
30995         * locales/ca_ES: Likewise.
30996         * locales/cs_CZ: Likewise.
30997         * locales/da_DK: Likewise.
30998         * locales/de_BE: Likewise.
30999         * locales/de_CH: Likewise.
31000         * locales/de_LU: Likewise.
31001         * locales/en_AU: Likewise.
31002         * locales/en_BW: Likewise.
31003         * locales/en_CA: Likewise.
31004         * locales/en_DK: Likewise.
31005         * locales/en_GB: Likewise.
31006         * locales/en_IE: Likewise.
31007         * locales/en_NZ: Likewise.
31008         * locales/en_ZA: Likewise.
31009         * locales/en_ZW: Likewise.
31010         * locales/es_AR: Likewise.
31011         * locales/es_BO: Likewise.
31012         * locales/es_CL: Likewise.
31013         * locales/es_CO: Likewise.
31014         * locales/es_DO: Likewise.
31015         * locales/es_EC: Likewise.
31016         * locales/es_ES: Likewise.
31017         * locales/es_HN: Likewise.
31018         * locales/es_MX: Likewise.
31019         * locales/es_PA: Likewise.
31020         * locales/es_PE: Likewise.
31021         * locales/es_PY: Likewise.
31022         * locales/es_SV: Likewise.
31023         * locales/es_US: Likewise.
31024         * locales/es_UY: Likewise.
31025         * locales/es_VE: Likewise.
31026         * locales/et_EE: Likewise.
31027         * locales/fa_IR: Likewise.
31028         * locales/fo_FO: Likewise.
31029         * locales/fr_CA: Likewise.
31030         * locales/fr_CH: Likewise.
31031         * locales/gv_GB: Likewise.
31032         * locales/he_IL: Likewise.
31033         * locales/hr_HR: Likewise.
31034         * locales/id_ID: Likewise.
31035         * locales/is_IS: Likewise.
31036         * locales/it_CH: Likewise.
31037         * locales/iw_IL: Likewise.
31038         * locales/kl_GL: Likewise.
31039         * locales/ko_KR: Likewise.
31040         * locales/kw_GB: Likewise.
31041         * locales/lg_UG: Likewise.
31042         * locales/lt_LT: Likewise.
31043         * locales/lv_LV: Likewise.
31044         * locales/mi_NZ: Likewise.
31045         * locales/nhn_MX: Likewise.
31046         * locales/nl_BE: Likewise.
31047         * locales/pl_PL: Likewise.
31048         * locales/sk_SK: Likewise.
31049         * locales/sl_SI: Likewise.
31050         * locales/sv_FI: Likewise.
31051         * locales/tl_PH: Likewise.
31052         * locales/tr_TR: Likewise.
31053         * locales/vi_VN: Likewise.
31055 2015-07-21  Khem Raj  <raj.khem@gmail.com>
31057         [BZ #17475]
31058         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
31059         of tu_IN and bh_IN.
31061 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
31063         [BZ #18694]
31064         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
31065         bits/wordsize.h.
31066         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
31068 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31070         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
31071         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
31072         (spawn_thread): New function.
31073         (load): Rename to reg_dtor_and_close.  Move dlopen to...
31074         (do_test): ... here.  Use IS_LOADED to test for its
31075         availability.
31077 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
31079         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
31081 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
31083         [BZ #18696]
31084         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
31085         si_addr_bnd.
31086         (si_lower): New.
31087         (si_upper): Likewise.
31089 2015-07-16  David S. Miller  <davem@davemloft.net>
31091         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
31093 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31095         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
31096         buffer.
31097         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
31098         fail output information.
31100 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31102         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
31103         and strstr-ppc64..
31104         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
31105         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
31106         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
31107         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
31108         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
31110 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
31112         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
31113         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
31114         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
31115         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
31117 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
31119         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
31120         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
31121         rtld_hidden_proto.
31122         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
31124 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31126         * tst-nodelete-opened.c (do_test): Add comment to clarify how
31127         the test can fail.
31129         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
31131         [BZ #18676]
31132         * elf/tst-nodelete-opened.c: New test case.
31133         * elf/tst-nodelete-opened-lib.c: New test case module.
31134         * elf/Makefile (tests, modules-names): Use them.
31135         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
31136         early.
31138 2015-07-15  David S. Miller  <davem@davemloft.net>
31140         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
31141         futex-intenal.h
31142         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
31143         * sysdeps/sparc/sparc64/Makefile: Likewise.
31144         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
31145         Remove space from macro define.
31146         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
31148 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
31150         [BZ #17475]
31151         * locale/iso-639.def: Update Bhili and Tulu language codes as
31152         per iso639-3.
31154 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
31156         * elf/tst-leaks1.c (main): Converted to ...
31157         (do_test): ... this.
31158         (TEST_FUNCTION): New macro.
31159         Include test-skeleton.c.
31160         * localedata/tst-langinfo.c (main): Converted to ...
31161         (do_test): ... this.
31162         (TEST_FUNCTION): New macro.
31163         Include test-skeleton.c.
31164         * math/test-fpucw.c (main): Converted to ...
31165         (do_test): ... this.
31166         (TEST_FUNCTION): New macro.
31167         Include test-skeleton.c.
31168         * math/test-tgmath.c (main): Converted to ...
31169         (do_test): ... this.
31170         (TEST_FUNCTION): New macro.
31171         Include test-skeleton.c.
31172         * math/test-tgmath2.c (main): Converted to ...
31173         (do_test): ... this.
31174         (TEST_FUNCTION): New macro.
31175         Include test-skeleton.c.
31176         * setjmp/tst-setjmp.c (main): Converted to ...
31177         (do_test): ... this.
31178         (TEST_FUNCTION): New macro.
31179         Include test-skeleton.c.
31180         * stdio-common/tst-sscanf.c (main): Converted to ...
31181         (do_test): ... this.
31182         (TEST_FUNCTION): New macro.
31183         Include test-skeleton.c.
31184         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
31185         (do_test): ... this.
31186         (TEST_FUNCTION): New macro.
31187         Include test-skeleton.c.
31189         * elf/tst-audit9.c (main): Converted to ...
31190         (do_test): ... this.
31191         (TEST_FUNCTION): New macro.
31192         Include test-skeleton.c.
31194 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
31196         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
31198 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
31200         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
31201         New variable.
31203 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
31205         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
31207 2015-07-14  Roland McGrath  <roland@hack.frob.com>
31209         * sysdeps/generic/dl-fileid.h: New file.
31210         * sysdeps/posix/dl-fileid.h: New file.
31211         * sysdeps/nacl/dl-fileid.h: New file.
31212         * include/link.h: Include <dl-fileid.h>.
31213         (struct link_map): Replace l_dev and l_ino with l_file_id.
31214         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
31215         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
31216         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
31218 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
31220         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
31222 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31224         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
31225         Add iff $CXX is set.
31226         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
31227         Likewise.
31228         (tst-nodelete-zmodiff): Likewise.
31229         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
31231 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
31233         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
31235 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
31237         * sysdeps/aarch64/fpu/math_private.h
31238         (define math_opt_barrier): Add AArch64 version.
31239         (math_force_eval): Likewise.
31241 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
31243         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
31245 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
31247         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
31248         %ld with %jd and cast to intmax_t.
31249         (do_test_length_zero): Likewise.
31251 2015-07-10  Roland McGrath  <roland@hack.frob.com>
31253         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
31255 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
31257         * sysdeps/tile/libm-test-ulps: Regenerated.
31259         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
31260         Comment out the whole function, not just its body.
31262 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31264         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
31265         locks.
31267         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
31269 2015-07-10  Torvald Riegel  <triegel@redhat.com>
31271         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
31272         (sem_assume_only_signals_cause_futex_EINTR): Remove.
31274 2015-07-10  Torvald Riegel  <triegel@redhat.com>
31276         * sysdeps/nptl/futex-internal.h: New file.
31277         * sysdeps/nacl/futex-internal.h: New file.
31278         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
31279         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
31280         error checking.
31281         (setxid_unmark_thread): Likewise.
31282         (__nptl_setxid): Likewise.
31283         (__wait_lookup_done): Likewise.
31284         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
31285         * nptl/nptl-init.c (sighandler_setxid): Likewise.
31286         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
31287         * nptl/pthread_once.c (clear_once_control): Likewise.
31288         (__pthread_once_slow): Likewise.
31289         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
31290         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
31291         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
31292         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
31293         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
31294         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
31295         Likewise.
31296         (__pthread_rwlock_rdlock): Likewise.
31297         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
31298         Likewise.
31299         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
31300         Likewise.
31301         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
31302         Likewise.
31303         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
31304         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
31305         Likewise.
31306         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
31307         __ASSUME_PRIVATE_FUTEX check.
31308         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
31309         Check that shared futexes are supported.
31310         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
31311         wrappers with error checking.
31312         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
31313         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
31314         * nptl/pthread_barrierattr_setpshared.c
31315         (pthread_barrierattr_setpshared): Check that shared futexes are
31316         supported.
31317         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
31318         Likewise.
31319         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
31320         Likewise.
31321         * nptl/sem_init.c (futex_private_if_supported): Remove.
31322         (__new_sem_init): Adapt and check that shared futexes are supported.
31323         * nptl/sem_open.c (sem_open): Likewise.
31324         * nptl/sem_post.c (futex_wake): Remove.
31325         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
31326         (do_futex_wait): Use futex wrappers with error checking.
31327         * nptl/sem_wait.c: Include lowlevellock.h.
31328         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
31329         Use futex_supports_pshared.
31330         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
31331         Use futex wrappers with error checking.
31332         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
31333         Likewise.
31334         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
31335         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
31336         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
31337         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
31338         (futex_wake): Likewise.
31339         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
31340         (do_futex_wait): Use futex wrappers with error checking.
31341         (__new_sem_wait_slow): Update EINTR handling.
31342         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
31344 2015-07-09  Martin Sebor  <msebor@redhat.com>
31346         [BZ #18435]
31347         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
31348         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
31349         * nptl/Makefile (test-xfail-tst-once5): Define.
31351 2015-07-09  Roland McGrath  <roland@hack.frob.com>
31353         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
31354         * elf/dl-minimal.c: For readability, reorder some definitions and
31355         introduce more page breaks.  Include <stdio.h>.
31356         (__libc_fatal): New function.
31358         * include/unistd.h: Add rtld_hidden_proto for _exit.
31359         * posix/_exit.c: Add rtld_hidden_def.
31360         * sysdeps/mach/hurd/_exit.c: Likewise.
31361         * sysdeps/nacl/_exit.c: Likewise.
31362         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
31363         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
31365 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
31367         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
31368         bndmov encoding with zero displacement.
31370 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
31371             H.J. Lu  <hongjiu.lu@intel.com>
31373         [BZ #18134]
31374         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
31375         * sysdeps/i386/configure: Regenerated.
31376         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
31377         (_dl_runtime_profile): Save and restore Intel MPX return bound
31378         registers when calling _dl_call_pltexit.  Add
31379         PRESERVE_BND_REGS_PREFIX before return.
31380         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
31381         (LRV_BND1_OFFSET): Likewise.
31382         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
31383         lrv_bnd1.
31384         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
31385         typo in bndmov encoding.
31386         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
31387         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
31388         branch instructions to preserve bounds.
31390 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
31393         [GLIBC_2.22]: Add fmemopen.
31395 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31397         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
31398         returns an error, also try to use host port from __mach_host_self for
31399         the __vm_wire call.
31400         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
31402 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31404         [BZ #18400]
31405         [BZ #18648]
31406         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
31407         Fix pr_uid and pr_gid members.
31408         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
31409         definition to elf_greg_t.
31411 2015-07-08  Roland McGrath  <roland@hack.frob.com>
31413         [BZ #18383]
31414         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
31415         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
31416         * sysdeps/arm/configure: Regenerated.
31417         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
31418         (test-xfail-tst-tlsalign-static): Variable removed.
31420         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
31421         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
31422         rather than explicit 'ln -s'.
31424         * resolv/rpc/netdb.h: New file.
31425         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
31427 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31429         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
31430         length buffers.
31431         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
31432         test-skeleton.c.
31434         [BZ #6544]
31435         [BZ #11216]
31436         [BZ #12836]
31437         [BZ #13151]
31438         [BZ #13152]
31439         [BZ #14292]
31440         * include/stdio.h (fmemopen): Remove hidden prototype.
31441         (__fmemopen): Add new hidden prototype.
31442         * libio/Makefile: Add oldfmemopen object.
31443         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
31444         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
31445         compliance.
31446         * libio/oldfmemopen.c: New file: old fmemopen implementation for
31447         symbol compatibility.
31448         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
31449         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
31450         fmemopen.
31451         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
31452         on append and read mode.
31453         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
31454         fmemopen.
31455         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
31456         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
31457         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
31458         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
31459         Likewise.
31460         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
31461         [GLIBC_2.22]: Likewise.
31462         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
31463         Likewise.
31464         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
31465         Likewise.
31466         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
31467         [GLIBC_2.22]: Likewise.
31468         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
31469         [GLIBC_2.22]: Likewise.
31470         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
31471         [GLIBC_2.22]: Likewise.
31472         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
31473         [GLIBC_2.22]: Likewise.
31474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
31475         [GLIBC_2.22]: Likewise.
31476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
31477         [GLIBC_2.22]: Likewise.
31478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
31479         [GLIBC_2.22]: Likewise.
31480         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
31481         Likewise.
31482         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
31483         Likewise.
31484         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
31485         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
31486         [GLIBC_2.22]: Likewise.
31487         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
31488         [GLIBC_2.22]: Likewise.
31489         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
31490         [GLIBC_2.22]: Likewise.
31491         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
31492         [GLIBC_2.22]: Likewise.
31493         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
31494         Likewise.
31495         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
31496         Likewise.
31497         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
31498         Likewise.
31499         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
31500         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
31502 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
31504         [BZ #18643]
31505         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
31506         IPV6_PATHMTU, and IPV6_DONTFRAG.
31508 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
31510         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
31511         and _IO_UNBUFFERED.
31512         * libio/oldfileops.c: Likewise.
31513         * libio/wfileops.c: Likewise.
31515 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
31517         * nscd/selinux.c: Delete selinux/flask.h include.
31519 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
31521         [BZ #18641]
31522         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
31523         (putpwent): Likewise.
31524         (getpwnam): Likewise.
31525         (getpwent_r): Likewise.
31526         (getpwuid_r): Likewise.
31527         (getpwnam_r): Likewise.
31528         (fgetpwent_r): Likewise.
31530 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
31532         [BZ #18557]
31533         * inet/rcmd.c (__validuser2_sa): Check user first to
31534         short-circuit host check.
31536 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
31537             Mikhail Ilin  <m.ilin@samsung.com>
31539         [BZ #17833]
31540         * elf/Makefile (tests): Add tst-nodelete.
31541         (modules-names): Add tst-nodelete-uniquemod.
31542         (tst-nodelete-uniquemod.so-no-z-defs): New.
31543         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
31544         (tst-nodelete-zmod.so-no-z-defs): Likewise.
31545         ($(objpfx)tst-nodelete): Likewise.
31546         ($(objpfx)tst-nodelete.out): Likewise.
31547         (LDFLAGS-tst-nodelete): Likewise.
31548         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
31549         * elf/dl-close.c (_dl_close_worker): Add a parameter to
31550         implement forced object deletion.
31551         (_dl_close): Pass false to _dl_close_worker.
31552         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
31553         * elf/tst-nodelete.cc: New file.
31554         * elf/tst-nodeletelib.cc: Likewise.
31555         * elf/tst-znodeletelib.cc: Likewise.
31556         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
31558 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
31560         [BZ #18508]
31561         * stdlib/Makefile ($(objpfx)tst-makecontext3):
31562         Depend on $(libdl).
31563         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
31564         is not called infinitely times.
31565         (backtrace_helper): New function.
31566         (trace_arg): New struct.
31567         (st1): Enlarge stack size.
31568         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
31569         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
31570         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
31571         Likewise.
31573 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
31575         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
31577 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
31579         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
31580         Include sys/types.h instead of bits/types.h.
31581         Remove inclusion of bits/wordsize.h.
31583 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
31585         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
31586         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
31587         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
31588         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
31589         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
31590         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
31592 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
31594         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
31595         link-defines.sym.
31596         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
31597         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
31598         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
31599         and LR_SIZE.
31600         * sysdeps/i386/link-defines.sym: New file.
31602 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
31604         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
31605         (modules-names): Add tst-auditmod3a tst-auditmod3b.
31606         ($(objpfx)tst-audit3): New rule.
31607         ($(objpfx)tst-audit3.out): Likewise.
31608         * sysdeps/i386/tst-audit3.c: New file.
31609         * sysdeps/i386/tst-audit3.h: Likewise.
31610         * sysdeps/i386/tst-auditmod3a.c: Likewise.
31611         * sysdeps/i386/tst-auditmod3b.c: Likewise.
31613 2015-07-07  Torvald Riegel  <triegel@redhat.com>
31615         [BZ #18633]
31616         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
31617         pointer in C code.
31618         (__strcat_c): Likewise.
31619         (__strcat_g): Likewise.
31621 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
31623         [BZ #18592]
31624         * misc/sbrk.c: Set errno to ENOMEM on overflow.
31626 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
31628         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
31629         New function.  (__ieee754_sqrtf): New function.
31630         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
31631         New function.
31632         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
31633         New function.
31635 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
31637         * sysdeps/ieee754/support.c: Remove unused file.
31639 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31641         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
31642         registers instead of d ones so the layout is kernel abi compatible.
31643         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
31644         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
31645         Likewise.
31647 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31649         * sysdeps/aarch64/libm-test-ulps: Regenerated.
31651 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
31653         [BZ #18619]
31654         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
31655         and return argument in case of subnormal argument.
31657 2015-07-01  Martin Sebor  <msebor@redhat.com>
31659         [BZ #18435]
31660         * nptl/Makefile: Add tst-once5.cc.
31661         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
31662         Remove macro redefinitions.
31663         * nptl/tst-once5.cc: New test.
31665 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
31667         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
31669         * sysdeps/arm/libm-test-ulps: Regenerated.
31671         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
31672         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31674 2015-06-30  Torvald Riegel  <triegel@redhat.com>
31676         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
31677         lll_lock_wait_private and lll_futex_wake probes.
31679         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
31680         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
31681         Likewise.
31682         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
31683         atomic_spin_nop.
31684         * sysdeps/x86_64/bits/atomic.h: Likewise.
31685         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
31686         to atomic_spin_nop and move ...
31687         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
31688         ... here and ...
31689         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
31690         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
31691         atomic_spin_nop instead of BUSY_WAIT_NOP.
31692         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
31693         Likewise.
31694         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
31695         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
31696         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
31697         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
31698         instead of atomic_delay.
31700 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
31702         [BZ #18613]
31703         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
31704         X_ADJ not X when adjusting exponent.
31705         (__ieee754_gamma_r): Do intermediate computations in
31706         round-to-nearest then adjust overflowing and underflowing results
31707         as needed.
31708         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
31709         of X_ADJ not X when adjusting exponent.
31710         (__ieee754_gammaf_r): Do intermediate computations in
31711         round-to-nearest then adjust overflowing and underflowing results
31712         as needed.
31713         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
31714         log of X_ADJ not X when adjusting exponent.
31715         (__ieee754_gammal_r): Do intermediate computations in
31716         round-to-nearest then adjust overflowing and underflowing results
31717         as needed.  Use 1.0L not 1.0f as numerator of division.
31718         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
31719         log of X_ADJ not X when adjusting exponent.
31720         (__ieee754_gammal_r): Do intermediate computations in
31721         round-to-nearest then adjust overflowing and underflowing results
31722         as needed.  Use 1.0L not 1.0f as numerator of division.
31723         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
31724         of X_ADJ not X when adjusting exponent.
31725         (__ieee754_gammal_r): Do intermediate computations in
31726         round-to-nearest then adjust overflowing and underflowing results
31727         as needed.  Use 1.0L not 1.0f as numerator of division.
31728         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
31729         to auto-libm-test-in.
31730         (tgamma_test): Use ALL_RM_TEST.
31731         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
31732         tests of tgamma with spurious-overflow.
31733         * math/auto-libm-test-out: Regenerated.
31734         * math/gen-libm-have-vector-test.sh: Do not check for START.
31735         * sysdeps/i386/fpu/libm-test-ulps: Update.
31736         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31738         [BZ #18612]
31739         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
31740         arguments, just return 0.5 times the argument, with underflow
31741         forced as needed.
31742         * math/auto-libm-test-in: Add more tests of j1.
31743         * math/auto-libm-test-out: Regenerated.
31745         [BZ #16559]
31746         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
31747         (__ieee754_j1): Force underflow exception for small results.
31748         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
31749         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
31750         (__ieee754_j1f): Force underflow exception for small results.
31751         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
31752         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
31753         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
31754         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
31755         (__ieee754_j1l): Force underflow exception for small results.
31756         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
31757         * math/auto-libm-test-in: Add more tests of j1 and jn.
31758         * math/auto-libm-test-out: Regenerated.
31760         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
31761         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
31762         (PF_MPLS): Likewise.
31763         (AF_IB): Likewise.
31764         (AF_MPLS): Likewise.
31765         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
31766         value and macro.
31767         (MS_RMT_MASK): Include MS_LAZYTIME.
31769 2015-06-26  Mel Gorman  <mgorman@suse.de>
31771         [BZ #18502]
31772         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
31773         already minimal.
31775 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
31777         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
31778         (DT_MIPS_NUM): Update.
31779         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
31780         DT_MIPS_RLD_MAP_REL.
31782 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
31784         [BZ #16559]
31785         [BZ #18602]
31786         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
31787         round-to-nearest internally then recompute results that
31788         underflowed to zero in the original rounding mode.
31789         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
31790         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
31791         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
31792         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
31793         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
31794         * sysdeps/i386/fpu/libm-test-ulps: Update.
31795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31797 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
31799         * NEWS: Fixed description of link with vector math library.
31801 2015-06-25  Andreas Schwab  <schwab@suse.de>
31803         [BZ #18549]
31804         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
31805         * libio/test-fmemopen.c (do_test): Add test for it.
31807 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
31809         [BZ #17841]
31810         * Makeconfig (no-pie-ldflag): New.
31811         (+link): Set to $(+link-pie) if default to PIE.
31812         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
31813         * config.make.in (build-pie-default): New.
31814         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
31815         is default.  AC_SUBST.
31816         * configure: Regenerated.
31817         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
31819 2015-06-24  Roland McGrath  <roland@hack.frob.com>
31821         * nptl/descr.h (struct pthread): Change type of field setxid_futex
31822         to 'unsigned int'.
31824         * resolv/gai_misc.h (struct waitlist): Change type of field
31825         counterp to 'volatile unsigned int *'.
31826         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
31827         FUTEXADDR and OLDVAL.
31828         * resolv/getaddrinfo_a.c (getaddrinfo_a):
31829         Give local variable TOTAL type 'volatile unsigned int'.
31830         (struct async_waitlist): Change type of field counter to 'unsigned int'.
31831         * resolv/gai_suspend.c (gai_suspend):
31832         Give local variable CNTR type 'unsigned int'.
31834         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
31835         counterp to 'volatile unsigned int *'.
31836         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
31837         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
31838         (aio_suspend): Give local variable CNTR type 'unsigned int'.
31839         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
31840         Give local variable TOTAL type 'volatile unsigned int'.
31841         (struct async_waitlist): Change type of field counter to 'unsigned int'.
31843 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
31845         [BZ #18383]
31846         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
31847         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
31848         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
31849         comment for i386/x86-64.
31850         (test-xfail-tst-tlsalign-extern-static): Removed.
31852 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
31854         * math/test-double.h: New file.
31855         * math/test-float.h: Likewise.
31856         * math/test-ldouble.h: Likewise.
31857         * math/test-math-inline.h: Likewise.
31858         * math/test-math-no-inline.h: Likewise.
31859         * math/test-math-scalar.h: Likewise.
31860         * math/test-math-vector.h: Likewise.
31861         * math/test-vec-loop.h: Remove file.  Contents moved into
31862         test-math-vector.h.
31863         * math/libm-test.inc (MATHCONST): Do not document macro.
31864         * math/test-double.c: Include test-double.h, test-math-no-inline.h
31865         and test-math-scalar.h.
31866         (FUNC): Remove macro.
31867         (FUNC_TEST): Likewise.
31868         (FLOAT): Likewise.
31869         (MATHCONST): Likewise.
31870         (PRINTF_EXPR): Likewise.
31871         (PRINTF_XEXPR): Likewise.
31872         (PRINTF_NEXPR): Likewise.
31873         (TEST_DOUBLE): Likewise.
31874         (TEST_MATHVEC): Likewise.
31875         (__NO_MATH_INLINES): Likewise.
31876         * math/test-float.c: Include test-float.h, test-math-no-inline.h
31877         and test-math-scalar.h.
31878         (FUNC): Remove macro.
31879         (FUNC_TEST): Likewise.
31880         (FLOAT): Likewise.
31881         (MATHCONST): Likewise.
31882         (PRINTF_EXPR): Likewise.
31883         (PRINTF_XEXPR): Likewise.
31884         (PRINTF_NEXPR): Likewise.
31885         (TEST_FLOAT): Likewise.
31886         (TEST_MATHVEC): Likewise.
31887         (__NO_MATH_INLINES): Likewise.
31888         * math/test-idouble.c: Include test-double.h, test-math-inline.h
31889         and test-math-scalar.h.
31890         (FUNC): Remove macro.
31891         (FUNC_TEST): Likewise.
31892         (FLOAT): Likewise.
31893         (MATHCONST): Likewise.
31894         (PRINTF_EXPR): Likewise.
31895         (PRINTF_XEXPR): Likewise.
31896         (PRINTF_NEXPR): Likewise.
31897         (TEST_DOUBLE): Likewise.
31898         (TEST_MATHVEC): Likewise.
31899         (TEST_INLINE): Likewise.
31900         (__NO_MATH_INLINES): Likewise.
31901         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
31902         test-math-scalar.h.
31903         (FUNC): Remove macro.
31904         (FUNC_TEST): Likewise.
31905         (FLOAT): Likewise.
31906         (MATHCONST): Likewise.
31907         (PRINTF_EXPR): Likewise.
31908         (PRINTF_XEXPR): Likewise.
31909         (PRINTF_NEXPR): Likewise.
31910         (TEST_FLOAT): Likewise.
31911         (TEST_MATHVEC): Likewise.
31912         (TEST_INLINE): Likewise.
31913         (__NO_MATH_INLINES): Likewise.
31914         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
31915         and test-math-scalar.h.
31916         (FUNC): Remove macro.
31917         (FUNC_TEST): Likewise.
31918         (FLOAT): Likewise.
31919         (MATHCONST): Likewise.
31920         (PRINTF_EXPR): Likewise.
31921         (PRINTF_XEXPR): Likewise.
31922         (PRINTF_NEXPR): Likewise.
31923         (TEST_LDOUBLE): Likewise.
31924         (TEST_MATHVEC): Likewise.
31925         (TEST_INLINE): Likewise.
31926         (__NO_MATH_INLINES): Likewise.
31927         * math/test-ldouble.c: Include test-ldouble.h,
31928         test-math-no-inline.h and test-math-scalar.h.
31929         (FUNC): Remove macro.
31930         (FUNC_TEST): Likewise.
31931         (FLOAT): Likewise.
31932         (MATHCONST): Likewise.
31933         (PRINTF_EXPR): Likewise.
31934         (PRINTF_XEXPR): Likewise.
31935         (PRINTF_NEXPR): Likewise.
31936         (TEST_LDOUBLE): Likewise.
31937         (TEST_MATHVEC): Likewise.
31938         (__NO_MATH_INLINES): Likewise.
31939         * math/test-double-vlen2.h: Include test-double.h,
31940         test-math-no-inline.h and test-math-vector.h.
31941         (FLOAT): Remove macro.
31942         (FUNC): Likewise.
31943         (MATHCONST): Likewise.
31944         (PRINTF_EXPR): Likewise.
31945         (PRINTF_XEXPR): Likewise.
31946         (PRINTF_NEXPR): Likewise.
31947         (TEST_DOUBLE): Likewise.
31948         (TEST_MATHVEC): Likewise.
31949         (__NO_MATH_INLINES): Likewise.
31950         (CNCT): Likewise.
31951         (CONCAT): Likewise.
31952         (WRAPPER_NAME): Likewise.
31953         (WRAPPER_DECL): Likewise.
31954         (WRAPPER_DECL_ff): Likewise.
31955         (WRAPPER_DECL_fFF): Likewise.
31956         (VECTOR_WRAPPER): Likewise.
31957         (VECTOR_WRAPPER_ff): Likewise.
31958         (VECTOR_WRAPPER_fFF): Likewise.
31959         (VEC_LEN): New macro.
31960         * math/test-double-vlen4.h: Include test-double.h,
31961         test-math-no-inline.h and test-math-vector.h.
31962         (FLOAT): Remove macro.
31963         (FUNC): Likewise.
31964         (MATHCONST): Likewise.
31965         (PRINTF_EXPR): Likewise.
31966         (PRINTF_XEXPR): Likewise.
31967         (PRINTF_NEXPR): Likewise.
31968         (TEST_DOUBLE): Likewise.
31969         (TEST_MATHVEC): Likewise.
31970         (__NO_MATH_INLINES): Likewise.
31971         (CNCT): Likewise.
31972         (CONCAT): Likewise.
31973         (WRAPPER_NAME): Likewise.
31974         (WRAPPER_DECL): Likewise.
31975         (WRAPPER_DECL_ff): Likewise.
31976         (WRAPPER_DECL_fFF): Likewise.
31977         (VECTOR_WRAPPER): Likewise.
31978         (VECTOR_WRAPPER_ff): Likewise.
31979         (VECTOR_WRAPPER_fFF): Likewise.
31980         (VEC_LEN): New macro.
31981         * math/test-double-vlen8.h: Include test-double.h,
31982         test-math-no-inline.h and test-math-vector.h.
31983         (FLOAT): Remove macro.
31984         (FUNC): Likewise.
31985         (MATHCONST): Likewise.
31986         (PRINTF_EXPR): Likewise.
31987         (PRINTF_XEXPR): Likewise.
31988         (PRINTF_NEXPR): Likewise.
31989         (TEST_DOUBLE): Likewise.
31990         (TEST_MATHVEC): Likewise.
31991         (__NO_MATH_INLINES): Likewise.
31992         (CNCT): Likewise.
31993         (CONCAT): Likewise.
31994         (WRAPPER_NAME): Likewise.
31995         (WRAPPER_DECL): Likewise.
31996         (WRAPPER_DECL_ff): Likewise.
31997         (WRAPPER_DECL_fFF): Likewise.
31998         (VECTOR_WRAPPER): Likewise.
31999         (VECTOR_WRAPPER_ff): Likewise.
32000         (VECTOR_WRAPPER_fFF): Likewise.
32001         (VEC_LEN): New macro.
32002         * math/test-float-vlen4.h: Include test-float.h,
32003         test-math-no-inline.h and test-math-vector.h.
32004         (FLOAT): Remove macro.
32005         (FUNC): Likewise.
32006         (MATHCONST): Likewise.
32007         (PRINTF_EXPR): Likewise.
32008         (PRINTF_XEXPR): Likewise.
32009         (PRINTF_NEXPR): Likewise.
32010         (TEST_FLOAT): Likewise.
32011         (TEST_MATHVEC): Likewise.
32012         (__NO_MATH_INLINES): Likewise.
32013         (CNCT): Likewise.
32014         (CONCAT): Likewise.
32015         (WRAPPER_NAME): Likewise.
32016         (WRAPPER_DECL): Likewise.
32017         (WRAPPER_DECL_ff): Likewise.
32018         (WRAPPER_DECL_fFF): Likewise.
32019         (VECTOR_WRAPPER): Likewise.
32020         (VECTOR_WRAPPER_ff): Likewise.
32021         (VECTOR_WRAPPER_fFF): Likewise.
32022         (VEC_LEN): New macro.
32023         * math/test-float-vlen8.h: Include test-float.h,
32024         test-math-no-inline.h and test-math-vector.h.
32025         (FLOAT): Remove macro.
32026         (FUNC): Likewise.
32027         (MATHCONST): Likewise.
32028         (PRINTF_EXPR): Likewise.
32029         (PRINTF_XEXPR): Likewise.
32030         (PRINTF_NEXPR): Likewise.
32031         (TEST_FLOAT): Likewise.
32032         (TEST_MATHVEC): Likewise.
32033         (__NO_MATH_INLINES): Likewise.
32034         (CNCT): Likewise.
32035         (CONCAT): Likewise.
32036         (WRAPPER_NAME): Likewise.
32037         (WRAPPER_DECL): Likewise.
32038         (WRAPPER_DECL_ff): Likewise.
32039         (WRAPPER_DECL_fFF): Likewise.
32040         (VECTOR_WRAPPER): Likewise.
32041         (VECTOR_WRAPPER_ff): Likewise.
32042         (VECTOR_WRAPPER_fFF): Likewise.
32043         (VEC_LEN): New macro.
32044         * math/test-float-vlen16.h: Include test-float.h,
32045         test-math-no-inline.h and test-math-vector.h.
32046         (FLOAT): Remove macro.
32047         (FUNC): Likewise.
32048         (MATHCONST): Likewise.
32049         (PRINTF_EXPR): Likewise.
32050         (PRINTF_XEXPR): Likewise.
32051         (PRINTF_NEXPR): Likewise.
32052         (TEST_FLOAT): Likewise.
32053         (TEST_MATHVEC): Likewise.
32054         (__NO_MATH_INLINES): Likewise.
32055         (CNCT): Likewise.
32056         (CONCAT): Likewise.
32057         (WRAPPER_NAME): Likewise.
32058         (WRAPPER_DECL): Likewise.
32059         (WRAPPER_DECL_ff): Likewise.
32060         (WRAPPER_DECL_fFF): Likewise.
32061         (VECTOR_WRAPPER): Likewise.
32062         (VECTOR_WRAPPER_ff): Likewise.
32063         (VECTOR_WRAPPER_fFF): Likewise.
32064         (VEC_LEN): New macro.
32065         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
32066         test-vec-loop.h.
32067         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
32068         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
32069         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
32070         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
32071         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
32072         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
32073         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
32075 2015-06-24  Roland McGrath  <roland@hack.frob.com>
32077         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
32078         (__getlogin_r): ... this.
32080 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
32082         [BZ #18594]
32083         * math/s_ccosh.c (__ccosh): Compare with least normal value
32084         instead of comparing class with FP_SUBNORMAL.
32085         * math/s_ccoshf.c (__ccoshf): Likewise.
32086         * math/s_ccoshl.c (__ccoshl): Likewise.
32087         * math/s_cexp.c (__cexp): Likewise.
32088         * math/s_cexpf.c (__cexpf): Likewise.
32089         * math/s_cexpl.c (__cexpl): Likewise.
32090         * math/s_csin.c (__csin): Likewise.
32091         * math/s_csinf.c (__csinf): Likewise.
32092         * math/s_csinh.c (__csinh): Likewise.
32093         * math/s_csinhf.c (__csinhf): Likewise.
32094         * math/s_csinhl.c (__csinhl): Likewise.
32095         * math/s_csinl.c (__csinl): Likewise.
32096         * math/s_ctan.c (__ctan): Likewise.
32097         * math/s_ctanf.c (__ctanf): Likewise.
32098         * math/s_ctanh.c (__ctanh): Likewise.
32099         * math/s_ctanhf.c (__ctanhf): Likewise.
32100         * math/s_ctanhl.c (__ctanhl): Likewise.
32101         * math/s_ctanl.c (__ctanl): Likewise.
32102         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
32103         csin, csinh, ctan and ctanh.
32104         * math/auto-libm-test-out: Regenerated.
32105         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
32106         * sysdeps/i386/fpu/libm-test-ulps: Update.
32107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32109 2015-06-24  Roland McGrath  <roland@hack.frob.com>
32111         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
32112         return value is wrong, print the expected value too.
32114 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
32116         [BZ #18585]
32117         * elf/readlib.c (is_gdb_python_file): New.
32118         (process_file): Don't issue errors on filenames with -gdb.py
32119         suffix.
32121 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
32123         * math/auto-libm-test-in: Add more tests of csin and csinh.
32124         * math/auto-libm-test-out: Regenerated.
32125         * math/libm-test.inc (csin_test_data): Remove tests moved to
32126         auto-libm-test-in.
32127         (csinh_test_data): Likewise.
32129         [BZ #18593]
32130         * math/s_csin.c (__csin): Negate before rather than after possibly
32131         overflowing multiplication.
32132         * math/s_csinf.c (__csinf): Likewise.
32133         * math/s_csinh.c (__csinh): Likewise.
32134         * math/s_csinhf.c (__csinhf): Likewise.
32135         * math/s_csinhl.c (__csinhl): Likewise.
32136         * math/s_csinl.c (__csinl): Likewise.
32137         * math/auto-libm-test-in: Add some tests of csin and csinh.
32138         * math/auto-libm-test-out: Regenerated.
32139         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
32140         (csinh_test_data): Likewise.
32141         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32143         [BZ #18586]
32144         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
32145         underflow exception for small results.
32147 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
32149         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
32150         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
32151         variable and included header.
32152         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
32153         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
32154         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
32155         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
32156         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
32157         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
32158         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
32159         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
32160         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
32161         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
32162         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
32163         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
32164         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
32165         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
32166         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
32167         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
32169 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
32171         [BZ #16526]
32172         [BZ #16538]
32173         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
32174         (__sin): Force underflow exception for arguments with small
32175         absolute value.
32176         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
32177         (__kernel_sinf): Force underflow exception for arguments with
32178         small absolute value.
32179         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
32180         (__kernel_sincosl): Force underflow exception for arguments with
32181         small absolute value.
32182         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
32183         (__kernel_sinl): Force underflow exception for arguments with
32184         small absolute value.
32185         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
32186         (__kernel_sincosl): Force underflow exception for arguments with
32187         small absolute value.
32188         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
32189         (__kernel_sinl): Force underflow exception for arguments with
32190         small absolute value.
32191         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
32192         (__kernel_sinl): Force underflow exception for arguments with
32193         small absolute value.
32194         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
32195         (__kernel_sinf): Force underflow exception for arguments with
32196         small absolute value.
32197         * math/auto-libm-test-in: Add more tests of sin and sincos.
32198         * math/auto-libm-test-out: Regenerated.
32200         [BZ #18245]
32201         [BZ #18583]
32202         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
32203         (__kernel_standard_l): Use feholdexcept and fesetenv around
32204         conversion to double instead of special-casing overflow and
32205         underflow.
32206         * math/libm-test.inc (fmod_test_data): Add more tests.
32207         (remainder_test_data): Likewise.
32208         (sqrt_test_data): Likewise.
32210 2015-06-23  Torvald Riegel  <triegel@redhat.com>
32212         [BZ #17403]
32213         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
32214         atomic_read_barrier, atomic_write_barrier): Define.
32215         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
32216         atomic_read_barrier, atomic_write_barrier): Define.
32218 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
32220         * math/Makefile [$(PERL) != no]
32221         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
32222         dependency on libm-test.stmp below the inclusion of Rules.
32224 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
32226         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
32227         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
32228         and included header.
32229         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
32230         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
32231         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
32232         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
32233         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
32234         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
32235         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
32236         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
32237         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
32238         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
32239         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
32240         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
32241         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
32242         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
32243         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
32244         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
32245         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
32246         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
32247         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
32249 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
32251         [BZ #18371]
32252         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
32253         intermediate but not final result might underflow.
32254         * math/s_csqrtf.c (__csqrtf): Likewise.
32255         * math/s_csqrtl.c (__csqrtl): Likewise.
32256         * math/auto-libm-test-in: Add more tests of csqrt.
32257         * math/auto-libm-test-out: Regenerated.
32258         * sysdeps/i386/fpu/libm-test-ulps: Update.
32260         [BZ #18219]
32261         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
32262         threshold on absolute value of exponent for which scaling is used.
32263         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
32264         * math/auto-libm-test-in: Add more tests of exp2.
32265         * math/auto-libm-test-out: Regenerated.
32267 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
32269         [BZ #17977]
32270         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
32271         when initializing interface list, based on the bug analysis
32272         and the patch proposed by Eric Newton.
32273         * resolv/tst-res_hconf_reorder.c: New test.
32274         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
32275         tst-res_hconf_reorder.
32276         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
32277         and $(shared-thread-library).
32278         (tst-res_hconf_reorder-ENV): New variable.
32280         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
32281         in comment.
32283 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
32285         [BZ #16353]
32286         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
32287         (__expm1): Force underflow exception for arguments with small
32288         absolute value.
32289         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
32290         (__expm1f): Force underflow exception for arguments with small
32291         absolute value.
32292         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
32293         (__expm1): Force underflow exception for arguments with small
32294         absolute value.
32295         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
32296         (__expm1f): Force underflow exception for arguments with small
32297         absolute value.
32298         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
32299         Check for small arguments before calling __expm1.
32300         * math/auto-libm-test-in: Do not mark underflow exceptions as
32301         possibly missing for bug 16353.
32302         * math/auto-libm-test-out: Regenerated.
32304 2015-06-22  Andreas Schwab  <schwab@suse.de>
32306         [BZ #18513]
32307         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
32308         PTR queries.
32310 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
32312         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
32314         * string/strcoll_l.c: Remove unused struct element idxnow.
32316 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
32318         [BZ #18569]
32319         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
32320         underflow and return argument in case of subnormal argument.
32321         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
32322         Likewise.
32323         * math/auto-libm-test-in: Add more tests of expm1.
32324         * math/auto-libm-test-out: Regenerated.
32326         [BZ #16361]
32327         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
32328         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
32329         tiny results.
32330         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
32331         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
32332         tiny results.
32333         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
32334         mark underflow exceptions as possibly missing for bug 16361.
32335         * math/auto-libm-test-out: Regenerated.
32337 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
32339         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
32340         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
32341         Remove variable.
32342         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
32343         (test-xfail-XOPEN2K8/utmpx.h/conform).
32345         * conform/conformtest.pl ($xerrors): New variable.
32346         (note_error): New function.
32347         (compiletest): New argument $xfail.  Use not_error.
32348         (runtest): Likewise.
32349         (top level): Handle xfail- lines.  Update calls to compiletest and
32350         runtest.  Handle xfail- and optional- in headers listed with
32351         allow-header.
32352         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
32353         (O_EXEC): Likewise.
32354         (O_SEARCH): Likewise.
32355         * conform/data/stropts.h-data (ioctl): Likewise.
32356         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
32357         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
32358         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
32359         (msghdr.msg_controllen): Likewise.
32360         (cmsghdr.cmsg_len): Likewise.
32361         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
32362         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
32363         variable.
32364         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
32365         (test-xfail-XPG4/stropts.h/conform): Likewise.
32366         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
32367         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
32368         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
32369         (test-xfail-UNIX98/stropts.h/conform): Likewise.
32370         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
32371         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
32372         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
32373         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
32374         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
32375         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
32376         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
32377         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
32378         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
32379         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
32380         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
32381         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
32382         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
32383         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
32384         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
32386 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
32388         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
32389         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
32390         definitions for proper unfolding of __MATHDECL_VEC.
32392 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
32394         * benchtests/bench-strcoll.c:
32395         Include string.h.
32396         (main): Remove unused variable res.
32398 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
32400         * timezone/Makefile (%/UTC %/Universal):
32401         Generate test-result files for UTC and Universal.
32403 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
32405         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
32407 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
32409         [BZ #16350]
32410         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
32411         for arguments with small absolute value.
32412         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
32413         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
32414         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
32415         (__asinh): Force underflow exception for arguments with small
32416         absolute value.
32417         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
32418         (__asinhf): Force underflow exception for arguments with small
32419         absolute value.
32420         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
32421         (__asinhl): Force underflow exception for arguments with small
32422         absolute value.
32423         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
32424         (__asinhl): Force underflow exception for arguments with small
32425         absolute value.
32426         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
32427         (__asinhl): Force underflow exception for arguments with small
32428         absolute value.
32429         * math/auto-libm-test-in: Do not mark underflow exceptions as
32430         possibly missing for bug 16350.
32431         * math/auto-libm-test-out: Regenerated.
32433         * include/bits/ipc.h: Remove file.
32434         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
32435         variable.
32436         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
32437         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
32438         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
32439         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
32440         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
32441         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
32442         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
32443         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
32444         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
32446         * math/auto-libm-test-in: Remove spurious underflow allowance for
32447         tests of cexp.
32448         * math/auto-libm-test-out: Regenerated.
32450         [BZ #18558]
32451         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
32452         unconditional definition.
32453         (MCAST_BLOCK_SOURCE): Likewise.
32454         (MCAST_UNBLOCK_SOURCE): Likewise.
32455         (MCAST_LEAVE_GROUP): Likewise.
32456         (MCAST_JOIN_SOURCE_GROUP): Likewise.
32457         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
32458         (MCAST_MSFILTER): Likewise.
32459         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
32460         Remove variable.
32461         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
32462         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
32463         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
32464         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
32465         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
32467 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
32469         * NEWS: Mention addition of x86_64 vector sincosf.
32470         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
32471         * math/test-float-vlen4.h: Likewise.
32472         * math/test-float-vlen8.h: Likewise.
32473         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
32474         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
32475         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32476         * sysdeps/x86_64/fpu/Versions: New versions added.
32477         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32478         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
32479         Added build of SSE, AVX2 and AVX512 IFUNC versions.
32480         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
32481         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
32482         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
32483         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
32484         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
32485         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
32486         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
32487         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
32488         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
32489         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
32490         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
32491         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
32492         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
32493         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
32494         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
32495         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
32496         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
32497         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
32498         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
32499         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
32500         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
32502         * NEWS: Mention addition of x86_64 vector sincos.
32503         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
32504         * math/math.h (__MATHDECL_VEC): New macro.
32505         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
32506         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
32507         declaration under condition.
32508         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
32509         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
32510         TEST_VEC_LOOP change.
32511         * math/test-double-vlen4.h: Likewise.
32512         * math/test-double-vlen8.h: Likewise.
32513         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
32514         * math/test-float-vlen4.h: Likewise.
32515         * math/test-float-vlen8.h: Likewise.
32516         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
32517         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
32518         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32519         * sysdeps/x86_64/fpu/Versions: New versions added.
32520         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32521         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
32522         Added build of SSE, AVX2 and AVX512 IFUNC versions.
32523         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
32524         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
32525         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
32526         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
32527         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
32528         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
32529         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
32530         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
32531         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
32532         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
32533         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
32534         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
32535         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
32536         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
32537         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
32538         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
32539         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
32540         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
32541         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
32542         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
32543         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
32545         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
32546         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
32547         redirections for powf.
32548         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32549         * sysdeps/x86_64/fpu/Versions: New versions added.
32550         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32551         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
32552         Added build of SSE, AVX2 and AVX512 IFUNC versions.
32553         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
32554         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
32555         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
32556         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
32557         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
32558         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
32559         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
32560         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
32561         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
32562         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
32563         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
32564         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
32565         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
32566         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
32567         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
32568         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
32569         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
32570         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
32571         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
32572         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
32573         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
32574         * math/test-float-vlen16.h: Fixed 2 argument macro.
32575         * math/test-float-vlen4.h: Likewise.
32576         * math/test-float-vlen8.h: Likewise.
32577         * NEWS: Mention addition of x86_64 vector powf.
32579 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
32581         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
32582         and redefine.
32583         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
32584         and redefine.
32585         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
32586         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
32587         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32589         [BZ #18553]
32590         * resource/getpriority.c (getpriority): Rename to __getpriority
32591         and define as weak alias of __getpriority.
32592         * resource/setpriority.c (setpriority): Rename to __setpriority
32593         and define as weak alias of __setpriority.
32594         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
32595         __getpriority and define as weak alias of __getpriority.
32596         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
32597         __setpriority and define as weak alias of __setpriority.
32598         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
32599         strong name.
32600         (setpriority): Use __setpriority as strong name.
32601         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
32602         __getpriority and define as weak alias of __getpriority.
32603         * include/sys/resource.h (__getpriority): Declare.  Use
32604         libc_hidden_proto.
32605         (__setpriority): Likewise.
32606         (getpriority): Don't use libc_hidden_proto.
32607         (setpriority): Likewise.
32608         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
32609         getpriority.  Call __setpriority instead of setpriority.
32610         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
32611         Remove variable.
32613         [BZ #18547]
32614         * misc/getttyent.c (getttynam): Rename to __getttynam and define
32615         as weak alias of __getttynam.  Use prototype function definition.
32616         Call __setttyent, __getttyent and __endttyent instead of
32617         setttyent, getttyent and endttyent.
32618         (getttyent): Rename to __getttyent and define as weak alias of
32619         __getttyent.  Call __setttyent instead of setttyent.  Call
32620         __fgets_unlocked instead of fgets_unlocked.
32621         (setttyent): Rename to __setttyent and define as weak alias of
32622         __setttyent.
32623         (endttyent): Rename to __endttyent and define as weak alias of
32624         __endttyent.
32625         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
32626         (__setttyent): Likewise.
32627         (__endttyent): Likewise.
32628         (getttyent): Don't use libc_hidden_proto.
32629         (setttyent): Likewise.
32630         (endttyent): Likewise.
32631         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
32632         __endttyent instead of setttyent, getttyent and endttyent.
32633         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
32634         Remove variable.
32636         [BZ #18546]
32637         * socket/recv.c (__recv): Use libc_hidden_def.
32638         * socket/socket.c (__socket): Likewise.
32639         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
32640         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
32641         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
32642         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
32643         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
32644         libc_hidden_def.
32645         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
32646         libc_hidden_weak.
32647         * include/sys/socket.h (__socket): Do not use attribute_hidden.
32648         Use libc_hidden_proto.
32649         (__recv): Likewise.
32650         * socket/Versions (libc): Export __recv and __socket at version
32651         GLIBC_PRIVATE.
32652         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
32653         instead of recv.
32654         (init_mq_netlink): Call __socket instead of socket.
32655         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
32656         Remove variable.
32658         [BZ #18545]
32659         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
32660         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
32661         hidden_weak.
32662         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
32663         define as alias of __mq_timedsend.  Use hidden_weak.
32664         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
32665         __mq_timedsend as strong name.
32666         (mq_timedreceive): Use __mq_timedreceive as strong name.
32667         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
32668         (__mq_timedreceive): Likewise.
32669         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
32670         __mq_timedreceive instead of mq_timedreceive.
32671         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
32672         instead of mq_timedsend.
32673         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
32674         Remove variable.
32676         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
32677         hidden_def and hidden_weak instead of libc_hidden_def and
32678         libc_hidden_weak.
32679         (top level): Refer to hidden_def in comment.
32680         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
32681         macro.  Use it instead of libc_hidden_def.
32682         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
32683         specify __GI_* name explicitly.
32684         (mq_timedreceive): Likewise.
32685         (mq_setattr): Likewise.
32687         [BZ #18544]
32688         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
32689         __pthread_barrier_init and define as weak alias of
32690         __pthread_barrier_init.
32691         * sysdeps/sparc/nptl/pthread_barrier_init.c
32692         (pthread_barrier_init): Likewise.
32693         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
32694         __pthread_barrier_wait and define as weak alias of
32695         __pthread_barrier_wait.
32696         * sysdeps/sparc/nptl/pthread_barrier_wait.c
32697         (pthread_barrier_wait): Likewise.
32698         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
32699         (pthread_barrier_wait): Likewise.
32700         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
32701         (pthread_barrier_wait): Likewise.
32702         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
32703         (pthread_barrier_wait): Likewise.
32704         * nptl/Versions (libpthread): Export __pthread_barrier_init and
32705         __pthread_barrier_wait at version GLIBC_PRIVATE.
32706         * include/pthread.h (__pthread_barrier_init): Declare.
32707         (__pthread_barrier_wait): Likewise.
32708         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
32709         Call __pthread_barrier_wait instead of pthread_barrier_wait.
32710         (helper_thread): Likewise.
32711         (init_mq_netlink): Call __pthread_barrier_init instead of
32712         pthread_barrier_init.
32714         [BZ #18542]
32715         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
32716         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
32717         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
32718         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
32719         vswscanf.
32720         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
32721         Remove variable.
32723         [BZ #18540]
32724         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
32725         strong alias of _IO_fflush.  Use libc_hidden_def.
32726         * libio/iofflush_u.c (fflush_unlocked): Rename to
32727         __fflush_unlocked and define as weak alias of __fflush_unlocked.
32728         Use libc_hidden_weak.
32729         * include/stdio.h (__fflush_unlocked): Declare.  Use
32730         libc_hidden_proto.
32731         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
32732         fflush_unlocked.
32733         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
32734         Remove variable.
32736         [BZ #18539]
32737         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
32738         define as weak alias of __addseverity.
32739         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
32740         Remove variable.
32741         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
32742         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
32743         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
32745         [BZ #18536]
32746         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
32747         (__tfind): Likewise.
32748         (__tdelete): Likewise.
32749         (__twalk): Likewise.
32750         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
32751         __twalk to GLIBC_PRIVATE.
32752         * include/search.h (__tsearch): Use libc_hidden_proto.
32753         (__tfind): Likewise.
32754         (__tdelete): Likewise.
32755         (__twalk): Likewise.
32756         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
32757         Call __tdelete instead of tdelete.
32758         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
32759         tfind.  Call __tsearch instead of tsearch.
32760         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
32761         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
32762         Remove variable.
32763         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
32765         [BZ #18534]
32766         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
32767         (dprintf): Define as a weak alias of __dprintf, not a strong
32768         alias.
32769         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
32770         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
32771         dprintf.
32772         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
32773         Remove variable.
32774         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
32775         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
32777         [BZ #18533]
32778         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
32779         not a strong alias.
32780         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
32781         Remove variable.
32783         [BZ #18532]
32784         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
32785         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
32786         (in6addr_loopback): Rename to __in6addr_loopback and define as
32787         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
32788         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
32789         libc_hidden_proto.
32790         (__in6addr_any): Likewise.
32791         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
32792         in6addr_any.
32793         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
32794         variable.
32795         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
32797 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
32799         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
32800         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
32801         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
32802         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
32803         redirections for pow.
32804         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32805         * sysdeps/x86_64/fpu/Versions: New versions added.
32806         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32807         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
32808         build of SSE, AVX2 and AVX512 IFUNC versions.
32809         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
32810         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
32811         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
32812         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
32813         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
32814         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
32815         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
32816         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
32817         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
32818         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
32819         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
32820         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
32821         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
32822         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
32823         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
32824         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
32825         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
32826         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
32827         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
32828         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
32829         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
32830         * NEWS: Mention addition of x86_64 vector pow.
32832         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
32833         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
32834         redirections for expf.
32835         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32836         * sysdeps/x86_64/fpu/Versions: New versions added.
32837         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32838         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
32839         build of SSE, AVX2 and AVX512 IFUNC versions.
32840         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
32841         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
32842         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
32843         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
32844         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
32845         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
32846         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
32847         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
32848         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
32849         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
32850         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
32851         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
32852         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
32853         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
32854         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
32855         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
32856         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
32857         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
32858         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
32859         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
32860         * NEWS: Mention addition of x86_64 vector expf.
32862         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
32863         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
32864         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
32865         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
32866         redirections for exp.
32867         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32868         * sysdeps/x86_64/fpu/Versions: New versions added.
32869         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32870         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
32871         build of SSE, AVX2 and AVX512 IFUNC versions.
32872         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
32873         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
32874         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
32875         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
32876         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
32877         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
32878         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
32879         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
32880         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
32881         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
32882         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
32883         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
32884         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
32885         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
32886         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
32887         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
32888         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
32889         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
32890         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
32891         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
32892         * NEWS: Mention addition of x86_64 vector exp.
32894         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
32895         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
32896         redirections for logf.
32897         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32898         * sysdeps/x86_64/fpu/Versions: New versions added.
32899         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32900         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
32901         build of SSE, AVX2 and AVX512 IFUNC versions.
32902         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
32903         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
32904         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
32905         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
32906         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
32907         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
32908         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
32909         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
32910         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
32911         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
32912         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
32913         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
32914         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
32915         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
32916         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
32917         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
32918         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
32919         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
32920         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
32921         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
32922         * NEWS: Mention addition of x86_64 vector logf.
32924         * bits/libm-simd-decl-stubs.h: Added stubs for log.
32925         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
32926         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
32927         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
32928         redirections for log.
32929         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32930         * sysdeps/x86_64/fpu/Versions: New versions added.
32931         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32932         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
32933         build of SSE, AVX2 and AVX512 IFUNC versions.
32934         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
32935         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
32936         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
32937         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
32938         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
32939         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
32940         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
32941         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
32942         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
32943         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
32944         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
32945         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
32946         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
32947         test.
32948         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
32949         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
32950         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
32951         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
32952         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
32953         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
32954         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
32955         * NEWS: Mention addition of x86_64 vector log.
32957 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
32959         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
32960         cfi_adjust_cfa_offset argument.
32961         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
32962         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
32964         [BZ #18034]
32965         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
32966         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
32967         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
32968         ordering using ldar.
32969         (_dl_tlsdesc_dynamic): Likewise.
32970         (_dl_tlsdesc_return_lazy): Likewise.
32971         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
32972         relaxed atomics instead of volatile and synchronize with release store.
32973         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
32974         volatile.
32975         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
32977 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
32979         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
32980         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
32981         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32982         * sysdeps/x86_64/fpu/Versions: New versions added.
32983         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32984         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
32985         build of SSE, AVX2 and AVX512 IFUNC versions.
32986         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
32987         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
32988         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
32989         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
32990         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
32991         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
32992         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
32993         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
32994         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
32995         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
32996         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
32997         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
32998         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
32999         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
33000         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
33001         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
33002         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
33003         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
33004         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
33005         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
33006         * NEWS: Mention addition of x86_64 vector sinf.
33008 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
33010         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
33011         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
33012         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
33013         Remove variable.
33014         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
33015         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
33017 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
33019         [BZ #18530]
33020         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
33021         strong alias of _IO_fputs.  Use libc_hidden_def.
33022         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
33023         and define as weak alias of __fputs_unlocked.  Use
33024         libc_hidden_weak.
33025         * include/stdio.h (__fputs_unlocked): Declare.  Use
33026         libc_hidden_proto.
33027         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
33028         fputs_unlocked.
33030         [BZ #18529]
33031         * resolv/netdb.h [__USE_POSIX]: Change condition to
33032         [__USE_XOPEN2K].
33033         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
33034         not expect.
33035         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
33036         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
33037         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
33038         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
33039         [XPG4 || UNIX98] (AI_ALL): Likewise.
33040         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
33041         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
33042         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
33043         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
33044         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
33045         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
33046         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
33047         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
33048         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
33049         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
33050         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
33051         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
33052         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
33053         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
33054         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
33055         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
33056         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
33057         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
33058         [XPG4 || UNIX98] (gai_strerror): Likewise.
33059         [XPG4 || UNIX98] (getaddrinfo): Likewise.
33060         [XPG4 || UNIX98] (getnameinfo): Likewise.
33062         [BZ #18528]
33063         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
33064         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
33065         __USE_XOPEN2K8].
33066         (getgrent): Likewise.
33067         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
33068         expect.
33069         [XPG3 || POSIX2008] (endgrent): Likewise.
33070         [XPG3] (setgrent): Likewise.
33071         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
33072         variable.
33073         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
33075         [BZ #18527]
33076         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
33077         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
33078         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
33079         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
33080         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
33081         * include/unistd.h (__getlogin_r): Declare.  Use
33082         libc_hidden_proto.
33083         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
33084         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
33085         variable.
33086         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
33087         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
33088         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
33090 2015-06-12  Martin Sebor  <msebor@redhat.com>
33092         [BZ #18512]
33093         * Makerules (check-install-supported): New target.
33094         (install): Add check-install-supported as a dependency.
33095         * manual/install.texi (Installing the C Library): Document
33096         that overriding prefix and exec_prefix is not supported.
33097         Mention DESTDIR.
33098         * INSTALL: Regenerate from the above.
33100 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
33102         [BZ #18519]
33103         * posix/Versions (libc): Export __libc_pread at version
33104         GLIBC_PRIVATE.
33105         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
33106         instead of pread.
33107         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
33108         variable.
33110         [BZ #18522]
33111         * misc/efgcvt_r.c
33112         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
33113         (cvt_symbol): Use weak_alias instead of strong_alias.
33114         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
33115         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
33116         Remove variable.
33117         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
33118         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
33120         [BZ #18520]
33121         * inet/herrno.c (h_errno): Rename to __h_errno.
33122         (__libc_h_errno): Define as alias of __h_errno not h_errno.
33123         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
33124         to __h_errno instead of h_errno.
33125         * nptl/herrno.c (h_errno): Rename to __h_errno.
33126         (__h_errno_location): Refer to __h_errno not h_errno.
33127         * resolv/Versions (h_errno): Rename to __h_errno.
33128         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
33129         Remove variable.
33130         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
33132 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
33134         * configure.ac: More strict check for AVX512 assembler support.
33135         * configure: Regenerated.
33137         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
33138         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
33139         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
33140         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
33141         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33142         * sysdeps/x86_64/fpu/Versions: New versions added.
33143         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33144         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
33145         Added build of SSE, AVX2 and AVX512 IFUNC versions.
33146         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
33147         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
33148         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
33149         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
33150         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
33151         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
33152         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
33153         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
33154         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
33155         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
33156         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
33157         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
33158         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
33159         test.
33160         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
33161         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
33162         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
33163         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
33164         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
33165         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
33166         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
33167         * NEWS: Mention addition of x86_64 vector sin.
33169 2015-06-11  Florian Weimer  <fweimer@redhat.com>
33171         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
33172         comment.
33174 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
33176         [BZ #18479]
33177         * nptl/pt-interp.c: New file.
33178         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
33179         Add pt-interp.
33180         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
33181         $(common-objpfx)runtime-linker.h.
33183 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
33185         * Makeconfig (+interp): Remove unused variable.
33186         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
33187         only.  Depend on $(common-objpfx)runtime-linker.h instead of
33188         $(elf-objpfx)runtime-linker.h.
33189         ($(elf-objpfx)runtime-linker.h): Rename to
33190         $(common-objpfx)runtime-linker.h and move ...
33191         * Makerules [$(build-shared) = yes]: ... here.
33192         * elf/interp.c: Include <runtime-linker.h> instead of
33193         <elf/runtime-linker.h>.
33195 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33197         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
33198         (__gettimeofday_syscall): Remove vsyscall fallback.
33199         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
33200         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
33201         Add syscall fallback function.
33202         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
33203         if vDSO is not present.
33204         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
33205         fallback function.
33206         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
33207         present.
33208         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
33209         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
33211 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
33213         [BZ #18497]
33214         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
33215         of wcscmp.
33216         (wcscmp): Define as weak alias of WCSCMP.
33217         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
33218         wcscoll.
33219         (USE_HIDDEN_DEF): Define.
33220         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
33221         __wcscoll.  Don't use libc_hidden_weak.
33222         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
33223         wcscmp.
33224         * sysdeps/i386/i686/multiarch/wcscmp-c.c
33225         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
33226         __GI_wcscmp.
33227         (weak_alias): Undefine and redefine.
33228         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
33229         __wcscmp and define as weak alias of __wcscmp.
33230         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
33231         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
33232         (__wcscoll): Likewise.
33233         (wcscmp): Don't use libc_hidden_proto.
33234         (wcscoll): Likewise.
33235         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
33236         wcscoll.
33237         * posix/regexec.c (check_node_accept_bytes): Likewise.
33238         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
33239         variable.
33240         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
33241         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
33243         [BZ #18507]
33244         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
33245         __fstatvfs and define as weak alias of __fstatvfs.  Use
33246         libc_hidden_weak.
33247         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
33248         and define as weak alias of __statvfs.  Use libc_hidden_weak.
33249         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
33250         Define as alias of __fstatvfs, not fstatvfs.
33251         (fstatvfs64): Likewise.
33252         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
33253         Define as alias of __statvfs, not statvfs.
33254         (statvfs64): Likewise.
33255         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
33256         Remove variable.
33258 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33261         (HAVE_GETCPU_VSYSCALL): Define.
33262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
33263         (HAVE_GETCPU_VSYSCALL): Likewise.
33264         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
33265         * sysdeps/unix/sysv/linux/sched_getcpu.c
33266         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
33267         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
33268         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
33269         prototype.
33270         * sysdeps/unix/sysv/linux/x86_64/init-first.c
33271         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
33272         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
33273         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
33274         Define.
33275         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
33276         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
33277         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
33278         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33280 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
33282         * sysdeps/x86_64/fpu/Makefile: New file.
33283         * sysdeps/x86_64/fpu/Versions: New file.
33284         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
33285         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
33286         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
33287         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
33288         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
33289         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
33290         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
33291         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
33292         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
33293         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
33294         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
33295         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
33296         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
33297         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
33298         Added build of SSE, AVX2 and AVX512 IFUNC versions.
33299         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
33300         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
33301         * sysdeps/x86_64/configure.ac: Options for libmvec build.
33302         * sysdeps/x86_64/configure: Regenerated.
33303         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
33304         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
33305         * manual/install.texi (Configuring and compiling): Document
33306         --disable-mathvec.
33307         * INSTALL: Regenerated.
33308         * NEWS: Mention addition of libmvec and x86_64 vector cos.
33310         * math/Makefile: Added rules for vector tests.
33311         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
33312         declaration under condition.
33313         * math/test-double-vlen2.h: New file.
33314         * math/test-double-vlen4.h: New file.
33315         * math/test-double-vlen8.h: New file.
33316         * math/test-vec-loop.h: Added initialization macro.
33317         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
33318         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
33319         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
33320         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
33321         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
33322         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
33323         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
33324         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
33325         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
33326         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
33327         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
33329         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33330         * sysdeps/x86_64/fpu/Versions: New versions added.
33331         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
33332         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
33333         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
33334         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
33335         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
33336         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
33337         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
33338         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
33339         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
33340         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
33341         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
33342         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
33343         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
33344         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
33345         Added build of SSE, AVX2 and AVX512 IFUNC versions.
33346         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
33347         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
33348         * NEWS: Mention addition of x86_64 vector cosf.
33350         * math/Makefile: Added CFLAGS for new tests.
33351         * math/test-float-vlen16.h: New file.
33352         * math/test-float-vlen4.h: New file.
33353         * math/test-float-vlen8.h: New file.
33354         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
33355         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
33356         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33357         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
33358         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
33359         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
33360         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
33361         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
33362         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
33363         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
33364         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
33366 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
33368         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
33369         * locale/programs/ld-ctype.c: Likewise.
33371 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
33373         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
33374         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
33375         bit_ZMM16_31_state): New macro.
33376         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33377         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
33379 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
33381         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
33383 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
33385         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
33387 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
33389         [BZ #18498]
33390         * libio/memstream.c (open_memstream): Rename to __open_memstream
33391         and define as weak alias of __open_memstream.
33392         * include/stdio.h (__open_memstream): Declare.  Use
33393         libc_hidden_proto.
33394         (open_memstream): Don't use libc_hidden_proto.
33395         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
33396         open_memstream.
33397         * posix/getopt.c (_getopt_internal_r): Likewise.
33398         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
33399         variable.
33400         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
33401         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
33402         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
33404         [BZ #18496]
33405         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
33406         instead of wcrtomb.
33408         [BZ #18483]
33409         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
33410         [__USE_XOPEN2K8].  Remove redundant #endif.
33411         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
33412         Remove redundant #if.
33413         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
33414         Remove variable.
33415         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
33416         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
33418         [BZ #18495]
33419         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
33420         (__iswlower): Likewise.
33421         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
33422         (__iswlower): Likewise.
33423         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
33424         instead of towlower.
33425         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
33426         instead of iswlower.  Call __towupper instead of towupper.
33427         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
33428         instead of iswalnum.
33430 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33432         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
33433         errors to stderr.
33435 2015-06-05  Florian Weimer  <fweimer@redhat.com>
33437         [BZ #15661]
33438         [BZ #17322]
33439         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
33440         Check for overflow properly.  Check for O_APPEND.  Ignore large
33441         file system block sizes.  Add comments about problems.
33442         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
33443         * manual/filesys.texi (Storage Allocation): New node.
33445 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33447         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
33448         cancellable syscalls.
33449         (SYS_ify): Add guard to no redefine it.
33450         (INLINE_SYSCALL): Likewise.
33451         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
33452         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
33453         SYSCALL_CANCEL instead.
33454         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
33455         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
33456         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
33457         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
33458         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
33459         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
33460         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
33461         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
33462         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
33463         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
33464         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
33465         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
33466         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
33467         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
33468         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
33469         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
33470         Likewise.
33471         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
33472         (__libc_pread64): Likewise.
33473         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
33474         (__libc_preadv): Likewise.
33475         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
33476         (__libc_readv64): Likewise.
33477         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
33478         (__libc_pwrite): Likewise.
33479         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
33480         (__libc_pwrite64): Likewise.
33481         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
33482         (__libc_pwritev): Likewise.
33483         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
33484         (__libc_pwritev64): Likewise.
33485         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
33486         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
33487         (sync_file_range): Likewise.
33488         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
33489         Likewise.
33490         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
33491         Likewise.
33492         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
33493         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
33494         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
33495         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
33496         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
33497         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
33498         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
33499         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
33500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
33501         Likewise.
33502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
33503         (__libc_read64): Likewise.
33504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
33505         Likewise.
33506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
33507         Likewise.
33508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
33509         Likewise.
33510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
33511         Likewise.
33512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
33513         (__libc_pread64): Likewise.
33514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
33515         Likewise.
33516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
33517         (__libc_pwrite64): Likewise.
33518         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
33519         (sync_file_range): Likewise.
33520         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
33521         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
33522         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
33523         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
33524         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
33525         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
33526         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
33527         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
33528         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
33529         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
33530         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
33531         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
33532         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
33533         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
33534         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
33535         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
33536         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
33537         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
33538         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
33539         Likewise.
33540         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
33541         Likewise.
33542         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
33543         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
33544         Likewise.
33545         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
33546         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
33547         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
33548         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
33549         Likewise.
33550         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
33551         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
33552         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
33553         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
33554         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
33556 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
33558         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
33559         Include dl-vdso.
33560         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
33561         Use VDSO routines for gettimeofday, clock_gettime if
33562         available.
33563         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
33564         Declare VDSO symbols.
33565         * sysdeps/unix/sysv/linux/arm/sysdep.h:
33566         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
33567         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
33568         * sysdeps/unix/sysv/linux/arm/Versions: Add
33569         __vdso_clock_gettime.
33571 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33573         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
33574         be an inline implementation regardless of library is built within.
33575         (open_not_cancel_2): Likewise.
33576         (__read_nocancel): Likewise.
33577         (__write_nocancel): Likewise.
33578         (openat_not_cancel): Likewise.
33579         (openat_not_cancel_3): Likewise.
33580         (openat64_not_cancel): Likewise.
33581         (openat64_not_cancel_3): Likewise.
33582         (__close_nocancel): Likewise.
33583         (pause_not_cancel): Likewise.
33584         (nanosleep_not_cancel): Likewise.
33585         (sigsuspend_not_cancel): Likewise.
33587 2015-06-04  Torvald Riegel  <triegel@redhat.com>
33589         [BZ #14958]
33590         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
33591         wake-up.
33592         (__pthread_rwlock_rdlock_slow): Likewise.
33593         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
33594         Likewise.
33595         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
33596         Likewise.
33597         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
33598         * nptl/tst-rwlock16.c: New file.
33599         * nptl/Makefile (tests): Add new test.
33601 2015-06-04  Torvald Riegel  <triegel@redhat.com>
33603         [BZ #18324]
33604         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
33605         missing wake-up of readers.
33606         * nptl/tst-rwlock15.c: New file.
33607         * nptl/Makefile (tests): Add new test.
33609 2015-06-03  Roland McGrath  <roland@hack.frob.com>
33611         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
33612         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
33613         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
33614         and __nacl_supply_interface_rtld.
33615         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
33616         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
33617         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
33618         Add __nacl_supply_interface_rtld.
33619         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
33621 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
33623         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
33624         isfinite.
33625         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33626         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
33628 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
33630         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
33631         __signbit* with standard C99 macros.
33632         * math/e_exp10l.c: Likewise.
33633         * math/e_exp2l.c: Likewise.
33634         * math/e_scalb.c: Likewise.
33635         * math/e_scalbf.c: Likewise.
33636         * math/e_scalbl.c: Likewise.
33637         * math/s_ldexp.c: Likewise.
33638         * math/s_ldexpf.c: Likewise.
33639         * math/s_ldexpl.c: Likewise.
33640         * math/w_atan2.c: Likewise.
33641         * math/w_atan2f.c: Likewise.
33642         * math/w_atan2l.c: Likewise.
33643         * math/w_cosh.c: Likewise.
33644         * math/w_coshf.c: Likewise.
33645         * math/w_coshl.c: Likewise.
33646         * math/w_exp10.c: Likewise.
33647         * math/w_exp10f.c: Likewise.
33648         * math/w_exp10l.c: Likewise.
33649         * math/w_exp2.c: Likewise.
33650         * math/w_exp2f.c: Likewise.
33651         * math/w_exp2l.c: Likewise.
33652         * math/w_fmod.c: Likewise.
33653         * math/w_fmodf.c: Likewise.
33654         * math/w_fmodl.c: Likewise.
33655         * math/w_hypot.c: Likewise.
33656         * math/w_hypotf.c: Likewise.
33657         * math/w_hypotl.c: Likewise.
33658         * math/w_jnl.c: Likewise.
33659         * math/w_lgamma.c: Likewise.
33660         * math/w_lgamma_r.c: Likewise.
33661         * math/w_lgammaf.c: Likewise.
33662         * math/w_lgammaf_r.c: Likewise.
33663         * math/w_lgammal.c: Likewise.
33664         * math/w_lgammal_r.c: Likewise.
33665         * math/w_pow.c: Likewise.
33666         * math/w_powf.c: Likewise.
33667         * math/w_powl.c: Likewise.
33668         * math/w_remainder.c: Likewise.
33669         * math/w_remainderf.c: Likewise.
33670         * math/w_remainderl.c: Likewise.
33671         * math/w_scalb.c: Likewise.
33672         * math/w_scalbf.c: Likewise.
33673         * math/w_scalbl.c: Likewise.
33674         * math/w_scalbln.c: Likewise.
33675         * math/w_scalblnf.c: Likewise.
33676         * math/w_scalblnl.c: Likewise.
33677         * math/w_sinh.c: Likewise.
33678         * math/w_sinhf.c: Likewise.
33679         * math/w_sinhl.c: Likewise.
33680         * math/w_tgamma.c: Likewise.
33681         * math/w_tgammaf.c: Likewise.
33682         * math/w_tgammal.c: Likewise.
33683         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33684         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
33685         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33686         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33687         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33688         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33689         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
33690         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33691         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33692         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33693         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
33694         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
33695         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33696         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33697         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33698         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33699         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33700         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33701         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33702         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33703         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33704         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
33705         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33706         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33707         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33708         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33709         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
33710         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33711         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33712         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
33713         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
33714         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
33715         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
33716         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
33717         * stdio-common/printf_fp.c: Likewise.
33718         * stdio-common/printf_fphex.c: Likewise.
33719         * stdio-common/printf_size.c: Likewise.
33721 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
33723         [BZ #18470]
33724         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
33725         strnlen.
33726         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
33727         Remove variable.
33728         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
33729         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
33730         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
33731         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
33732         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
33733         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
33734         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
33735         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
33736         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
33737         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
33739         [BZ #18468]
33740         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
33741         weak alias of __wmemchr.  Use libc_hidden_weak.
33742         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
33743         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
33744         instead of wmemchr.
33746 2015-06-02  Roland McGrath  <roland@hack.frob.com>
33748         [BZ #18383]
33749         * elf/tst-tlsalign-extern.c: New file.
33750         * elf/tst-tlsalign-extern-static.c: New file.
33751         * elf/tst-tlsalign-vars.c: New file.
33752         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
33753         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
33754         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
33755         ($(objpfx)tst-tlsalign-extern-static): Likewise.
33756         (test-xfail-tst-tlsalign-extern-static): New variable.
33758 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
33760         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
33761         Use variable name _sc_err instead of err.
33762         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
33763         instead of ret.
33764         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
33765         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
33766         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
33767         (INLINE_SYSCALL): Likewise.
33769         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
33770         * include/string.h (__strnlen): Use libc_hidden_proto.
33771         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
33772         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
33773         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
33774         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
33775         (libc_hidden_def): Undefine and redefine.
33776         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
33777         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
33778         __GI_strnlen.
33779         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
33780         libc_hidden_def.
33781         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
33783         [BZ #18469]
33784         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
33785         weak alias of __towlower.  Use libc_hidden_weak.
33786         (towupper): Rename to __towupper and define as weak alias of
33787         __towupper.  Use libc_hidden_weak.
33788         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
33789         (__towupper): Likewise.
33790         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
33791         __towlower instead of towlower.
33793 2015-06-02  Roland McGrath  <roland@hack.frob.com>
33795         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
33796         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
33798 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
33800         * sysdeps/aarch64/libm-test-ulps: Update.
33802 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33804         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
33805         Define.
33806         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
33807         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
33808         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
33809         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
33810         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
33811         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
33812         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
33814 2015-06-01  Martin Sebor  <msebor@redhat.com>
33816         [BZ #18116]
33817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
33818         (__setcontext): Use extended four-operand version of mtsf whenever
33819         possible.
33820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
33821         (__novec_swapcontext): Likewise.
33823 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
33825         * benchtests/scripts/compare_bench.py: New file.
33826         * benchtests/scripts/import_bench.py (mean): New function.
33827         (split_list): Likewise.
33828         (do_for_all_timings): Likewise.
33829         (compress_timings): Likewise.
33831         * benchtests/scripts/import_bench.py: New file.
33832         * benchtests/scripts/validate_benchout.py: Import import_bench
33833         instead of jsonschema.
33834         (validate_bench): Remove function.
33835         (main): Use import_bench.
33837 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
33839         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
33840         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
33842 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33844         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33846 2015-05-28  Roland McGrath  <roland@hack.frob.com>
33848         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
33849         set THREAD_SELF->tid to a magic value and futex-wake it.
33850         Pass its address to the thread_exit system call.
33851         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
33852         bit is clear.
33853         * sysdeps/nacl/lowlevellock.h: New file.
33854         * sysdeps/nacl/lll_timedwait_tid.c: New file.
33856         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
33857         Add TIMEOUT to current time, don't subtract it.
33859 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
33861         [BZ #2981]
33862         [BZ #18422]
33863         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
33864         ($(objpfx)tst-audit2.out): Also depend on
33865         $(objpfx)tst-auditmod9b.so.
33866         * elf/tst-audit2.c: Include <dlfcn.h>.
33867         (calloc_called): New.
33868         (calloc): Allow to be called more than once.
33869         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
33871 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
33873         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
33874         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
33876 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
33878         * stdlib/monetary.h: Fix comment.
33880 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
33882         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
33883         Avoid using variables in #defines that might cause shadowing.
33884         (INTERNAL_VSYSCALL_CALL): Likewise.
33886 2015-05-26  Roland McGrath  <roland@hack.frob.com>
33888         * sysdeps/nacl/lll_timedlock_wait.c: New file.
33890         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
33891         * nptl/lll_timedlock_wait.c: ... to this new file.
33892         * nptl/Makefile (libpthread-routines): Add it.
33893         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
33894         * nptl/lll_timedwait_tid.c: ... to this new file.
33895         * nptl/Makefile (libpthread-routines): Add it.
33896         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
33897         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
33898         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
33899         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
33900         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
33901         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
33902         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
33903         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
33904         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
33905         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
33907 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33909         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
33910         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
33911         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
33912         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
33913         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
33914         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
33915         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
33916         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
33917         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
33918         * sysdeps/unix/sysv/linux/tile/sysdep.h
33919         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
33920         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
33921         using vDSO syscall macro.
33923 2015-05-26  Andriy Rysin  <arysin@gmail.com>
33925         [BZ #17293]
33926         * uk_UA: Fix sorting order for Ukrainian locale
33928 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
33930         * stdlib/monetary.h: Fix comment.
33932 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
33934         [BZ #18234]
33935         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
33936         st_mtim and st_ctim members.
33937         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
33938         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
33939         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
33940         (struct stat64): Likewise.
33941         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
33942         (struct stat64): Likewise.
33943         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
33944         (struct stat64): Likewise.
33946 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33948         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
33949         Define and include sysdep-vdso.h.
33950         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
33951         Likewise.
33952         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
33953         Likewise.
33954         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
33955         Define with VDSO_SYMBOL and use PTR_MANGLE.
33956         (__vdso_clock_gettime): Likewise.
33957         (__vdso_clock_getres): Likewise.
33958         (_libc_vdso_platform_setup): Likewise.
33959         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
33960         Likewise.
33961         (_libc_vdso_platform_setup): Likewise.
33962         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
33963         Likewise.
33964         (__vdso_clock_gettime): Likewise.
33965         (__vdso_clock_getres): Likewise.
33966         (__vdso_get_tbfreq): Likewise.
33967         (__vdso_getcpu): Likewise.
33968         (__vdso_time): Likewise.
33969         (__vdso_sigtramp_rt64): Likewise.
33970         (__vdso_signtramp32): Likewise.
33971         (__vdso_sigtramp_rt32): Likewise.
33972         (_libc_vdso_platform_setup): Likewise.
33973         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
33974         Likewise.
33975         (__vdso_clock_gettime): Likewise.
33976         (__vdso_clock_getres): Likewise.
33977         (_libc_vdso_platform_setup): Likewise.
33978         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
33979         Likewise.
33980         (__vdso_clock_gettime): Likewise.
33981         (_libc_vdso_platform_setup): Likewise.
33982         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
33983         Likewise.
33984         (__vdso_getcpu): Likewise.
33985         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
33986         Use VDSO_SYMBOL macro to define.
33987         (__vdso_clock_gettime): Likewise.
33988         (__vdso_clock_getres): Likewise.
33989         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
33990         Likewise.
33991         (__vdso_clock_gettime): Likewise.
33992         (__vdso_clock_getres): Likewise.
33993         (__vdso_get_tbfreq): Likewise.
33994         (__vdso_getcpu): Likewise.
33995         (__vdso_time): Likewise.
33996         (__vdso_sigtramp_rt64): Likewise.
33997         (__vdso_signtramp32): Likewise.
33998         (__vdso_sigtramp_rt32): Likewise.
33999         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
34000         Likewise.
34001         (__vdso_clock_gettime): Likewise.
34002         (__vdso_clock_getres): Likewise.
34003         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
34004         Likewise.
34005         (__vdso_clock_gettime): Likewise.
34006         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
34007         Likewise.
34008         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
34009         macro.
34010         (INTERNAL_VSYSCALL): Likewise.
34011         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
34012         Remove macro.
34013         (INTERNAL_VSYSCALL): Likewise.
34014         (INTERNAL_VSYSCALL_NCS): Likewise.
34015         (INTERNAL_VSYSCALL_CALL): New macro.
34016         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
34017         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
34018         Likewise.
34019         (INTERNAL_VSYSCALL): Likewise.
34020         (INTERNAL_VSYSCALL_NCS): Likewise.
34021         (INTERNAL_VSYSCALL_CALL): New macro.
34022         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
34023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34024         (INLINE_VSYSCALL): Remove macro.
34025         (INTERNAL_VSYSCALL): Remove macro.
34026         (INTERNAL_VSYSCALL_NCS): Remove macro.
34027         (INTERNAL_VSYSCALL_CALL): New macro.
34028         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
34029         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
34030         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
34031         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
34032         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
34033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
34034         (INLINE_VSYSCALL): Remove macro.
34035         (INTERNAL_VSYSCALL): Likewise.
34036         (INTERNAL_VSYSCALL_NCS): Likewise.
34037         (INTERNAL_VSYSCALL_CALL): New macro.
34038         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
34039         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
34040         PTR_DEMANGLE on vDSO pointer.
34041         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
34042         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
34043         macro.
34044         (INTERNAL_SYSCALL): Likewise.
34045         (INTERNAL_VSYSCALL_NCS): Remove macro.
34046         (INTERNAL_VSYSCALL_CALL): New macro.
34047         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
34048         Remove macro.
34049         (INTERNAL_VSYSCALL): Likewise.
34050         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
34051         sysdep-vdso.h instead of libc-vdso.h.
34052         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
34053         definition.
34054         (INLINE_VSYSCALL): Likewise.
34055         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
34056         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
34057         definition.
34058         (INLINE_VSYSCALL): Likewise.
34059         (INTERNAL_VSYSCALL): Likewise.
34060         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
34061         * sysdeps/unix/sysv/linux/timespec_get.c
34062         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
34063         (timespec_get): Use ANSI prototype.
34064         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
34065         and definition for Linux.
34067 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
34069         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
34070         * include/libc-symbols.h: libmvec_hidden_* macro series added.
34072 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34074         [BZ #2981]
34075         [BZ #18410]
34076         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
34077         for missing DT_PLTRELSZ.
34079 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
34081         Remove obsolete aliases that broke 'locale -a'
34082         [BZ #18412]
34083         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
34084         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
34085         breaking some applications that use 'locale -a' output.
34086         Change the encoding of this file from Latin-1 to ASCII to avoid
34087         other potential problems with people grepping this file.
34089 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34091         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
34092         -fasynchronous-unwind-tables.
34093         (CFLAGS-sendto.c): Likewise.
34094         (CFLAGS-sendmsg.c): Likewise.
34095         (CFLAGS-connect.c): Likewise.
34096         (CFLAGS-recvmsg.c): Likewise.
34097         (CFLAGS-recvfrom.c): Likewise.
34098         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
34099         (SOCKETCALL): New macro: non-cancellable socketcall.
34100         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
34101         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
34102         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
34103         * sysdeps/unix/sysv/linux/accept.c: New file.
34104         * sysdeps/unix/sysv/linux/bind.c: Likewise.
34105         * sysdeps/unix/sysv/linux/connect.c: Likewise.
34106         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
34107         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
34108         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
34109         * sysdeps/unix/sysv/linux/listen.c: Likewise.
34110         * sysdeps/unix/sysv/linux/recv.c: Likewise.
34111         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
34112         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
34113         * sysdeps/unix/sysv/linux/send.c: Likewise.
34114         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
34115         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
34116         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
34117         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
34118         * sysdeps/unix/sysv/linux/socket.c: Likewise.
34119         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
34120         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
34121         prototype.
34122         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
34123         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
34124         instead of __internal_xxx function.
34125         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
34126         prototype.
34127         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
34128         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
34129         instead of __internal_xxx function.
34130         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
34131         prototype.
34132         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
34133         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
34134         instead of __internal_xxx function.
34135         * sysdeps/unix/sysv/linux/accept.S: Remove file.
34136         * sysdeps/unix/sysv/linux/bind.S: Likewise.
34137         * sysdeps/unix/sysv/linux/connect.S: Likewise.
34138         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
34139         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
34140         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
34141         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
34142         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
34143         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
34144         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
34145         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
34146         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
34147         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
34148         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
34149         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
34150         * sysdeps/unix/sysv/linux/listen.S: Likewise.
34151         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
34152         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
34153         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
34154         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
34155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
34156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
34157         * sysdeps/unix/sysv/linux/recv.S: Likewise.
34158         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
34159         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
34160         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
34161         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
34162         * sysdeps/unix/sysv/linux/send.S: Likewise.
34163         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
34164         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
34165         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
34166         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
34167         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
34168         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
34169         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
34170         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
34171         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
34172         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
34173         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
34174         socketcall is implemented in GLIBC.
34176 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
34178         * soft-fp/fmadf4.c: Include <libc-internal.h>.
34179         (__fma): Ignore uninitialized warnings around packing.
34180         * soft-fp/fmasf4.c: Include <libc-internal.h>.
34181         (__fmaf): Ignore uninitialized warnings around packing.
34182         * soft-fp/fmatf4.c: Include <libc-internal.h>.
34183         (__fmal): Ignore uninitialized warnings around packing.
34185         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
34186         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
34187         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
34188         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
34190         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
34191         switch statement into default case.
34192         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
34194         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
34195         a conditional in forcing "inexact".
34196         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
34197         Likewise.
34199 2015-05-22  Roland McGrath  <roland@hack.frob.com>
34201         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
34202         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
34203         for each INTERNAL_SYSCALL use.
34205 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
34207         [BZ #438]
34208         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
34209         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
34210         variable.
34212         [BZ #18444]
34213         * string/basename.c (basename): Rename to __basename and define as
34214         weak alias of __basename.  Use libc_hidden_weak.
34215         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
34216         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
34217         __basename instead of basename.
34218         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
34219         Remove variable.
34220         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
34222 2015-05-18  Florian Weimer  <fweimer@redhat.com>
34224         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
34225         (_IO_JUMPS_FILE_plus): New.
34226         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
34227         _IO_CAST_FIELD_ACCESS.
34228         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
34229         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
34230         * libio/freopen.c (freopen): Likewise.
34231         * libio/freopen64.c (freopen64): Likewise.
34232         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
34233         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
34234         * libio/iofwide.c (_IO_fwide): Likewise.
34235         * libio/memstream.c (open_memstream): Likewise.
34236         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
34237         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
34238         * libio/oldiopopen.c (_IO_old_popen): Likewise.
34240 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
34242         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
34243         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
34244         NADJ.
34245         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
34246         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
34247         NADJ.
34248         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
34249         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
34250         NADJ.
34252         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
34253         (p == 4) case.
34255         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
34256         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
34257         Remove variable.
34258         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
34259         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
34260         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
34262 2015-05-21  Florian Weimer  <fweimer@redhat.com>
34264         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
34265         Adjust jump table label generation macros.
34267 2015-05-21  Florian Weimer  <fweimer@redhat.com>
34269         * stdio-common/vfprintf.c (vfprintf): Move local variables
34270         args_malloced, specs, specs_malloced, and the code after
34271         do_positional to the printf_positional function.
34272         (printf_positional): New function.
34274 2015-05-21  Florian Weimer  <fweimer@redhat.com>
34276         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
34277         function.
34278         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
34279         STEP4_TABLE, process_arg): Move macro definitions
34280         out of the vfprintf function.  (Cosmetic change only.)
34282 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
34284         * benchtests/Makefile (stdio-common-bench): Define.
34285         (benchset): Add stdio-common-bench.
34286         * sprintf-inputs: New file.
34287         * sprintf-source.c: New file.
34289 2015-05-21  Andreas Schwab  <schwab@suse.de>
34291         [BZ #13028]
34292         [BZ #17053]
34293         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
34294         of struct __res_state.
34295         * resolv/res_send.c (__libc_res_nsend): Likewise.
34296         (get_nsaddr): New function.
34297         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
34298         statp directly.
34300 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
34302         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
34303         -D_POSIX_C_SOURCE=199506L.
34305         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
34307         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
34308         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
34309         Do not mention otherwise.
34310         [POSIX] (_XOPEN_VERSION): Do not expect.
34311         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
34312         [POSIX] (_POSIX2_C_BIND): Likewise.
34313         [POSIX] (_POSIX2_VERSION): Likewise.
34314         [POSIX] (_XOPEN_XPG2): Likewise.
34315         [POSIX] (_XOPEN_XPG3): Likewise.
34316         [POSIX] (_XOPEN_XPG4): Likewise.
34317         [POSIX] (_XOPEN_UNIX): Likewise.
34318         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
34319         [POSIX] (_POSIX_BARRIERS): Likewise.
34320         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
34321         [POSIX] (_POSIX_CPUTIME): Likewise.
34322         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
34323         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
34324         [POSIX] (_POSIX_SHELL): Likewise.
34325         [POSIX] (_POSIX_SPAWN): Likewise.
34326         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
34327         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
34328         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
34329         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
34330         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
34331         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
34332         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
34333         [POSIX] (_XBS5_LP64_OFF64): Likewise.
34334         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
34335         [POSIX] (_POSIX_TIMEOUTS): Likewise.
34336         [POSIX] (_POSIX2_PBS): Likewise.
34337         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
34338         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
34339         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
34340         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
34341         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
34342         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
34343         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
34344         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
34345         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
34346         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
34347         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
34348         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
34349         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
34350         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
34351         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
34352         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
34353         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
34354         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
34355         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
34356         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
34357         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
34358         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
34359         [POSIX] (_SC_2_C_BIND): Likewise.
34360         [POSIX] (_SC_2_C_VERSION): Likewise.
34361         [POSIX] (_SC_2_PBS): Likewise.
34362         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
34363         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
34364         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
34365         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
34366         [POSIX] (_SC_2_PBS_TRACK): Likewise.
34367         [POSIX] (_SC_ATEXIT_MAX): Likewise.
34368         [POSIX] (_SC_BARRIERS): Likewise.
34369         [POSIX] (_SC_BASE): Likewise.
34370         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
34371         [POSIX] (_SC_DEVICE_IO): Likewise.
34372         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
34373         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
34374         [POSIX] (_SC_FD_MGMT): Likewise.
34375         [POSIX] (_SC_FIFO): Likewise.
34376         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
34377         [POSIX] (_SC_FILE_LOCKING): Likewise.
34378         [POSIX] (_SC_FILE_SYSTEM): Likewise.
34379         [POSIX] (_SC_IOV_MAX): Likewise.
34380         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
34381         [POSIX] (_SC_NETWORKING): Likewise.
34382         [POSIX] (_SC_PAGE_SIZE): Likewise.
34383         [POSIX] (_SC_PASS_MAX): Likewise.
34384         [POSIX] (_SC_PIPE): Likewise.
34385         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
34386         [POSIX] (_SC_REGEXP): Likewise.
34387         [POSIX] (_SC_SHELL): Likewise.
34388         [POSIX] (_SC_SIGNALS): Likewise.
34389         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
34390         [POSIX] (_SC_SPIN_LOCKS): Likewise.
34391         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
34392         [POSIX] (_SC_USER_GROUPS): Likewise.
34393         [POSIX] (_SC_USER_GROUPS_R): Likewise.
34394         [POSIX] (_SC_STREAMS): Likewise.
34395         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
34396         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
34397         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
34398         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
34399         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
34400         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
34401         [POSIX] (_PC_FILESIZEBITS): Likewise.
34402         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
34403         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
34404         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
34405         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
34406         [POSIX] (uid_t): Likewise.
34407         [POSIX] (gid_t): Likewise.
34408         [POSIX] (off_t): Likewise.
34409         [POSIX] (pid_t): Likewise.
34410         [POSIX] (cuserid): Allow.
34411         (_SC_2_CHAR_TERM): Require constant.
34412         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
34413         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
34414         variable.
34416 2015-05-20  Roland McGrath  <roland@hack.frob.com>
34418         * sysdeps/nacl/pthread-pids.h: New file.
34419         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
34420         (create_thread): Use __nacl_get_tid to initialize PD->tid.
34422         * nptl/pthread-pids.h: New file.
34423         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
34424         * nptl/nptl-init.c: Include <pthread-pids.h>.
34425         (__pthread_initialize_minimal_internal):
34426         Call __pthread_initialize_pids instead of set_tid_address syscall.
34428         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
34429         * sysdeps/posix/usleep.c: ... here.
34431 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34433         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
34434         call_pselect6 object.
34435         [$(subdir) = io]: Remove call_sync_file_range object.
34436         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
34437         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
34438         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
34439         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
34441 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
34443         * math/s_cproj.c: Add include "math_private.h".
34444         * math/s_cprojf.c: Likewise.
34445         * math/s_cprojl.c: Likewise.
34447 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
34449         [BZ #18244]
34450         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
34451         high mantissa bit when testing whether P is a NaN.
34452         * math/libm-test.inc (remainder_test_data): Add more tests.
34453         (remquo_test_data): Likewise.
34455         [BZ #18049]
34456         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
34457         below -32, return the argument, with underflow if subnormal.
34458         * math/auto-libm-test-in: Add more tests of atanh.
34459         * math/auto-libm-test-out: Regenerated.
34461 2015-05-19  Roland McGrath  <roland@hack.frob.com>
34463         [BZ #18434]
34464         * nptl/tst-sem15.c: New file.
34465         * nptl/Makefile (tests): Add it.
34466         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
34467         s/<</>>/ to fix typo in EOVERFLOW check.
34468         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
34470 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
34472         * manual/strings.texi (envz_remove): Fix typo in safety
34473         annotations.
34475 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
34476             Steve Ellcey  <sellcey@imgtec.com>
34478         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
34479         in order to avoid strict alias warnings.
34480         (iruserok_af): Ditto for ra.
34482 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
34484         [BZ #17581]
34485         * malloc/hooks.c
34486         (magicbyte): Convert to a function and avoid returning 0x01.
34487         (mem2mem_check): Avoid using a length byte equal to the magic byte.
34488         (mem2chunk_check): Fix unsigned comparisons to zero.
34489         Hoist defs of sz and magic.
34491 2015-05-19  Richard Henderson  <rth@redhat.com>
34493         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
34495         * sysdeps/alpha/fpu/libm-test-ulps: Update.
34497 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
34499         [BZ #16159]
34500         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
34501         * malloc/arena.c (arena_lock): Check if arena is corrupt.
34502         (reused_arena): Find a non-corrupt arena.
34503         (heap_trim): Pass arena to unlink.
34504         * malloc/hooks.c (malloc_check_get_size): Pass arena to
34505         malloc_printerr.
34506         (top_check): Likewise.
34507         (free_check): Likewise.
34508         (realloc_check): Likewise.
34509         * malloc/malloc.c (malloc_printerr): Add arena argument.
34510         (unlink): Likewise.
34511         (munmap_chunk): Adjust.
34512         (ARENA_CORRUPTION_BIT): New macro.
34513         (arena_is_corrupt): Likewise.
34514         (set_arena_corrupt): Likewise.
34515         (sysmalloc): Use mmap if there are no usable arenas.
34516         (_int_malloc): Likewise.
34517         (__libc_malloc): Don't fail if arena_get returns NULL.
34518         (_mid_memalign): Likewise.
34519         (__libc_calloc): Likewise.
34520         (__libc_realloc): Adjust for additional argument to
34521         malloc_printerr.
34522         (_int_free): Likewise.
34523         (malloc_consolidate): Likewise.
34524         (_int_realloc): Likewise.
34525         (_int_memalign): Don't touch corrupt arenas.
34526         * malloc/tst-malloc-backtrace.c: New test case.
34528         * Makefile (summarize-tests): Fix return value on success.
34530         * manual/string.texi (Envz Functions): Add envz_remove.
34532 2015-05-18  Roland McGrath  <roland@hack.frob.com>
34534         * sysdeps/posix/opendir.c: Include <stdbool.h>.
34535         (invalid_name): New function, broken out of ...
34536         (__opendirat): ... here.  Call it.
34537         (need_isdir_precheck): New function, broken out of ...
34538         (__opendirat): ... here.  Call it.
34539         Use __fxstatat64, not __xstatat64.
34540         (opendir_oflags): New function, broken out of ...
34541         (__opendirat): ... here.  Call it.
34542         (opendir_tail): New function, broken out of ...
34543         (__opendirat): ... here.  Call it.
34544         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
34545         opendir_tail, rather than punting to __opendirat.
34546         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
34548 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
34550         * .gitignore: Ignore generated *.pyc.
34552 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
34554         * include/stdio.h: Define __need_wint_t.
34555         * test-skeleton.c: Avoid `for' loop initial declaration.
34556         * nptl/tst-initializers1.c: Use test-skeleton.c.
34558 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34560         [BZ #18418]
34561         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
34563 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
34565         [BZ #16352]
34566         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
34567         (__ieee754_atanh): Force underflow exception for results with
34568         small absolute value.
34569         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
34570         (__ieee754_atanhf): Force underflow exception for results with
34571         small absolute value.
34572         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
34573         (__ieee754_atanh): Force underflow exception for results with
34574         small absolute value.
34575         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
34576         (__ieee754_atanhf): Force underflow exception for results with
34577         small absolute value.
34578         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
34579         (__ieee754_atanhl): Force underflow exception for results with
34580         small absolute value.
34581         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
34582         (__ieee754_atanhl): Force underflow exception for results with
34583         small absolute value.
34584         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
34585         (__ieee754_atanhl): Force underflow exception for results with
34586         small absolute value.
34587         * math/auto-libm-test-in: Do not allow missing underflow
34588         exceptions from atanh.
34589         * math/auto-libm-test-out: Regenerated.
34591         [BZ #18221]
34592         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
34593         2**-28 as threshold for returning x or +/- 1/x.
34594         * math/auto-libm-test-in: Add more tests of tan.
34595         * math/auto-libm-test-out: Regenerated.
34597         [BZ #18220]
34598         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
34599         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
34600         * math/auto-libm-test-in: Add another test of lgamma.
34601         * math/auto-libm-test-out: Regenerated.
34603 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
34605         * stdio-common/printf_fp.c (___printf_fp): Use abs.
34606         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
34607         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
34608         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
34609         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
34610         (ADD2A): Use fabs.  (SUB2A): Use fabs.
34611         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
34612         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
34613         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
34614         (log1): Use fabs.  (my_log2): Use fabs.
34615         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
34616         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
34617         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
34618         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
34619         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
34620         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
34621         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
34622         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
34623         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
34624         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
34625         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
34627 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
34629         [BZ #18217]
34630         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
34631         as threshold for returning 1 - x.
34632         * math/auto-libm-test-in: Add more tests of erfc.
34633         * math/auto-libm-test-out: Regenerated.
34635 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
34637         [BZ #18196]
34638         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
34639         threshold for large arguments.
34640         * math/auto-libm-test-in: Add another test of atan.
34641         * math/auto-libm-test-out: Regenerated.
34643         [BZ #16339]
34644         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
34645         (__log1p): Force underflow exception for results with small
34646         absolute value.
34647         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
34648         (__log1pf): Force underflow exception for results with small
34649         absolute value.
34650         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
34651         (__log1p): Force underflow exception for results with small
34652         absolute value.
34653         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
34654         (__log1pf): Force underflow exception for results with small
34655         absolute value.
34656         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
34657         (__log1pl): Force underflow exception for results with small
34658         absolute value.
34659         * math/auto-libm-test-in: Do not allow missing underflow
34660         exceptions from log1p.
34661         * math/auto-libm-test-out: Regenerated.
34663 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
34664             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34666         [BZ #16704]
34667         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
34669 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
34671         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
34672         (libmvec): New variable.
34673         * configure.ac: Added option for mathvec build.
34674         * configure: Regenerated.
34675         * mathvec/Depend: New file.
34676         * mathvec/Makefile: New file.
34677         * shlib-versions: Added libmvec.
34678         * math/Makefile: Added rule for libm.so installation.
34680         * bits/math-vector.h: New file.
34681         * bits/libm-simd-decl-stubs.h: New header.
34682         * math/Makefile (headers): Added new header
34683         libm-simd-decl-stubs.h.
34684         * math/math.h (__MATHCALL_VEC): New macro.
34686         * math/gen-libm-have-vector-test.sh: Script generates series of macros
34687         for conditions in testing functions.
34688         * math/Makefile: Added call of libm-have-vector-test.sh.
34689         * math/libm-test.inc (HAVE_VECTOR): New macros.
34691         * math/libm-test.inc: START refactored.
34692         * math/test-double.c (TEST_MATHVEC): Add define.
34693         * math/test-float.c: Likewise.
34694         * math/test-idouble.c: Likewise.
34695         * math/test-ifloat.c: Likewise.
34696         * math/test-ildoubl.c: Likewise.
34697         * math/test-ldouble.c: Likewise.
34698         * sysdeps/generic/math-tests-arch.h
34699         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
34700         architecture check.
34702         * math/test-double.c (FUNC_TEST): New macro.
34703         * math/test-float.c: Likewise.
34704         * math/test-idouble.c: Likewise.
34705         * math/test-ifloat.c: Likewise.
34706         * math/test-ildoubl.c: Likewise.
34707         * math/test-ldouble.c: Likewise.
34708         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
34710 2015-05-13  Roland McGrath  <roland@hack.frob.com>
34712         * sysdeps/nacl/fdopendir.c: New file.
34714         * dirent/scandir-tail.c: New file.
34715         * dirent/scandir64-tail.c: New file.
34716         * dirent/Makefile (routines): Add them.
34717         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
34718         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
34719         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
34720         [!SCANDIR] (SCANDIR_TAIL): New macro.
34721         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
34722         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
34723         (SCANDIRAT): Macro removed.
34724         (SCANDIR_TAIL): New macro.
34725         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
34726         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
34727         (SCANDIRAT): Just call __opendirat and __scandir_tail.
34728         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
34729         (READDIR): Macro removed.
34730         (SCANDIR_TAIL): New macro.
34731         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
34732         (SCANDIR_TAIL): New macro.
34734         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
34735         * dirent/scandir-cancel.c: ... to this new file.
34736         * dirent/Makefile (routines): Add it.
34737         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
34738         * sysdeps/unix/sysv/linux/i386/scandir64.c
34739         (SKIP_SCANDIR_CANCEL): Macro removed.
34740         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
34742         * dirent/tst-scandir.c: New file.
34743         * dirent/tst-scandir64.c: New file.
34744         * dirent/Makefile (tests): Add them.
34746 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
34748         [BZ #18409]
34749         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
34751 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
34753         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
34754         list.
34756 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
34758         * benchtests/bench-strcoll.c: New benchmark.
34759         * benchtests/Makefile: Generate locales and run benchmark.
34760         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
34761         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
34762         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
34763         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
34764         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
34765         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
34766         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
34767         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
34768         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
34769         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
34770         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
34771         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
34772         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
34773         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
34774         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
34775         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
34776         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
34777         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
34778         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
34779         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
34780         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
34781         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
34782         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
34783         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
34785 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
34787         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
34788         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
34790 2015-05-12  Roland McGrath  <roland@hack.frob.com>
34792         * posix/uname-values.h: New file.
34793         * posix/uname.c: Include that instead of <config-name.h>.
34794         * sysdeps/nacl/uname-values.h: New file.
34795         * sysdeps/arm/nacl/uname-values.h: New file.
34797 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
34799         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
34800         splitting into fields.
34802 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
34804         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
34805         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
34806         * locale/localeinfo.h: Add enum collation_encoding_type.
34807         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
34808         * programs/ld-collate.c (collate_output): Add encoding type info.
34809         * string/strcoll_l.c (STRDIFF): New function.
34810         * (STRCOLL): Use STRDIFF to skip over equal prefix.
34811         * wcsmbs/wcscoll_l.c: Define STRDIFF.
34813 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
34815         [BZ #18397]
34816         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
34817         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
34818         <fpu_control.h> instead of <math/fpu_control.c>.
34819         * sysdeps/mips/mips32/fpu/Makefile: New file.
34821 2015-05-11  Andreas Schwab  <schwab@suse.de>
34823         [BZ #18007]
34824         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
34825         nss_endgrent.
34826         (_nss_compat_endgrent): Call nss_endgrent.
34827         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
34828         nss_endpwent.
34829         (_nss_compat_endpwent): Call nss_endpwent.
34830         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
34831         needent, call nss_setspent only if non-zero.
34832         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
34833         (internal_endspent): Don't call nss_endspent.
34834         (_nss_compat_endspent): Call nss_endspent.
34835         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
34836         Remove.  All uses removed.
34837         (internal_setent): Remove parameter stayopen, add parameter
34838         stream.  Use it instead of global variable.
34839         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
34840         (internal_endent, internal_getent): Add parameter stream.  Use it
34841         instead of global variable.
34842         (CONCAT(_nss_files_end,ENTNAME))
34843         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
34844         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
34845         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
34846         uses removed.
34847         (internal_setent, internal_endent): Add parameter stream.  Use it
34848         instead of global variable.
34849         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
34850         stream.
34851         (get_next_alias): Add parameter stream.
34852         (_nss_files_getaliasent_r): Pass global stream.
34853         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
34854         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
34855         (_nss_files_gethostbyname4_r): Pass local stream to
34856         internal_setent, internal_getent and internal_endent.  Remove
34857         locking.
34859 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
34861         * tst-strfmon1.c (tests): Update expected currency symbol.
34863 2015-05-08  Roland McGrath  <roland@hack.frob.com>
34865         * sysdeps/nacl/gethostname.c: New file.
34867 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
34869         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
34870         and sinh.
34871         * math/auto-libm-test-out: Regenerated.
34872         * sysdeps/i386/fpu/libm-test-ulps: Update.
34873         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34875 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
34877         [BZ #18125]
34878         * stdlib/tst-setcontext3.c: New file.
34879         * stdlib/tst-setcontext3.sh: New file.
34880         * stdlib/Makefile (tests): Add tst-setcontext3.
34881         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
34882         to verify test program created output file.
34883         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
34884         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
34885         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
34886         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
34888 2015-05-06  Roland McGrath  <roland@hack.frob.com>
34890         [BZ #18383]
34891         * elf/tst-tlsalign.c: New file.
34892         * elf/tst-tlsalign-static.c: New file.
34893         * elf/tst-tlsalign-lib.c: New file.
34894         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
34895         (tests-static): Add tst-tlsalign-static.
34896         (modules-names): Add tst-tlsalign-lib.
34897         (test-xfail-tst-tlsalign): New variable.
34898         (test-xfail-tst-tlsalign-static): New variable.
34900         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
34901         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
34903 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
34905         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
34906         csqrt, erfc, sin and sincos.
34907         * math/auto-libm-test-out: Regenerated.
34908         * sysdeps/i386/fpu/libm-test-ulps: Update.
34909         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34911 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
34913         * sysdeps/aarch64/libm-test-ulps: Update.
34915 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
34917         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
34918         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
34919         * math/auto-libm-test-out: Regenerated.
34920         * sysdeps/i386/fpu/libm-test-ulps: Update.
34921         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34923 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
34925         [BZ #18265]
34926         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
34927         (wcsncpy): Likewise.
34929 2015-05-05  Florian Weimer  <fweimer@redhat.com>
34931         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
34932         Assume __ASSUME_FALLOCATE is always true.
34933         * sysdeps/unix/sysv/linux/posix_fallocate64.c
34934         (__posix_fallocate64_l64): Likewise.
34935         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
34936         (posix_fallocate): Likewise.
34937         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
34938         (__posix_fallocate64_l64): Likewise.
34939         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34940         [!__ASSUME_FALLOCATE]: Add comment.
34942 2015-05-05  Florian Weimer  <fweimer@redhat.com>
34944         * sysdeps/unix/sysv/linux/i386/Makefile
34945         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
34946         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
34947         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
34948         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
34949         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
34950         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
34951         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
34953 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
34955         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
34956         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
34957         tgamma.
34958         * math/auto-libm-test-out: Regenerated.
34959         * sysdeps/i386/fpu/libm-test-ulps: Update.
34960         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34962 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
34964         * math/auto-libm-test-in: Add more tests of tgamma.
34965         * math/auto-libm-test-out: Regenerated.
34966         * sysdeps/i386/fpu/libm-test-ulps: Update.
34967         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34969         * math/auto-libm-test-in: Add more tests of tanh.
34970         * math/auto-libm-test-out: Regenerated.
34971         * sysdeps/i386/fpu/libm-test-ulps: Update.
34972         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34974         * math/auto-libm-test-in: Add more tests of tan.
34975         * math/auto-libm-test-out: Regenerated.
34976         * sysdeps/i386/fpu/libm-test-ulps: Update.
34977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34979         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
34980         * math/auto-libm-test-out: Regenerated.
34981         * sysdeps/i386/fpu/libm-test-ulps: Update.
34982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34984         * math/auto-libm-test-in: Add another test of pow.
34985         * math/auto-libm-test-out: Regenerated.
34986         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34988         * math/auto-libm-test-in: Add more tests of lgamma.
34989         * math/auto-libm-test-out: Regenerated.
34990         * sysdeps/i386/fpu/libm-test-ulps: Update.
34991         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34993         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
34994         log1p.
34995         * math/auto-libm-test-out: Regenerated.
34996         * sysdeps/i386/fpu/libm-test-ulps: Update.
34997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34999 2015-05-01  Mark Wielaard  <mjw@redhat.com>
35001         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
35002         Elf64_Chdr structs and ELFCOMPRESS constants.
35004 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
35006         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
35007         expm1.
35008         * math/auto-libm-test-out: Regenerated.
35009         * sysdeps/i386/fpu/libm-test-ulps: Update.
35010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35012         * math/auto-libm-test-in: Add more tests of erf and erfc.
35013         * math/auto-libm-test-out: Regenerated.
35014         * sysdeps/i386/fpu/libm-test-ulps: Update.
35015         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35017 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
35019         * config.h.in (HAVE_AARCH64_BE): Add.
35021 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
35023         * math/auto-libm-test-in: Add more tests of csqrt.
35024         * math/auto-libm-test-out: Regenerated.
35025         * sysdeps/i386/fpu/libm-test-ulps: Update.
35026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35028         * math/auto-libm-test-in: Add more tests of cosh and sinh.
35029         * math/auto-libm-test-out: Regenerated.
35030         * sysdeps/i386/fpu/libm-test-ulps: Update.
35031         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35033         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
35035 2015-04-29  Roland McGrath  <roland@hack.frob.com>
35037         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
35038         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
35040         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
35041         (euidaccess, eaccess): Define as weak aliases.
35043         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
35044         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
35045         but __suseconds_t is often 'long int' so some sources assume that
35046         type is being used (e.g. they use %ld to print tv_usec).
35048 2015-04-29  Florian Weimer  <fweimer@redhat.com>
35050         [BZ #18007]
35051         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
35052         (CVE-2014-8121)
35053         * nss/tst-nss-getpwent.c: New file.
35054         * nss/Makefile (tests): Add new test.
35056 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
35058         [BZ #18346]
35059         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
35060         exponents less than 48 as cases where high part of mantissa needs
35061         examining to determine whether argument is integral.
35062         * math/libm-test.inc (round_test_data): Add more tests.
35064 2015-04-28  Mark Wielaard  <mjw@redhat.com>
35066         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
35068 2015-04-27  David S. Miller  <davem@davemloft.net>
35070         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
35071         __tls_get_addr.
35072         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
35074 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
35076         [BZ #18333]
35077         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
35079 2015-04-27  Florian Weimer  <fweimer@redhat.com>
35081         [BZ #18333]
35082         * time/tzset.c (parse_tzname): Return error on memory allocation
35083         failure.
35084         * test-skeleton.c (struct temp_name_list): Change type of name
35085         member to non-const.
35086         (add_temp_file): Create a copy of the file name.
35087         (delete_temp_files): Deallocate memory.
35088         (create_temp_file): Add comment.
35090 2015-04-24  Florian Weimer  <fweimer@redhat.com>
35092         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
35093         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
35095 2015-04-24  Roland McGrath  <roland@hack.frob.com>
35097         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
35098         * sysdeps/arm/configure: Regenerated.
35100 2015-04-24  Florian Weimer  <fweimer@redhat.com>
35102         [BZ #17715]
35103         * time/tzfile.c (__tzfile_read): Check for large values of
35104         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
35105         * time/tzset.c (__tzstring_len): New function, based on the old
35106         __tzstring function.
35107         (__tzstring): Call __tzstring_len.
35108         (parse_tzname): New helper function extracted from
35109         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
35110         the input string.
35111         (parse_offset): New helper function extracted from
35112         __tzset_parse_tz.  Replace switch with fallthrough with
35113         initialization before sscanf.
35114         (parse_rule): Likewise.
35115         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
35116         new-style function definition.
35117         * timezone/Makefile (tests): Add tst-tzset.
35118         (tst-tzset.out): Dependencies on time zone files.
35119         (tst-tzset-ENV): Set TZDIR.
35120         (testdata/XT%): Copy crafted time zone files.
35121         * timezone/README: Mention crafted time zone files.
35122         * timezone/testdata/XT1, timezone/testdata/XT2,
35123         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
35124         files.
35125         * timezone/tst-tzset.c: New test.
35127 2015-04-24  Florian Weimer  <fweimer@redhat.com>
35129         * Makeconfig (+gccwarn): Remove -Winline.
35131 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
35133         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
35135 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
35137         * NEWS: Mention sysconf() cache information support for s390.
35138         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
35140 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
35142         * math/k_casinh.c (__kernel_casinh): Use __copysign.
35143         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
35144         (__nearbyint): Likewise.
35145         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
35146         (copysignl): Likewise.
35148 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
35150         [BZ #18287]
35151         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
35152         based on padding.  (CVE-2015-1781)
35154 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35156         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
35157         libc-vdso.h.
35158         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
35159         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
35160         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
35161         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
35162         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
35163         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
35164         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
35165         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
35166         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
35167         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
35168         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
35169         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
35170         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
35171         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
35172         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
35173         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
35174         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
35175         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
35176         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
35177         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
35178         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
35179         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
35180         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
35182 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
35184         * stdlib/setenv.c (__add_to_environ):
35185         Dump core quickly if setenv (..., NULL, ...) is called.
35186         This time, do it the right way, and pacify GCC with a pragma.
35188 2015-04-17  Roland McGrath  <roland@hack.frob.com>
35190         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
35191         IMAP->l_prev cannot be null, and #if out the code for the contrary
35192         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
35193         believe that NS (&_dl_ns[NSID]) could point outside the array.
35195         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
35196         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
35197         before using NSID as an index.
35199 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
35201         [BZ #17825]
35202         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
35203         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
35204         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
35206 2015-04-17  Roland McGrath  <roland@hack.frob.com>
35208         Add preliminary port to Google Native Client on ARM.
35209         * abi-tags (.*-.*-nacl.*): New entry.
35210         * sysdeps/arm/nacl: New directory.
35211         * sysdeps/nacl: New directory.
35213 2015-04-16  David S. Miller  <davem@davemloft.net>
35215         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
35216         lowlevellock-futex.h
35218 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
35220         * sysdeps/tile/configure.ac: New file.
35221         * sysdeps/tile/configure: Regenerated.
35223 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35225         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
35226         conditionals for weak_alias and libc_hidden_weak.
35227         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
35228         libc_hidden_weak and weak_alias.
35229         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
35230         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
35231         and weak_alias for static one.
35233 2015-04-15  David S. Miller  <davem@davemloft.net>
35235         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
35237 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
35239         [BZ #18206]
35240         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
35241           Use signed comparision instead of substraction to avoid
35242           overflow bug.
35243         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
35244           Take the sign of ret.
35245         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
35246           Do not expect precise return values. Only the sign matters.
35247         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
35248         * wcsmbs/test-wcsncmp.c: New File.
35249         * string/test-strncmp.c: Add wcsncmp support.
35251 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
35253         [BZ #6792]
35254         * math/w_log1p.c: New file.
35255         * math/w_log1pf.c: Likewise.
35256         * math/w_log1pl.c: Likewise.
35257         * math/Makefile (libm-calls): Add w_log1p.
35258         * math/s_log1pl.c (log1pl): Remove weak_alias.
35259         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
35260         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
35261         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
35262         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
35263         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
35264         [NO_LONG_DOUBLE] (log1pl): Likewise.
35265         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
35266         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
35267         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
35268         (log1p): Remove long_double_symbol.
35269         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
35270         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
35271         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
35272         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
35273         remove weak_alias for corresponding log1p function.
35274         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
35275         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
35276         * sysdeps/ia64/fpu/w_log1p.c: New file.
35277         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
35278         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
35279         * math/libm-test.inc (log1p_test_data): Add errno expectations.
35281 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
35283         [BZ #18247]
35284         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
35285         decimal exponent by 1.
35286         * stdlib/tst-strtod-round-data: Add more tests.
35287         * stdlib/tst-strtod-round.c (tests): Regenerated.
35289 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
35291         * math/auto-libm-test-in: Add more tests of clog and clog10.
35292         * math/auto-libm-test-out: Regenerated.
35293         * sysdeps/i386/fpu/libm-test-ulps: Update.
35294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35296 2015-04-09  Roland McGrath  <roland@hack.frob.com>
35298         * Makeconfig (module-cppflags): Exclude all .v.i files.
35299         (skip-module-cppflags): Variable removed.
35301         * configure.ac (libc_config_ok): Initialize before reading
35302         preconfigure scripts, not after.
35303         * configure: Regenerated.
35305         * test-skeleton.c (TIMEOUT): Move #define to top level.
35306         (main): Grok environment variable TEST_DIRECT.  If set, print
35307         test expectation details into that file and then behave as if
35308         given --direct.
35310 2015-04-09  Florian Weimer  <fweimer@redhat.com>
35312         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
35313         warning on 32-bit.
35315 2015-04-08  David S. Miller  <davem@davemloft.net>
35317         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35319 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
35321         * math/auto-libm-test-in: Add more tests of atanh.
35322         * math/auto-libm-test-out: Regenerated.
35323         * sysdeps/i386/fpu/libm-test-ulps: Update.
35324         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35326         * math/auto-libm-test-in: Add more tests of atan.
35327         * math/auto-libm-test-out: Regenerated.
35328         * sysdeps/i386/fpu/libm-test-ulps: Update.
35329         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35331 2015-04-08  Florian Weimer  <fweimer@redhat.com>
35333         * elf/pldd.c (main): Rewrite to use struct
35334         scratch_buffer instead of extend_alloca.
35335         * elf/pldd-xx.c (find_maps): Likewise.
35336         * grp/initgroups.c: Include <scratch_buffer.h> instead of
35337         <alloca.h>.
35338         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
35339         scratch_buffer instead of extend_alloca.
35340         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
35341         grp/compat-initgroups.c.
35342         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
35343         Rewrite to use struct scratch_buffer instead of extend_alloca.
35344         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
35345         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
35347 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
35349         * math/auto-libm-test-in: Add more tests of cbrt.
35350         * math/auto-libm-test-out: Regenerated.
35351         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35353         * math/auto-libm-test-in: Add more tests of cabs.
35354         * math/auto-libm-test-out: Regenerated.
35355         * sysdeps/i386/fpu/libm-test-ulps: Update.
35356         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35358         [BZ #18210]
35359         [BZ #18211]
35360         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
35361         (__ieee754_atan2): Set FE_TONEAREST mode for internal
35362         computations.
35363         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
35364         clog10.
35365         * math/auto-libm-test-out: Regenerated.
35366         * sysdeps/i386/fpu/libm-test-ulps: Update.
35367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35369         [BZ #18197]
35370         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
35371         (atan): Set FE_TONEAREST mode for internal computations.
35372         * math/auto-libm-test-in: Add more tests of atan.
35373         * math/auto-libm-test-out: Regenerated.
35375 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
35377         [BZ #17930]
35378         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
35380 2015-04-07  Florian Weimer  <fweimer@redhat.com>
35382         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
35384 2015-04-07  Florian Weimer  <fweimer@redhat.com>
35386         * include/scratch_buffer.h: New file.
35387         * malloc/scratch_buffer_grow.c: Likewise.
35388         * malloc/scratch_buffer_grow_preserve.c: Likewise.
35389         * malloc/scratch_buffer_set_array_size.c: Likewise.
35390         * malloc/tst-scratch_buffer.c: Likewise.
35391         * malloc/Makefile (routines): Add scratch_buffer_grow.
35392         (tests): Add test case.
35393         * malloc/Versions (GLIBC_PRIVATE): Export
35394         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
35395         __libc_scratch_buffer_set_array_size.
35397 2015-04-06  Richard Henderson  <rth@redhat.com>
35399         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
35400         * sysdeps/alpha/fpu/libm-test-ulps: Update.
35402         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
35403         unsigned int before printing.
35405 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
35407         [BZ #17596]
35408         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
35409         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
35411 2015-04-02  Florian Weimer  <fweimer@redhat.com>
35413         * include/libc-internal.h (libc_max_align_t): Define.
35415 2015-04-02  Andreas Schwab  <schwab@suse.de>
35417         [BZ #16850]
35418         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
35420 2015-04-02  Mel Gorman  <mgorman@suse.de>
35422         [BZ #17195]
35423         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
35424         as well as the main arena.
35426 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
35428         [BZ #18185]
35429         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
35430         sharing L2 cache to 2 for Silvermont/Knights Landing.
35432 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
35434         [BZ #17711]
35435         * config.make.in (have-protected-data): New.
35436         * configure.ac: Check linker support for protected data symbol.
35437         * configure: Regenerated.
35438         * elf/Makefile (modules-names): Add tst-protected1moda and
35439         tst-protected1modb if $(have-protected-data) is yes.
35440         (tests): Add tst-protected1a and tst-protected1b if
35441         $(have-protected-data) is yes.
35442         ($(objpfx)tst-protected1a): New.
35443         ($(objpfx)tst-protected1b): Likewise.
35444         (tst-protected1modb.so-no-z-defs): Likewise.
35445         * elf/tst-protected1a.c: New file.
35446         * elf/tst-protected1b.c: Likewise.
35447         * elf/tst-protected1mod.h: Likewise.
35448         * elf/tst-protected1moda.c: Likewise.
35449         * elf/tst-protected1modb.c: Likewise.
35451 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
35453         [BZ #17711]
35454         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
35455         indicates it is called from do_lookup_x on relocation against
35456         protected data, skip the data definion in the executable from
35457         copy reloc.
35458         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
35459         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
35460         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
35461         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
35462         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
35463         otherwise to 0.
35464         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
35465         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
35466         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
35467         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
35468         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
35469         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
35471 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
35473         * sysdeps/nptl/pthread.h: Remove duplicate definition of
35474         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
35476 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
35478         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
35479         THREAD_SETMEM_NC.
35480         * sysdeps/x86_64/nptl/tls.h: Ditto.
35482 2015-03-27  Roland McGrath  <roland@hack.frob.com>
35484         * dlfcn/tststatic.c (main): Converted to ...
35485         (do_test): ... this.
35486         (TEST_FUNCTION): New macro.
35487         Include test-skeleton.c.
35489 2015-03-26  Alan Modra  <amodra@gmail.com>
35491         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
35492         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
35493         zero for undefined weak.
35494         (elf_machine_plt_conflict): Similarly.
35496 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
35498         * math/auto-libm-test-in: Add more tests of acosh, asinh and
35499         atanh.
35500         * math/auto-libm-test-out: Regenerated.
35501         * sysdeps/i386/fpu/libm-test-ulps: Update.
35502         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35504         * math/auto-libm-test-in: Add another test of asin.
35505         * math/auto-libm-test-out: Regenerated.
35506         * sysdeps/i386/fpu/libm-test-ulps: Update.
35507         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35509         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
35510         Remove macro.
35511         (LLL_EBX_REG): Likewise.
35512         (LLL_ENTER_KERNEL): Likewise.
35514         * math/auto-libm-test-in: Add more tests of asin.
35515         * math/auto-libm-test-out: Regenerated.
35516         * sysdeps/i386/fpu/libm-test-ulps: Update.
35517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35519         [BZ #18138]
35520         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
35521         libc_do_syscall_args): New structure.
35522         (INTERNAL_SYSCALL_MAIN_0): New macro.
35523         (INTERNAL_SYSCALL_MAIN_1): Likewise.
35524         (INTERNAL_SYSCALL_MAIN_2): Likewise.
35525         (INTERNAL_SYSCALL_MAIN_3): Likewise.
35526         (INTERNAL_SYSCALL_MAIN_4): Likewise.
35527         (INTERNAL_SYSCALL_MAIN_5): Likewise.
35528         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
35529         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
35530         Replace conditional definitions by conditional definitions of ....
35531         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
35532         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
35533         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
35534         (libpthread-sysdep_routines): Add libc-do-syscall.
35535         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
35536         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
35537         to __NR_futex not 240.
35539 2015-03-25  Alan Modra  <amodra@gmail.com>
35541         * NEWS: Advertise TLS optimization.
35542         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
35543         (DT_PPC_NUM): Increment.
35544         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
35545         (CHECK_STATIC_TLS): Use here.
35546         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
35547         TLS descriptors.
35548         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
35549         * sysdeps/powerpc/dl-tls.c: New file.
35550         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
35551         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
35552         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
35553         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
35554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
35555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
35556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
35558 2015-03-25  Alan Modra  <amodra@gmail.com>
35560         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
35561         for overlapping .opd entries" to "support...".
35562         * sysdeps/powerpc/powerpc64/configure: Regenerate
35564 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
35566         * math/auto-libm-test-in: Add more tests of acos.
35567         * math/auto-libm-test-out: Regenerated.
35568         * sysdeps/i386/fpu/libm-test-ulps: Update.
35569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35571         * math/auto-libm-test-in: Add more tests of expm1.
35572         * math/auto-libm-test-out: Regenerated.
35573         * sysdeps/i386/fpu/libm-test-ulps: Update.
35574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35576 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
35578         * math/auto-libm-test-in: Add more tests of cosh and sinh.
35579         * math/auto-libm-test-out: Regenerated.
35580         * sysdeps/i386/fpu/libm-test-ulps: Update.
35581         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35583         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
35584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35586         * math/auto-libm-test-in: Add more tests of log2.
35587         * math/auto-libm-test-out: Regenerated.
35588         * sysdeps/i386/fpu/libm-test-ulps: Update.
35589         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35591 2015-03-23  Roland McGrath  <roland@hack.frob.com>
35593         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
35594         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
35595         _IO_IS_APPENDING bit in READ_WRITE instead.
35597 2015-03-23  Florian Weimer  <fweimer@redhat.com>
35599         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
35600         (__determine_cpumask_size): Replace extend_alloca with a
35601         variable-length array.  Do not treat res == 0 as an error.
35603 2015-03-23  Florian Weimer  <fweimer@redhat.com>
35605         [BZ #18100]
35606         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
35607         and integer overflow.
35608         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
35609         (main): Add integer overflow tests.
35610         * manual/pattern.texi (Calling Wordexp): Document additional use
35611         for WRDE_SYNTAX.
35613 2015-03-23  Alan Modra  <amodra@gmail.com>
35615         * config.h.in: Remove HAVE_ASM_PPC_REL16.
35616         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
35617         and false branch of conditional.
35618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
35619         Likewise.
35621 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
35623         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
35624         libc-modules.h
35625         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
35626         unused declaration of _hurd_intr_rpc_msg_in_trap.
35627         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
35628         defined instead of whether it is non-zero.
35629         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
35630         input constraint instead of both input and output constraint.  Use ecx
35631         clobber instead of %ecx.
35632         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
35633         mutex_unlock): Use a statement expression instead of an expression list.
35634         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
35635         type to vm_size_t instead of vm_address_t.
35636         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
35637         defined instead of whether it is non-zero.
35638         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
35639         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
35640         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
35641         comparisons with mapaddr.
35642         * nscd/nscd-client.h: Include <time.h>.
35643         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
35644         9th parameter to __vm_region instead of int.
35645         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
35646         * scripts/check-local-headers.sh (exclude): Add device/,
35647         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
35648         cthreads.h.
35650 2015-03-19  Roland McGrath  <roland@hack.frob.com>
35652         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
35653         to account for alignment padding.
35654         * sysdeps/arm/memmove.S: Likewise.
35656 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
35658         * sysdeps/unix/sysv/linux/generic/README: New file.
35660 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
35662         [BZ #18138]
35663         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
35664         (futex_abstimed_wait)
35665         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
35666         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
35667         of lll_futex_timed_wait.
35669 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
35671         [BZ #17542]
35672         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
35674 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
35676         [BZ #17090]
35677         [BZ #17620]
35678         [BZ #17621]
35679         [BZ #17628]
35680         * NEWS: Update.
35681         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
35682         entries with Static TLS too.  Skip entries past the end of the
35683         allocated DTV, from Alan Modra.
35684         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
35685         Static TLS DTV entry set up from...
35686         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
35687         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
35688         * nptl/allocatestack.c (init_one_static_tls): ... and here...
35689         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
35690         for Static TLS.
35691         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
35692         that the slot we find is associated with the given map before
35693         using its generation count.
35694         * nptl_db/db_info.c: Include ldsodefs.h.
35695         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
35696         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
35697         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
35698         (link_map::l_tls_offset): New struct field.
35699         (dtv_t::counter): Likewise.
35700         (rtld_global): New struct.
35701         (_rtld_global): New rtld variable.
35702         (dl_tls_dtv_slotinfo_list): New rtld global field.
35703         (dtv_slotinfo_list): New struct.
35704         (dtv_slotinfo): Likewise.
35705         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
35706         (td_lookup): Rename to...
35707         (td_mod_lookup): ... this.  Use new mod parameter instead of
35708         LIBPTHREAD_SO.
35709         * nptl_db/td_thr_tlsbase.c: Include link.h.
35710         (dtv_slotinfo_list, dtv_slotinfo): New functions.
35711         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
35712         addresses even if the DTV is out of date or missing them.
35713         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
35714         index zero-length arrays.
35715         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
35716         (td_lookup): Make it a macro implemented in terms of...
35717         (td_mod_lookup): ... this declaration.
35718         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
35719         (DB_MAIN_VARIABLE): Likewise.
35721 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
35723         [BZ #18134]
35724         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
35726 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
35728         * stdlib/setenv.c (__add_to_environ): Revert previous change.
35730 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
35732         [BZ #18128]
35733         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
35734         (atomic_add, atomic_increment_and_test)
35735         (atomic_decrement_and_test): Fix 64-bit arithmetic.
35737 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
35739         * stdlib/setenv.c (__add_to_environ):
35740         Dump core quickly if setenv (..., NULL, ...) is called.
35742 2015-03-13  Roland McGrath  <roland@hack.frob.com>
35744         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
35745         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
35746         all the necessary asm magic in one place.
35747         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
35748         using those.
35750 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
35752         [BZ #14906]
35753         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
35754         traced file mtime. Use consistent log message.
35755         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
35756         (register_traced_file): Call install_watches. Always set mtime.
35757         (invalidate_cache): Iterate over all trace files. Call install_watches.
35758         (inotify_check_files): Don't inline. Handle watching parent
35759         directories and configuration file movement in and out.
35760         (handle_inotify_events): New function.
35761         (main_loop_poll): Call handle_inotify_events.
35762         (main_loop_epoll): Likewise.
35763         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
35764         (struct traced_file): Use array of inotify fds. Add parent directory,
35765         and basename.
35766         (struct database_dyn): Remove unused file_mtime.
35767         (init_traced_file): New inline function.
35768         (define_traced_file): New macro.
35769         * nss/nss_db/db-init.c: Use define_traced_file.
35770         (_nss_db_init): Use init_traced_file.
35771         * nss/nss_files/files-init.c: Use define_traced_file.
35772         (_nss_files_init): Use init_traced_file.
35774 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
35776         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
35777         [_LIBC]: Do not include <stdlib.h>.
35778         [!_LIBC] (abort): Remove declaration.
35779         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
35780         _FP_STATIC_ASSERT instead of conditionally calling abort.
35781         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
35782         (_FP_EXTEND_CNAN): Likewise.
35783         (FP_TRUNC): Likewise.
35784         (__FP_CLZ): Likewise.
35785         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
35787 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
35789         * manual/string.texi (XPG basename): Fix prototype.
35791 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
35793         [BZ #18080]
35794         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
35795         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
35796         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
35797         (__setcontext): Likewise.
35798         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
35799         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
35800         Call rt_sigprocmask syscall one time to set new signal mask
35801         and retrieve the current signal mask instead of two calls.
35802         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
35803         (__swapcontext): Likewise.
35804         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
35805         * stdlib/tst-setcontext2.c: New file.
35807 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
35809         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35811 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
35813         [BZ #18093]
35814         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
35815         the wrong size.
35817 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
35819         [BZ #18043]
35820         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
35822 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
35824         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
35825         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
35826         Remove define.
35827         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
35828         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
35829         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
35830         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
35831         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
35832         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
35833         define.
35834         * nptl_db/td_symbol_list.c (td_lookup): Remove
35835         HAVE_ASM_GLOBAL_DOT_NAME code.
35836         * sysdeps/powerpc/powerpc64/configure.ac: Remove
35837         HAVE_ASM_GLOBAL_DOT_NAME check.
35838         * sysdeps/powerpc/powerpc64/configure: Regenerate.
35839         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
35840         (DOT_LABEL): Remove define.
35841         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
35842         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
35843         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
35844         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
35845         (__TLS_GET_ADDR): Likewise.
35846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
35847         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
35849 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
35851         [BZ #18111]
35852         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
35853         (_FPU_SETCW): Initialize cw from fpsr before storing.
35854         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
35855         (fesetexceptflag): Rewrite using fpu_control.h.
35856         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
35858 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
35860         [BZ #18110]
35861         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
35862         asms.
35863         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
35865 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
35867         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
35868         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
35869         abort.
35870         (_FP_FMA): Likewise.
35871         (_FP_DIV): Likewise.
35873 2015-03-10  Roland McGrath  <roland@hack.frob.com>
35875         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
35876         with 0 in that case.
35877         * Makefile (summarize-tests): New canned sequence, factored out of
35878         commands for targets tests and xtests.  Display summary lines that
35879         don't start with PASS: or XFAIL: rather than ones that do start with
35880         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
35881         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
35882         do start with ERROR: or FAIL:.
35883         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
35884         (except for [$(build-shared) = yes]).
35885         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
35886         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
35887         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
35888         * nptl/Makefile: Revert 2015-03-04 changes.
35889         [$(CXX) empty] (tests-unsupported): New variable.
35890         * debug/Makefile: Likewise.
35892         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
35893         gnulib file.  Replace __attribute with __attribute__ throughout.
35895 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
35897         * sysdeps/hppa/fpu/libm-test-ulps: Update.
35899 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
35901         [BZ #18104]
35902         * math/auto-libm-test-in: Add another test of pow.
35903         * math/auto-libm-test-out: Regenerated.
35905 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35907         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
35908         $(config-cflags-nofma).
35910 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
35912         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
35913         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
35914         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
35915         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
35916         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
35917         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
35918         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
35919         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
35920         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
35921         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
35922         Add comment on closing #endif.
35924 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
35926         * posix/wordexp.c (CHAR_IN_SET): New macro.
35927         (parse_param): Use it.
35929 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35931         * sysdeps/powerpc/fpu/libm-test-ulps: update.
35933 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
35935         [BZ #18043]
35936         * posix/wordexp.c (parse_param): Fix buffer overflow.
35937         * posix/wordexp-test.c (test_case): Add test case.
35939 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
35941         [BZ #18042]
35942         * posix/wordexp.c (parse_backtick): Fix off-by-one.
35943         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
35945 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
35947         [BZ #18043]
35948         * posix/wordexp-test.c (test_case): Add test for BZ #18043
35949         (do_bz18043): Delete.
35950         (at_page_end): New.
35951         (testit): Refactor to have words at the edge of unreadable page.
35953 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
35955         [BZ #16734]
35956         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
35957         Cleanup read-only streams as well.
35958         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
35960 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35962         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
35963         <bits/libc-lockP.h>
35965 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
35967         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
35968         on [__KERNEL__].
35969         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
35970         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
35971         * soft-fp/op-common.h (_FP_DECL): Likewise.
35973 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
35975         * elf/ifuncdep2.c (global): Replace
35976         __attribute__((visibility("protected"))) with
35977         asm (".protected global").
35978         * elf/ifuncmod1.c (global): Likewise.
35979         * elf/ifuncmod5.c (global): Likewise.
35981 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
35983         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
35984         <asm/sfp-machine.h> instead of <sfp-machine.h>.
35986 2015-03-06  Roland McGrath  <roland@hack.frob.com>
35988         * manual/install.texi (Configuring and compiling):
35989         Document test-wrapper-env-only.
35990         * INSTALL: Regenerated.
35992 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
35994         [BZ #18043]
35995         * posix/wordexp.c (parse_param): Fix buffer overflow.
35996         * posix/wordexp-test.c (do_bz18043): Add test case.
35998 2015-03-06  Vincent Bernat  <vincent@bernat.im>
36000         * time/tst-strptime2.c (do_test): Ensure failing tests are
36001         reported correctly.
36002         * time/tst-strptime3.c (do_test): Likewise.
36004 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
36006         Fix aio_error thread-safety.
36007         * sysdeps/pthread/aio_error.c: New file
36008         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
36009         synchronization.
36011 2015-03-06  Florian Weimer  <fweimer@redhat.com>
36013         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
36014         (group_number, vfprintf): Use it.
36015         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
36016         (JUMP, REF): Use it.
36017         (WORK_BUFFER_SIZE): New enum constant.
36018         (process_arg, vfprintf): Use it.
36020 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
36022         * manual/errno.texi (Error Messages): Complete example function
36023         by adding missing #define.
36024         (program_invocation_name): Add statement indicating GNU
36025         extension and reference which header file declares the variable.
36026         (program_invocation_short_name): Likewise.
36028 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
36030         * manual/errno.texi (Error Messages): Delete strerror ISO C89
36031         compatibility note.
36033 2015-03-05  Roland McGrath  <roland@hack.frob.com>
36035         * Makeconfig (test-wrapper-env-only): New variable.
36036         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
36037         then use that with $(test-wrapper-env-only) rather than using
36038         $(test-wrapper-env) $(run-program-env) $($*-ENV).
36040 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
36042         [BZ #18082]
36043         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
36044         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
36045         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
36046         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
36047         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
36048         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
36049         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
36050         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
36051         Likewise.
36052         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
36053         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
36054         Likewise.
36055         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
36056         Likewise.
36057         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
36058         Likewise.
36059         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
36060         Likewise.
36061         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
36062         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
36063         Likewise.
36064         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
36065         Likewise.
36066         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
36067         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
36069 2015-03-04  Roland McGrath  <roland@hack.frob.com>
36071         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
36072         (ETH_ALEN): New macro.
36073         (struct ether_addr): Use it for length of ether_addr_octet.
36075         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
36076         (setdb): Don't call __nss_configure_lookup for "rpc".
36077         (do_test): Don't call test_rpc.
36078         (output_rpcent, test_rpc): Functions moved ...
36079         * sunrpc/test-rpcent.c: ... to this new file.
36080         * sunrpc/Makefile (tests): Add it.
36082         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
36083         __xpg_sigpause.
36084         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
36085         * nptl/tst-signal6.c: Likewise.
36086         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
36087         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
36089         * configure.ac (libc_cv_cxx_link_ok): New check.
36090         Reset CXX to empty if it fails to link.
36091         * configure: Regenerated.
36092         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
36093         bug-atexit3-lib only if $(CXX) is nonempty.
36094         * nptl/Makefile (tests): Likewise for tst-cancel24.
36095         (tests, tests-static): Likewise for tst-cancel24-static.
36096         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
36097         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
36098         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
36099         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
36101 2015-03-04  Andreas Schwab  <schwab@suse.de>
36103         [BZ #17631]
36104         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
36105         for non-GCC compilers.
36106         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
36107         Likewise.
36109 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
36111         [BZ #17776]
36112         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
36113         integer before bitwise and assembly operations.
36114         (feclearexcept): Likewise.
36115         * math/test-fenvinline.c: New file.
36116         * math/Makefile: Add test-fenvinline test.
36118 2015-03-03  Alan Modra  <amodra@gmail.com>
36120         [BZ #16512]
36121         * scripts/localplt.awk: Strip off symbol version.
36122         * NEWS: Mention bug fix.
36124 2015-03-02  Roland McGrath  <roland@hack.frob.com>
36126         * sysdeps/pthread/timer_routines.c
36127         (timer_free_list, thread_free_list, thread_active_list): Make static.
36129 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
36131         [BZ #17779]
36132         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
36133         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
36134         Undefine.
36135         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36136         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
36137         Likewise.
36138         * sysdeps/unix/sysv/linux/sh/kernel-features.h
36139         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
36140         Likewise.
36142 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
36144         [BZ #18036]
36145         * posix/fnmatch_loop.c (END): Detect invalid pattern.
36146         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
36148 2015-03-02  Andreas Schwab  <schwab@suse.de>
36150         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
36151         variable name.
36153 2015-03-02  Florian Weimer  <fweimer@redhat.com>
36155         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
36156         Return error status.
36158 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
36160         [BZ #15969]
36161         * locale/findlocale.c (_nl_find_locale): Introduce const
36162         version of loc_name and drop unsafe type casts.
36164 2015-02-27  Roland McGrath  <roland@hack.frob.com>
36166         * dlfcn/tststatic2.c (main): Converted to ...
36167         (do_test): ... this.
36168         (TEST_FUNCTION): New macro.
36169         Include test-skeleton.c.
36171 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
36173         [BZ #17711]
36174         * elf/Makefile (tests): Add vismain only if PIE is enabled.
36175         (tests-pie): Add vismain.
36176         (CFLAGS-vismain.c): New.
36177         * elf/vismain.c: Add comments for PIE requirement.
36179 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
36181         [BZ #18046]
36182         [BZ #18047]
36183         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
36184         0x1p-56L as threshold for just returning the argument.
36185         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
36186         0x1p-32L as threshold for just returning the argument.
36187         * math/auto-libm-test-in: Add more tests of atanh.
36188         * math/auto-libm-test-out: Regenerated.
36189         * sysdeps/i386/fpu/libm-test-ulps: Update.
36190         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
36192 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
36194         * string/bcopy.c (bcopy): Call memmove for performance.
36196 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
36198         * string/bzero.c (__bzero): Call memset for performance.
36200 2015-02-27  John David Anglin  <dave.anglin@bell.net>
36202         [BZ #18068]
36203         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
36204         to 00100000.
36206 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
36208         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
36210 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
36212         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
36213         (__kernel_standard): Use CSTR macro when setting exc.name.
36214         * sysdeps/ieee754/Makefile [$(subdir) = math]
36215         (CFLAGS-k_standard.c): Remove variable.
36217         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
36218         setting p and q from "else if" to "else".
36219         (qzero): Likewise.
36220         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
36221         (qone): Likewise.
36222         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
36223         (qzerof): Likewise.
36224         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
36225         (qonef): Likewise.
36226         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
36227         (qzero): Likewise.
36228         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
36229         (qone): Likewise.
36231         [BZ #18038]
36232         [BZ #18039]
36233         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
36234         return pi/2 for arguments below 0x1p-113L.
36235         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
36236         return pi/2 for arguments below 0x1p-106L.
36237         * math/auto-libm-test-in: Add more tests of acos.
36238         * math/auto-libm-test-out: Regenerated.
36240         [BZ #16351]
36241         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
36242         (MO): New macro.
36243         (__ieee754_asin): Force underflow exception for results with small
36244         absolute value.
36245         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
36246         (MO): New macro.
36247         (__ieee754_asinf): Force underflow exception for results with
36248         small absolute value.
36249         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
36250         (__ieee754_asin): Force underflow exception for results with small
36251         absolute value.
36252         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
36253         (__ieee754_asinf): Force underflow exception for results with
36254         small absolute value.
36255         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
36256         (__ieee754_asinl): Force underflow exception for results with
36257         small absolute value.
36258         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
36259         (__ieee754_asinl): Force underflow exception for results with
36260         small absolute value.
36261         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
36262         (__ieee754_asinl): Force underflow exception for results with
36263         small absolute value.
36264         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
36265         Include <math.h>.
36266         * math/auto-libm-test-in: Do not mark underflow exceptions as
36267         possibly missing for bug 16351.
36268         * math/auto-libm-test-out: Regenerated.
36270         [BZ #18030]
36271         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
36272         of power of 2 down when low part has opposite sign.
36273         * math/libm-test.inc (logb_test_data): Add more tests.
36275 2015-02-26  Andreas Schwab  <schwab@suse.de>
36277         [BZ #18032]
36278         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
36279         over collating symbol inside a bracket expression.  Minor cleanup.
36280         * posix/tst-fnmatch3.c (do_test): Add test case.
36282 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
36284         [BZ #18029]
36285         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
36286         Adjust exponent of power of 2 down when low part has opposite
36287         sign.
36288         * math/libm-test.inc (ilogb_test_data): Add more tests.
36290 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
36292         [BZ #15969]
36293         * locale/findlocale.c (_nl_find_locale): Fix constness error in
36294         the previous change.
36296         [BZ #15969]
36297         * locale/findlocale.c (_nl_find_locale): Retry archive search
36298         after alias expansion.
36300 2015-02-25  Roland McGrath  <roland@hack.frob.com>
36302         * iconv/tst-iconv3.c (main): Converted to ...
36303         (do_test): ... this.
36304         (TEST_FUNCTION): New macro.
36305         Include test-skeleton.c.
36307         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
36308         (convert): Make function static.
36309         (test_unalign): Likewise.  Add const to argument pointee types.
36310         (main): Replace with static function do_test.
36311         Print "Succeeded." only if RET is zero.
36312         (TEST_FUNCTION): New macro.
36313         Include test-skeleton.c.
36315         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
36316         returns a null pointer.
36318 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36320         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
36321         to __memcpy_ppc only for static builds.
36323 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
36325         [BZ #18020]
36326         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
36327         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
36328         * math/auto-libm-test-in: Add more tests of asinh.
36329         * math/auto-libm-test-out: Regenerated.
36330         * sysdeps/i386/fpu/libm-test-ulps: Update.
36331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36333 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
36335         [BZ #15850]
36336         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
36337         and ip6_mtuinfo definitions here.
36338         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
36339         in this define too.  Update comment.
36341 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
36343         * elf/sprof.c (load_shobj): Tweak error message to match others.
36345 2015-02-24  Kevin Easton  <kevin@guarana.org>
36347         [BZ #16145] (partial fix)
36348         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
36349         to reduce lock contention.
36351 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
36353         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
36354         (struct timex): Update time comment.
36355         (ADJ_SETOFFSET): Define.
36357 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
36359         [BZ #18019]
36360         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
36361         2**56 not 2**28 as threshold for log (2x) formula.
36362         * math/auto-libm-test-in: Add more tests of acosh.
36363         * math/auto-libm-test-out: Regenerated.
36364         * sysdeps/i386/fpu/libm-test-ulps: Update.
36365         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36367 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
36369         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
36370         parenthesis around the buf assignment.
36371         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
36373 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
36375         [BZ #16783]
36376         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
36377         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
36378         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
36379         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
36380         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
36381         * math/libm-test.inc (scalb_test_data): Add more tests.
36383 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
36385         [BZ #17916]
36386         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
36387         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
36389 2015-02-24  Eric Rannaud  <e@nanocritical.com>
36391         [BZ #17523]
36392         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
36393         * io/bits/fcntl2.h (open): Use it.
36394         (openat): Likewise.
36395         * io/open.c (__libc_open): Likewise.
36396         * io/open64.c (__libc_open64): Likewise.
36397         * io/open64_2.c (__open64_2): Likewise.
36398         * io/open_2.c (__open_2): Likewise.
36399         * io/openat.c (__openat): Likewise.
36400         * io/openat64.c (__openat64): Likewise.
36401         * io/openat64_2.c (__openat64_2): Likewise.
36402         * io/openat_2.c (__openat_2): Likewise.
36403         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
36404         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
36405         * sysdeps/posix/open64.c (__libc_open64): Likewise.
36406         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
36407         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
36408         (__open_nocancel): Likewise.
36409         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
36410         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
36411         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
36413 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36415         [BZ #14841]
36416         * resolv/gethnamaddr.c (getanswer): Skip logging if
36417         RES_USE_DNSSEC is set.
36418         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
36420 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
36422         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
36424 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
36426         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
36427         201304L, for Unicode 7.
36429 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
36431         [BZ #17836]
36432         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
36433         shared library.  Add gmon-start.os otherwise.
36434         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
36435         $(objpfx)gmon-start.os if builing shared library.
36436         ($(objpfx)g$(static-start-installed-name)): Likewise.
36438 2015-02-23  Andreas Schwab  <schwab@suse.de>
36440         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
36442 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
36444         [BZ #17269]
36445         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
36446         (enlarge_userbuf): Likewise.
36448 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
36450         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
36451         * math/atest-exp.c (TIMEOUT): Adjust to 200.
36452         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
36453         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
36455 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
36457         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
36458         expression inside statement expression.
36460 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
36462         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
36463         <sysdeps/nptl/lowlevellock.h> and remove macros and
36464         functions that are now defined there.
36465         (SYS_futex): Remove.
36466         (lll_compare_and_swap): Remove.
36467         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
36469 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
36471         [BZ #17999]
36472         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
36473         instead of scandirat.
36474         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
36475         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
36476         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
36477         __scandirat.
36478         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
36479         (__scandirat): Declare.  Use libc_hidden_proto.
36480         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
36481         Remove variable.
36482         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
36484 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
36486         [BZ #15319]
36487         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
36488         (MO): New macro.
36489         (__ieee754_atan2): For results with small absolute value, force
36490         underflow exception and remove excess range and precision from
36491         return value.
36492         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
36493         (MO): New macro.
36494         (__ieee754_atan2f): For results with small absolute value, force
36495         underflow exception and remove excess range and precision from
36496         return value.
36497         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
36498         (MO): New macro.
36499         (__atan): For results with small absolute value, force underflow
36500         exception and remove excess range and precision from return value.
36501         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
36502         (MO): New macro.
36503         (__atanf): For results with small absolute value, force underflow
36504         exception and remove excess range and precision from return value.
36505         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
36506         <math.h>.
36507         (__ieee754_atan2): Force underflow exception for results with
36508         small absolute value.
36509         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
36510         <math_private.h>.
36511         (atan): Force underflow exception for results with small absolute
36512         value.
36513         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
36514         (__atanf): Force underflow exception for results with small
36515         absolute value.
36516         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
36517         <math.h>.
36518         (__atanl): Force underflow exception for results with small
36519         absolute value.
36520         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
36521         (__atanl): Force underflow exception for results with small
36522         absolute value.
36523         * sysdeps/x86/fpu/bits/mathinline.h
36524         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
36525         (__ieee754_atan2): Only define inline for long double.
36526         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
36527         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
36528         * math/auto-libm-test-in: Do not mark underflow exceptions as
36529         possibly missing for bug 15319.  Add more tests of atan2.
36530         * math/auto-libm-test-out: Regenerated.
36531         * math/libm-test.inc (casin_test_data): Do not mark underflow
36532         exceptions as possibly missing for bug 15319.
36533         (casinh_test_data): Likewise.
36534         * sysdeps/i386/fpu/libm-test-ulps: Update.
36536 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
36538         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
36539         * sysdeps/mips/bits/endian.h: Fix comments.
36541 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
36543         [BZ #17996]
36544         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
36545         (hdestroy_r): Likewise.
36546         (hsearch_r): Likewise.
36547         (__hcreate_r): Declare and use libc_hidden_proto.
36548         (__hdestroy_r): Likewise.
36549         (__hsearch_r): Likewise.
36550         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
36551         (hcreate): Call __hcreate_r instead of hcreate_r.
36552         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
36553         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
36554         as weak alias of __hcreate_r.
36555         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
36556         __hdestroy_r.
36557         (hsearch_r): Rename to __hsearch_r and define as weak alias of
36558         __hsearch_r.
36559         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
36560         Remove variable.
36561         (test-xfail-XPG4/search.h/linknamespace): Likewise.
36562         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
36563         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
36564         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
36566 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
36568         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
36569         arena_lock into a single arena_get.
36571 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
36573         * dl-reloc.c: Inlucde libc-internal.h.
36574         (_dl_try_allocate_static_tls): Call ALIGN_UP.
36575         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
36576         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
36577         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
36578         (grow_heap): Likewise.
36579         * malloc/malloc.c: Include libc-internal.h.
36580         (do_check_malloc): Call powerof2.
36581         (sysmalloc): Use pagesize. Call ALIGN_UP.
36582         (systrim): Use pagesize.
36583         (mremap_chunk): Use pagesize. Call ALIGN_UP.
36584         (__libc_valloc): Use pagesize.
36585         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
36587 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
36589         [BZ #17991]
36590         * include/sys/resource.h (__getrlimit64): Declare.  Use
36591         libc_hidden_proto.
36592         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
36593         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
36594         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
36595         getrlimit64.
36596         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
36597         __getrlimit64.
36598         [!getrlimit64] (getrlimit64): Define as weak alias of
36599         __getrlimit64.  Use libc_hidden_weak.
36600         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
36601         using __getrlimit64 not __new_getrlimit64.
36602         (__GI_getrlimit64): Likewise.
36603         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
36604         Likewise.
36605         (__GI_getrlimit64): Likewise.
36606         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
36607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
36608         (getrlimit): Add __getrlimit64 alias.
36609         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
36610         Likewise.
36611         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
36612         Remove variable.
36613         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
36614         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
36616 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
36618         * libio/fileops.c: Add missing sys/mman.h
36619         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
36621 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
36623         * manual/math.texi (Errors in Math Functions): Clarify goals
36624         regarding inexact and underflow exceptions.
36626 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
36628         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
36629         * sysdeps/mips/memset.S: Ditto.
36631 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
36633         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
36635 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
36637         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
36638         (__v1longjmp): Remove versioned symbol.
36639         (__v1siglongjmp): Remove alias and versioned symbol.
36640         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
36641         (__v2siglongjmp): Likewise.
36643 2015-02-16  Torvald Riegel  <triegel@redhat.com>
36645         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
36647 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
36649         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
36651 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
36653         [BZ #17987]
36654         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
36655         zero result does not depend on the sign resulting from
36656         subtraction.
36657         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
36658         Likewise.
36659         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
36660         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
36661         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
36662         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
36663         * math/libm-test.inc (remquo_test_data): Add more tests.
36665 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
36667         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
36668         Problem reported by J William Piggott.
36670 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
36672         [BZ #17978]
36673         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
36674         products 4 * y and 2 * y where those would overflow.
36675         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
36676         Likewise.
36677         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
36678         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
36679         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
36680         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
36681         * math/libm-test.inc (remquo_test_data): Add more tests.
36683         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
36685         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
36686         [defined _COMPILING_NEWLIB].
36687         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
36688         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
36690         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
36691         [!defined __mips_isa_rev || __mips_isa_rev < 6].
36693 2015-02-16  Torvald Riegel  <triegel@redhat.com>
36695         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
36696         acquired.
36698 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
36700         [BZ #17792]
36701         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
36702         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
36703         HOST_STACK_END_ADDR): Likewise.
36705 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
36707         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
36708         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
36709         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
36711 2015-02-13  Roland McGrath  <roland@hack.frob.com>
36713         * sysdeps/generic/c++-types.data: New file.
36714         * sysdeps/generic/ld.abilist: New file.
36715         * sysdeps/generic/libBrokenLocale.abilist: New file.
36716         * sysdeps/generic/libanl.abilist: New file.
36717         * sysdeps/generic/libc.abilist: New file.
36718         * sysdeps/generic/libcrypt.abilist: New file.
36719         * sysdeps/generic/libdl.abilist: New file.
36720         * sysdeps/generic/libm.abilist: New file.
36721         * sysdeps/generic/libpthread.abilist: New file.
36722         * sysdeps/generic/libresolv.abilist: New file.
36723         * sysdeps/generic/librt.abilist: New file.
36725 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
36727         [BZ #17569]
36728         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
36729         Compute absolute value of x as modified by fmod, not original
36730         value of x.
36731         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
36732         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
36733         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
36734         RUN_TEST_ffI_f1_mod8.
36735         (remquo_test_data): Add more tests.
36737 2015-02-13  Roland McGrath  <roland@hack.frob.com>
36739         * sysdeps/init_array/pt-crti.S: New file.
36741 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
36743         [BZ #17967]
36744         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
36745         __builtin_fmaf instead of relying on contraction of a * b + c.
36747 2015-02-12  J William Piggott  <elseifthen@gmx.com>
36749         [BZ #17969]
36750         * manual/time.texi: correct the zoneinfo path in the TZ Variable
36751         node.
36753 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
36755         [BZ #17964]
36756         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
36757         __builtin_fma instead of relying on contraction of a * b + c.
36759 2015-02-12  Roland McGrath  <roland@hack.frob.com>
36761         * Makeconfig (ASFLAGS): Add -Werror=undef.
36762         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
36763         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
36764         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
36766         * Makeconfig (after-link): New variable.
36767         (+link-pie, +link-pie-tests): Use it.
36768         (+link-static, +link-static-tests): Likewise.
36769         (+link, +link-tests): Likewise.
36770         * Makerules (build-module, build-module-asneeded): Likewise.
36771         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
36772         Likewise.
36773         * elf/Makefile ($(objpfx)ld.so): Likewise.
36775 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
36777         [BZ #17965]
36778         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
36779         both struct timeval and struct timespec.
36781 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
36783         [BZ #16560]
36784         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
36785         and redefine.
36786         (__ieee754_exp2l): Do not multiply small fractional parts by
36787         M_LN2l.
36788         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
36789         small argument.
36790         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
36791         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
36792         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
36793         * math/auto-libm-test-in: Add more tests of exp2.
36794         * math/auto-libm-test-out: Regenerated.
36796 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
36798         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
36799         unaligned path.
36801 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36803         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
36804         little endian.
36806 2015-02-12  Andreas Schwab  <schwab@suse.de>
36808         [BZ #15790]
36809         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
36810         Filter out elision flags from value returned in kind.
36811         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
36812         * nptl/tst-pthread-mutexattr.c: New file.
36814 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36816         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
36817         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
36818         into gnu-gnu, and update comment to refer to abi-tags.
36820 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
36822         [BZ #15467]
36823         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
36824         (__sincos): Set errno to EDOM for infinite argument.
36825         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
36826         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
36827         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
36828         (__sincosl): Set errno to EDOM for infinite argument.
36829         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
36830         (__sincosl): Set errno to EDOM for infinite argument.
36831         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
36832         (__sincosl): Set errno to EDOM for infinite argument.
36833         * math/libm-test.inc (sincos_test_data): Test errno setting.
36835 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
36837         * string/strxfrm_l.c: Remove #define STRCMP.
36838         * string/strcoll_l.c: Remove #define STRLEN.
36839         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
36840         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
36842 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
36844         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
36845         * sysdeps/mips/mips32/sfp-machine.h: ... here.
36846         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
36847         * sysdeps/mips/mips64/Makefile: ... here.
36848         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
36849         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
36850         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
36851         * sysdeps/mips/mips64/sfp-machine.h: ... here.
36852         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
36853         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
36854         * sysdeps/mips/mips64/n64/Implies: Likewise.
36856 2015-02-10  Roland McGrath  <roland@hack.frob.com>
36858         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
36859         <sys/time.h>, <string.h>, and <errno.h>.
36860         (dest_offset, dest_address, value, zero): Remove unused variables.
36861         (ldouble): Remove typedef.
36862         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
36863         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
36864         1).  Fix code style.
36865         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
36866         (check): Function removed.
36867         (CHECK): New macro.
36868         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
36869         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
36870         Don't call set_sigaction_FP and remove_sigaction_FP here.
36871         (ldouble_test): Just use 'long double' as macro argument, no need for
36872         the 'ldouble' typedef.
36873         (do_test): Set up SIGFPE handler at start, using plain signal rather
36874         than sigaction.  Fix code style.
36876 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
36878         [BZ #17949]
36879         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
36880         jump label.
36882 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
36884         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
36885         * sysdeps/powerpc/powerpc32/configure: Regenerated.
36887         * sysdeps/powerpc/configure.ac: Remove file.
36888         * sysdeps/powerpc/configure: Likewise.
36890         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
36891         [sysdep_routines]: Remove wordcopy-power6 object.
36892         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
36893         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
36894         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
36895         (__memmove_ppc32): Likewise.
36896         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
36897         file.
36898         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
36899         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
36900         Remove preprocessor.
36902         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
36903         [sysdep_routines]: Remove wide chars objects.
36904         [wcsmbs]: New rule for wide char objects.
36906         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36907         Remove wordcopy-power6 obejct.
36908         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
36909         Use local call for wordcopy and memcpy symbols.
36910         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
36911         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
36912         implementation for loader.
36913         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
36915         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36916         Remove wordcopy-power7 object.
36917         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
36918         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
36919         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
36920         (_wordcopy_fwd_dest_aligned): Likewise.
36921         (_wordcopy_bwd_aligned): Likewise.
36922         (_wordcopy_bwd_dest_aligned): Likewise.
36924         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
36925         Rewrite to call __memmove_ppc instead of include default
36926         implementation.
36928         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36929         Remove wide chars objects.
36930         [wcsmbs]: New rule for wide char objects.
36932 2015-02-09  Andreas Schwab  <schwab@suse.de>
36934         [BZ #17912]
36935         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
36936         in terms of __O_DIRECTORY.
36938 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36940         * time/getdate.c: Include <stdbool.h>.
36941         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
36942         call PTR_MANGLE.
36943         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
36944         PTR_DEMANGLE.
36946 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
36948         Add ersatz _Static_assert on older C hosts
36949         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
36950         pre-C11 C platform that is not known to support _Static_assert.
36952 2015-02-07  Richard Braun  <rbraun@sceen.net>
36954         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
36955         sigstate.
36956         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
36958 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36960         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
36961         priority against unexistent AIO_PRIO_DELTA_MAX.
36962         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
36963         instead of int.
36964         * misc/fchflags.c (fchflags): Likewise.
36965         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
36966         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
36967         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
36968         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
36969         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
36970         Declare macros.
36971         [__USE_MISC] (chflags, fchflags): Declare functions.
36972         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
36973         EINVAL when nfds is greater than FD_SETSIZE.
36974         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
36975         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
36976         45.
36977         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
36978         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
36979         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
36980         MACH_RCV_TIMED_OUT.
36981         * hurd/hurd/signal.h (_hurd_self_sigstate,
36982         _hurd_critical_section_lock, _hurd_critical_section_unlock):
36983         Explicit casts from void *.
36984         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
36985         * abi-tags: Rename gnu-gnu os into gnu.
36987         [BZ #4719]
36988         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
36989         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
36990         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
36991         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
36992         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
36993         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
36995         [BZ #17944]
36996         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
36997         duplicates ADDR->sun_path with sockaddr LEN limitation.
36998         * sysdeps/mach/hurd/connect.c: Include <string.h>
36999         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
37000         * sysdeps/mach/hurd/sendmsg.c: Likewise.
37001         * sysdeps/mach/hurd/sendto.c: Likewise.
37002         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
37003         implementing it by hand.
37005 2015-02-06  Roland McGrath  <roland@hack.frob.com>
37007         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
37008         Use sfi_breg on ldr.
37009         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
37010         Likewise.
37012         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
37013         it's defined.
37014         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
37015         Test SIGSETXID only if it's defined.
37017         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
37019         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
37020         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
37022         * nptl/tst-align2.c: Moved ...
37023         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
37024         * nptl/Makefile (tests): Remove tst-align2.
37025         * sysdeps/unix/sysv/linux/Makefile
37026         [$(subdir) = nptl] (tests): Add tst-align-clone.
37027         * nptl/tst-getpid1.c: Moved ...
37028         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
37029         * nptl/tst-getpid2.c: Moved ...
37030         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
37031         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
37032         * sysdeps/unix/sysv/linux/Makefile
37033         [$(subdir) = nptl] (tests): ... here.
37034         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
37035         * sysdeps/unix/sysv/linux/Makefile
37036         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
37038         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
37039         Drop trailing \n from perror argument.  Use return rather than exit.
37041         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
37042         on [SA_SIGINFO].
37043         * nptl/tst-cancel21.c (do_test): Likewise.
37044         * debug/tst-backtrace6.c: Include <signal.h> first thing.
37045         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
37046         [!SA_SIGINFO]: Make it a stub test.
37048         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
37049         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
37051         * posix/tst-getlogin.c: Move to ...
37052         * login/tst-getlogin.c: ... here.
37053         * posix/Makefile (tests): Move tst-getlogin to ...
37054         * login/Makefile (tests): ... here.
37056         * libio/tst-atime.c (do_test): Move local variables SV and E
37057         inside [ST_NOATIME] conditional.
37059         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
37061         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
37063         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
37064         (wait_code): New function replaces macro.
37065         Call nanosleep rather than syscall.
37067         * nptl/pt-system.c: Rewritten.  Put everything under
37068         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
37069         Use IFUNC to redirect when possible.
37071         * nptl/pt-longjmp.c: Rewritten.  Put everything under
37072         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
37073         Use IFUNC to redirect when possible.
37075         * nptl/pt-fork.c: Rewritten.  Put everything under
37076         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
37077         Use IFUNC to redirect when possible.
37078         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
37080         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
37081         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
37082         unconditionally nowadays.  This included the only reference to
37083         __vdso_clock_gettime that appears outside libc proper.
37084         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
37085         Remove version set (containing only __vdso_clock_gettime).
37086         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
37087         Add attribute_hidden.
37088         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
37089         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
37090         libc_hidden_data_def.
37091         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
37092         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
37094         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
37095         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
37096         setrpcent, and getrpcport to ...
37097         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
37098         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
37099         getrpcbynumber_r, and getrpcent_r to ...
37100         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
37101         * inet/getrpcbyname.c: Moved ...
37102         * sunrpc/getrpcbyname.c: ... here.
37103         * inet/getrpcbyname_r.c: Moved ...
37104         * sunrpc/getrpcbyname_r.c: ... here.
37105         * inet/getrpcbynumber.c: Moved ...
37106         * sunrpc/getrpcbynumber.c: ... here.
37107         * inet/getrpcbynumber_r.c: Moved ...
37108         * sunrpc/getrpcbynumber_r.c: ... here.
37109         * inet/getrpcent.c: Moved ...
37110         * sunrpc/getrpcent.c: ... here.
37111         * inet/getrpcent_r.c: Moved ...
37112         * sunrpc/getrpcent_r.c: ... here.
37113         * inet/Makefile (routines): Move those to ...
37114         * sunrpc/Makefile (routines): ... here.
37115         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
37116         the $(subdirs) list.
37117         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
37118         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
37119         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
37120         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
37122         * elf/Makefile (routines): Include $(all-dl-routines), not just
37123         $(dl-routines).
37124         (rtld-routines): Likewise.  Use = rather than :=.
37125         * sysdeps/aarch64/Makefile [$(subdir) = elf]
37126         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
37127         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
37128         * sysdeps/arm/Makefile: Likewise.
37129         * sysdeps/i386/Makefile: Likewise.
37130         * sysdeps/x86_64/Makefile: Likewise.
37131         * sysdeps/hppa/Makefile [$(subdir) = elf]
37132         (sysdep_routines, sysdep-rtld-routines): Don't add
37133         $(sysdep-dl-routines) to these.
37134         * sysdeps/ia64/Makefile: Likewise.
37135         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
37136         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
37137         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
37138         Don't add dl-static to these; sysdep-dl-routines alone is enough.
37139         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
37140         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
37141         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
37142         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
37143         * sysdeps/powerpc/Makefile [$(subdir) = elf]
37144         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
37145         these; sysdep-dl-routines alone is enough.
37147 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
37149         [BZ #17932]
37150         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
37151         where multiplication results in zero and third argument is finite
37152         and nonzero.
37153         * math/auto-libm-test-in: Add more tests of fma.
37154         * math/auto-libm-test-out: Regenerated.
37156         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
37157         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
37158         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
37159         (_FP_CMP_EQ): Likewise.
37160         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
37162         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
37163         extra argument CHECK_NAN.  Redefine as wrapper around
37164         _FP_EXTEND_CNAN.
37166 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
37168         * version.h (RELEASE): Set to "stable".
37169         (VERSION): Set to "2.21"
37170         * include/features.h (__GLIBC_MINOR__): Set to 21.
37172         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
37174 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
37175             Paul Eggert  <eggert@cs.ucla.edu>
37177         [BZ #16618]
37178         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
37179         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
37180         size in bytes. Store needed elements in wpmax. Use needed size
37181         in bytes for extend_alloca.
37183 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
37185         * manual/install.texi: Latest tested versions are GCC 4.9.2,
37186         binutls 2.25, and texinfo 5.2.
37187         * INSTALL: Regenerate.
37188         * sysdeps/nios2/configure: Regenerate.
37189         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
37190         * manual/contrib.texi: Update.
37191         * po/be.po: Update.
37192         * po/bg.po: Update.
37193         * po/ca.po: Update.
37194         * po/cs.po: Update.
37195         * po/da.po: Update.
37196         * po/de.po: Update.
37197         * po/el.po: Update.
37198         * po/eo.po: Update.
37199         * po/es.po: Update.
37200         * po/fi.po: Update.
37201         * po/fr.po: Update.
37202         * po/gl.po: Update.
37203         * po/hr.po: Update.
37204         * po/hu.po: Update.
37205         * po/ia.po: Update.
37206         * po/id.po: Update.
37207         * po/it.po: Update.
37208         * po/ja.po: Update.
37209         * po/ko.po: Update.
37210         * po/lt.po: Update.
37211         * po/nb.po: Update.
37212         * po/nl.po: Update.
37213         * po/pl.po: Update.
37214         * po/pt_BR.po: Update.
37215         * po/ru.po: Update.
37216         * po/rw.po: Update.
37217         * po/sk.po: Update.
37218         * po/sl.po: Update.
37219         * po/sv.po: Update.
37220         * po/tr.po: Update.
37221         * po/uk.po: Update.
37222         * po/vi.po: Update.
37223         * po/zh_CN.po: Update.
37224         * po/zh_TW.po: Update.
37226         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
37227         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
37228         * sysdeps/hppa/dl-irel.h: Remove #warning.
37229         * sysdeps/hppa/entry.h: Provide prototype for
37230         __canonicalize_funcptr_for_compare and cast argument.
37231         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
37232         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
37233         * sysdeps/hppa/sotruss-lib.c: New file.
37234         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
37235         (atomic_compare_and_exchange_val_acq): Use __typeof__.
37236         (atomic_compare_and_exchange_bool_acq): Likewise.
37237         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
37238         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
37240         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
37241         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
37242         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
37244 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
37246         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
37247         called function in non-PIC case.
37249 2015-01-31  David S. Miller  <davem@davemloft.net>
37251         * sysdeps/sparc/sparc32/bits/atomic.h
37252         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
37253         unlock not after it.
37254         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
37255         volatile register usage warnings from the compiler.
37257         * sysdeps/sparc/nptl/sem_init.c: Delete.
37258         * sysdeps/sparc/nptl/sem_post.c: Delete.
37259         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
37260         * sysdeps/sparc/nptl/sem_wait.c: Delete.
37261         * sysdeps/sparc/sparc32/sem_init.c: New file.
37262         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
37263         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
37264         padding explicitly initialized.
37265         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
37266         padding for in-semaphore spinlock.
37267         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
37268         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
37269         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
37270         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
37271         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
37272         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
37273         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
37274         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
37275         version.
37276         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
37277         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
37279 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
37281         [BZ #17801]
37282         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37283         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
37284         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
37285         New.
37286         (index_AVX_Fast_Unaligned_Load): Likewise.
37287         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
37288         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
37289         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
37290         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
37291         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
37292         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
37293         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
37294         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
37295         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
37297 2015-01-29  Andreas Schwab  <schwab@suse.de>
37299         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
37301 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
37303         [BZ #17892]
37304         * nscd/nscd_stat.c (send_stats): Initialize DATA.
37306 2015-01-28  Martin Sebor  <msebor@redhat.com>
37308         * math/README.libm-test: Clarify. Add "How to read the test output."
37310 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
37312         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
37313         Define to 0.
37315 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
37317         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
37318         (__HAVE_64B_ATOMICS): Define to 0.
37320 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
37322         [BZ #17885]
37323         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
37324         value to set as new flag.
37326         [BZ #16576]
37327         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
37328         and use _ARCH_PPCSQ instead.
37329         (__ieee754_sqrt): Likewise.
37330         (__ieee754_sqrtf): Likewise.
37331         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
37332         _ARCH_PPCSQ is defined.
37333         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
37334         fsqrt instruction.
37335         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
37336         _ARCH_PPCSQ is defined.
37337         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
37338         fsqrts instruction.
37339         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
37341 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37343         * iconv/loop.c: Suppress array out of bound warning caused by GCC
37344         bug (GCC BZ #64739).
37346 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
37348         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
37349         Mark _retval as used.
37350         (lll_futex_wake_unlock): Likewise.
37351         (lll_futex_timed_wait_requeue_pi): Likewise.
37353         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
37354         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
37355         register variables.
37357         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
37358         libm_hidden_def.
37360         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
37361         (__bswap_64): Mark as __always_inline.
37363 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
37365         [BZ #15378]
37366         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
37367         when none of the search directories exist.
37369 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
37371         [BZ #17869]
37372         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
37373         power8 in .machine directive.
37375         [BZ #17868]
37376         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
37377         set dependency from opd value.
37379 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
37381         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37382         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
37383         architecture.
37385 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
37387         [BZ #17870]
37388         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
37389         with uint64_t.
37390         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
37391         (uint64_t) 1.
37392         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
37393         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
37394         Replace 1UL with (uint64_t) 1.
37395         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
37396         int with uint64_t.
37398 2015-01-23  Roland McGrath  <roland@hack.frob.com>
37400         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
37401         (if_freenameindex): Likewise.
37403         * resource/getrlimit64.c: Add missing libc_hidden_def.
37405 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
37407         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
37408         __label__.
37409         (_FP_FMA): Likewise.
37410         (_FP_TO_INT_ROUND): Likewise.
37411         (_FP_FROM_INT): Likewise.
37413 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37415         [BZ #16418]
37416         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
37417         Make code racy and cancel safe.
37419 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
37421         * sysdeps/arm/unwind-resume.h: Fix copyright year.
37422         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
37423         attribution.
37425         * pwd/tst-getpw.c: Rewrite.
37427         [BZ #17702]
37428         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
37429         (modules-names): Add moddummy1 and moddummy2.
37430         ($(objpfx)tst-rec-dlopen): Define.
37431         * dlfcn/moddummy1.c: New file.
37432         * dlfcn/moddummy2.c: New file.
37433         * dlfcn/tst-rec-dlopen.c: New file.
37434         * elf/dl-cache.c (_dl_load_cache_lookup):
37435         Return char*. Copy result with alloca/strcpy/strdup.
37436         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
37437         returns char*. Free cached. If not saving realname
37438         free cached.
37439         * elf/dl-open.c (dl_open_worker): Do not assert that
37440         _r_debug->r_state is RT_CONSISTENT.
37441         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
37442         returns char*.
37444 2015-01-21  Torvald Riegel  <triegel@redhat.com>
37445             Carlos O'Donell  <carlos@redhat.com>
37447         [BZ #12674]
37448         * nptl/sem_waitcommon.c: New file.
37449         * nptl/sem_wait.c: Include sem_waitcommon.c.
37450         (__sem_wait_cleanup, do_futex_wait): Remove.
37451         (__new_sem_wait): Adapt.
37452         (__new_sem_trywait): New function.
37453         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
37454         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
37455         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
37456         (sem_timedwait): Adapt.
37457         * nptl/sem_post.c (__new_sem_post): Adapt.
37458         (futex_wake): New function.
37459         (__old_sem_post): Add release MO fence.
37460         * nptl/sem_open.c (sem_open): Adapt.
37461         * nptl/sem_init.c (__new_sem_init): Adapt.
37462         (futex_private_if_supported): New function.
37463         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
37464         (__old_sem_getvalue): Add using previous code.
37465         * sysdeps/nptl/internaltypes.h: Adapt.
37466         * nptl/tst-sem13.c (do_test): Adapt.
37467         * nptl/tst-sem11.c (main): Adapt.
37468         * nptl/sem_trywait.c: Remove.
37469         * nptl/DESIGN-sem.txt: Remove.
37470         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
37471         (gen-as-const-headers): Remove structsem.sym.
37472         * nptl/structsem.sym: Remove.
37473         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
37474         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
37475         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
37476         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
37477         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
37478         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
37479         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
37480         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
37481         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
37482         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
37483         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
37484         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
37485         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
37486         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
37487         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
37488         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
37489         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
37490         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
37491         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
37492         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
37493         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
37494         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
37496 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
37498         * INSTALL: Regenerated.
37500         * po/libc.pot: Regenerated.
37502 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
37503             Sandra Loosemore  <sandra@codesourcery.com>
37504             Andrew Jenner  <andrew@codesourcery.com>
37505             Joseph Myers  <joseph@codesourcery.com>
37506             Nathan Sidwell  <nathan@codesourcery.com>
37508         * NEWS: Mention new Nios II port.
37509         * sysdeps/nios2/Implies: New file.
37510         * sysdeps/nios2/Makefile: New file.
37511         * sysdeps/nios2/Subdirs: New file.
37512         * sysdeps/nios2/Versions: New file.
37513         * sysdeps/nios2/__longjmp.S: New file.
37514         * sysdeps/nios2/abort-instr.h: New file.
37515         * sysdeps/nios2/backtrace.c: New file.
37516         * sysdeps/nios2/bits/endian.h: New file.
37517         * sysdeps/nios2/bits/fenv.h: New file.
37518         * sysdeps/nios2/bits/link.h: New file.
37519         * sysdeps/nios2/bits/setjmp.h: New file.
37520         * sysdeps/nios2/bsd-_setjmp.S: New file.
37521         * sysdeps/nios2/bsd-setjmp.S: New file.
37522         * sysdeps/nios2/configure: New generated file.
37523         * sysdeps/nios2/configure.ac: New file.
37524         * sysdeps/nios2/crti.S: New file.
37525         * sysdeps/nios2/crtn.S: New file.
37526         * sysdeps/nios2/dl-init.c: New file.
37527         * sysdeps/nios2/dl-machine.h: New file.
37528         * sysdeps/nios2/dl-sysdep.h: New file.
37529         * sysdeps/nios2/dl-tls.h: New file.
37530         * sysdeps/nios2/dl-trampoline.S: New file.
37531         * sysdeps/nios2/gccframe.h: New file.
37532         * sysdeps/nios2/gmp-mparam.h: New file.
37533         * sysdeps/nios2/jmpbuf-offsets.h: New file.
37534         * sysdeps/nios2/jmpbuf-unwind.h: New file.
37535         * sysdeps/nios2/ldsodefs.h: New file.
37536         * sysdeps/nios2/libc-tls.c: New file.
37537         * sysdeps/nios2/libm-test-ulps: New file.
37538         * sysdeps/nios2/machine-gmon.h: New file.
37539         * sysdeps/nios2/math-tests.h: New file.
37540         * sysdeps/nios2/math_private.h: New file.
37541         * sysdeps/nios2/memusage.h: New file.
37542         * sysdeps/nios2/nptl/Makefile: New file.
37543         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
37544         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
37545         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
37546         * sysdeps/nios2/nptl/pthreaddef.h: New file.
37547         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
37548         * sysdeps/nios2/nptl/tls.h: New file.
37549         * sysdeps/nios2/preconfigure: New file.
37550         * sysdeps/nios2/s_fma.c: New file.
37551         * sysdeps/nios2/s_fmaf.c: New file.
37552         * sysdeps/nios2/setjmp.S: New file.
37553         * sysdeps/nios2/sfp-machine.h: New file.
37554         * sysdeps/nios2/sotruss-lib.c: New file.
37555         * sysdeps/nios2/stackguard-macros.h: New file.
37556         * sysdeps/nios2/stackinfo.h: New file.
37557         * sysdeps/nios2/start.S: New file.
37558         * sysdeps/nios2/sysdep.h: New file.
37559         * sysdeps/nios2/tls-macros.h: New file.
37560         * sysdeps/nios2/tst-audit.h: New file.
37561         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
37562         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
37563         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
37564         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
37565         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
37566         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
37567         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
37568         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
37569         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
37570         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
37571         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
37572         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
37573         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
37574         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
37575         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
37576         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
37577         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
37578         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
37579         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
37580         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
37581         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
37582         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
37583         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
37584         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
37585         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
37586         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
37587         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
37588         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
37589         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
37590         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
37591         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
37592         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
37593         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
37594         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
37595         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
37596         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
37597         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
37598         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
37599         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
37600         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
37601         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
37602         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
37603         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
37604         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
37606 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
37608         [BZ #17844]
37609         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
37610         (getutent): Use weak_alias in non SHARED case
37611         and default_symbol_version in SHARED case.
37612         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
37613         (getutent_r, pututline): Likewise.
37614         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
37615         (getutid): Likewise.
37616         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
37617         (getutid_r): Likewise.
37618         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
37619         (getutline): Likewise.
37620         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
37621         (getutline_r): Likewise.
37622         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
37623         (updwtmp): Likewise.
37625 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
37627         [BZ #17848]
37628         * sysdeps/s390/s390-32/memcmp.S
37629         (memcmp_g5): Rename to __memcmp_g5.
37630         * sysdeps/s390/s390-32/memcpy.S
37631         (memcpy_g5): Rename to __memcpy_g5.
37632         Jump to __memcpy_mvcle instead of memcpy_mvcle.
37633         (memcpy_mvcle) Rename to __memcpy_mvcle.
37634         * sysdeps/s390/s390-32/memset.S
37635         (memset_g5): Rename to __memset_g5.
37636         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
37637         (IFUNC_RESOLVE): Prefix ifunc-resolve function
37638         and use prefixed functions.
37639         * sysdeps/s390/s390-32/multiarch/memcmp.S
37640         (memcmp_z196): Rename to __memcmp_z196.
37641         (memcmp_z10): Rename to __memcmp_z10.
37642         (memcmp): Set alias to __memcmp_g5.
37643         (bcmp): Set alias to __memcmp_g5.
37644         * sysdeps/s390/s390-32/multiarch/memcpy.S
37645         (memcpy_z196): Rename to __memcpy_z196.
37646         Jump to __memcpy_mvcle instead of memcpy_mvcle.
37647         (memcpy_z10): Rename to __memcpy_z10.
37648         Jump to __memcpy_mvcle instead of memcpy_mvcle.
37649         (memcpy): Set alias to __memcpy_g5.
37650         * sysdeps/s390/s390-32/multiarch/memset.S
37651         (memset_z196): Rename to __memset_z196.
37652         Jump to __memset_mvcle instead of memset_mvcle.
37653         (memset_z10): Rename to __memset_z10.
37654         Jump to __memset_mvcle instead of memset_mvcle.
37655         (memset_mvcle) Rename to __memset_mvcle.
37656         (memset): Set alias to __memset_g5.
37657         * sysdeps/s390/s390-64/memcmp.S
37658         (memcmp_z900): Rename to __memcmp_z900.
37659         * sysdeps/s390/s390-64/memcpy.S
37660         (memcpy_z900): Rename to __memcpy_z900.
37661         Jump to __memcpy_mvcle instead of memcpy_mvcle.
37662         (memcpy_mvcle) Rename to __memcpy_mvcle.
37663         * sysdeps/s390/s390-64/memset.S
37664         (memset_z900): Rename to __memset_z900.
37665         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
37666         (IFUNC_RESOLVE): Prefix ifunc-resolve function
37667         and use prefixed functions.
37668         * sysdeps/s390/s390-64/multiarch/memcmp.S
37669         (memcmp_z196): Rename to __memcmp_z196.
37670         (memcmp_z10): Rename to __memcmp_z10.
37671         (memcmp): Set alias to __memcmp_z900.
37672         (bcmp): Set alias to __memcmp_z900.
37673         * sysdeps/s390/s390-64/multiarch/memcpy.S
37674         (memcpy_z196): Rename to __memcpy_z196.
37675         Jump to __memcpy_mvcle instead of memcpy_mvcle.
37676         (memcpy_z10): Rename to __memcpy_z10.
37677         Jump to __memcpy_mvcle instead of memcpy_mvcle.
37678         (memcpy): Set alias to __memcpy_z900.
37679         * sysdeps/s390/s390-64/multiarch/memset.S
37680         (memset_z196): Rename to __memset_z196.
37681         Jump to __memset_mvcle instead of memset_mvcle.
37682         (memset_z10): Rename to __memset_z10.
37683         Jump to __memset_mvcle instead of memset_mvcle.
37684         (memset_mvcle) Rename to __memset_mvcle.
37685         (memset): Set alias to __memset_z900.
37687 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
37689         [BZ #17748]
37690         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
37691         __fesetenv instead of fesetenv.
37693 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
37695         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
37696         macro.
37698 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37700         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
37701         regression on LE.
37703         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
37704         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
37705         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
37706         strncmp-power8 object.
37707         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37708         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
37709         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
37710         * NEWS: Update.
37712 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
37713             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37715         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
37716         trailing byte check.
37718 2015-01-13  David S. Miller  <davem@davemloft.net>
37720         * include/signal.h (__sigreturn): Guard with __USE_MISC.
37722 2015-01-13  Roland McGrath  <roland@hack.frob.com>
37724         * login/logout.c (logout): Use memset rather than bzero.
37725         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
37726         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
37727         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
37728         (_gethtbyaddr): Likewise.
37729         * locale/programs/simple-hash.c (bcopy): Macro removed.
37731 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37733         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37734         Add strcmp-power8 object.
37735         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37736         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
37737         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
37738         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
37739         __strcmp_power8 implementation.
37740         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
37741         * NEWS: Update.
37743         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37744         Add strncpy-power8 and stpncpy-power8 objects.
37745         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37746         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
37747         implementations.
37748         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
37749         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
37750         __stpncpy_power8 implementation.
37751         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
37752         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
37753         __strncpy_power8 implementation.
37754         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
37755         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
37756         * NEWS: Update.
37758         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
37759         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
37760         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
37762         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
37763         strncat-power8 object.
37764         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
37765         __strcat_power8 implementation.
37766         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37767         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
37768         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
37769         optimized strcat for power8.
37771         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
37772         strcpy-power8 and stpcpy-power8 objects.
37773         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37774         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
37775         implementations.
37776         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
37777         multiarch stpcpy implementation for POWER8.
37778         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
37779         multiarch strcpy implementation for POWER8.
37780         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
37781         __strcpy_power8 function.
37782         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
37783         stpcpy for POWER8.
37784         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
37785         strcpy for POWER8.
37786         * NEWS: Update.
37788 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
37790         [BZ #16009]
37791         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
37792         weights and rules. Use do_xfrm_cached if data fits in cache,
37793         do_xfrm otherwise.  Moved former main loop to...
37794         * (do_xfrm_cached): New function.
37795         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
37796         find_idx, find_position and stack_push.
37797         * (find_idx): New function.
37798         * (find_position): Likewise.
37799         * localedata/sort-test.sh: Added test run for do_xfrm.
37800         * localedata/xfrm-test.c (main): Added command line option
37801         -nocache to run the test with strings that are too large for
37802         the STRXFRM cache.
37804 2015-01-13  Torvald Riegel  <triegel@redhat.com>
37806         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
37807         variable to lll_futex_wake call, not the value itself.
37809 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
37811         [BZ #17803]
37812         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
37813         twom64.  Adjust value to 0x1p-64L.
37814         (__scalblnl): Only return standard underflowing result for K <=
37815         -64 not K <= -63; adjust exponent for underflowing result by 64
37816         not 63.
37817         * math/libm-test.inc (scalbn_test_data): Add more tests.
37818         (scalbln_test_data): Likewise.
37820         [BZ #17834]
37821         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
37822         0x1p63L.
37823         (__scalblnl): Get new exponent of adjusted subnormal value from ES
37824         not HX.
37825         * math/libm-test.inc (scalbn_test_data): Add more tests.
37826         (scalbln_test_data): Likewise.
37828 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37829             Stefani Seibold  <stefani@seibold.net>
37831         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
37832         (sysdep_routines): Add dl-vdso here, ...
37833         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
37834         (sysdep_routines): ... not here.
37835         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
37836         fallback when vDSO is not presented.
37837         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
37838         Define with libc_hidden_proto/libc_hidden_data_def definitions.
37839         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
37840         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
37841         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
37842         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
37843         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
37844         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
37845         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
37846         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
37847         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
37848         fallback configurable symbol when vDSO is not available.
37849         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
37850         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
37851         be able to redefine fallback symbol when vDSO is not available.
37852         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
37853         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
37855 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37857         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
37858         (TLS_INIT_TP): Add tm_capable initialization.
37859         (TLS_DEFINE_INIT_TP): Likewise.
37860         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
37861         TCB.
37862         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
37863         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
37864         calculation.
37865         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
37866         transactoion is lock elision is built and TCB tm_capable is set.
37867         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
37868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
37869         (INTERNAL_SYSCALL_NCS): Likewise.
37870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
37871         (INTERNAL_SYSCALL_NCS): Likewise.
37872         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
37874         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
37875         for powerpc.
37876         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
37877         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
37878         and remove it for 32 bits case.
37879         [pthread_rwlock_t] (__rwelision): New field for lock elision.
37880         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
37881         initialization.
37882         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
37883         Disable lock elision with rdlocks if elision is not available.
37885         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
37886         (sysdep_routines): Add lock elision objects.
37887         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
37888         [pthread_mutex_t] (__spins): Rework to add lock elision field.
37889         [pthread_mutex_t] (__elision): Add field.
37890         [__PTHREAD_SPINS]: Adjust to init lock elision field.
37891         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
37892         elision definitions for powerpc.
37893         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
37894         implementation of lock elision for powerpc.
37895         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
37896         implementation of timed lock elision for powerpc.
37897         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
37898         implementation of trylock with lock elision for powerpc.
37899         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
37900         implementaion of unlock for lock elision for powerpc.
37901         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
37902         automatic enable lock elision for mutexes.
37903         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
37904         transaction execution definitions for powerpc.
37905         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
37906         definitions.
37907         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
37908         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
37909         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
37910         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
37911         * NEWS: Update.
37913 2015-01-09  Roland McGrath  <roland@hack.frob.com>
37915         * sysdeps/posix/shm-directory.c: Use <> rather than ""
37916         for #include of <shm-directory.h>.
37918 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
37920         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
37921         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
37923 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
37925         [BZ #17791]
37926         * NEWS: Mention bug fix.
37927         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
37928         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
37929         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
37931 2015-01-09  Torvald Riegel <triegel@redhat.com>
37933         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
37935 2015-01-09  Torvald Riegel <triegel@redhat.com>
37937         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
37939 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
37941         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
37942         pointer and cast to uintptr_t.
37944 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
37946         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
37947         removed.
37948         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
37950 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
37952         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
37953         of 0.
37955 2015-01-08  Roland McGrath  <roland@hack.frob.com>
37957         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
37958         <nptl/pthreadP.h> instead.
37959         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
37961         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
37962         already defined.
37963         [__SIGRTMIN] (init): Function removed.
37964         [__SIGRTMIN] (initialized): Variable removed.
37965         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
37966         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
37967         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
37968         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
37969         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
37970         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
37971         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
37972         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
37973         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
37974         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
37975         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
37976         * sysdeps/nptl/allocrtsig.c: New file.
37977         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
37978         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
37979         * sysdeps/generic/testrtsig.h: File removed.
37981         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
37982         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
37984         * nptl/nptl-init.c (pthread_functions): Conditionalize
37985         .ptr__nptl_setxid initialization on [SIGSETXID].
37987         * sysdeps/nptl/sys/procfs.h: New file.
37988         * nptl_db/Makefile (headers): Add it.
37989         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
37991         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
37992         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
37993         * nptl/pthread_attr_setaffinity.c: Include it.
37994         * nptl/pthread_setattr_default_np.c: Likewise.
37995         * nptl/check-cpuset.h: New file.
37997 2015-01-08  Richard Henderson  <rth@redhat.com>
37999         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
38000         (CFLAGS-tst-execstack-prog.c): Likewise.
38001         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
38003 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
38004             Sandra Loosemore  <sandra@codesourcery.com>
38005             Andrew Jenner  <andrew@codesourcery.com>
38006             Joseph Myers  <joseph@codesourcery.com>
38007             Nathan Sidwell  <nathan@codesourcery.com>
38009         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
38010         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
38011         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
38012         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
38013         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
38014         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
38015         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
38016         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
38017         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
38018         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
38019         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
38020         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
38021         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
38022         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
38023         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
38024         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
38025         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
38027 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38029         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
38030         timespec struct member in syscall macro.
38031         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
38032         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
38033         first timeval struct member in syscall macro.
38034         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
38036 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
38038         [BZ #17748]
38039         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
38040         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
38041         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
38042         __feupdateenv and define as weak alias of __feupdateenv.  Use
38043         libm_hidden_weak.
38044         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
38045         libm_hidden_def.
38046         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
38047         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
38048         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
38049         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
38050         libm_hidden_def.
38051         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
38052         __feupdateenv and define as weak alias of __feupdateenv.  Use
38053         libm_hidden_weak.
38054         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
38055         libm_hidden_def.
38056         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
38057         __feupdateenv and define as weak alias of __feupdateenv.  Use
38058         libm_hidden_weak.
38059         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
38060         libm_hidden_def.
38061         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
38062         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
38063         (__feupdateenv): Likewise.
38064         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
38065         __feupdateenv and define as weak alias of __feupdateenv.  Use
38066         libm_hidden_weak.
38067         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
38068         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
38069         libm_hidden_def.
38070         * sysdeps/tile/math_private.h (__feupdateenv): New inline
38071         function.
38072         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
38073         libm_hidden_def.
38074         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
38075         __feupdateenv instead of feupdateenv.
38076         (default_libc_feupdateenv_test): Likewise.
38077         (libc_feresetround_ctx): Likewise.
38079 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38081         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
38082         prototype.
38084 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
38086         * posix/regcomp.c (parse_bracket_exp): Initialize type to
38087         COLL_SYM in a couple of places to avoid uninitialized variable
38088         wanings on tilegx gcc 4.8.2.
38090 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
38092         * sysdeps/aarch64/strcpy.S: New file.
38093         * sysdeps/aarch64/stpcpy.S: New file.
38094         * NEWS: Updated.
38096 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
38098         * sysdeps/aarch64/strrchr.S: New file.
38099         * NEWS: Updated.
38101 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
38103         [BZ #17658]
38104         * stdlib/setenv.c: Fix memory leak when setting large,
38105         duplicate string.
38107 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
38109         [BZ #17273]
38110         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
38111         and tabs from buffer before parsing fstab entry.
38112         * misc/tst-mntent.c (main): Add test for mount entry with
38113         trailing spaces and tabs.
38115 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
38117         [BZ #17748]
38118         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
38119         * math/fesetround.c (fesetround): Rename to __fesetround and
38120         define as weak alias of __fesetround.  Use libm_hidden_weak.
38121         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
38122         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
38123         * sysdeps/arm/fesetround.c (fesetround): Likewise.
38124         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
38125         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
38126         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
38127         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
38128         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
38129         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
38130         __fesetround_inline.
38131         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
38132         __fesetround_inline instead of __fesetround.
38133         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
38134         __fesetround and define as weak alias of __fesetround.  Use
38135         libm_hidden_weak.  Call __fesetround_inline instead of
38136         __fesetround.
38137         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
38138         __fesetround and define as weak alias of __fesetround.  Use
38139         libm_hidden_weak.
38140         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
38141         Likewise.
38142         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
38143         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
38144         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
38145         * sysdeps/tile/math_private.h (__fesetround): New inline function.
38146         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
38147         __fesetround and define as weak alias of __fesetround.  Use
38148         libm_hidden_weak.
38149         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
38150         __fesetround instead of fesetround.
38151         (default_libc_feholdexcept_setround): Likewise.
38152         (libc_feholdsetround_ctx): Likewise.
38153         (libc_feholdsetround_noex_ctx): Likewise.
38155         [BZ #17748]
38156         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
38157         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
38158         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
38159         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
38160         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
38161         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
38162         define as weak alias of __fesetenv.  Use libm_hidden_weak.
38163         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
38164         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
38165         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
38166         define as weak alias of __fesetenv.  Use libm_hidden_weak.
38167         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
38168         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
38169         define as weak alias of __fesetenv.  Use libm_hidden_weak.
38170         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
38171         libm_hidden_def.
38172         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
38173         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
38174         Likewise.
38175         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
38176         define as weak alias of __fesetenv.  Use libm_hidden_weak.
38177         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
38178         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
38179         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
38180         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
38181         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
38182         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
38183         __fesetenv instead of fesetenv.
38184         (libc_feresetround_noex_ctx): Likewise.
38185         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
38186         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
38187         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
38188         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
38189         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
38190         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
38191         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
38192         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
38193         (__feupdateenv): Likewise.
38194         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
38195         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
38196         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
38197         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
38199 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
38201         [BZ #17806]
38202         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
38203         addresses have been freed.
38205 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
38207         * resolv/res_init.c (__res_vinit): Improve comments about nserv
38208         and nservall.
38210 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
38212         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
38213         Clean up check_pf allocation pattern. addresses
38215 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38217         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
38218         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
38219         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
38220         * nptl/pthread_exit.c (__pthread_exit): Likewise.
38221         * nptl/pthread_join.c (pthread_join): Likewise.
38222         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
38223         * sysdeps/posix/waitid.c (__waitid): Likewise.
38224         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
38225         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
38226         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
38227         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
38228         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
38229         Likewise.
38230         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
38231         (__libc_pread64): Likewise.
38232         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
38233         (__libc_pwrite): Likewise.
38234         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
38235         (__libc_pwrite64): Likewsie.
38236         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
38237         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
38238         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
38239         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
38240         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
38241         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
38242         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
38243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
38244         Likewise.
38245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
38246         (__libc_pread64): Likewise.
38247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
38248         Likewise.
38249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
38250         (__libc_pwrite64): Likewise.
38251         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
38252         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
38253         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
38254         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
38255         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
38256         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
38257         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
38258         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
38259         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
38260         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
38261         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
38262         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
38263         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
38264         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
38265         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
38266         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
38267         Likewise.
38269 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
38271         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
38272         (CFLAGS-test-double.c): Likewise.
38273         (CFLAGS-test-ldouble.c): Likewise.
38274         (CPPFLAGS-test-ifloat.c): Likewise.
38275         (CPPFLAGS-test-idouble.c): Likewise.
38276         (CPPFLAGS-test-ildoubl.c): Likewise.
38277         (CFLAGS-test-test-fenv.c): Remove variable.
38278         (CFLAGS-test-misc.c): Likewise.
38280 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
38282         [BZ #17797]
38283         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
38284         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
38285         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
38286         CLOCKS_PER_SEC == 1000000.
38287         * time/clocktest.c (main): Replace %ld with %jd and cast to
38288         intmax_t.
38290 2015-01-05  Roland McGrath  <roland@hack.frob.com>
38292         * sysdeps/generic/unwind-resume.h: New file.
38293         * sysdeps/gnu/unwind-resume.c: Include it.
38294         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
38295         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
38296         argument list.
38297         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
38298         global rather than static.
38299         (_Unwind_Resume): Update user.
38300         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
38301         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
38302         rather than static.  Add __attribute__ ((cold)).
38303         (_Unwind_Resume, __gcc_personality_v0): Update callers.
38304         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
38305         * sysdeps/arm/arm-unwind-resume.S: New file.
38306         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
38307         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
38308         * sysdeps/arm/Makefile [$(subdir) = csu]
38309         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
38310         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
38311         Add rt-arm-unwind-resume.
38312         [$(subdir) = nptl]
38313         (libpthread-sysdep_routines, libpthread-shared-only-routines):
38314         Add pt-arm-unwind-resume.
38315         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
38316         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
38318 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
38320         [BZ #17748]
38321         * include/fenv.h (__feholdexcept): Declare.  Use
38322         libm_hidden_proto.
38323         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
38324         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
38325         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38326         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
38327         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
38328         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
38329         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
38330         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38331         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
38332         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
38333         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
38334         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
38335         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
38336         (feholdexcept): Likewise.
38337         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
38338         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
38339         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
38340         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38341         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
38342         __feholdexcept instead of feholdexcept.
38343         (default_libc_feholdexcept_setround): Likewise.
38345 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
38347         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
38348         to avoid using stl/str to align destination.
38350 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
38352         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
38354 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
38356         [BZ #17796]
38357         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
38358         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
38359         Define as weak alias not strong alias.
38361 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
38363         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
38364         bltzal with addiupc.
38365         (RTLD_START): Ditto.
38367 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
38369         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
38370         for __vdso_* functions in declarations.
38371         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
38372         definitions.
38373         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
38374         INTERNAL_VSYSCALL): Use struct return types to check for error.
38376         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
38377         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
38378         function with cast from llround().
38379         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
38380         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
38381         Define.
38383 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
38385         [BZ #17793]
38386         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
38387         Define as weak alias not strong alias.
38389         [BZ #17635]
38390         * ctype/ctype-c99.c: New file.  isblank implementation moved from
38391         ...
38392         * ctype/ctype-extn.c: ... here.
38393         (__isblank_l): Move to ...
38394         * ctype/ctype-c99_l.c: ... here.  New file.
38395         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
38396         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
38397         Remove variable.
38398         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
38399         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
38400         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
38401         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
38402         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
38404         [BZ #17777]
38405         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
38406         (posix_fadvise64): Define as weak alias not strong alias.
38407         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
38408         (posix_fallocate64): Likewise.
38409         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
38410         Remove variable.
38411         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
38412         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
38413         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
38414         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
38415         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
38417 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
38419         [BZ #16191]
38420         * NEWS: Mention bug fix.
38421         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
38422         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
38423         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
38424         (HOST_STACK_END_ADDR): Likewise.
38426 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
38428         [BZ #17748]
38429         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
38430         * math/fegetround.c (fegetround): Rename to __fegetround and
38431         define as weak alias of __fegetround.  Use libm_hidden_weak.
38432         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
38433         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
38434         * sysdeps/arm/fegetround.c (fegetround): Likewise.
38435         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
38436         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
38437         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
38438         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
38439         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
38440         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
38441         Undefine after rather than before function definition; use
38442         parentheses around function name in definition.
38443         (__fegetround): Also undefine macro after function definition.
38444         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
38445         __fegetround and define as weak alias of __fegetround.  Use
38446         libm_hidden_weak.  Do not undefine as macro.
38447         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
38448         Likewise.
38449         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
38450         __fegetround and define as weak alias of __fegetround.  Use
38451         libm_hidden_weak.
38452         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
38453         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
38454         * sysdeps/tile/math_private.h (__fegetround): New inline function.
38455         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
38456         __fegetround and define as weak alias of __fegetround.  Use
38457         libm_hidden_weak.
38458         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
38459         __fegetround instead of fegetround.
38461         [BZ #17782]
38462         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
38463         Condition macro definition on [__USE_MISC].
38465         [BZ #17781]
38466         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
38467         (struct sigaction): Change type of sa_flags field to int.
38469         [BZ #17780]
38470         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
38471         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
38472         __glibc_reserved0.
38474         * nptl/version.c (banner): Use single year in copyright notice.
38476         * NEWS: Update copyright dates.
38477         * catgets/gencat.c (print_version): Likewise.
38478         * csu/version.c (banner): Likewise.
38479         * debug/catchsegv.sh: Likewise.
38480         * debug/pcprofiledump.c (print_version): Likewise.
38481         * debug/xtrace.sh (do_version): Likewise.
38482         * elf/ldconfig.c (print_version): Likewise.
38483         * elf/ldd.bash.in: Likewise.
38484         * elf/pldd.c (print_version): Likewise.
38485         * elf/sotruss.sh: Likewise.
38486         * elf/sprof.c (print_version): Likewise.
38487         * iconv/iconv_prog.c (print_version): Likewise.
38488         * iconv/iconvconfig.c (print_version): Likewise.
38489         * locale/programs/locale.c (print_version): Likewise.
38490         * locale/programs/localedef.c (print_version): Likewise.
38491         * login/programs/pt_chown.c (print_version): Likewise.
38492         * malloc/memusage.sh (do_version): Likewise.
38493         * malloc/memusagestat.c (print_version): Likewise.
38494         * malloc/mtrace.pl: Likewise.
38495         * manual/libc.texinfo: Likewise.
38496         * nptl/version.c (banner): Likewise.
38497         * nscd/nscd.c (print_version): Likewise.
38498         * nss/getent.c (print_version): Likewise.
38499         * nss/makedb.c (print_version): Likewise.
38500         * posix/getconf.c (main): Likewise.
38501         * scripts/test-installation.pl: Likewise.
38502         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
38504 2015-01-02  Will Newton  <will.newton@linaro.org>
38506         * sysdeps/arm/armv7/configure: Removed.
38507         * sysdeps/arm/armv7/configure.ac: Likewise.
38509 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
38511         * All files with FSF copyright notices: Update copyright dates
38512         using scripts/update-copyrights.
38513         * intl/plural.c: Regenerated.
38514         * locale/programs/charmap-kw.h: Likewise.
38515         * locale/programs/locfile-kw.h: Likewise.
38517 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
38519         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
38521 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
38523         [BZ #17748]
38524         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
38525         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
38526         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
38527         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
38528         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
38529         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
38530         define as weak alias of __fegetenv.  Use libm_hidden_weak.
38531         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
38532         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
38533         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
38534         define as weak alias of __fegetenv.  Use libm_hidden_weak.
38535         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
38536         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
38537         define as weak alias of __fegetenv.  Use libm_hidden_weak.
38538         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
38539         libm_hidden_def.
38540         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
38541         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
38542         Likewise.
38543         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
38544         define as weak alias of __fegetenv.  Use libm_hidden_weak.
38545         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
38546         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
38547         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
38548         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
38549         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
38550         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
38551         __fegetenv instead of fegetenv.
38552         (libc_feholdsetround_noex_ctx): Likewise.
38554 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
38556         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
38557         (Elf_MIPS_ABIFlags_v0): New structure.
38558         (EF_MIPS_FP64): Define.
38559         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
38560         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
38561         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
38562         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
38563         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
38564         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
38565         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
38566         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
38567         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
38568         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
38569         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
38570         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
38571         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
38572         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
38573         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
38574         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
38575         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
38576         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
38577         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
38578         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
38579         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
38580         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
38581         field.
38582         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
38583         EF_MIPS_FP64.
38584         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
38585         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
38586         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
38587         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
38588         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
38589         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
38590         * sysdeps/mips/tst-abi-interlink.c: Likewise.
38591         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
38592         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
38593         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
38594         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
38595         record the current FP ABI extension.
38596         (mips-mode-switch): Define to show if kernel headers support mode
38597         switching.
38598         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
38599         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
38600         supported SYSV ABI version to 3.
38601         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
38602         feature.
38604 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
38605             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38607         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
38608         path.
38609         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
38611 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
38613         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
38614         __fegetround and redefine to call __fegetround.  Remove condition
38615         on [!__NO_MATH_INLINES].
38616         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
38617         function.
38618         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
38619         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
38620         Remove macro.
38621         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
38622         instead of <fenv_libc.h>.
38623         (__llrintl): Call fegetround instead of __fegetround.
38624         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
38625         instead of <fenv_libc.h>.
38626         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
38627         (__lrintl): Call fegetround instead of __fegetround.
38628         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
38629         instead of <fenv_libc.h>.
38630         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
38631         (__rintl): Call fegetround instead of __fegetround.
38633 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
38635         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
38636         arrays.
38638 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
38640         [BZ #17775]
38641         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
38642         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
38643         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
38645 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
38647         * sysdeps/i386/tls-macros.h: Include <features.h>.
38648         (TLS_LE): Use non-PIC version for GCC >= 5.0.
38649         (TLS_IE): Likewise.
38650         (TLS_LD): Likewise.
38651         (TLS_GD): Likewise.
38652         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
38653         define for GCC >= 5.0.
38655 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
38657         * math/test-fenv.c (test_single_exception, set_single_exc,
38658         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
38659         feexcp_mask_test, feenable_test, fe_single_test): Add
38660         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
38661         case where they are not used.
38662         * math/libm-test.inc: Likewise.
38663         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
38664         unused in the absence of FP rounding/exception support.
38665         * stdio-common/tst-printf-round.c: Likewise.
38666         * stdlib/tst-strtod-round.c: Likewise.
38667         * stdlib/tst-strtod-underflow.c: Likewise.
38669 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
38671         [BZ #17723]
38672         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
38673         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
38674         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
38675         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
38676         libm_hidden_weak.
38677         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
38678         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
38679         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
38680         libm_hidden_def.
38681         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
38682         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
38683         libm_hidden_weak.
38684         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
38685         Likewise.
38686         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
38687         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
38688         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
38689         libm_hidden_weak.
38690         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
38691         libm_hidden_def.
38692         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
38693         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
38694         (__feraiseexcept): Likewise.
38695         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
38696         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
38697         libm_hidden_weak.
38698         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
38699         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
38700         libm_hidden_def.
38701         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
38702         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
38703         Use libm_hidden_def.
38704         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
38705         libm_hidden_def.
38706         (feraiseexcept): Define as weak not strong alias.  Use
38707         libm_hidden_weak.
38708         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
38709         New inline function.  Factored out of ...
38710         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
38711         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
38712         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
38713         feraiseexcept.
38714         * math/w_acos.c (__acos): Likewise.
38715         * math/w_asin.c (__asin): Likewise.
38716         * math/w_ilogb.c (__ilogb): Likewise.
38717         * math/w_j0.c (y0): Likewise.
38718         * math/w_j1.c (y1): Likewise.
38719         * math/w_jn.c (yn): Likewise.
38720         * math/w_log.c (__log): Likewise.
38721         * math/w_log10.c (__log10): Likewise.
38722         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
38723         * sysdeps/aarch64/fpu/math_private.h
38724         (libc_feupdateenv_test_aarch64): Likewise.
38725         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
38726         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
38727         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
38728         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
38729         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
38730         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
38731         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
38732         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
38733         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
38734         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
38736 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
38738         [BZ #17732]
38739         * io/test-utime.c (main): Replace %ld with %jd and cast to
38740         intmax_t.
38741         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
38742         * nptl/tst-mutex5.c: Include <stdint.h>.
38743         (do_test): Replace %ld with %jd and cast to intmax_t.
38744         * posix/tst-regex.c (run_test): Likewise.
38745         (run_test_backwards): Likewise.
38746         * rt/tst-clock.c: Include <stdint.h>.
38747         (clock_test): Replace %ld with %jd and cast to intmax_t.
38748         * rt/tst-cpuclock1.c: Include <stdint.h>.
38749         (do_test): Replace %lu with %ju and cast to uintmax_t.
38750         * rt/tst-cpuclock2.c: Include <stdint.h>.
38751         (do_test): Replace %lu with %ju and cast to uintmax_t.
38752         * rt/tst-mqueue1.c: Include <stdint.h>.
38753         (check_attrs): Replace %ld with %jd and cast to intmax_t.
38754         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
38755         intmax_t.
38756         * rt/tst-mqueue4.c (do_test): Likewise.
38757         * rt/tst-timer4.c: Include <stdint.h>.
38758         (check_ts): Replace %ld with %jd and cast to intmax_t.
38759         (do_test): Likewise.
38760         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
38761         and cast to intmax_t.
38762         * sysdeps/pthread/tst-timer.c (main): Likewise.
38763         * time/clocktest.c (main): Likewise.
38764         * time/tst-posixtz.c (do_test): Likewise.
38765         * timezone/tst-timezone.c (main): Likewise.
38767 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
38768             H.J. Lu  <hongjiu.lu@intel.com>
38770         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
38771         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
38772         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
38773         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
38774         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
38775         version if bit_Fast_Unaligned_Load is set.
38776         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38777         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38778         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38779         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38780         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38781         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38782         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38783         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
38784         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
38785         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
38786         to 4.
38787         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
38788         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
38789         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
38790         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
38792 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
38794         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
38795         instead of #if to avoid a Wundef warning.
38796         * stdlib/tst-limits.c (do_test): Likewise.
38798         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
38799         parallel other exception macros.
38800         (fegetenv): Convert from macro to extern inline so that it applies
38801         retroactively to inline functions already seen by the compiler.
38802         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
38804         * posix/Makefile (before-compile): Use $(objpfx) for
38805         posix-conf-vars-def.h.
38807 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
38809         * posix/getconf.c (main): Use size_t for type of I.
38810         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
38811         NSPEC.
38813         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
38814         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
38815         * posix/posix-envs.def: Likewise.
38816         * sysdeps/posix/sysconf.c: Likewise.
38817         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
38818         (specs): Remove array.
38819         * scripts/gen-posix-conf-vars.awk: Support generation of specs
38820         array.
38822         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
38823         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
38824         (__sysconf): Use CONF_IS_* macros.
38826         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
38827         ($(objpfx)posix-conf-vars-def.h): New target.
38828         * posix/posix-conf-vars.list: New file.
38829         * posix/posix-conf-vars.h: New file.
38830         * posix/confstr.c: Include posix-conf-vars.h.
38831         (confstr): Use CONF_IS_* macros.
38832         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
38833         CONF_IS_* macros.
38834         * scripts/gen-posix-conf-vars.awk: New file.
38836 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
38838         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
38839         fegetround): Add no-op macros to avoid linknamespace issues.
38841         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
38842         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
38844         * sysdeps/unix/sysv/linux/tile/sysdep.h
38845         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
38846         assembly-specific section to avoid a redefinition warning.
38848         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
38849         long before casting to pointer to avoid a cast warning.
38851 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
38853         * sysdeps/tile/tilegx/Implies: New file.
38855 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
38857         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
38859 2014-12-23  Florian Weimer  <fweimer@redhat.com>
38861         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
38863 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
38865         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
38866         not define.
38867         * sysdeps/unix/sysv/linux/utimes.c: Do not include
38868         <kernel-features.h>.
38869         (__utimes) [__NR_utimes]: Make code unconditional.
38870         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
38871         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38872         (__ASSUME_UTIMES): Do not undefine.
38873         * sysdeps/unix/sysv/linux/tile/kernel-features.h
38874         (__ASSUME_UTIMES): Likewise.
38875         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
38876         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
38877         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
38878         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
38880 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
38882         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
38884 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
38886         [BZ #17747]
38887         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
38888         alias to weak alias for j0l, y0l.
38889         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
38890         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
38892         [BZ #17746]
38893         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
38894         conversion.
38896 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
38898         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
38899         to zero if not already defined.
38901 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
38903         [BZ #17724]
38904         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
38905         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
38906         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
38907         (char *) casts added.
38908         * sysdeps/ieee754/k_standardf.c: New file.
38909         * sysdeps/ieee754/k_standardl.c: Likewise.
38910         * math/Makefile (libm-support): Remove k_standard.
38911         (libm-calls): Add k_standard.
38913 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
38915         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
38916         Optimize to avoid an unnecessary FPCR read.
38918 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
38920         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
38921         Optimize to reduce FPCR/FPSR accesses.
38923 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
38925         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
38926         Call libc_fetestexcept_aarch64.
38928 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
38930         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
38931         Call libc_fesetround_aarch64.
38933 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
38935         [BZ #17733]
38936         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
38937         (__bind): Do not define as weak alias.
38938         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
38939         define.
38940         (__getsockname): Do not define as weak alias.
38942 2014-12-22  Will Newton  <will.newton@linaro.org>
38944         * manual/install.texi: Document that we require bison 2.7
38945         or above.
38946         * INSTALL: Regenerate.
38947         * configure.ac: Use AC_CHECK_PROG_VER instead of
38948         AC_PATH_PROG when checking for bison and check for
38949         version 2.7 or above.
38950         * configure: Regenerate.
38952 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
38954         [BZ #17745]
38955         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
38956         * sysdeps/tile/ffsll.c (ffsll): To here.
38958         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
38960 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
38962         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
38963         if not defined.
38964         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
38965         definition.
38966         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
38967         hidden ___tls_get_addr.
38968         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
38969         hidden __tls_get_addr.
38970         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
38971         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
38972         Likewise.
38974 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
38976         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
38977         _dl_init call.
38979 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
38981         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
38982         from "call _dl_init@PLT".
38983         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
38985 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
38987         * manual/search.texi: (Array Sort Function): Clarify stable sorting
38988         guarantees.
38990 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
38992         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
38994 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
38996         [BZ #17744]
38997         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
38998         strnlen.
39000 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
39002         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
39003         of multu on MIPSr6.
39004         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
39005         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
39006         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
39007         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
39008         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
39010 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
39012         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
39013         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
39014         (PTR_SUBU): Use subu for mips32r6/mips64r6.
39015         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
39016         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
39017         mips32r6/mips64r6.
39018         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
39020 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
39022         * string/strncat.c (STRNCAT): Simplify implementation.
39024 2014-12-19  David S. Miller  <davem@davemloft.net>
39026         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
39027         access the quad as both a long double and as a series of 4 words.
39029         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
39030         link_map->l_info array access.
39032 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
39034         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
39036         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
39037         * math/atest-exp2.c (TIMEOUT): Likewise.
39038         * math/atest-sincos.c (TIMEOUT): Likewise.
39040 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
39042         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
39043         -Wno-error with -fno-builtin-lround.
39045 2014-12-19  Torvald Riegel  <triegel@redhat.com>
39047         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
39048         Contains futex constants and functions moved over from ...
39049         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
39050         <lowlevellock-futex.h>.
39051         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
39052         (lll_timedwait_tid): Add comments and parentheses around macro
39053         arguments.
39055 2014-12-19  Torvald Riegel  <triegel@redhat.com>
39057         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
39058         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
39059         (__lll_private_flag): Remove.
39060         (lll_futex_wait): Likewise.
39061         (lll_futex_timed_wait): Likewise.
39062         (lll_futex_wake): Likewise.
39063         (lll_futex_requeue): Likewise.
39064         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
39065         (__lll_timedwait_tid): Spell out argument names.
39066         (lll_timedwait_tid): Add comments and parentheses around macro
39067         arguments.
39068         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
39069         LLL_SHARED and LLL_PRIVATE usable from assembly code.
39071 2014-12-19  Torvald Riegel  <triegel@redhat.com>
39073         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
39074         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
39075         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
39076         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
39077         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
39078         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
39079         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
39080         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
39081         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
39082         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
39083         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
39084         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
39085         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
39086         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
39087         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
39088         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
39089         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
39090         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
39091         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
39093 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
39095         * sysdeps/x86_64/x32/Makefile: New file.
39097 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
39099         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
39100         1L with (mp_limb_t) 1.
39102 2014-12-17  Roland McGrath  <roland@hack.frob.com>
39104         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
39105         * nptl/libc_pthread_init.c: ... here.
39106         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
39107         * nptl/register-atfork.c: ... here.
39109         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
39110         Use pthread_sigmask rather than INTERNAL_SYSCALL.
39111         Use assert_perror to check its return value.
39112         (__gai_create_helper_thread): Likewise.
39114         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
39116         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
39118 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
39120         [BZ #17725]
39121         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
39122         __profil_counter.
39123         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
39124         Likewise.
39125         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
39126         Likewise.
39127         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
39128         Likewise.
39129         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
39130         (profil_counter): Likewise.
39131         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
39132         (profil_counter): Likewise.
39133         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
39134         Likewise.
39135         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
39136         Likewise.
39137         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
39138         (profil_counter): Likewise.
39139         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
39140         Likewise.
39141         [!__profil_counter] (profil_counter): Define as weak alias of
39142         __profil_counter.
39143         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
39144         (profil_counter): Rename to __profil_counter.
39145         [!__profil_counter] (profil_counter): Define as weak alias of
39146         __profil_counter.
39147         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
39148         (profil_counter): Rename to __profil_counter.
39149         [!__profil_counter] (profil_counter): Define as weak alias of
39150         __profil_counter.
39151         * sysdeps/posix/profil.c: Update comment referring to
39152         profil_counter.
39153         (__profil): Use __profil_counter instead of profil_counter.
39154         * sysdeps/posix/sprofil.c (profil_counter): Rename to
39155         __profil_counter.  Use __profil_counter_ushort and
39156         __profil_counter_uint in definitions.
39157         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
39158         instead of profil_counter_uint and profil_counter_ushort.
39160         [BZ #17722]
39161         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
39162         define as weak alias of __inet_makeaddr.
39163         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
39164         as weak alias of __inet_addr.
39165         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
39166         as weak alias of __inet_pton.  Use libc_hidden_weak.
39167         * include/arpa/inet.h (__inet_pton): Declare.  Use
39168         libc_hidden_proto.
39169         (inet_makeaddr): Don't use libc_hidden_proto.
39170         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
39171         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
39172         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
39173         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
39174         Remove variable.
39175         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
39176         (test-xfail-POSIX/time.h/linknamespace): Likewise.
39178 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
39180         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
39182 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
39184         * stdio-common/bug-vfprintf-nargs.c (do_test):
39185         Cast value to intptr_t to avoid format warning
39186         for usage with PRIdPTR printing macro.
39188 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
39190         * libio/tst-widetext.c (do_test):
39191         Use format type %td instead of %Zd for ptrdiff_t
39192         in order to avoid format warning.
39194 2014-12-17  Andreas Schwab  <schwab@suse.de>
39196         * nscd/mem.c (gc): Add size_t cast to match printf format.
39198 2014-12-16  Roland McGrath  <roland@hack.frob.com>
39200         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
39201         (init): Apply PTR_MANGLE to pointers before storing them.
39202         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
39203         before using them.
39205 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
39207         [BZ #17719]
39208         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
39209         define as weak alias of __memrchr.
39210         (__memrchr): Do not define as strong alias of memrchr.
39211         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
39212         Remove variable.
39213         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
39214         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
39215         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
39217         [BZ #17717]
39218         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
39219         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
39220         (if_indextoname): Rename to __if_indextoname and define as weak
39221         alias of __if_indextoname.  Use libc_hidden_weak.
39222         (if_freenameindex): Rename to __if_freenameindex and define as
39223         weak alias of __if_freenameindex.
39224         (if_nameindex): Rename to __if_nameindex and define as weak alias
39225         of __if_nameindex.
39226         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
39227         __if_nametoindex and define as weak alias of __if_nametoindex.
39228         Use libc_hidden_weak.
39229         (if_freenameindex): Rename to __if_freenameindex and define as
39230         weak alias of __if_freenameindex.
39231         (if_nameindex): Rename to __if_nameindex and define as weak alias
39232         of __if_nameindex.
39233         (if_indextoname): Rename to __if_indextoname and define as weak
39234         alias of __if_indextoname.  Use libc_hidden_weak.
39235         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
39236         __if_nametoindex and define as weak alias of __if_nametoindex.
39237         Use libc_hidden_weak.
39238         (if_freenameindex): Rename to __if_freenameindex and define as
39239         weak alias of __if_freenameindex.  Use libc_hidden_weak.
39240         (if_nameindex_netlink): Use __if_freenameindex instead of
39241         if_freenameindex.
39242         (if_nameindex): Rename to __if_nameindex and define as weak alias
39243         of __if_nameindex.  Use libc_hidden_weak.
39244         (if_indextoname): Rename to __if_indextoname and define as weak
39245         alias of __if_indextoname.  Use libc_hidden_weak.
39246         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
39247         libc_hidden_proto.
39248         [!_ISOMAC] (__if_freenameindex): Likewise.
39249         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
39250         if_nametoindex.
39251         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
39252         variable.
39253         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
39254         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
39255         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
39256         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
39257         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
39258         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
39259         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
39261         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
39262         Remove variable.
39263         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
39264         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
39266 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39268         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
39269         subscript above bounds'
39271         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
39272         bounds.
39274 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
39276         * libio/tst-fopenloc.c: Use test-skeleton.c.
39278         * stdlib/tst-bsearch.c: Use test-skeleton.c.
39279         (entry): Rename to ITEM.
39280         (do_test, comp): Adjust.
39282         * stdio-common/tst-fseek.c: Use test-skeleton.c.
39284 2014-12-16  Torvald Riegel  <triegel@redhat.com>
39286         * string/tester.c: Include <libc-internal.h>.
39287         (test_memset): Ignore -Wmemset-transposed-args.
39289 2014-12-16  Torvald Riegel  <triegel@redhat.com>
39291         * misc/tst-mntent2.c (do_test): Fix warning.
39293 2014-12-16  Torvald Riegel  <triegel@redhat.com>
39295         * elf/tst-unique4lib.cc(a): Mark as used.
39297 2014-12-16  Florian Weimer  <fweimer@redhat.com>
39299         [BZ #17630]
39300         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
39301         names.
39303 2014-12-16  Allan McRae  <allan@archlinux.org>
39305         * stdio-common/Makefile (tests): Re-add bug26.
39307 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
39309         [BZ #17657]
39310         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
39311         static array.
39313 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
39315         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
39316         (__lll_lock_wait): Likewise.
39317         (__lll_timedlock_wait): Likewise.
39318         (__lll_timedwait_tid): Likewise.
39319         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
39320         (__lll_robust_timedlock_wait): Likewise.
39321         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
39322         (lll_cond_trylock): Likewise.
39323         (__lll_lock): Likewise.
39324         (__lll_robust_lock): Likewise.
39325         (__lll_cond_lock): Likewise.
39326         (lll_robust_cond_lock): Likewise.
39327         (__lll_timedlock): Likewise.
39328         (__lll_robust_timedlock): Likewise.
39329         (__lll_unlock): Likewise.
39330         (__lll_robust_unlock): Likewise.
39331         (lll_wait_tid): Likewise.
39332         (lll_timedwait_tid): Likewise.
39334 2014-12-15  Torvald Riegel  <triegel@redhat.com>
39336         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
39338 2014-12-15  Torvald Riegel  <triegel@redhat.com>
39340         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
39342 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
39344         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
39345         * stdio-common/tst-sprintf.c: Likewise.
39347 2014-12-15  Torvald Riegel  <triegel@redhat.com>
39349         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
39351 2014-12-15  Jeff Law  <law@redhat.com>
39353         [BZ #16617]
39354         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
39355         on the heap.  (CVE-2012-3406)
39356         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
39357         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
39358         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
39360 2014-12-15  Will Newton  <will.newton@linaro.org>
39362         * manual/install.texi: Bump required version of texinfo
39363         to 4.7 from 4.5.
39364         * INSTALL: Regenerated.
39365         * configure.ac: Check for makeinfo version 4.7 and above.
39366         * configure: Regenerated.
39368 2014-12-12  Roland McGrath  <roland@hack.frob.com>
39370         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
39371         PREFIX, string constant to insert between directory and name.
39372         * sysdeps/posix/shm_open.c: Update caller.
39373         * sysdeps/posix/shm_unlink.c: Likewise.
39374         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
39375         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
39376         (SEM_SHM_PREFIX): New macro.
39377         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
39378         [$(have-thread-library) = no].
39379         * nptl/Makefile (libpthread-routines): Add shm-directory.
39380         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
39381         * sysdeps/nptl/shm-directory.h: New file.
39382         * sysdeps/posix/shm-directory.c
39383         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
39384         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
39385         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
39386         INTERNAL_SYSCALL.
39387         (__where_is_shmfs): Function removed.
39388         (mountpoint, defaultmount, defaultdir, __namedsem_once):
39389         Variables removed.
39390         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
39391         Use SHM_GET_NAME.
39392         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
39394         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
39395         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
39396         unconditional for use inside libpthread.
39397         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
39399 2014-12-12  Roland McGrath  <roland@hack.frob.com>
39401         * nptl/pthread_getaffinity.c: New file.
39402         * nptl/pthread_setaffinity.c: New file.
39403         * nptl/pthread_getname.c: New file.
39404         * nptl/pthread_setname.c: New file.
39406         * nptl/pthread_create.c (START_THREAD_DEFN)
39407         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
39409 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
39410             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39412         * resolv/res_send.c (send_vc): Disable warning resplen may
39413         be used uninitialized.
39415 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
39417         * nptl/tst-mutex6.c
39418         (ATTR_NULL): New define checks ATTR against NULL.
39419         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
39420         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
39422 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
39424         [BZ #17581]
39425         * malloc/hooks.c
39426         (mem2mem_check): Revert my previous change.
39427         (malloc_check_get_size): Revert my previous change.
39428         (mem2chunk_check): Revert my previous change.
39430 2014-12-11  Roland McGrath  <roland@hack.frob.com>
39432         * sysdeps/posix/shm-directory.c: New file.
39433         * sysdeps/posix/shm-directory.h: New file.
39434         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
39435         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
39436         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
39437         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
39438         Transmute EPERM to EACCES.
39439         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
39440         from ...
39441         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
39442         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
39444 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39446         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
39447         pointer and cast to uintptr_t.
39448         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
39449         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
39450         Add cast to avoid warning.
39451         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
39453 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
39455         * nptl/semaphore.h: Move to ...
39456         * sysdeps/pthread/semaphore.h: ... here.
39457         * Makefile (installed-headers): Change nptl/semaphore.h to
39458         sysdeps/pthread/semaphore.h.
39460 2014-12-11  Roland McGrath  <roland@hack.frob.com>
39462         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
39463         generated error format strings.
39465         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
39466         -Wformat-extra-args warnings for scanf formats.
39467         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
39468         test of zero-length format (duh).
39469         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
39470         corner-case scanf format test.
39471         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
39472         generated fprintf format string.
39473         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
39474         corner-case sprintf format tests.
39475         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
39476         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
39477         -Wformat-extra-args warnings throughout.
39478         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
39479         (CFLAGS-scanf4.c): Likewise.
39480         (CFLAGS-scanf7.c): Likewise.
39481         (CFLAGS-tst-sprintf.c): Likewise.
39482         (CFLAGS-tst-printf.c): Likewise.
39483         (CFLAGS-tst-printfsz.c): Likewise.
39485 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
39487         * include/cpio.h: New file.
39488         * include/fmtmsg.h: Likewise.
39490         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
39491         corresponding format argument to size_t.
39492         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
39493         arguments.
39494         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
39495         corresponding format argument to size_t.
39496         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
39497         arguments.
39498         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
39499         corresponding format argument to size_t.
39500         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
39501         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
39502         (CFLAGS-tst-mbswcs2.c): Likewise.
39503         (CFLAGS-tst-mbswcs3.c): Likewise.
39504         (CFLAGS-tst-mbswcs4.c): Likewise.
39505         (CFLAGS-tst-mbswcs5.c): Likewise.
39506         (CFLAGS-tst-trans.c): Likewise.
39508 2014-12-11  Roland McGrath  <roland@hack.frob.com>
39510         * posix/regexbug1.c (main): Use "%s" format with regerror results,
39511         rather than assuming they won't contain any '%'s.
39513 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
39515         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
39516         inhibit_loop_to_libcall to avoid recursive calls.
39517         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
39518         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
39520 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
39522         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
39523         prototype.
39525 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
39527         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
39528         integer value instead of boolean.
39530 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
39532         * malloc/malloc.c: Fix powerof2 check.
39534 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
39536         * locale/programs/locfile.h (maybe_swap_uint32):
39537         Remove inline and add unused attribute.
39539 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
39541         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
39542         Truncating assembler expression to a .long expression.
39544 2014-12-11  Andreas Schwab  <schwab@suse.de>
39546         * elf/rtld.c (struct map_args): Constify str member.
39547         (do_preload): Constify fname argument.
39549 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39551         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
39552         constants definition.
39554 2014-12-11  Andreas Schwab  <schwab@suse.de>
39556         [BZ #16657]
39557         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
39558         FORCE_ELISION instead of DO_ELISION.
39559         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
39560         Remove.
39561         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
39562         Likewise.
39564         * iconvdata/gconv-modules: Remove duplicate entry.
39566 2014-12-11  Will Newton  <will.newton@linaro.org>
39568         Merge gettext 0.19.3 into intl/.
39570         This involves a number of cosmetic changes to comments
39571         and ANSI function definitions and prototypes throughout
39572         all the files. The gettext copyright header is used but
39573         with the date ranges taken from the glibc copy.
39575         * NEWS: Add gettext merge to 2.21.
39576         * intl/bindtextdom.c: Switch to gettext copyright.
39577         Use ANSI definitions and prototypes.
39578         Use gl_* locking primitives rather than __libc_* ones.
39579         Use __builtin_expect rather than __glibc_likely/unlikely.
39580         * intl/dcgettext.c: Switch to gettext copyright.
39581         Use ANSI definitions and prototypes.
39582         * intl/dcigettext.c: Switch to gettext copyright.
39583         Use ANSI definitions and prototypes.
39584         (INTDIV0_RAISES_SIGFPE): New define.
39585         Use gl_* locking primitives rather than __libc_* ones.
39586         Include eval-plural.h instead of plural-eval.c.
39587         Use __builtin_expect rather than __glibc_likely/unlikely.
39588         * intl/dcngettext.c: Switch to gettext copyright.
39589         Use ANSI definitions and prototypes.
39590         * intl/dgettext.c: Likewise.
39591         * intl/dngettext.c: Likewise.
39592         * intl/plural-eval.c: Renamed to...
39593         * intl/eval-plural.h: ...this.
39594         * intl/explodename.c: Switch to gettext copyright.
39595         Use ANSI definitions and prototypes.
39596         (_nl_explode_name): Use strchr instead of __rawmemchr.
39597         * intl/finddomain.c: Switch to gettext copyright.
39598         Use ANSI definitions and prototypes.
39599         Use gl_* locking primitives rather than __libc_* ones.
39600         (_nl_find_domain): Use malloc rather than alloca for
39601         allocation of temporary locale name.
39602         * intl/gettext.c: Switch to gettext copyright.
39603         Use ANSI definitions and prototypes.
39604         * intl/gettextP.h: Switch to gettext copyright.
39605         Use ANSI definitions and prototypes.
39606         Use gl_* locking primitives rather than __libc_* ones.
39607         * intl/gmo.h: Switch to gettext copyright.
39608         (struct sysdep_string): Move struct segment_pair outside of
39609         struct definition.
39610         * intl/hash-string.c: Use ANSI definitions and prototypes.
39611         * intl/hash-string.h: Switch to gettext copyright.
39612         Use ANSI definitions and prototypes.
39613         * intl/l10nflist.c: Switch to gettext copyright.
39614         Use ANSI definitions and prototypes.
39615         (_nl_normalize_codeset): Avoid integer overflow.
39616         * intl/loadinfo.h: Switch to gettext copyright.
39617         Use ANSI definitions and prototypes.
39618         (LIBINTL_DLL_EXPORTED): New define.
39619         (PATH_SEPARATOR): New define.
39620         * intl/loadmsgcat.c: Switch to gettext copyright.
39621         * intl/localealias.c: Switch to gettext copyright.
39622         Use ANSI definitions and prototypes.
39623         (_nl_expand_alias): Use PATH_SEPARATOR.
39624         * intl/ngettext.c: Switch to gettext copyright.
39625         Use ANSI definitions and prototypes.
39626         * intl/plural-exp.c: Likewise.
39627         * intl/plural-exp.h: Switch to gettext copyright.
39628         Use ANSI definitions and prototypes.
39629         (struct expression): Move definition of enum operator outside
39630         of struct definition.
39631         * intl/plural.c: Regenerate.
39632         * intl/plural.y: Switch to gettext copyright.
39633         Use ANSI definitions and prototypes.
39634         Port to bison 3.0.
39635         * intl/textdomain.c: Switch to gettext copyright.
39636         Use ANSI definitions and prototypes.
39637         Use gl_* locking primitives rather than __libc_* ones.
39639 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
39641         * debug/warning-nop.c: Add used atrribute.
39643 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
39645         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
39647         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
39648         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
39649         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
39651 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
39652             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39654         [BZ #17634]
39655         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
39656         Undefine after defining function.  Define as weak alias of
39657         __wcschr.  Use libc_hidden_weak.
39658         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
39659         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
39660         (libc_hidden_def): Also define __GI___wcschr alias.
39661         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
39662         __wcschr and define as weak alias of __wcschr.
39663         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
39664         __wcschr.
39665         [!WCSCHR] (DEFAULT_WCSCHR): Define.
39666         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
39667         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
39668         libc_hidden_weak.  Do not use libc_hidden_def.
39669         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
39670         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
39671         __GI___wcschr alias.
39672         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
39673         [IS_IN (libc)] (wcschr): Define as macro expanding to
39674         __redirect_wcschr.
39675         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
39676         [IS_IN (libc)] (__wcschr_power6): Likewise.
39677         [IS_IN (libc)] (__wcschr_power7): Likewise.
39678         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
39679         instead of wcschr.
39680         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
39681         __libc_wcschr.
39682         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
39683         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
39684         __wcschr and define as weak alias of __wcschr.  Use
39685         libc_hidden_builtin_def.
39686         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
39687         as weak alias of __wcschr.  Use libc_hidden_weak.
39688         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
39689         wcschr.
39690         * time/era.c (_nl_init_era_entries): Likewise.
39691         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
39692         variable.
39693         (test-xfail-XPG3/time.h/linknamespace): Likewise.
39694         (test-xfail-XPG4/time.h/linknamespace): Likewise.
39696 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
39698         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
39699         format for long int variable.
39701 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
39703         [BZ #10672]
39704         * manual/search.texi: (Array Sort Function): Remove claim how to make
39705         qsort stable.
39707 2014-12-10  Andreas Schwab  <schwab@suse.de>
39709         [BZ #12847]
39710         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
39711         user-controlled locks.
39713 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
39715         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
39716         register.
39718 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
39720         * configure.ac (--disable-werror): New configure option.
39721         (enable_werror): New AC_SUBST.
39722         * configure: Regenerated.
39723         * config.make.in (enable-werror): New variable.
39724         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
39725         -Wno-error=undef.
39726         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
39727         * manual/install.texi (Configuring and compiling): Document
39728         --disable-werror.
39729         * INSTALL: Regenerated.
39730         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
39731         (CFLAGS-tst-chk2.c): Likewise.
39732         (CFLAGS-tst-chk3.c): Likewise.
39733         (CFLAGS-tst-chk4.cc): Likewise.
39734         (CFLAGS-tst-chk5.cc): Likewise.
39735         (CFLAGS-tst-chk6.cc): Likewise.
39736         (CFLAGS-tst-lfschk1.c): Likewise.
39737         (CFLAGS-tst-lfschk2.c): Likewise.
39738         (CFLAGS-tst-lfschk3.c): Likewise.
39739         (CFLAGS-tst-lfschk4.cc): Likewise.
39740         (CFLAGS-tst-lfschk5.cc): Likewise.
39741         (CFLAGS-tst-lfschk6.cc): Likewise.
39743         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
39744         (main): Disable -Wdeprecated-declarations around calls to
39745         register_printf_function.
39747         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
39748         (do_test): Disable -Wdiv-by-zero around some calls to
39749         fwrite_unlocked and fread_unlocked.
39751         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
39752         (DIAG_POP_NEEDS_COMMENT): Likewise.
39753         (_DIAG_STR1): Likewise.
39754         (_DIAG_STR): Likewise.
39755         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
39756         * stdio-common/bug21.c: Include <libc-internal.h>.
39757         (do_test): Disable -Wformat around call to sscanf.
39758         * stdio-common/scanf14.c: Include <libc-internal.h>.
39759         (main): Disable -Wformat around some calls to scanf functions.
39761 2014-12-09  Torvald Riegel  <triegel@redhat.com>
39763         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
39765 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39767         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
39768         stack variable alignment.
39770 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
39772         [BZ #17682]
39773         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
39774         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
39775         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
39776         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
39777         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
39778         __getrlimit instead of getrlimit.
39779         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
39780         __gettimeofday instead of gettimeofday.
39781         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
39782         Likewise.
39783         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
39784         Likewise.
39785         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
39786         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
39787         Remove variable.
39788         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
39789         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
39791 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39793         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
39794         for wide-character tests.
39796 2014-12-04  Roland McGrath  <roland@hack.frob.com>
39798         * io/openat64.c: #include <libc-internal.h>
39799         (__openat64): Prototypify.  Use ignore_value on MODE.
39800         * io/openat.c: Likewise.
39801         * misc/reboot.c: #include <libc-internal.h>
39802         (reboot): Prototypify.  Use ignore_value on HOWTO.
39803         * misc/ptrace.c: #include <libc-internal.h>
39804         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
39806 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
39808         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
39809         XPG4, UNIX98 and XOPEN2K.
39810         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
39811         Remove variable.
39812         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
39814 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39816         * libio/fileops.c: Use ISO C style for function definitions.
39817         * libio/iofopen.c: Likewise.
39818         * libio/wfileops.c: Likewise.
39820         [BZ #17653]
39821         * libio/fileops.c (_IO_new_file_underflow): Unset cached
39822         offset on EOF.
39823         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
39824         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
39825         (fgets_func): Function pointer to fgets and fgetws.
39826         (do_ftell_test): Add test to verify ftell value after read
39827         EOF.
39828         (do_test): Set fgets_func.
39830         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
39831         O_TRUNC flag for w and w+ modes.
39832         (do_rewind_test): Likewise.
39833         (do_ftell_test): Likewise.
39834         (do_write_test): Likewise.
39836         [BZ #17647]
39837         * libio/fileops.c (do_ftell): Seek only when there are
39838         unflushed writes.
39839         * libio/wfileops.c (do_ftell_wide): Likewise.
39840         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
39841         test case.
39842         (do_one_test): Call it.
39844 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
39846         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
39847         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
39848         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
39849         Remove variable.
39850         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
39851         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
39852         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
39854 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
39856         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
39857         Remove variable.
39858         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
39860         [BZ #17668]
39861         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
39862         as weak alias of __getifaddrs.  Use libc_hidden_weak.
39863         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
39864         __freeifaddrs.  Use libc_hidden_weak.
39865         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
39866         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
39867         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
39868         __freeifaddrs.  Use libc_hidden_weak.
39869         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
39870         __getifaddrs and define as weak alias of __getifaddrs.  Use
39871         libc_hidden_weak.
39872         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
39873         __freeifaddrs.  Use libc_hidden_weak.
39874         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
39875         Remove variable.
39876         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
39877         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
39879 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
39881         [BZ #17601]
39882         * sysdeps/mips/start.S (__start): Use indirect jump to call
39883         __libc_start_main.
39885 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
39887         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
39889         * nptl/tst-mutex1.c: Include <stdbool.h>.
39890         [!ATTR] (ATTR_NULL): New macro.
39891         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
39892         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
39893         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
39895         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
39896         to char *.
39898         [BZ #17665]
39899         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
39900         Change conditional to [__USE_MISC].
39902         [BZ #17664]
39903         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
39904         fgets_unlocked.
39905         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
39906         __fgets_unlocked.
39907         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
39908         fgets_unlocked.
39909         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
39910         Remove variable.
39911         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
39912         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
39913         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
39914         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
39915         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
39916         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
39917         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
39918         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
39919         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
39921         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
39923 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39925         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39926         Remove strpbrk objects.
39927         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39928         (__libc_ifunc_impl_list): Remove strpbrk implementation.
39929         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
39930         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
39931         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
39932         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
39934         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39935         Remove strcspn objects.
39936         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39937         (__libc_ifunc_impl_list): Remove strcspn implementation.
39938         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
39939         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
39940         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
39941         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
39943         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39944         Remove strspn objetcs.
39945         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39946         (__libc_ifunc_impl_list): Remove strspn implementation.
39947         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
39948         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
39949         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
39950         * sysdeps/powerpc/powerpc64/strspn.S: New file.
39952 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
39954         [BZ #17581]
39955         * malloc/hooks.c
39956         (mem2mem_check): Add a terminator to the chain of checking blocks.
39957         (malloc_check_get_size): Use it here.
39958         (mem2chunk_check): Ditto.
39960 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
39962         * sysdeps/powerpc/powerpc64/strtok.S: New file.
39963         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
39965 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
39967         * bits/ioctl-types.h: Indent preprocessor directives correctly.
39969         * nptl/nptl-init.c: Include libc-internal.h.
39970         (__pthread_initialize_minimal_internal): Use ROUND_UP.
39972         * elf/ldconfig.c (search_dir): Expand comment.
39974 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
39976         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
39977         variable.
39978         (linknamespace-symlist-stdlibs-tests): Likewise.
39979         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
39980         instead of $(objpfx)symlist-stdlibs.
39981         (linknamespace-libs-isoc): New variable.
39982         (linknamespace-libs): Use $(linknamespace-libs-isoc).
39983         (linknamespace-libs-ISO): New variable.
39984         (linknamespace-libs-ISO99): Likewise.
39985         (linknamespace-libs-ISO11): Likewise.
39986         (linknamespace-libs-XPG3): Likewise.
39987         (linknamespace-libs-XPG4): Likewise.
39988         (linknamespace-libs-POSIX): Likewise.
39989         (linknamespace-libs-UNIX98): Likewise.
39990         (linknamespace-libs-XOPEN2K): Likewise.
39991         (linknamespace-libs-POSIX2008): Likewise.
39992         (linknamespace-libs-XOPEN2K8): Likewise.
39993         ($(objpfx)symlist-stdlibs): Replace by
39994         $(linknamespace-symlist-stdlibs-tests).  Use
39995         $(linknamespace-libs-$*) as set of libraries.
39996         ($(linknamespace-header-tests)): Update dependencies.  Use
39997         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
39998         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
39999         * conform/linknamespace.pl: Remove comment about considering
40000         definitions of symbols from irrelevant libraries.
40002 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
40004         [BZ #13862]
40005         * elf/dl-tls.c: Include <atomic.h>.
40006         (oom): Remove #ifdef SHARED/#endif.
40007         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
40008         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
40009         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
40010         big enough.
40011         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
40012         * nptl/Makefile (tests): Add tst-stack4.
40013         (modules-names): Add tst-stack4mod.
40014         ($(objpfx)tst-stack4): New.
40015         (tst-stack4mod.sos): Likewise.
40016         ($(objpfx)tst-stack4.out): Likewise.
40017         ($(tst-stack4mod.sos)): Likewise.
40018         (clean): Likewise.
40019         * nptl/tst-stack4.c: New file.
40020         * nptl/tst-stack4mod.c: Likewise.
40022 2014-11-27  J. Brown  <jb999@gmx.de>
40024         * sysdeps/x86/bits/string.h: Add recent CPUs.
40026 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
40028         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
40029         sigblock.
40031         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
40032         feof.
40034         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
40035         variable.
40037 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
40039         * nscd/connections.c: Include libc-internal.h because of macro
40040         usage ignore_value.
40042 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40044         * string/bits/string3.h (__warn_memset_zero_len): Don't
40045         declare for gcc newer than 5.0.
40046         (memset): Don't test for zero-length __LEN for gcc newer than
40047         5.0.
40049 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
40051         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
40052         size_t for %zu format.
40054         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
40055         difference, not %ju.
40057 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
40059         * include/libc-internal.h (ignore_value): New macro.
40060         * nscd/connections.c (restart): Wrap calls to setuid and setgid
40061         with ignore_value.
40063         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
40064         definition.
40066         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
40067         pthread_cleanup_push to void *.
40069         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
40070         Undefine.
40072         [BZ #16619]
40073         [BZ #16740]
40074         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
40075         instead of 1L << 52.
40077         * libio/bug-rewind.c (do_test): Check fwscanf return values.
40078         * libio/bug-rewind2.c (do_test): Likewise.
40080         * debug/test-stpcpy_chk-ifunc.c: Remove file.
40081         * debug/test-strcpy_chk-ifunc.c: Likewise.
40082         * wcsmbs/test-wcschr-ifunc.c: Likewise.
40083         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
40084         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
40085         * wcsmbs/test-wcslen-ifunc.c: Likewise.
40086         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
40087         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
40088         * Rules [$(multi-arch) = no] (tests): Do not filter out
40089         $(tests-ifunc).
40090         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
40091         * debug/Makefile (tests-ifunc): Remove variable.
40092         (tests): Do not add $(tests-ifunc).
40093         * wcsmbs/Makefile (tests-ifunc): Remove variable.
40094         (tests): Do not add $(tests-ifunc).
40095         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
40096         [TEST_IFUNC]: Remove conditionals.
40097         * string/test-string.h (TEST_IFUNC): Remove macro.
40098         [TEST_IFUNC]: Remove conditionals.
40100         * string/test-strchr.c [!WIDE] (L): New macro.
40101         [WIDE] (L): Likewise.
40102         (check1): Use CHAR instead of char.  Use L on string and character
40103         constants.
40105 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
40107         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
40108         tests.
40109         * sysdeps/powerpc/bits/atomic.h
40110         (__arch_atomic_exchange_and_add_32_acq): Add definition.
40111         (__arch_atomic_exchange_and_add_32_rel): Likewise.
40112         (atomic_exchange_and_add_acq): Likewise.
40113         (atomic_exchange_and_add_rel): Likewise.
40114         * sysdeps/powerpc/powerpc32/bits/atomic.h
40115         (__arch_atomic_exchange_and_add_64_acq): Add definition.
40116         (__arch_atomic_exchange_and_add_64_rel): Likewise.
40117         * sysdeps/powerpc/powerpc64/bits/atomic.h
40118         (__arch_atomic_exchange_and_add_64_acq): Add definition.
40119         (__arch_atomic_exchange_and_add_64_rel): Likewise.
40121 2014-11-26  Torvald Riegel  <triegel@redhat.com>
40123         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
40124         Change synchronization of __sched_fifo_min_prio and
40125         __sched_fifo_max_prio.
40126         * nptl/pthread_mutexattr_getprioceiling.c
40127         (pthread_mutexattr_getprioceiling): Likewise.
40128         * nptl/pthread_mutexattr_setprioceiling.c
40129         (pthread_mutexattr_setprioceiling): Likewise.
40130         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
40131         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
40132         Likewise.
40134 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
40136         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
40137         void.
40139 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
40141         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
40142         third argument const.
40144 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
40146         fnmatch: work around GCC compiler warning bug with uninit var
40147         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
40148         This works around a bug with x86-64 GCC 4.9.2 and earlier
40149         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
40150         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
40151         used uninitialized in this function [-Wmaybe-uninitialized]".
40153 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
40155         * posix/bug-regex31.c (main): Return RES not 0.
40157 2014-11-25  Anton Blanchard <anton@samba.org>
40159         * sysdeps/powerpc/bits/atomic.h
40160         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
40162 2014-11-24  Sterling Augustine  <saugustine@google.com>
40164         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
40166 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
40168         [BZ #17608]
40169         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
40171 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
40173         [BZ #17633]
40174         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
40175         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
40176         variable.
40177         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
40178         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
40180 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
40182         * string/strncpy.c (strncpy): Improve performance by using memset.
40184 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
40186         * string/strcpy.c (strcpy):
40187         Improve performance by using strlen and memcpy.
40189 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
40191         * string/strcoll_l.c (get_next_seq): __always_inline.
40192         * string/strcoll_l.c (do_compare): __always_inline.
40194 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
40196         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
40197         defined.
40198         * include/mqueue.h: Likewise.
40199         * include/stdlib.h: Likewise.
40201         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
40202         (get_null_defines): Adjust.
40203         * sunrpc/Makefile: Adjust comment.
40204         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
40205         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
40206         (CFLAGS-interp.c): Likewise.
40207         (CFLAGS-ldconfig.c): Likewise.
40208         (CPPFLAGS-.os): Likewise.
40209         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
40210         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
40211         * extra-modules.mk (extra-modules.mk): Likewise.
40212         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
40213         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
40214         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
40215         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
40216         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
40217         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
40218         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
40219         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
40220         * iconvdata/Makefile (CPPFLAGS): Likewise.
40221         (cpp-srcs-left): Add libof for all iconvdata routines.
40222         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
40223         * include/assert.h: Likewise.
40224         * include/ctype.h: Likewise.
40225         * include/errno.h: Likewise.
40226         * include/libc-symbols.h: Likewise.
40227         * include/math.h: Likewise.
40228         * include/netdb.h: Likewise.
40229         * include/resolv.h: Likewise.
40230         * include/stdio.h: Likewise.
40231         * include/stdlib.h: Likewise.
40232         * include/string.h: Likewise.
40233         * include/sys/stat.h: Likewise.
40234         * include/wctype.h: Likewise.
40235         * intl/l10nflist.c: Likewise.
40236         * libidn/idn-stub.c: Likewise.
40237         * libio/libioP.h: Likewise.
40238         * nptl/libc_multiple_threads.c: Likewise.
40239         * nptl/pthreadP.h: Likewise.
40240         * posix/regex_internal.h: Likewise.
40241         * resolv/res_hconf.c: Likewise.
40242         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
40243         * sysdeps/arm/memmove.S: Likewise.
40244         * sysdeps/arm/sysdep.h: Likewise.
40245         * sysdeps/generic/_itoa.h: Likewise.
40246         * sysdeps/generic/symbol-hacks.h: Likewise.
40247         * sysdeps/gnu/errlist.awk: Likewise.
40248         * sysdeps/gnu/errlist.c: Likewise.
40249         * sysdeps/i386/i586/memcpy.S: Likewise.
40250         * sysdeps/i386/i586/memset.S: Likewise.
40251         * sysdeps/i386/i686/memcpy.S: Likewise.
40252         * sysdeps/i386/i686/memmove.S: Likewise.
40253         * sysdeps/i386/i686/mempcpy.S: Likewise.
40254         * sysdeps/i386/i686/memset.S: Likewise.
40255         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
40256         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40257         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
40258         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
40259         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40260         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40261         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
40262         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40263         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
40264         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40265         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40266         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40267         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40268         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40269         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40270         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40271         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
40272         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
40273         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
40274         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40275         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40276         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40277         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40278         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40279         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40280         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40281         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
40282         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40283         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
40284         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
40285         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40286         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40287         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40288         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40289         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40290         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
40291         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40292         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40293         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40294         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40295         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40296         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40297         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40298         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
40299         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40300         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40301         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
40302         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
40303         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40304         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
40305         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40306         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
40307         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
40308         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40309         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
40310         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
40311         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40312         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
40313         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
40314         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40315         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
40316         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40317         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
40318         * sysdeps/nptl/bits/libc-lock.h: Likewise.
40319         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
40320         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
40321         * sysdeps/posix/closedir.c: Likewise.
40322         * sysdeps/posix/opendir.c: Likewise.
40323         * sysdeps/posix/readdir.c: Likewise.
40324         * sysdeps/posix/rewinddir.c: Likewise.
40325         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
40326         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
40327         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
40328         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
40329         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
40330         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
40331         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
40332         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
40333         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
40334         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
40335         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
40336         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
40337         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
40338         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
40339         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
40340         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
40341         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
40342         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
40343         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
40344         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
40345         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
40346         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
40347         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
40348         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
40349         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
40350         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
40351         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
40352         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
40353         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
40354         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
40355         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
40356         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
40357         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
40358         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
40359         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
40360         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
40361         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
40362         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
40363         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
40364         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
40365         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
40366         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
40367         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
40368         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
40369         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
40370         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
40371         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
40372         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
40373         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
40374         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
40375         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
40376         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
40377         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
40378         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
40379         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
40380         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
40381         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
40382         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
40383         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
40384         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
40385         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
40386         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
40387         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
40388         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
40389         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
40390         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
40391         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
40392         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
40393         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
40394         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
40395         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
40396         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
40397         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
40398         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
40399         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
40400         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
40401         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
40402         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
40403         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
40404         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
40405         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
40406         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
40407         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
40408         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
40409         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
40410         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
40411         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
40412         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
40413         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
40414         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
40415         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
40416         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
40417         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
40418         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
40419         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40420         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
40421         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
40422         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40423         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
40424         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
40425         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40426         * sysdeps/unix/alpha/sysdep.S: Likewise.
40427         * sysdeps/unix/alpha/sysdep.h: Likewise.
40428         * sysdeps/unix/make-syscalls.sh: Likewise.
40429         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
40430         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
40431         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
40432         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
40433         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
40434         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
40435         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
40436         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
40437         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
40438         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
40439         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
40440         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
40441         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40442         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
40443         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
40444         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
40445         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
40446         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
40447         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
40448         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
40449         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
40450         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
40451         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
40452         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
40453         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
40454         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
40455         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
40456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
40457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
40458         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
40459         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
40460         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
40461         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
40462         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40463         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
40464         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
40465         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
40466         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40467         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
40468         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
40469         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
40470         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
40471         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40472         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
40473         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
40474         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
40475         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40476         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40477         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
40478         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40479         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
40480         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
40481         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
40482         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
40483         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
40484         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
40485         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
40486         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40487         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
40488         * sysdeps/x86_64/memcpy.S: Likewise.
40489         * sysdeps/x86_64/memmove.c: Likewise.
40490         * sysdeps/x86_64/memset.S: Likewise.
40491         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
40492         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
40493         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
40494         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
40495         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
40496         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40497         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40498         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
40499         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
40500         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
40501         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
40502         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
40503         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
40504         * sysdeps/x86_64/multiarch/memset.S: Likewise.
40505         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
40506         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
40507         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
40508         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
40509         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
40510         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
40511         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
40512         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
40513         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
40514         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
40515         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
40516         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
40517         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
40518         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
40519         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
40520         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
40521         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
40522         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
40523         * sysdeps/x86_64/strcmp.S: Likewise.
40525         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
40527         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
40528         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
40529         * elf/rtld-Rules: Likewise.
40530         * elf/setup-vdso.h: Likewise.
40531         * include/assert.h: Likewise.
40532         * include/bits/stdlib-float.h: Likewise.
40533         * include/errno.h: Likewise.
40534         * include/sys/stat.h: Likewise.
40535         * include/unistd.h: Likewise.
40536         * sysdeps/aarch64/setjmp.S: Likewise.
40537         * sysdeps/alpha/setjmp.S: Likewise.
40538         * sysdeps/arm/__longjmp.S: Likewise.
40539         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
40540         * sysdeps/arm/setjmp.S: Likewise.
40541         * sysdeps/arm/sysdep.h: Likewise.
40542         * sysdeps/generic/_itoa.h: Likewise.
40543         * sysdeps/generic/dl-sysdep.h: Likewise.
40544         * sysdeps/generic/ldsodefs.h: Likewise.
40545         * sysdeps/i386/dl-tls.h: Likewise.
40546         * sysdeps/i386/setjmp.S: Likewise.
40547         * sysdeps/m68k/setjmp.c: Likewise.
40548         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
40549         * sysdeps/mach/hurd/opendir.c: Likewise.
40550         * sysdeps/posix/getcwd.c: Likewise.
40551         * sysdeps/posix/opendir.c: Likewise.
40552         * sysdeps/posix/profil.c: Likewise.
40553         * sysdeps/powerpc/dl-procinfo.h: Likewise.
40554         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
40555         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
40556         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
40557         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
40558         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
40559         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
40560         * sysdeps/s390/dl-tls.h: Likewise.
40561         * sysdeps/s390/s390-32/setjmp.S: Likewise.
40562         * sysdeps/s390/s390-64/setjmp.S: Likewise.
40563         * sysdeps/sh/sh3/setjmp.S: Likewise.
40564         * sysdeps/sh/sh4/setjmp.S: Likewise.
40565         * sysdeps/unix/alpha/sysdep.h: Likewise.
40566         * sysdeps/unix/arm/sysdep.S: Likewise.
40567         * sysdeps/unix/i386/sysdep.S: Likewise.
40568         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
40569         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
40570         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
40571         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
40572         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40573         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
40574         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
40575         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
40576         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
40577         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
40578         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
40579         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
40580         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
40581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
40582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40583         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
40584         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40585         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40586         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
40587         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40588         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
40589         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40590         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40591         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
40592         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
40593         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
40594         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40595         * sysdeps/unix/x86_64/sysdep.S: Likewise.
40596         * sysdeps/x86_64/setjmp.S: Likewise.
40598         * include/math.h: Use IS_IN instead of IS_IN_libm.
40599         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
40600         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40601         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
40602         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
40603         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40604         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
40605         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
40606         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40607         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40608         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
40609         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
40610         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
40611         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
40612         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
40613         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
40614         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
40615         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
40616         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
40617         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
40618         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
40619         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
40620         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
40621         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
40622         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
40623         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
40624         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
40625         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
40626         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
40627         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
40628         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
40629         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
40630         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
40631         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
40632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
40633         Likewise.
40634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
40635         Likewise.
40636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
40637         Likewise.
40638         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
40639         Likewise.
40640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
40641         Likewise.
40642         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
40643         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
40644         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
40645         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
40646         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
40647         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
40648         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
40649         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
40650         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
40651         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
40652         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
40653         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
40654         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
40655         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
40656         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
40657         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
40658         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
40659         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
40660         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
40661         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
40662         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
40663         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
40664         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
40665         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
40666         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
40667         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
40668         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
40670         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
40671         * nptl/pthreadP.h: Likewise.
40672         * nptl_db/structs.def: Likewise.
40673         * sysdeps/arm/sysdep.h: Likewise.
40674         * sysdeps/nptl/bits/libc-lock.h: Likewise.
40675         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
40676         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
40677         * sysdeps/unix/alpha/sysdep.h: Likewise.
40678         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
40679         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
40680         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
40681         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
40682         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
40683         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
40684         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40685         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
40686         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
40687         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
40688         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
40689         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
40690         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
40691         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
40692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
40693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
40694         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
40695         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
40696         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
40697         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
40698         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
40699         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
40700         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
40701         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
40702         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
40703         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
40705         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
40706         * nptl/pthreadP.h: Likewise.
40707         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
40708         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
40709         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
40710         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
40711         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
40712         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
40713         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
40714         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
40715         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
40716         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
40717         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
40718         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
40719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
40720         Likewise.
40721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
40722         Likewise.
40723         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
40724         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
40725         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
40726         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
40727         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
40728         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
40729         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
40730         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
40732         * dlfcn/dladdr.c: Use IS_IN.
40733         * dlfcn/dladdr1.c: Likewise.
40734         * dlfcn/dlclose.c: Likewise.
40735         * dlfcn/dlerror.c: Likewise.
40736         * dlfcn/dlinfo.c: Likewise.
40737         * dlfcn/dlmopen.c: Likewise.
40738         * dlfcn/dlopen.c: Likewise.
40739         * dlfcn/dlsym.c: Likewise.
40740         * dlfcn/dlvsym.c: Likewise.
40742         * include/ifaddrs.h: Use IS_IN.
40743         * inet/check_pf.c: Likewise.
40744         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
40745         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
40747         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
40748         IS_IN_ldconfig.
40749         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
40750         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
40752         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
40753         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
40754         IS_IN (libc).
40756         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
40758         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
40759         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
40760         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
40761         * include/libc-symbols.h (IS_IN_LIB): New macro.
40762         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
40763         * include/netdb.h: Likewise.
40764         * include/stap-probe.h: Remove all uses of IN_LIB.
40766         * Makeconfig (module-cppflags-real): Define MODULE_NAME
40767         instead of IN_MODULE.
40768         * include/libc-symbols.h (IN_MODULE): Define using
40769         MODULE_NAME.
40770         (PASTE_NAME, PASTE_NAME1): New macros.
40771         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
40772         of IN_LIB.
40773         (STAP_PROBE_ASM): Likewise.
40775 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40777         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
40778         __mach_init in dlopened libc.
40780 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
40782         * sysdeps/arm/preconfigure.ac: Delete EABI check.
40783         * sysdeps/arm/preconfigure: Regenerate.
40785 2014-11-21  Roland McGrath  <roland@hack.frob.com>
40787         * nptl/pthread_create.c (__pthread_create_2_1): Set
40788         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
40789         when copying values from IATTR into PD.
40791 2014-11-21  Will Newton  <will.newton@linaro.org>
40792             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
40794         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
40795         Refactor inline-asm.  Also add comment.
40797         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
40798         ElfW macro instead of hardcoded Elf64 types.
40799         (la_aarch64_gnu_pltenter): Likewise.
40800         * sysdeps/aarch64/dl-machine.h
40801         (elf_machine_runtime_setup): Use ElfW(Addr).
40803         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
40804         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
40805         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
40806         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
40807         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
40808         (R_AARCH64_TLS_DTPMOD64): Rename to ..
40809         (R_AARCH64_TLS_DTPMOD): This.
40810         (R_AARCH64_TLS_DTPREL64): Rename to ...
40811         (R_AARCH64_TLS_DTPREL): This.
40812         (R_AARCH64_TLS_TPREL64): Rename to ...
40813         (R_AARCH64_TLS_TPREL): This.
40814         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
40815         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
40816         R_AARCH64_TLS_TPREL64.
40817         (elf_machine_rela): Likewise.
40819 2014-11-21  Torvald Riegel  <triegel@redhat.com>
40821         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
40822         by setting it to 0.  64b atomics are not supported currently.
40824 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
40826         [BZ #16469]
40827         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
40828         search domain names.
40830 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
40832         [BZ #16469]
40833         * NEWS: Update.
40834         * resolv/res_query.c (__libc_res_nquerydomain): Retain
40835         trailing dot.
40836         * posix/tst-getaddrinfo5.c: New.
40837         * posix/Makefile (tests): Add it.
40839 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
40841         [BZ #14498]
40842         * NEWS: Fixed.
40843         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
40844         after parsing line but before break_if_match.
40845         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
40846         if there is a protocol mismatch.
40848 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
40850         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
40851         because the potential race is on the user-supplied stream.
40853 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
40855         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
40856         string literal if not passed a buffer.
40857         * manual/job.texi (ctermid): Update reasoning, note deviation
40858         from posix, suggest mtasurace when not passed a buffer, for
40859         future non-preliminary safety notes.
40861 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
40863         * manual/users.texi (cuserid): Fix MT-Safety note for the case
40864         of not passing it a buffer.
40865         Reported by Peng Haitao.
40867 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
40869         * manual/Makefile ($(objpfx)stamp-summary): Require
40870         check-safety.sh to pass.
40871         * manual/check-safety.sh: Wish for verification that every
40872         @deftypefn and @deftypefun is followed by a @safety remark.
40874 2014-11-20  Roland McGrath  <roland@hack.frob.com>
40876         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
40878         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
40879         PTHREAD_CANCEL_ASYNCHRONOUS.
40880         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
40881         send SIGCANCEL.
40883         * nptl/default-sched.h: New file.
40884         * sysdeps/unix/sysv/linux/default-sched.h: New file.
40885         * nptl/pthread_create.c: Include it.
40886         (__pthread_create_2_1): Use collect_default_sched instead of making
40887         Linux syscalls here directly.
40889 2014-11-20  Torvald Riegel  <triegel@redhat.com>
40891         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
40892         __pthread_once): Use C11 atomics.
40894 2014-11-20  Torvald Riegel  <triegel@redhat.com>
40896         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
40898 2014-11-20  Torvald Riegel  <triegel@redhat.com>
40900         * include/atomic.h (__atomic_link_error, __atomic_check_size,
40901         atomic_thread_fence_acquire, atomic_thread_fence_release,
40902         atomic_thread_fence_seq_cst, atomic_load_relaxed,
40903         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
40904         atomic_compare_exchange_weak_relaxed,
40905         atomic_compare_exchange_weak_acquire,
40906         atomic_compare_exchange_weak_release,
40907         atomic_exchange_acquire, atomic_exchange_release,
40908         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
40909         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
40910         atomic_fetch_and_acquire,
40911         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
40913 2014-11-20  Torvald Riegel  <triegel@redhat.com>
40915         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
40916         USE_ATOMIC_COMPILER_BUILTINS): Define.
40917         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
40918         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40919         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
40920         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40921         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
40922         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40923         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
40924         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40925         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
40926         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40927         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
40928         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40929         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
40930         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40931         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
40932         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40933         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
40934         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40935         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
40936         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40937         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
40938         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40939         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
40940         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40941         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
40942         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40943         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
40944         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40945         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
40946         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40947         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
40948         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40949         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
40950         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40951         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
40952         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40953         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
40954         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40955         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
40956         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40958 2014-11-19  Roland McGrath  <roland@hack.frob.com>
40960         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
40961         the sched_priority value here.  It was already checked when the user
40962         called pthread_attr_setschedparam.
40964         * nptl/tst-bad-schedattr.c: New file.
40965         * nptl/Makefile (tests): Add it.
40967 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
40968             Florian Weimer  <fweimer@redhat.com>
40969             Joseph Myers  <joseph@codesourcery.com>
40970             Adam Conrad  <adconrad@0c3.net>
40971             Andreas Schwab  <schwab@suse.de>
40972             Brooks  <bmoses@google.com>
40974         [BZ #17625]
40975         * wordexp-test.c (__dso_handle): Add prototype.
40976         (__register_atfork): Likewise.
40977         (__app_register_atfork): New function.
40978         (registered_forks): New global.
40979         (register_fork): New function.
40980         (test_case): Add 3 new tests for WRDE_CMDSUB.
40981         (main): Call __app_register_atfork.
40982         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
40983         fork count is non-zero fail the test.
40984         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
40985         is set.
40986         (parse_dollars): Remove check for WRDE_NOCMD.
40987         (parse_dquote): Likewise.
40989 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
40991         * Makeconfig (built-modules): List non-library modules to be
40992         built.
40993         (module-cppflags): Include libc-modules.h for
40994         everything except shlib-versions.v.i.
40995         (CPPFLAGS): Use it.
40996         (before-compile): Add libc-modules.h.
40997         ($(common-objpfx)libc-modules.h,
40998         $(common-objpfx)libc-modules.stmp): New targets.
40999         (common-generated): Add libc-modules.h and libc-modules.stmp.
41000         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
41001         * include/libc-symbols.h: Don't include libc-modules.h.
41002         * include/libc-modules.h: Remove file.
41003         * scripts/gen-libc-modules.awk: New script to generate
41004         libc-modules.h.
41005         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
41006         Depend on libc-modules.stmp.
41008         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
41010         * Makeconfig (in-module): Get value of libof set for the
41011         translation unit.
41012         (CPPFLAGS): Use $(in-module).
41013         * Makerules: Don't suffix routine names for nonlib.
41014         * include/libc-modules.h: New file.
41015         * include/libc-symbols.h: Include libc-modules.h
41016         (IS_IN): New macro to replace IS_IN_* macros.
41017         * elf/Makefile: Set libof-* for each routine.
41018         * elf/rtld-Rules: Likewise.
41019         * extra-modules.mk: Likewise.
41020         * iconv/Makefile: Likewise.
41021         * iconvdata/Makefile: Likewise.
41022         * locale/Makefile: Likewise.
41023         * malloc/Makefile: Likewise.
41024         * nss/Makefile: Likewise.
41025         * sysdeps/gnu/Makefile: Likewise.
41026         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
41027         * sysdeps/unix/sysv/linux/Makefile: Likewise.
41028         * sysdeps/s390/s390-64/Makefile: Likewise.
41029         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
41030         CPPFLAGS for nscd instead of nonlib.
41032 2014-11-18  Roland McGrath  <roland@hack.frob.com>
41034         * nptl/createthread.c: New file.
41036         * nptl/createthread.c: Moved ...
41037         * sysdeps/unix/sysv/linux/createthread.c: ... here.
41039         * nptl/createthread.c: Add proper top-line comment.
41040         (do_clone): Folded into ...
41041         (create_thread): ... here.  Take new arguments STOPPED_START and
41042         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
41043         increment __nptl_threads, do event-reporting logic, do
41044         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
41045         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
41046         resource cleanup if sched_setaffinity or sched_setscheduler fails,
41047         just send SIGCANCEL.
41048         * nptl/pthread_create.c: Forward-declare create_thread before
41049         including createthread.c.
41050         (start_thread): Use new macro START_THREAD_DEFN to replace defining
41051         declaration, and new macro START_THREAD_SELF to replace argument.
41052         Remove return statement.
41053         (report_thread_creation): New function.
41054         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
41055         synchronization logic, and __nptl_nthreads increment here, around
41056         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
41057         PD->parent_cancelhandling here, before create_thread.  When
41058         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
41059         __deallocate_stack, and ENOMEM translation here.
41061 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
41063         [BZ #17616]
41064         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
41065         (mptwo): Rename to __mptwo.
41066         (__inv): Use __mptwo instead of mptwo.
41067         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
41068         (mptwo): Rename to __mptwo.
41069         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
41070         of mpone and __mptwo instead of mptwo.
41071         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
41072         instead of mpone.
41073         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
41074         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
41075         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
41076         of mpone and __mptwo instead of mptwo.
41077         (__mpranred): Use __mpone instead of mpone.
41078         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
41079         variable.
41080         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
41081         (test-xfail-ISO99/math.h/linknamespace): Likewise.
41082         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
41083         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
41084         (test-xfail-ISO11/math.h/linknamespace): Likewise.
41085         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
41086         (test-xfail-XPG3/math.h/linknamespace): Likewise.
41087         (test-xfail-XPG4/math.h/linknamespace): Likewise.
41088         (test-xfail-POSIX/math.h/linknamespace): Likewise.
41089         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
41090         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
41091         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
41092         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
41093         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
41094         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
41095         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
41096         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
41097         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
41098         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
41100 2014-11-18  Tom de Vries  <tom@codesoucery.com>
41102         * manual/signal.texi (Primitives Interrupted by Signals): In section,
41103         replace BSD Handler xref with BSD Signal Handling.
41105 2014-11-17  Richard Henderson  <rth@redhat.com>
41107         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
41108         (_FP_PACK_RAW_2): Remove.
41109         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
41110         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
41111         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
41112         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
41113         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
41114         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
41115         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
41116         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
41117         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
41118         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
41119         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
41120         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
41121         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
41122         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
41123         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
41124         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
41126 2014-11-14  Roland McGrath  <roland@hack.frob.com>
41128         * signal/signal.h [__USE_MISC]
41129         (struct sigvec): Remove type.
41130         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
41131         (sigvec): Remove declaration.
41132         * sysdeps/posix/sigvec.c: Moved ...
41133         * signal/sigvec.c: ... here, replacing old file.
41134         (struct sigvec): New type, copied from old signal.h definition.
41135         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
41136         (__sigvec): Convert definition to prototype.
41137         (sigvec): Replace weak_alias with compat_symbol.
41138         * signal/Versions (libc: GLIBC_2.21): New version set.
41139         * include/signal.h: Remove __sigvec declaration.
41140         * sysdeps/unix/bsd/sigvec.c: Remove file.
41141         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
41142         * manual/signal.texi (BSD Handler): Remove subsection.
41143         Move siginterrupt up to ...
41144         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
41145         (Blocking in BSD): Fold subsection into its parent.
41146         * NEWS: Mention sigvec removal.
41148 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
41150         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
41151         (DLA_FMS): Make definition conditional only on [__FMA4__].
41152         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
41153         definition.
41155         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
41156         Make definition conditional only on [PROF].
41157         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
41158         definition.
41159         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
41160         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
41162         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
41163         !__GNUC__].
41164         * include/signal.h (__sigpause): Move declaration above call to
41165         libc_hidden_proto.
41166         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
41167         variable.
41168         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
41169         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
41171 2014-11-14  David S. Miller  <davem@davemloft.net>
41173         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
41174         Define before including <string/memcpy.c> and <string/mempcpy.c>.
41176 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
41178         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
41179         * configure: Regenerated.
41180         * manual/install.texi (Tools for Compilation): Document a
41181         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
41182         compiler verified to work.
41183         * INSTALL: Regenerated.
41185         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
41186         redeclare with asm name.
41187         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
41188         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
41189         including <string.h>.
41190         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
41191         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
41192         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
41193         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
41194         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
41195         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
41196         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
41198 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
41200         * stdlib/strtol.c (__strtol): Use prototype definition.
41202         [BZ #17594]
41203         * stdlib/strtol.c (SYM__): New macro.
41204         (SYM__1): Likewise.
41205         (__strtol): Likewise.
41206         (strtol): Rename to __strtol and define as weak alias of
41207         __strtol.  Use libc_hidden_weak.
41209 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
41211         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
41212         Use numbered labels in inline assembly.
41214 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
41216         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
41217         Add setjmp LIBC_PROBE.
41218         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
41219         Likewise.
41220         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
41221         Add longjmp, longjmp_target LIBC_PROBE.
41222         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
41223         Likewise.
41225 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
41227         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
41228         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
41229         to get rid of unused variable warning.
41231 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
41233         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
41234         Check for unwind_backtrace ==  NULL only in SHARED case.
41235         (__backchain_backtrace): Compile only in SHARED case.
41236         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
41237         Likewise.
41238         (__backchain_backtrace): Declare as static.
41240 2014-11-12  Roland McGrath  <roland@hack.frob.com>
41242         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
41243         (__libc_multiple_threads_ptr): Variable moved ...
41244         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
41246 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
41248         * conform/GlibcConform.pm: New file.
41249         * conform/conformtest.pl: Use GlibcConform module.
41250         * conform/linknamespace.pl: New file.
41251         * conform/list-header-symbols.pl: Likewise.
41252         * conform/Makefile (linknamespace-symlists-base): New variable.
41253         (linknamespace-symlists-tests): Likewise.
41254         (linknamespace-header-base): Likewise.
41255         (linknamespace-header-tests): Likewise.
41256         (tests-special): Add new tests.
41257         ($(linknamespace-symlists-tests)): New rule.
41258         (linknamespace-libs): New variable.
41259         ($(objpfx)symlist-stdlibs): New rule.
41260         ($(linknamespace-header-tests)): Likewise.
41261         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
41262         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
41263         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
41264         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
41265         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
41266         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
41267         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
41268         (test-xfail-ISO/math.h/linknamespace): Likewise.
41269         (test-xfail-ISO/signal.h/linknamespace): Likewise.
41270         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
41271         (test-xfail-ISO/time.h/linknamespace): Likewise.
41272         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
41273         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
41274         (test-xfail-ISO99/math.h/linknamespace): Likewise.
41275         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
41276         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
41277         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
41278         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
41279         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
41280         (test-xfail-ISO11/math.h/linknamespace): Likewise.
41281         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
41282         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
41283         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
41284         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
41285         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
41286         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
41287         (test-xfail-XPG3/math.h/linknamespace): Likewise.
41288         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
41289         (test-xfail-XPG3/search.h/linknamespace): Likewise.
41290         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
41291         (test-xfail-XPG3/time.h/linknamespace): Likewise.
41292         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
41293         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
41294         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
41295         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
41296         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
41297         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
41298         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
41299         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
41300         (test-xfail-XPG4/math.h/linknamespace): Likewise.
41301         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
41302         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
41303         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
41304         (test-xfail-XPG4/search.h/linknamespace): Likewise.
41305         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
41306         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
41307         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
41308         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
41309         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
41310         (test-xfail-XPG4/time.h/linknamespace): Likewise.
41311         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
41312         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
41313         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
41314         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
41315         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
41316         (test-xfail-POSIX/math.h/linknamespace): Likewise.
41317         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
41318         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
41319         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
41320         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
41321         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
41322         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
41323         (test-xfail-POSIX/time.h/linknamespace): Likewise.
41324         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
41325         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
41326         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
41327         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
41328         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
41329         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
41330         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
41331         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
41332         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
41333         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
41334         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
41335         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
41336         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
41337         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
41338         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
41339         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
41340         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
41341         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
41342         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
41343         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
41344         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
41345         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
41346         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
41347         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
41348         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
41349         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
41350         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
41351         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
41352         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
41353         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
41354         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
41355         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
41356         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
41357         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
41358         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
41359         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
41360         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
41361         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
41362         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
41363         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
41364         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
41365         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
41366         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
41367         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
41368         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
41369         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
41370         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
41371         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
41372         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
41373         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
41374         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
41375         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
41376         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
41377         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
41378         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
41379         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
41380         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
41381         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
41382         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
41383         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
41384         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
41385         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
41386         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
41387         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
41388         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
41389         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
41390         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
41391         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
41392         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
41393         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
41394         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
41395         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
41396         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
41397         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
41398         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
41399         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
41400         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
41401         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
41402         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
41403         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
41404         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
41405         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
41406         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
41407         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
41408         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
41409         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
41410         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
41411         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
41412         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
41413         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
41414         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
41415         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
41416         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
41417         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
41418         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
41419         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
41420         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
41421         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
41423         [BZ #17589]
41424         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
41425         of fgets_unlocked.
41427         [BZ #17585]
41428         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
41429         (memmem): Rename to __memmem and define as weak alias of
41430         __memmem.  Use libc_hidden_weak.
41431         (__memmem): Use libc_hidden_def.
41432         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
41433         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
41434         memmem.
41436         [BZ #17582]
41437         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
41438         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
41439         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
41440         and define as weak alias of __fgets_unlocked.  Use
41441         libc_hidden_weak.
41442         (__fgets_unlocked): Use libc_hidden_def.
41443         * include/stdio.h (__fgets_unlocked): Declare.  Use
41444         libc_hidden_proto.
41445         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
41446         __fgets_unlocked instead of fgets_unlocked.
41447         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
41448         (GET_NPROCS_CONF_PARSER): Likewise.
41449         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
41450         (GET_NPROCS_CONF_PARSER): Likewise.
41452         [BZ #17574]
41453         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
41454         weak alias of __wmemset.  Use libc_hidden_weak.
41455         (__wmemset): Use libc_hidden_def.
41456         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
41457         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
41458         of wmemset.
41460         [BZ #17573]
41461         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
41462         with asm name __mempcpy.
41463         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
41465         [BZ #17572]
41466         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
41467         and define as weak alias of __rawmemchr.
41468         (__rawmemchr): Do not define as strong alias of rawmemchr.
41470         [BZ #17571]
41471         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
41472         alias of __qsort_r.
41473         (qsort): Call __qsort_r instead of qsort_r.
41474         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
41475         (__qsort_r): Declare.  Call libc_hidden_proto.
41476         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
41477         instead of qsort_r.
41478         * nscd/gai.c (__qsort_r): Define to qsort_r.
41479         * posix/tst-rfc3484.c (__qsort_r): Likewise.
41480         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
41481         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
41483         [BZ #17570]
41484         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
41485         define as weak alias of __malloc_info.
41487         [BZ #17584]
41488         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
41489         as weak alias of __rewinddir.  Don't use libc_hidden_def.
41490         (__rewinddir): Use libc_hidden_def.
41491         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
41492         as weak alias of __rewinddir.  Don't use libc_hidden_def.
41493         (__rewinddir): Use libc_hidden_def.
41494         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
41495         weak alias of __rewinddir.  Don't use libc_hidden_def.
41496         (__rewinddir): Use libc_hidden_def.
41497         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
41498         (__rewinddir): Use libc_hidden_proto.
41499         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
41500         rewinddir.
41501         (__getcwd): Use __rewinddir instead of rewinddir.
41503         [BZ #17583]
41504         * libio/fileno.c (fileno): Rename to __fileno and define as weak
41505         alias of __fileno.  Use libc_hidden_weak.
41506         (__fileno): Use libc_hidden_def.
41507         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
41508         * libio/ftello.c (ftello): Rename to __ftello and define as weak
41509         alias of __ftello.
41510         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
41511         __ftello.
41512         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
41513         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
41514         libc_hidden_def.
41515         (fread_unlocked): Don't use libc_hidden_ver.
41516         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
41517         and define as weak alias of __fread_unlocked.  Don't use
41518         libc_hidden_def.
41519         (__fread_unlocked): Use libc_hidden_def.
41520         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
41521         (ftello): Don't use libc_hidden_proto.
41522         (__ftello): Declare.  Use libc_hidden_proto.
41523         (fread_unlocked): Don't use libc_hidden_proto.
41524         (__fread_unlocked): Declare.  Use libc_hidden_proto.
41525         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
41526         and __ftello instead of fileno, fread_unlocked and ftello.
41528 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
41530         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
41531         GOT12.
41532         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
41533         Likewise.
41534         (_dl_start_user): Likewise.
41535         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
41537 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
41538             Siddhesh Poyarekar  <siddhesh@redhat.com>
41540         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
41541         Move argv and envp down instead of moving argc up.
41542         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
41544 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
41546         [BZ #17506]
41547         * test-skeleton.c (main): Return successful if one of
41548         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
41549         * string/tst-strcoll-overflow.c: Define expected status.
41551 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
41553         [BZ #17475]
41554         * locale/iso-639.def: Define Bhili and Tulu language codes.
41556 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
41558         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
41560 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
41562         [BZ #17555]
41563         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
41565 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
41567         * configure.ac: Updated check of minimal required version to
41568         2.22.
41569         * manual/install.texi (Tools for Compilation): Updated version
41570         number.
41571         * configure: Regenerated.
41572         * INSTALL: Likewise.
41574 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
41576         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
41577         __tls_get_addr.
41579 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
41581         * include/sys/wait.h (__libc_waitpid): Remove declaration.
41582         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
41583         (__waitpid): Don't define as alias.  Use libc_hidden_def not
41584         libc_hidden_weak.
41585         (waitpid): Define as alias of __waitpid.
41586         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
41587         __waitpid.
41588         (__waitpid): Don't define as alias.  Use libc_hidden_def not
41589         libc_hidden_weak.
41590         (waitpid): Define as alias of __waitpid.
41591         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
41592         __libc_waitpid alias.
41593         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
41594         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
41595         Likewise.
41596         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
41597         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
41598         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
41599         alias.
41600         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
41601         __waitpid.
41602         (__waitpid): Don't define as alias.  Use libc_hidden_def not
41603         libc_hidden_weak.
41604         (waitpid): Define as alias of __waitpid.
41606 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
41608         * manual/llio.texi: Add comment that write safety has been
41609         fixed in Linux.
41611         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
41612         (localplt-build-dso): Add elf/ld.so.
41613         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
41614         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
41615         and free for ld.so.
41616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
41617         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
41618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
41619         Likewise.
41620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
41621         Likewise.
41622         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
41623         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
41624         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
41625         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
41626         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
41627         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
41628         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
41629         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
41630         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
41631         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
41632         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
41634 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
41636         [BZ #14132]
41637         * include/libc-symbols.h (INTUSE): Remove macro.
41638         (INTDEF): Likewise.
41639         (INTVARDEF): Likewise.
41640         (_INTVARDEF): Likewise.
41641         (INTDEF2): Likewise.
41642         (INTVARDEF2): Likewise.
41643         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
41644         rtld_hidden_def instead of INTVARDEF.
41645         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
41646         (_dl_starting_up_internal): Remove declaration.
41647         (_dl_starting_up): Use rtld_hidden_proto.
41648         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
41649         declaration.
41650         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
41651         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
41652         _dl_starting_up.
41653         * elf/dl-writev.h (_dl_writev): Likewise.
41654         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
41655         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
41656         _dl_starting_up_internal.
41658 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41660         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
41661         test-skeleton.c.
41663 2014-11-05  Will Newton  <will.newton@linaro.org>
41665         * benchtests/Makefile: (bench-malloc): Add malloc thread
41666         scalability benchmark.
41667         * benchtests/bench-malloc-threads.c: New file.
41669 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
41671         * sysdeps/aarch64/strchrnul.S: New file.
41673 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41675         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
41676         definition.
41677         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
41678         Likewise.
41679         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
41680         Likewise.
41681         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
41682         Likewise.
41683         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
41684         Likewise.
41685         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
41686         Likewise.
41688 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
41690         * catgets/test-gencat.c: Use test-skeleton.c.
41691         * catgets/tst-catgets.c: Likewise.
41692         * csu/tst-empty.c: Likewise.
41693         * elf/tst-audit2.c: Likewise.
41694         * elf/tst-global1.c: Likewise.
41695         * elf/tst-pathopt.c: Likewise.
41696         * elf/tst-piemod1.c: Likewise.
41697         * elf/tst-tls10.c: Likewise.
41698         * elf/tst-tls11.c: Likewise.
41699         * elf/tst-tls12.c: Likewise.
41700         * gnulib/tst-gcc.c: Likewise.
41701         * iconvdata/tst-e2big.c: Likewise.
41702         * iconvdata/tst-loading.c: Likewise.
41703         * iconv/tst-iconv1.c: Likewise.
41704         * iconv/tst-iconv2.c: Likewise.
41705         * inet/test-inet6_opt.c: Likewise.
41706         * inet/tst-gethnm.c: Likewise.
41707         * inet/tst-network.c: Likewise.
41708         * inet/tst-ntoa.c: Likewise.
41709         * intl/tst-codeset.c: Likewise.
41710         * intl/tst-gettext2.c: Likewise.
41711         * intl/tst-gettext3.c: Likewise.
41712         * intl/tst-ngettext.c: Likewise.
41713         * intl/tst-translit.c: Likewise.
41714         * io/test-stat.c: Likewise.
41715         * libio/test-fmemopen.c: Likewise.
41716         * libio/tst-freopen.c: Likewise.
41717         * libio/tst-sscanf.c: Likewise.
41718         * libio/tst-ungetwc1.c: Likewise.
41719         * libio/tst-ungetwc2.c: Likewise.
41720         * libio/tst-widetext.c: Likewise.
41721         * localedata/tst-ctype.c: Likewise.
41722         * localedata/tst-digits.c: Likewise.
41723         * localedata/tst-leaks.c: Likewise.
41724         * localedata/tst-mbswcs1.c: Likewise.
41725         * localedata/tst-mbswcs2.c: Likewise.
41726         * localedata/tst-mbswcs3.c: Likewise.
41727         * localedata/tst-mbswcs4.c: Likewise.
41728         * localedata/tst-mbswcs5.c: Likewise.
41729         * localedata/tst-setlocale.c: Likewise.
41730         * localedata/tst-trans.c: Likewise.
41731         * localedata/tst-wctype.c: Likewise.
41732         * localedata/tst-xlocale1.c: Likewise.
41733         * login/tst-grantpt.c: Likewise.
41734         * malloc/tst-calloc.c: Likewise.
41735         * malloc/tst-malloc.c: Likewise.
41736         * malloc/tst-mallocstate.c: Likewise.
41737         * malloc/tst-mcheck.c: Likewise.
41738         * malloc/tst-mtrace.c: Likewise.
41739         * malloc/tst-obstack.c: Likewise.
41740         * math/atest-exp2.c: Likewise.
41741         * math/atest-exp.c: Likewise.
41742         * math/atest-sincos.c: Likewise.
41743         * math/test-matherr.c: Likewise.
41744         * math/test-misc.c: Likewise.
41745         * math/test-powl.c: Likewise.
41746         * math/tst-definitions.c: Likewise.
41747         * misc/tst-dirname.c: Likewise.
41748         * misc/tst-efgcvt.c: Likewise.
41749         * misc/tst-fdset.c: Likewise.
41750         * misc/tst-hsearch.c: Likewise.
41751         * misc/tst-mntent2.c: Likewise.
41752         * nptl/tst-sem7.c: Likewise.
41753         * nptl/tst-sem8.c: Likewise.
41754         * nptl/tst-sem9.c: Likewise.
41755         * nss/test-netdb.c: Likewise.
41756         * posix/tst-fnmatch.c: Likewise.
41757         * posix/tst-getlogin.c: Likewise.
41758         * posix/tst-gnuglob.c: Likewise.
41759         * posix/tst-mmap.c: Likewise.
41760         * pwd/tst-getpw.c: Likewise.
41761         * resolv/tst-inet_ntop.c: Likewise.
41762         * rt/tst-timer.c: Likewise.
41763         * stdio-common/test-fseek.c: Likewise.
41764         * stdio-common/test-popen.c: Likewise.
41765         * stdio-common/test-vfprintf.c: Likewise.
41766         * stdio-common/tst-cookie.c: Likewise.
41767         * stdio-common/tst-fileno.c: Likewise.
41768         * stdio-common/tst-gets.c: Likewise.
41769         * stdio-common/tst-obprintf.c: Likewise.
41770         * stdio-common/tst-perror.c: Likewise.
41771         * stdio-common/tst-sprintf2.c: Likewise.
41772         * stdio-common/tst-sprintf3.c: Likewise.
41773         * stdio-common/tst-sprintf.c: Likewise.
41774         * stdio-common/tst-swprintf.c: Likewise.
41775         * stdio-common/tst-tmpnam.c: Likewise.
41776         * stdio-common/tst-unbputc.c: Likewise.
41777         * stdio-common/tst-wc-printf.c: Likewise.
41778         * stdlib/tst-environ.c: Likewise.
41779         * stdlib/tst-fmtmsg.c: Likewise.
41780         * stdlib/tst-limits.c: Likewise.
41781         * stdlib/tst-rand48-2.c: Likewise.
41782         * stdlib/tst-rand48.c: Likewise.
41783         * stdlib/tst-random2.c: Likewise.
41784         * stdlib/tst-random.c: Likewise.
41785         * stdlib/tst-strtol.c: Likewise.
41786         * stdlib/tst-strtoll.c: Likewise.
41787         * stdlib/tst-tls-atexit.c: Likewise.
41788         * stdlib/tst-xpg-basename.c: Likewise.
41789         * string/test-ffs.c: Likewise.
41790         * string/tst-bswap.c: Likewise.
41791         * string/tst-inlcall.c: Likewise.
41792         * string/tst-strtok.c: Likewise.
41793         * string/tst-strxfrm.c: Likewise.
41794         * sysdeps/x86_64/tst-audit10.c: Likewise.
41795         * sysdeps/x86_64/tst-audit3.c: Likewise.
41796         * sysdeps/x86_64/tst-audit4.c: Likewise.
41797         * sysdeps/x86_64/tst-audit5.c: Likewise.
41798         * time/tst-ftime_l.c: Likewise.
41799         * time/tst-getdate.c: Likewise.
41800         * time/tst-mktime3.c: Likewise.
41801         * time/tst-mktime.c: Likewise.
41802         * time/tst-posixtz.c: Likewise.
41803         * time/tst-strptime2.c: Likewise.
41804         * time/tst-strptime3.c: Likewise.
41805         * wcsmbs/tst-btowc.c: Likewise.
41806         * wcsmbs/tst-mbrtowc.c: Likewise.
41807         * wcsmbs/tst-mbsrtowcs.c: Likewise.
41808         * wcsmbs/tst-wchar-h.c: Likewise.
41809         * wcsmbs/tst-wcpncpy.c: Likewise.
41810         * wcsmbs/tst-wcrtomb.c: Likewise.
41811         * wcsmbs/tst-wcsnlen.c: Likewise.
41812         * wcsmbs/tst-wcstof.c: Likewise.
41814 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
41816         [BZ #14132]
41817         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
41818         INTDEF.
41819         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
41820         declaration.
41821         (_dl_mcount): Use rtld_hidden_proto.
41822         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
41823         _dl_mcount.
41824         * elf/rtld.c (_rtld_global_ro): Likewise.
41826         [BZ #14132]
41827         * elf/dl-init.c (_dl_init): Don't use INTDEF.
41828         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
41829         of _dl_init_internal.
41830         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
41831         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
41832         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
41833         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
41834         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
41835         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
41836         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
41837         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
41838         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
41839         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
41840         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
41841         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
41842         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
41843         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
41844         * sysdeps/tile/dl-start.S (_start): Likewise.
41845         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
41846         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
41848         [BZ #14132]
41849         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
41850         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
41851         (rtld_progname): Make macro definition unconditional.
41852         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
41853         INTDEF.
41854         (dlmopen_doit): Do not use INTUSE with _dl_argv.
41855         (dl_main): Likewise.
41856         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
41857         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
41858         instead of _dl_argv_internal.
41859         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
41860         __GI__dl_argv instead of INTUSE(_dl_argv).
41861         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
41862         __GI__dl_argv instead of _dl_argv_internal.
41864         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
41865         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
41866         macro.
41867         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
41868         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
41869         New macro.
41870         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
41871         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
41872         macro.
41873         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
41874         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
41876 2014-11-04  Andreas Schwab  <schwab@suse.de>
41878         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
41880 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41882         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
41883         mtvsrd instruction in binary form.
41885 2014-11-03  Andreas Schwab  <schwab@suse.de>
41887         [BZ #17522]
41888         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
41889         for less than MB_LEN_MAX use a local buffer of that size.
41890         * libio/tst-fputws.c: New file.
41891         * libio/Makefile (tests): Add tst-fputws.
41893 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
41895         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
41896         the size of the fpu_fr.fpu_dregs[] array.
41898 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
41900         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
41901         (__nanosleep): Do not define as alias.
41902         (nanosleep): Define as alias of __nanosleep.
41903         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
41904         __libc_nanosleep name.
41906 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
41908         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
41909         install.texi in comment.
41911 2014-10-31  Torvald Riegel  <triegel@redhat.com>
41913         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
41914         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
41915         ... add here and use lwsync or sync ...
41916         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
41917         ... and add here using lwsync.
41919 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
41921         * elf/dl-machine-reject-phdr.h: New file.
41922         * elf/dl-load.c: #include that.
41923         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
41924         if that returned true.
41926 2014-10-31  Roland McGrath  <roland@hack.frob.com>
41928         [BZ #17496]
41929         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
41930         gen-as-const-headers chunk.  Add a big scare comment after the last
41931         safe place to touch before-compile.
41933 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
41935         * manual/install.texi (Tools for Compilation): Update autoconf
41936         version requirements.
41937         * INSTALL: Regenerated.
41939         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
41940         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
41941         (__libc_pselect): Likewise.
41943         [BZ #14138]
41944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
41945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
41946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
41947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
41949 2014-10-31  Torvald Riegel  <triegel@redhat.com>
41951         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
41952         correct barrier instruction.
41953         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
41954         Likewise.
41955         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
41956         Likewise.
41958 2014-10-30  Roland McGrath  <roland@hack.frob.com>
41960         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
41961         after defining inlines.  Instead, just use parens to defeat macro
41962         expansion of __isctype in its declaration.
41964 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
41966         * include/sys/uio.h (__libc_readv): Remove declaration.
41967         (__libc_writev): Likewise.
41968         * misc/readv.c (__libc_readv): Rename to __readv.
41969         (__readv): Do not define as alias.
41970         (readv): Define as alias of __readv.
41971         * misc/writev.c (__libc_writev): Rename to __writev.
41972         (__writev): Do not define as alias.
41973         (writev): Define as alias of __writev.
41974         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
41975         (__readv): Do not define as alias.
41976         (readv): Define unconditionally as alias of __readv.
41977         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
41978         (__writev): Do not define as alias.
41979         (writev): Define unconditionally as alias of __writev.
41980         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
41981         name.
41982         (writev): Do not define __libc_writev name.
41984 2014-10-30  Roland McGrath  <roland@hack.frob.com>
41986         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
41987         (convert_charseq): New function, broken out of ...
41988         (use_from_charmap): ... here.  Call it.
41989         (use_to_charmap): Use convert_charseq and free instead of duplicating
41990         its code with a variable-length stack struct.
41992 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
41994         * include/fcntl.h (__libc_creat): Remove declaration.
41995         * io/creat.c (__libc_creat): Rename to creat.
41996         (creat): Do not define as alias.
41997         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
41998         of creat instead of __libc_creat.
41999         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
42000         to creat.
42001         (creat): Do not define as alias.
42002         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
42003         __libc_creat.
42004         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
42005         __libc_creat name.
42006         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
42007         Likewise.
42009 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
42011         * manual/llio.texi: Add comments discussing why write() may be
42012         considered MT-unsafe on Linux.
42014 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
42016         * dl-load.c (local_strdup): Remove.
42017         (expand_dynamic_string_token): Use __strdup.
42018         (decompose_rpath): Likewise.
42019         (_dl_map_object): Likewise.
42021 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
42023         [BZ #14132]
42024         * sysdeps/generic/unwind-dw2-fde.c
42025         (__register_frame_info_bases_internal): Do not declare.
42026         (__register_frame_info_table_bases_internal): Likewise.
42027         (__deregister_frame_info_bases_internal): Likewise.
42028         (__register_frame_info_bases): Declare and use hidden_proto before
42029         definition.  Use hidden_def instead of INTDEF.
42030         (__register_frame_info_table_bases): Likewise.
42031         (__deregister_frame_info_bases): Likewise.
42032         (__register_frame_info): Do not use INTUSE.
42033         (__register_frame): Likewise.
42034         (__register_frame_info_table): Likewise.
42035         (__register_frame_table): Likewise.
42036         (__deregister_frame_info): Likewise.
42037         (__deregister_frame): Likewise.
42039 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
42041         * sysdeps/unix/sysv/linux/arm/kernel-features.h
42042         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
42043         not undefine.
42044         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
42045         Likewise.
42046         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
42047         Likewise.
42049 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
42051         [BZ #14138]
42052         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
42053         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
42054         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
42055         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
42056         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
42057         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
42058         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
42059         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
42060         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
42061         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
42062         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
42063         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
42064         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
42065         syscall.
42066         (setfsuid): Likewise.
42067         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
42068         (setfsuid): Likewise.
42069         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
42070         (setfsuid): Likewise.
42071         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
42072         Likewise.
42073         (setfsuid): Likewise.
42074         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
42075         (setfsuid): Likewise.
42076         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
42077         Likewise.
42078         (setfsuid): Likewise.
42080 2014-10-27  Andreas Schwab  <schwab@suse.de>
42082         [BZ #17501]
42083         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
42084         check for Slow_SSE4_2 feature bit.
42085         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
42086         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
42087         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
42088         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
42090 2014-10-24  Roland McGrath  <roland@hack.frob.com>
42092         * configure.ac: Validate compiler version with a empirical test of
42093         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
42094         $CC -v output.
42095         * configure: Regenerated.
42097         * inet/htons.c (htons): Prototypify.
42098         * inet/htonl.c (htonl): Likewise.
42100 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
42102         * string/strncat.c (strncat): Improve performance by using strlen.
42104 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
42106         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
42108 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
42110         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
42111         Call libc_fetestexcept_aarch64.
42113 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
42115         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
42116         Call libc_feholdexcept_aarch64.
42118 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
42120         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
42121         Call get_rounding_mode.
42123 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
42125         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
42126         Simplify logic.
42128 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
42130         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
42131         Simplify logic.
42133 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
42135         [BZ #14138]
42136         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
42137         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
42138         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
42139         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
42140         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
42141         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
42142         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
42143         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
42144         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
42145         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
42146         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
42147         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
42148         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
42149         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
42150         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
42151         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
42152         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
42153         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
42154         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
42155         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
42156         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
42157         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
42158         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
42159         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
42160         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
42161         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
42162         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
42163         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
42164         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
42165         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
42166         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
42167         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
42168         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
42169         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
42170         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
42171         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
42172         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
42173         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
42174         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
42175         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
42176         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
42177         syscall.
42178         (geteuid): Likewise.
42179         (getgid): Likewise.
42180         (getuid): Likewise.
42181         (getresgid): Likewise.
42182         (getresuid): Likewise.
42183         (getgroups): Likewise.
42184         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
42185         (geteuid): Likewise.
42186         (getgid): Likewise.
42187         (getuid): Likewise.
42188         (getresgid): Likewise.
42189         (getresuid): Likewise.
42190         (getgroups): Likewise.
42191         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
42192         (geteuid): Likewise.
42193         (getgid): Likewise.
42194         (getuid): Likewise.
42195         (getresgid): Likewise.
42196         (getresuid): Likewise.
42197         (getgroups): Likewise.
42198         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
42199         Likewise.
42200         (geteuid): Likewise.
42201         (getgid): Likewise.
42202         (getuid): Likewise.
42203         (getresgid): Likewise.
42204         (getresuid): Likewise.
42205         (getgroups): Likewise.
42206         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
42207         (geteuid): Likewise.
42208         (getgid): Likewise.
42209         (getuid): Likewise.
42210         (getresgid): Likewise.
42211         (getresuid): Likewise.
42212         (getgroups): Likewise.
42213         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
42214         Likewise.
42215         (geteuid): Likewise.
42216         (getgid): Likewise.
42217         (getuid): Likewise.
42218         (getgroups): Likewise.
42220         [BZ #14138]
42221         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
42222         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
42223         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
42224         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
42225         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
42226         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
42227         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
42228         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
42229         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
42230         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
42231         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
42232         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
42233         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
42234         __chown.
42235         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
42236         (lchown): Likewise.
42237         (fchown): Likewise.
42238         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
42239         Likewise.
42240         (lchown): Likewise.
42241         (fchown): Likewise.
42242         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
42243         (lchown): Likewise.
42244         (fchown): Likewise.
42245         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
42246         Likewise.
42247         (lchown): Likewise.
42248         (fchown): Likewise.
42250 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
42252         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
42253         Simplify logic.
42255 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
42257         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
42258         Cleanup logic.
42260 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
42262         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
42263         Remove unused include.
42265 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
42267         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
42268         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
42269         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
42270         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
42272 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
42273             Helge Deller <deller@gmx.de>
42275         [BZ #17508]
42276         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
42277         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
42278         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
42280 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
42282         [BZ #14132]
42283         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
42284         Remove macro definition.
42285         (__ashrdi3_v_glibc20): Likewise.
42286         (__lshrdi3_v_glibc20): Likewise.
42287         (__cmpdi2_v_glibc20): Likewise.
42288         (__ucmpdi2_v_glibc20): Likewise.
42289         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
42290         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
42291         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
42292         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
42293         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
42294         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
42296 2014-10-22  Roland McGrath  <roland@hack.frob.com>
42298         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
42299         old GNU extension [0] syntax.
42300         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
42301         alloca rather than an array member with variable length.
42302         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
42303         * nscd/nscd.c (invalidate_db): New function, broken out of ...
42304         (parse_opt): ... here.  Likewise use alloca there.
42305         Validate the -i argument before checking for rootness.
42306         (send_shutdown): New function, broken out of ...
42307         (parse_opt): ... here.
42309 2014-10-22  Roland McGrath  <roland@hack.frob.com>
42311         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
42312         macro to get at the _rt_local_ro field.
42313         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
42314         ([PIC] case) or _dl_hwcap ([!PIC] case).
42315         * sysdeps/arm/setjmp.S: Likewise.
42317         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
42318         * sysdeps/arm/configure.ac: New check to define it.
42319         * sysdeps/arm/configure: Regenerated.
42320         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
42321         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
42322         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
42323         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
42324         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
42325         Use move/movt pair instead of a load.
42326         (LDST_GLOBAL): Macro removed.
42327         (LDR_GLOBAL): New macro replaces it.
42328         (LDR_HIDDEN): New macro.
42329         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
42330         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
42332         * setjmp/tst-setjmp-static.c: New file.
42333         * setjmp/Makefile (tests): Add it.
42334         (tests-static): New variable.
42336 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
42338         [BZ #17485]
42339         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
42341 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
42343         [BZ #14132]
42344         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
42346 2014-10-21  Roland McGrath  <roland@hack.frob.com>
42348         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
42350 2014-10-20  Roland McGrath  <roland@hack.frob.com>
42352         * io/fts.c (dirent_not_directory): New function.
42353         (fts_build): Call it.
42355 2014-10-20  Roland McGrath  <roland@hack.frob.com>
42357         * nptl/version.c (__nptl_main): Use normal __write rather than
42358         INTERNAL_SYSCALL.
42359         (banner): Update copyright years.
42361         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
42362         gettimeofday.
42363         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
42364         * nptl/pthread_cond_timedwait.c: Likewise.
42365         * nptl/pthread_mutex_timedlock.c: Likewise.
42366         * nptl/sem_timedwait.c: Likewise.
42368         * sysdeps/nptl/bits/libc-lock.h
42369         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
42370         (__libc_lock_init_recursive): Return void, not 0.
42371         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
42372         (__libc_rwlock_init): Likewise.
42373         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
42375 2014-10-20  Torvald Riegel  <triegel@redhat.com>
42377         [BZ #15215]
42378         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
42379         (__pthread_once_slow): ... here.
42380         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
42381         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
42383 2014-10-20  Torvald Riegel  <triegel@redhat.com>
42385         [BZ #15215]
42386         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
42387         __PTHREAD_ONCE_FORK_GEN_INCR): New.
42388         * sysdeps/nptl/fork.c (__libc_fork): Use them.
42389         * nptl/pthread_once.c (__pthread_once): Likewise.
42390         Update comments.
42392 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
42394         [BZ #14138]
42395         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
42396         name.
42397         (writev): Use __libc_writev as strong name.
42398         * sysdeps/unix/sysv/linux/readv.c: Remove file.
42399         * sysdeps/unix/sysv/linux/writev.c: Likewise.
42401 2014-10-17  Roland McGrath  <roland@hack.frob.com>
42403         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
42405         * sysdeps/i386/nptl/tls.h
42406         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
42407         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
42408         New macros.
42409         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
42410         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
42411         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
42412         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
42413         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
42414         Call CHECK_THREAD_SYSINFO instead of doing an assert.
42416         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
42417         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
42418         on [__NR_futex].
42419         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
42420         broken out of ...
42421         (__pthread_mutex_init): ... here.  Call it.
42422         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
42423         Conditionalize PI cases on [__NR_futex].
42424         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
42425         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
42426         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
42428         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
42429         conditional on [SIGSETXID].
42430         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
42431         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
42432         is defined.  Likewise for SIGSETXID.
42433         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
42434         Conditionalize definitions on [SIGSETXID].
42435         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
42436         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
42437         unblocking on [SIGCANCEL].
42439         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
42440         [__NR_set_robust_list].
42442 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
42444         * string/strcoll_l.c (get_next_seq): Fix up formatting.
42445         (do_compare): Likewise.
42447 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
42449         [BZ #15884]
42450         * string/strcoll_l.c: Don't include stdio.h.
42451         (coll_seq): Remove members idxarr and rulearr.
42452         (get_next_seq_cached): Remove function.
42453         (get_next_seq): Likewise.
42454         (get_next_seq_nocache): Rename to get_next_seq.
42455         (do_compare): Remove function.
42456         (do_compare_nocache): Rename to do_compare.
42457         (STRCOLL): Remove weight and rules cache.
42459 2014-10-16  Roland McGrath  <roland@hack.frob.com>
42461         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
42462         * sysdeps/arm/sfp-machine.h: ... to here.
42463         * sysdeps/arm/Implies: Remove arm/soft-fp.
42465 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
42467         * conform/data/sys/utsname.h-data (*_t): Allow.
42468         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
42469         [POSIX] (WEXITED): Do not expect constant.
42470         [POSIX] (WSTOPPED): Likewise.
42471         [POSIX] (WNOHANG): Likewise.
42472         [POSIX] (WNOWAIT): Likewise.
42473         [POSIX] (siginfo_t): Do not expect type or elements.
42474         [POSIX] (pid_t): Do not expect type.
42475         [POSIX] (signal.h): Do not allow header.
42476         [POSIX] (sys/resource.h): Likewise.
42477         [POSIX] (si_*): Do not allow pattern.
42478         [POSIX] (W*): Likewise.
42479         [POSIX] (P_*): Likewise.
42480         [POSIX] (BUS_*): Likewise.
42481         [POSIX] (CLD_*): Likewise.
42482         [POSIX] (FPE_*): Likewise.
42483         [POSIX] (ILL_*): Likewise.
42484         [POSIX] (POLL_*): Likewise.
42485         [POSIX] (SEGV_*): Likewise.
42486         [POSIX] (SI_*): Likewise.
42487         [POSIX] (TRAP_*): Likewise.
42488         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
42489         variable.
42491 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
42493         [BZ #12926]
42494         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
42495         infinite loop when __recvmsg returns 0.
42497 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
42499         * CANCEL-FCT-WAIVE: Remove file.
42500         * CANCEL-FILE-WAIVE: Likewise.
42502         [BZ #14132]
42503         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
42504         instead of INTVARDEF.
42505         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
42506         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
42507         rtld_hidden_data_def instead of INTVARDEF.
42508         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
42509         * elf/dl-deps.c (expand_dst): Likewise.
42510         * elf/dl-load.c (_dl_dst_count): Likewise.
42511         (_dl_dst_substitute): Likewise.
42512         (decompose_rpath): Likewise.
42513         (_dl_init_paths): Likewise.
42514         (open_path): Likewise.
42515         (_dl_map_object): Likewise.
42516         * elf/rtld.c (dl_main): Likewise.
42517         (process_dl_audit): Likewise.
42518         (process_envvars): Likewise.
42519         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
42520         Remove declaration.
42521         (__libc_enable_secure): Use rtld_hidden_proto.
42523 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
42525         * elf/dl-load.c
42526         (add_path): New function broken out of _dl_rtld_di_serinfo.
42527         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
42529 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
42531         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
42532         parentheses around macro arguments.
42533         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
42534         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
42535         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
42536         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
42537         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
42538         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
42539         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
42540         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
42541         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
42542         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
42543         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
42544         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
42545         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
42546         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
42547         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
42548         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
42549         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
42550         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
42551         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
42552         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
42553         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
42554         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
42555         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
42556         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
42557         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
42558         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
42559         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
42560         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
42561         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
42562         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
42563         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
42564         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
42565         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
42566         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
42567         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
42568         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
42569         Likewise.
42570         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
42571         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
42572         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
42573         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
42574         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
42575         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
42576         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
42577         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
42578         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
42579         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
42580         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
42581         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
42582         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
42583         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
42584         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
42585         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
42586         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
42587         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
42588         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
42589         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
42590         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
42591         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
42592         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
42593         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
42594         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
42595         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
42596         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
42597         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
42598         (_FP_FRAC_SRS_1): Likewise.
42599         (_FP_FRAC_CLZ_1): Likewise.
42600         (_FP_MUL_MEAT_1_imm): Likewise.
42601         (_FP_MUL_MEAT_1_wide): Likewise.
42602         (_FP_MUL_MEAT_1_hard): Likewise.
42603         (_FP_SQRT_MEAT_1): Likewise.
42604         (_FP_FRAC_ASSEMBLE_1): Likewise.
42605         (_FP_FRAC_DISASSEMBLE_1): Likewise.
42606         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
42607         (__FP_CLZ_2): Likewise.
42608         (_FP_MUL_MEAT_2_wide): Likewise.
42609         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
42610         (_FP_MUL_MEAT_2_gmp): Likewise.
42611         (_FP_MUL_MEAT_2_120_240_double): Likewise.
42612         (_FP_SQRT_MEAT_2): Likewise.
42613         (_FP_FRAC_ASSEMBLE_2): Likewise.
42614         (_FP_FRAC_DISASSEMBLE_2): Likewise.
42615         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
42616         (_FP_FRAC_CLZ_4): Likewise.
42617         (_FP_MUL_MEAT_4_wide): Likewise.
42618         (_FP_MUL_MEAT_4_gmp): Likewise.
42619         (_FP_SQRT_MEAT_4): Likewise.
42620         (_FP_FRAC_ASSEMBLE_4): Likewise.
42621         (_FP_FRAC_DISASSEMBLE_4): Likewise.
42622         * soft-fp/op-common.h (_FP_CMP): Likewise.
42623         (_FP_CMP_EQ): Likewise.
42624         (_FP_CMP_UNORD): Likewise.
42625         (_FP_TO_INT): Likewise.
42626         (_FP_FROM_INT): Likewise.
42627         [!__FP_CLZ] (__FP_CLZ): Likewise.
42628         (_FP_DIV_HELP_imm): Likewise.
42629         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
42630         Likewise.
42631         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
42632         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
42633         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
42634         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
42635         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
42636         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
42637         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
42638         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
42639         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
42640         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
42641         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
42642         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
42643         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
42644         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
42645         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
42646         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
42647         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
42648         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
42649         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
42650         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
42651         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
42652         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
42653         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
42654         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
42655         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
42656         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
42657         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
42658         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
42659         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
42660         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
42661         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
42662         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
42663         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
42664         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
42665         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
42666         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
42667         (FP_UNPACK_RAW_SP): Likewise.
42668         (FP_PACK_RAW_S): Likewise.
42669         (FP_PACK_RAW_SP): Likewise.
42670         (FP_UNPACK_S): Likewise.
42671         (FP_UNPACK_SP): Likewise.
42672         (FP_UNPACK_SEMIRAW_S): Likewise.
42673         (FP_UNPACK_SEMIRAW_SP): Likewise.
42674         (FP_PACK_S): Likewise.
42675         (FP_PACK_SP): Likewise.
42676         (FP_PACK_SEMIRAW_S): Likewise.
42677         (FP_PACK_SEMIRAW_SP): Likewise.
42678         (_FP_SQRT_MEAT_S): Likewise.
42679         (FP_CMP_S): Likewise.
42680         (FP_CMP_EQ_S): Likewise.
42681         (FP_CMP_UNORD_S): Likewise.
42682         (FP_TO_INT_S): Likewise.
42683         (FP_FROM_INT_S): Likewise.
42685         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
42687         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
42688         (FP_EX_INVALID_IMZ): Likewise.
42689         (FP_EX_INVALID_IMZ_FMA): Likewise.
42690         (FP_EX_INVALID_ISI): Likewise.
42691         (FP_EX_INVALID_ZDZ): Likewise.
42692         (FP_EX_INVALID_IDI): Likewise.
42693         (FP_EX_INVALID_SQRT): Likewise.
42694         (FP_EX_INVALID_CVI): Likewise.
42695         (FP_EX_INVALID_VC): Likewise.
42696         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
42697         "invalid" exceptions.
42698         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
42699         (_FP_ADD_INTERNAL): Likewise.
42700         (_FP_MUL): Likewise.
42701         (_FP_FMA): Likewise.
42702         (_FP_DIV): Likewise.
42703         (_FP_CMP_CHECK_NAN): Likewise.
42704         (_FP_SQRT): Likewise.
42705         (_FP_TO_INT): Likewise.
42706         (FP_EXTEND): Likewise.
42708 2014-10-09  Allan McRae  <allan@archlinux.org>
42710         * po/fr.po: Update French translation from translation project.
42712 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
42714         [BZ #14132]
42715         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
42716         of INTDEF.
42717         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
42718         (__cxa_atexit): Use libc_hidden_proto.
42719         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
42721         [BZ #14132]
42722         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
42723         declaration.
42724         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
42725         [!_ISOMAC] (__iswspace_l_internal): Likewise.
42726         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
42727         [!_ISOMAC] (__iswctype_internal): Likewise.
42728         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
42729         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
42730         alias.
42731         (fcntl): Remove __fcntl_internal alias.
42732         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
42733         __connect_internal alias.
42734         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
42735         Likewise.
42737         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
42738         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
42739         FP_DENORM_ZERO.
42740         (_FP_CHECK_FLUSH_ZERO): New macro.
42741         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
42742         (_FP_CMP): Likewise.
42743         (_FP_CMP_EQ): Likewise.
42744         (_FP_TO_INT): Do not set inexact for subnormal arguments if
42745         FP_DENORM_ZERO.
42746         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
42747         (FP_TRUNC): Likewise.
42749         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
42750         treated as invalid conversion, not as normal exponent.
42752         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
42753         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
42754         (_FP_CMP_EQ): Likewise.
42755         (_FP_CMP_UNORD): Likewise.
42756         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
42757         (FP_CMP_EQ_D): Likewise.
42758         (FP_CMP_UNORD_D): Likewise.
42759         * soft-fp/extended.h (FP_CMP_E): Likewise.
42760         (FP_CMP_EQ_E): Likewise.
42761         (FP_CMP_UNORD_E): Likewise.
42762         * soft-fp/quad.h (FP_CMP_Q): Likewise.
42763         (FP_CMP_EQ_Q): Likewise.
42764         (FP_CMP_UNORD_Q): Likewise.
42765         * soft-fp/single.h (FP_CMP_S): Likewise.
42766         (FP_CMP_EQ_S): Likewise.
42767         (FP_CMP_UNORD_S): Likewise.
42768         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
42769         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
42770         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
42771         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
42772         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
42773         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
42774         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
42775         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
42776         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
42777         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
42778         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
42779         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
42780         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
42781         to FP_CMP_Q.
42782         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
42783         FP_CMP_Q.
42784         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
42785         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
42786         FP_CMP_EQ_Q.
42787         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
42788         FP_CMP_Q.
42789         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
42790         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
42791         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
42792         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
42793         FP_CMP_EQ_Q.
42794         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
42795         FP_CMP_Q.
42796         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
42797         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
42798         FP_CMP_EQ_Q.
42799         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
42800         FP_CMP_Q.
42801         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
42802         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
42803         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
42804         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
42805         FP_CMP_EQ_Q.
42807         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
42808         a subnormal result, set the underflow exception if trapping on
42809         underflow is enabled.
42810         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
42811         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
42812         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
42813         redefine to 0.
42814         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
42815         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
42816         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
42817         * soft-fp/extendxftf2.c (__extendxftf2): Use
42818         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
42820         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
42821         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
42822         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
42823         FP_HANDLE_EXCEPTIONS.
42824         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
42825         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
42826         FP_HANDLE_EXCEPTIONS.
42827         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
42828         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
42829         FP_HANDLE_EXCEPTIONS.
42830         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
42831         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
42832         FP_HANDLE_EXCEPTIONS.
42834 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
42836         [BZ #14132]
42837         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
42838         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
42839         use INTUSE.
42840         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
42841         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
42842         Remove alias.
42843         (__adjtimex): Define using libc_hidden_ver.
42844         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
42845         Remove declaration.
42846         (ntp_gettime): Call __adjtimex directly.
42847         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
42848         Remove declaration.
42849         (ntp_gettimex): Call __adjtimex directly.
42850         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
42851         __adjtimex_internal alias.
42853 2014-10-08  Roland McGrath  <roland@hack.frob.com>
42855         [BZ #17460]
42856         * nscd/nscd.c (more_help): Rewrite list of tables collection
42857         using xstrdup and asprintf.
42859         * nscd/nscd_conf.c: Remove local xstrdup declaration.
42861 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
42862             Roland McGrath  <roland@hack.frob.com>
42864         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
42865         (do_lookup_unique): ... local function 'enter' here; update callers.
42867 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
42869         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
42870         compat_symbol calls on [SHARED].
42871         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
42872         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
42873         Remove.
42874         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
42875         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
42876         (oldsetrlimit): Remove.
42877         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
42878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
42879         (lchown): New syscall entry.
42880         (oldsetrlimit): Remove.
42881         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
42882         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
42883         (oldsetrlimit): Remove.
42884         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
42886         [BZ #14138]
42887         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
42888         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
42889         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
42890         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
42891         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
42892         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
42893         (fchown): Likewise.
42894         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
42895         (fchown): Likewise.
42896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
42897         Likewise.
42899 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42901         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
42902         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
42903         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
42904         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
42905         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
42906         Likewise.
42907         (__old_sem_post): Likewise.
42909 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
42911         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
42912         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
42913         HAVE_CLOCK_GETTIME_VSYSCALL macros.
42914         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
42915         Use INLINE_VSYSCALL macro.
42916         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
42917         __vdso_clock_gettime.
42918         * sysdeps/unix/sysv/linux/tile/init-first.c
42919         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
42920         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
42921         __vdso_clock_gettime.
42923         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
42924         to set up frame more cleanly.
42926         * sysdeps/tile/memcmp.c: New file.
42928         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
42930         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
42931         * sysdeps/tile/tilegx/strcasestr.c: New file.
42932         * sysdeps/tile/tilegx/strnlen.c: New file.
42933         * sysdeps/tile/tilegx/strstr.c: New file.
42935         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
42937 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
42939         * nptl/tst-setuid3.c: Write errors to stdout.
42941 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
42943         * elf/dl-deps.c
42944         (preload): New functions broken out of _dl_map_object_deps.
42945         (_dl_map_object_deps):  Remove a nested function. Update call sites.
42947 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
42949         [BZ #14138]
42950         * sysdeps/unix/sysv/linux/execve.c: Remove file.
42951         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
42953 2014-10-01  Steve Ellcey  <sellcey@mips.com>
42955         * sysdeps/mips/strcmp.S: New.
42957 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
42959         [BZ #14138]
42960         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
42961         (linkat): Likewise.
42962         (mkdirat): Likewise.
42963         (readlinkat): Likewise.
42964         (renameat): Likewise.
42965         (symlinkat): Likewise.
42966         (unlinkat): Likewise.
42967         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
42968         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
42969         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
42970         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
42971         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
42972         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
42973         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
42975 2014-09-30  Will Newton  <will.newton@linaro.org>
42977         * math/math.h: Define long double math functions if
42978         _LIBC_TEST is defined.
42979         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
42981         * localedata/Makefile: Move assignment to tests-special
42982         into an ifdef testing run-built-tests.
42983         * timezone/Makefile: Likewise.
42985 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
42987         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
42988         with $(BASH) not $(SHELL).
42990 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
42991             Matthew LeGendre  <legendre1@llnl.gov>
42993         [BZ #17411]
42994         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
42995         l_reloc_result.
42997 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
42999         * stdio-common/printf_fp.c
43000         (hack_digit): New function, broken out of ...
43001         (__printf_fp): ... local function here.  Update call sites.
43002         hack_digit now takes an additional parameter that is a pointer
43003         to a struct of the referenced locals.  Those locals moved inside
43004         the struct and references updated.
43006 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
43008         * aclocal.m4: Require autoconf 2.69.
43009         * configure: Regenerated.
43010         * sysdeps/aarch64/configure: Likewise.
43011         * sysdeps/alpha/configure: Likewise.
43012         * sysdeps/arm/armv7/configure: Likewise.
43013         * sysdeps/arm/configure: Likewise.
43014         * sysdeps/ia64/configure: Likewise.
43015         * sysdeps/mach/configure: Likewise.
43016         * sysdeps/mips/configure: Likewise.
43017         * sysdeps/s390/configure: Likewise.
43018         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
43019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
43021         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
43022         file.
43023         * sysdeps/ia64/configure.ac: Likewise.
43025 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
43027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
43028         specify symbol version for ld.so.  Do not include entry for
43029         libpthread.
43030         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
43031         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
43032         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
43034         [BZ #14171]
43035         * Makeconfig [$(build-shared) = yes]
43036         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
43037         makefiles.
43038         [$(build-shared) = yes && $(soversions.mk-done) = t]
43039         ($(common-objpfx)gnu/lib-names.h): Remove rule.
43040         [$(build-shared) = yes && $(soversions.mk-done) = t]
43041         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
43042         to Makerules.
43043         [$(build-shared) = yes && $(soversions.mk-done) = t]
43044         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
43045         here.
43046         [$(build-shared) = yes && $(soversions.mk-done) = t]
43047         (common-generated): Don't append gnu/lib-names.h and
43048         gnu/lib-names.stmp here.
43049         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
43050         (lib-names-h-abi): New variable.
43051         [$(build-shared) = yes && $(soversions.mk-done) = t]
43052         (lib-names-stmp-abi): Likewise.
43053         [$(build-shared) = yes && $(soversions.mk-done) = t &&
43054         abi-variants] (before-compile): Append
43055         $(common-objpfx)$(lib-names-h-abi).
43056         [$(build-shared) = yes && $(soversions.mk-done) = t &&
43057         abi-variants] (common-generated): Append gnu/lib-names.h.
43058         [$(build-shared) = yes && $(soversions.mk-done) = t &&
43059         abi-variants] (install-others-nosubdir): Depend on
43060         $(inst_includedir)/$(lib-names-h-abi).
43061         [$(build-shared) = yes && $(soversions.mk-done) = t &&
43062         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
43063         [$(build-shared) = yes && $(soversions.mk-done) = t]
43064         ($(common-objpfx)$(lib-names-h-abi)): New rule.
43065         [$(build-shared) = yes && $(soversions.mk-done) = t]
43066         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
43067         [$(build-shared) = yes && $(soversions.mk-done) = t]
43068         (common-generated): Append $(lib-names-h-abi) and
43069         $(lib-names-stmp-abi).
43070         * scripts/lib-names.awk: Do not handle multi being set.
43071         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
43072         Remove variable.
43073         (abi-lp64_be-ld-soname): Likewise.
43074         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
43075         Likewise.
43076         (abi-hard-ld-soname): Likewise.
43077         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
43078         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
43079         Remove variable.
43080         (abi-o32_hard-ld-soname): Likewise.
43081         (abi-o32_soft_2008-ld-soname): Likewise.
43082         (abi-o32_hard_2008-ld-soname): Likewise.
43083         (abi-n32_soft-ld-soname): Likewise.
43084         (abi-n32_hard-ld-soname): Likewise.
43085         (abi-n32_soft_2008-ld-soname): Likewise.
43086         (abi-n32_hard_2008-ld-soname): Likewise.
43087         (abi-n64_soft-ld-soname): Likewise.
43088         (abi-n64_hard-ld-soname): Likewise.
43089         (abi-n64_soft_2008-ld-soname): Likewise.
43090         (abi-n64_hard_2008-ld-soname): Likewise.
43091         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
43092         Likewise.
43093         (abi-64-v2-ld-soname): Likewise.
43094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
43095         ld.so entries.
43096         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
43097         variable.
43098         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
43099         entry.
43100         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
43101         variable.
43102         (abi-64-ld-soname): Likewise.
43103         (abi-x32-ld-soname): Likewise.
43104         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
43105         entry.
43106         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
43108 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
43110         [BZ #14138]
43111         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
43112         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
43113         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
43114         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
43115         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
43116         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
43117         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
43118         syscall entry for GLIBC_2.2 symbol version.
43119         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
43120         Likewise.
43121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
43122         (setrlimit): Likewise.
43123         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
43124         Likewise.
43126 2014-09-23  Will Newton  <will.newton@linaro.org>
43128         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
43129         _LINUX_ARM_SYSDEP_H include guard too.
43130         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
43131         define.
43133 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
43135         * sysdeps/unix/sysv/linux/eventfd.c:
43136         Make first argument unsigned.
43137         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
43138         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
43140 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
43142         [BZ #16852]
43143         * socket/recvmmsg.c (recvmmsg): Drop const argument.
43144         * socket/sys/socket.h: Likewise.
43145         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
43147 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43149         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
43151 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
43153         * time/tst-ftime.c: New test.
43154         * time/Makefile (tests): Add tst-ftime.
43156 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
43158         * soft-fp/extended.h: Fix comment formatting.
43159         * soft-fp/op-1.h: Likewise.
43160         * soft-fp/op-2.h: Likewise.
43161         * soft-fp/op-4.h: Likewise.
43162         * soft-fp/op-8.h: Likewise.
43163         * soft-fp/op-common.h: Likewise.
43164         * soft-fp/soft-fp.h: Likewise.
43166         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
43168 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
43170         [BZ #6652]
43171         * Makeconfig (soversions-default-setname): Remove variable.
43172         ($(common-objpfx)soversions.i): Don't pass default_setname to
43173         soversions.awk.
43174         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
43175         oldest_abi to abi-versions.awk.
43176         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
43177         * config.make.in (oldest-abi): Remove variable.
43178         * configure.ac (--enable-oldest-abi): Remove configure option.
43179         * configure: Regenerated.
43180         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
43181         text.
43182         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
43183         * scripts/soversions.awk: Do not handle default_setname variable.
43184         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
43185         variable.
43186         * sysdeps/mach/hurd/configure: Regenerated.
43187         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
43188         variable.
43189         * sysdeps/unix/sysv/linux/configure: Regenerated.
43191 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
43193         * elf/Makefile (CFLAGS-interp.c): Remove.
43194         ($(elf-objpfx)runtime-linker.h): Generate header with linker
43195         path string.
43196         * elf/interp.c: Include generated runtime-linker.h
43198         * Makerules (lib%.so): Don't include $(+interp) in
43199         prerequisites.
43200         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
43201         * dlfcn/eval.c: Remove file.
43203         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
43204         macros.
43206         [BZ #17266]
43207         * misc/sys/cdefs.h: Define __extern_always_inline for clang
43208         4.2 and newer.
43210         [BZ #17370]
43211         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
43213 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
43214             Jakub Jelinek  <jakub@redhat.com>
43216         [BZ #17266]
43217         * libio/stdio.h: Check definition of __fortify_function
43218         instead of __extern_always_inline to include bits/stdio2.h.
43219         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
43220         check if __extern_always_inline is defined.
43221         [__USE_MISC || __USE_XOPEN]: Likewise.
43222         [__USE_ISOC99] Likewise.
43223         * misc/sys/cdefs.h (__fortify_function): Define only if
43224         __extern_always_inline is defined.
43225         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
43226         __extern_always_inline and __extern_inline only for g++-4.3
43227         and newer or a compatible gcc.
43229 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
43231         [BZ #17371]
43232         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
43233         last change to handle zero prefix length.
43235 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43237         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
43238         _SC_REGEX_VERSION.
43240         * posix/getconf.c (vars): Add _POSIX_IPV6 and
43241         _POSIX_RAW_SOCKETS.
43243 2014-09-13  Allan McRae  <allan@archlinux.org>
43245         * po/ru.po: Update Russian translation from translation project.
43247 2014-09-12  Roland McGrath  <roland@hack.frob.com>
43249         * locale/programs/locale.c (show_locale_vars): Inline local function
43250         into its sole call site.  Clean up some style nits.
43251         (print_item): New function, broken out of ...
43252         (show_info): ... local function here.  Clean up style nits.
43254         * locale/programs/ld-ctype.c (set_one_default): New function, broken
43255         out of ...
43256         (set_class_defaults): ... local function set_default here.
43257         Define set_default as a macro locally to pass constant parameters.
43258         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
43259         rather than a shared local.
43261         * stdlib/rpmatch.c (try): New function, broken out of ...
43262         (rpmatch): ... local function here.  Also, prototypify definition.
43264 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
43266         * scripts/soversions.awk: Do not handle configuration names.
43267         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
43268         vendor and os variables to soversions.awk.
43269         * configure.ac: Do not modify gnu-* host_os.
43270         * configure: Regenerated
43271         * shlib-versions: Remove first column with configuration names.
43272         * nptl/shlib-versions: Likewise.
43273         * nptl_db/shlib-versions: Likewise.
43274         * sysdeps/hppa/shlib-versions: Likewise.
43275         * sysdeps/m68k/shlib-versions: Likewise.
43276         * sysdeps/mach/hurd/shlib-versions: Likewise.
43277         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
43278         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
43279         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
43280         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
43281         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
43282         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
43283         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
43284         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
43285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
43286         Likewise.
43287         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
43288         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
43289         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
43290         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
43291         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
43292         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
43293         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
43294         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
43296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
43297         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
43298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
43299         Regenerated.
43300         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
43301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
43302         Condition symbol version definitions on [HAVE_ELFV2_ABI].
43304         * shlib-versions: Remove OS-specific entries.  Moved to files in
43305         sysdeps.
43306         * sysdeps/mach/hurd/shlib-versions: New file.
43307         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
43309         * nptl/shlib-versions: Remove architecture-specific entries.
43310         Moved to files in sysdeps.
43311         * shlib-versions: Likewise.
43312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
43313         file.
43314         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
43315         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
43316         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
43317         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
43319         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
43320         (UDP_NO_CHECK6_RX): Likewise.
43322 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
43324         * sysdeps/posix/sysconf.c (__sysconf): Spell
43325         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
43327 2014-08-12  Florian Weimer  <fweimer@redhat.com>
43329         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
43330         loading.
43331         * iconv/Versions (__gconv_transliterate): Export for use from
43332         gconv modules.
43333         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
43334         (struct __gconv_trans_data, __gconv_trans_fct,
43335         __gconv_trans_context_fct, __gconv_trans_query_fct,
43336         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
43337         definitions.
43338         (struct __gconv_step_data): Remove __trans member.
43339         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
43340         longer hidden.  Remove unused trans_data argument.
43341         * iconv/gconv_int.h (struct trans_struct): Remove definition.
43342         (__gconv_translit_find): Remove declaration.
43343         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
43344         prototype.
43345         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
43346         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
43347         trans_data argument.  Add hidden definition.
43348         (__gconv_translit_find): Remove.
43349         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
43350         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
43351         * iconv/skeleton.c: Remove transliteration initialization.
43352         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
43353         __gconv_step_data initialization.
43354         * libio/iofwide.c (__libio_translit_): Remove.
43355         (_IO_fwide): Adjust struct __gconv_step_data initialization.
43356         * wcsmbs/btowc.c (__btowc): Likewise.
43357         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
43358         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
43359         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
43360         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
43361         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
43362         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
43363         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
43364         * wcsmbs/wctob.c (wctob): Likewise.
43366 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
43368         [BZ #16194]
43369         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
43370         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
43371         register usage.
43372         * sysdeps/x86/Makefile: Adjust.
43374 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
43375             Roland McGrath  <roland@hack.frob.com>
43377         * locale/weight.h: Add include guard.
43378         (findidx): Make static rather than auto; take new parameters
43379         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
43380         * locale/weightwc.h: Likewise.
43381         * posix/fnmatch_loop.c
43382         (FCT): Change type of EXTRA from int32_t to wint_t.
43383         Don't include either header inside the function.
43384         Call FINDIDX rather than findidx, and pass new arguments.
43385         #undef FINDIDX at the end of the file.
43386         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
43387         FINDIDX before including fnmatch_loop.c for the non-wide version.
43388         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
43389         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
43390         for the wide version.
43391         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
43392         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
43393         Pass new arguments to findidx.
43394         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
43395         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
43396         Don't #include it inside the function.  Pass new arguments to findidx.
43397         * posix/regex_internal.h
43398         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
43399         (re_string_elem_size_at): Don't #include it inside the function.
43400         Pass new arguments to findidx.
43401         * string/strcoll_l.c: #include WEIGHT_H at top level.
43402         (get_next_seq): Don't #include it inside the function.
43403         Pass new arguments to findidx.
43404         (get_next_seq_nocache): Likewise.
43405         * string/strxfrm_l.c: #include WEIGHT_H at top level.
43406         (STRXFRM): Don't #include it inside the function.
43407         Pass new arguments to findidx.
43409 2014-09-11  Florian Weimer  <fweimer@redhat.com>
43411         [BZ #17344]
43412         * malloc/malloc.c (unlink): Turn asserts into a call to
43413         malloc_printerr.
43415 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
43417         [BZ #17370]
43418         * libio/wfileops (do_ftell_wide): Free OUT.
43420 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
43422         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
43424 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43426         [BZ #17363]
43427         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
43428         group if the current group is empty.
43430 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43432         * benchtests/bench-memset.c (test_main): Add more test from size
43433         from 32 to 512 bytes.
43434         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
43435         Add POWER8 memset object.
43436         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43437         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
43438         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
43439         implementation.
43440         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
43441         Likewise.
43442         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
43443         multiarch POWER8 memset optimization.
43444         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
43445         POWER8 memset optimization.
43447         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
43448         Remove bzero multiarch objects.
43449         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
43450         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
43451         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
43452         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
43453         Remove define.
43454         [__bzero]: Redefine to specific name.
43455         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
43456         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
43457         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
43458         define.
43459         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
43460         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
43462 2014-09-10  Florian Weimer  <fweimer@redhat.com>
43464         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
43465         warnings into errors.
43467         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
43468         __cxa_thread_atexit_impl prototype.
43470 2014-09-09  Steve Ellcey  <sellcey@mips.com>
43472         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
43473         Fix capitalization of error message.
43475 2014-09-09  Steve Ellcey  <sellcey@mips.com>
43477         * sysdeps/mips/preconfigure: Modify ABI tests.
43479 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
43481         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
43483 2014-09-07  Roland McGrath  <roland@hack.frob.com>
43484             Carlos O'Donell  <carlos@systemhalted.org>
43486         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
43487         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
43488         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
43489         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
43490         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
43491         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
43492         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
43493         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
43494         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
43495         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
43496         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
43497         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
43498         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
43499         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
43500         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
43501         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
43502         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
43503         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
43504         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
43505         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
43506         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
43507         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
43508         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
43509         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
43510         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
43511         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
43512         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
43513         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
43514         Deconditionalize the code that was previously under [RESET_PID].
43515         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
43516         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
43517         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
43518         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
43519         include sysdep.h.
43521 2014-09-08  Allan McRae  <allan@archlinux.org>
43523         * version.h (RELEASE): Set to "development".
43524         (VERSION): Set to "2.20.90"
43526 2014-09-07  Allan McRae  <allan@archlinux.org
43528         * version.h (RELEASE): Set to "stable".
43529         (VERSION): Set to "2.20"
43530         * include/features.h (__GLIBC_MINOR__): Set to 20.
43532         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
43533         Liebler.
43535         * po/ko.po: Update Korean translation from translation project.
43537 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
43539         [BZ #17354]
43540         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
43541         macro for handling signed relocations.
43543 2014-09-03  Florian Weimer  <fweimer@redhat.com>
43545         [BZ #17325]
43546         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
43547         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
43548         assert.
43549         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
43550         * iconvdata/ibm935.c (BODY): Likewise.
43551         * iconvdata/ibm937.c (BODY): Likewise.
43552         * iconvdata/ibm939.c (BODY): Likewise.
43553         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
43554         assert.
43555         * iconvdata/Makefile (iconv-test.out): Pass module list to test
43556         script.
43557         * iconvdata/run-iconv-test.sh: New test loop for checking for
43558         decoder crashers.
43560 2014-09-02  Khem Raj  <raj.khem@gmail.com>
43562         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
43563         libm_hidden_ver.
43565 2014-09-01  Allan McRae  <allan@archlinux.org>
43567         * po/eo.po: Update Esperanto translation from translation project.
43569         * po/ca.po: Update Catalan translation from translation project.
43571 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43573         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
43574         __proc_dostop call.
43576 2014-08-27  Mark Wielaard  <mjw@redhat.com>
43578         [BZ #17319]
43579         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
43580         to call set_thread_area instead of hand written asm.
43581         (__NR_set_thread_area): Removed define.
43582         (TLS_FLAG_WRITABLE): Likewise.
43583         (__ASSUME_SET_THREAD_AREA): Remove check.
43584         (TLS_EBX_ARG): Remove define.
43585         (TLS_LOAD_EBX): Likewise.
43587 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43589         Simplify atomicity of socket creation in bind.
43591         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
43592         looking up the name after linking the file.
43594 2014-08-27  Allan McRae  <allan@archlinux.org>
43596         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
43598 2014-08-26  Florian Weimer  <fweimer@redhat.com>
43600         [BZ #17187]
43601         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
43602         trans_compare, open_translit, __gconv_translit_find):
43603         Remove module loading code.
43605 2014-08-26  Allan McRae  <allan@archlinux.org>
43607         * po/vi.po: Update Vietnamese translation from translation project.
43609         * po/uk.po: Update Ukrainian translation from translation project.
43611         * po/fr.po: Update French translation from translation project.
43613         * po/ru.po: Update Russian translation from translation project.
43615         * po/pl.po: Update Polish translation from translation project.
43617         * po/cs.po: Update Czech translation from translation project.
43619         * po/de.po: Update German translation from translation project.
43621         * po/bg.po: Update Bulgarian translation from translation project.
43623         * po/sv.po: Update Sweedish translation from translation project.
43625         * po/nl.po: Update Dutch translation from translation project.
43627         * po/es.po: Update Spanish translation from translation project.
43629 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43631         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
43633         * catgets/Makefile (CPPFLAGS-gencat): Remove.
43634         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
43635         (CPPFLAGS-iconvconfig): Likewise.
43636         * timezone/Makefile (CPPFLAGS-zic): Likewise.
43638         * include/libc-symbols.h: Remove unnecessary check for
43639         NOT_IN_libc.
43640         * nptl/pthreadP.h: Likewise.
43641         * sysdeps/aarch64/setjmp.S: Likewise.
43642         * sysdeps/alpha/setjmp.S: Likewise.
43643         * sysdeps/arm/sysdep.h: Likewise.
43644         * sysdeps/i386/setjmp.S: Likewise.
43645         * sysdeps/m68k/setjmp.c: Likewise.
43646         * sysdeps/posix/getcwd.c: Likewise.
43647         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
43648         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
43649         * sysdeps/s390/s390-32/setjmp.S: Likewise.
43650         * sysdeps/s390/s390-64/setjmp.S: Likewise.
43651         * sysdeps/sh/sh3/setjmp.S: Likewise.
43652         * sysdeps/sh/sh4/setjmp.S: Likewise.
43653         * sysdeps/unix/alpha/sysdep.h: Likewise.
43654         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43655         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43656         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
43657         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
43659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43660         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43661         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43662         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43663         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43664         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43665         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43666         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43667         * sysdeps/x86_64/setjmp.S: Likewise.
43669 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
43671         [BZ #17263]
43672         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
43673         <stdint.h>.
43674         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
43675         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
43677 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
43679         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
43681         [BZ #17262]
43682         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
43683         and __x86_64__ when disabling x87 inline functions.
43685 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
43687         [BZ #17259]
43688         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
43689         asm statement with __cpuid_count.
43691 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
43693         * configure.ac: Change __ehdr_start code to dereference the struct.
43694         Run readelf on the output to look for relocations.
43695         * configure: Regenerated.
43697 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
43699         [BZ #17261]
43700         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
43701         value to 0.
43702         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
43704 2014-08-12  Roland McGrath  <roland@hack.frob.com>
43706         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
43708 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
43710         [BZ #16892]
43711         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
43712         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
43714 2014-08-12  Sean Anderson  <seanga2@gmail.com>
43716         * malloc/malloc.c: Fix typo in comment.
43718 2014-08-09  Allan McRae  <allan@archlinux.org>
43720         * Regenerate libc.po.
43722 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
43724         * intl/tst-gettext2.sh: Check every lang file for creation.
43726 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
43728         * sysdeps/aarch64/fpu/math_private.h
43729         (libc_feholdsetround_noex_aarch64_ctx): New function.
43731 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
43733         * sysdeps/arm/armv6/strcpy.S (strcpy):
43734         Fix performance issue in misaligned cases.
43736 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43738         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
43739         Move definition from termios.h.
43740         (struct termio): Likewise.
43741         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
43742         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
43743         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
43744         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
43745         Likewise.
43746         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
43747         Move definition to ioctl-types.h
43748         (struct termio): Likewise.
43749         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
43750         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
43751         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
43752         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
43753         Likewise.
43755 2014-08-05  Richard Henderson  <rth@redhat.com>
43757         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
43758         exceptions.
43759         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
43760         Add fraiseexcpt.
43761         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
43762         Use __feraiseexcept.
43763         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
43764         Protect libm symbols with IS_IN_libm.
43766         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
43768 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
43770         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
43772 2014-08-04  Will Newton  <will.newton@linaro.org>
43774         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
43775         file.
43777 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
43779         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
43780         variants for each function.
43782 2014-08-04  Roland McGrath  <roland@hack.frob.com>
43784         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
43785         appended ...
43786         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
43787         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
43788         appended ...
43789         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
43790         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
43791         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
43792         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
43793         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
43794         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
43795         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
43796         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
43797         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
43798         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
43799         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
43800         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
43801         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
43802         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
43803         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
43804         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
43805         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
43806         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
43807         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
43808         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
43809         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
43810         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
43811         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
43812         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
43813         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
43814         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
43815         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
43816         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
43817         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
43818         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
43819         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
43820         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
43821         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
43822         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
43823         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
43824         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
43825         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
43826         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
43827         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
43828         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
43829         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
43830         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
43831         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
43832         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
43833         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
43834         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
43835         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
43836         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
43837         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
43838         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
43839         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
43840         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
43841         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
43842         Update #include.
43843         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
43844         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
43846 2014-08-04  Roland McGrath  <roland@hack.frob.com>
43848         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
43849         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
43850         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
43851         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
43852         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
43853         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
43855 2014-08-04  Roland McGrath  <roland@hack.frob.com>
43857         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
43858         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
43859         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43860         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
43862 2014-08-04  Roland McGrath  <roland@hack.frob.com>
43864         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
43865         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
43866         (__libc_vfork): Define function under this name.
43867         (__vfork): Define as an alias.
43868         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
43869         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
43871 2014-08-04  Roland McGrath  <roland@hack.frob.com>
43873         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
43874         that was previously under [RESET_PID].
43875         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
43877 2014-08-04  Andreas Schwab  <schwab@suse.de>
43879         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
43881 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
43883         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
43884         (main): Likewise.
43886 2014-08-01  Roland McGrath  <roland@hack.frob.com>
43888         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
43890 2014-08-01  Richard Henderon  <rth@redhat.com>
43892         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
43893         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
43894         typo in exact zero test.
43895         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43896         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
43897         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43899 2014-08-01  Roland McGrath  <roland@hack.frob.com>
43901         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
43902         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
43903         * sysdeps/arm/sysdep.h: ... here.
43904         [!__ASSEMBLER__]: Include <stdint.h>.
43906 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
43908         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
43909         (HAVE_WCTYPE_H): Likewise.
43910         (HAVE_ISWCTYPE): Likewise.
43911         (ENABLE_NLS): Likewise.
43912         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
43913         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
43915         * posix/regex_internal.c: Check if DEBUG is defined and is
43916         set.
43918         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
43919         (HAVE_MBSRTOWCS): Likewise.
43920         * posix/fnmatch.c: Include string.h unconditionally.
43922 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
43924         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
43925         reversal.
43927 2014-07-31  Roland McGrath  <roland@hack.frob.com>
43929         * sysdeps/generic/safe-fatal.h: New file.
43930         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
43931         * nptl/forward.c: Include it.
43932         (__pthread_unwind): Use __safe_fatal as default action, rather
43933         than a bogus use of INTERNAL_SYSCALL that could never work.
43935         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
43936         * configure.ac (libc_cv_builtin_trap): New test.
43937         * configure: Regenerated.
43938         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
43939         (ABORT_INSTRUCTION): Define using __builtin_trap.
43941         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
43942         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
43943         * sysdeps/nptl/nptl-signals.h: New file.
43944         * nptl/pthreadP.h: Include <nptl-signals.h>.
43946 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
43948         * sysdeps/s390/s390-64/utf16-utf32-z9.c
43949         (ONE_DIRECTION): Define.
43950         * sysdeps/s390/s390-64/utf8-utf16-z9.c
43951         (ONE_DIRECTION): Define.
43952         * sysdeps/s390/s390-64/utf8-utf32-z9.c
43953         (ONE_DIRECTION): Define.
43955 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
43957         * sysdeps/s390/Makefile: Delete file.
43958         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
43959         * sysdeps/s390/__longjmp.c: Delete file.
43960         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
43961         Remove fields __flags and __reserved.
43962         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
43963         and add versioning.
43964         * sysdeps/s390/rtld-__longjmp.c: Delete file.
43965         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
43966         * sysdeps/s390/rtld-setjmp.S: Likewise.
43967         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
43968         * sysdeps/s390/s390-32/__longjmp.c: ... here.
43969         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
43970         * sysdeps/s390/s390-32/setjmp.S: ... here.
43971         Add versioning.
43972         (__sigsetjmp): Remove setting __flags field.
43973         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
43974         * sysdeps/s390/s390-64/__longjmp.c: ... here.
43975         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
43976         * sysdeps/s390/s390-64/setjmp.S: ... here.
43977         Add versioning.
43978         (__sigsetjmp): Remove setting __flags field.
43979         * sysdeps/s390/setjmp.S: Delete file.
43980         * sysdeps/s390/sigjmp.c: Likewise.
43981         * sysdeps/s390/v1-longjmp.c: Likewise.
43982         * sysdeps/s390/v1-setjmp.h: Likewise.
43983         * sysdeps/s390/v1-sigjmp.c: Likewise.
43984         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
43985         Remove v1-longjmp_chk.
43986         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
43987         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
43988         Include debug/longjmp_chk.c and add versioning.
43989         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
43990         Include nptl/pt-longjmp.c and add versioning.
43991         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
43992         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
43993         Include __longjmp.c.
43994         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
43995         Move to ...
43996         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
43997         (__getcontext): Remove setting __flags field.
43998         Add versioning.
43999         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
44000         Don't restore upper high grps.
44001         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
44002         Likewise.
44003         (__swapcontext): Remove setting uc_flags field.
44004         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
44005         Delete file.
44006         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
44007         Include __longjmp.c.
44008         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
44009         Move to ...
44010         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
44011         (__getcontext): Remove setting __flags field.
44012         Add versioning.
44013         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
44014         (__swapcontext): Remove setting uc_flags field.
44015         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
44016         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
44017         Remove fields uc_high_gprs and __reserved.
44018         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
44019         New file with reverted content.
44020         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
44021         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
44022         Regenerated.
44023         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
44024         Regenerated.
44026 2014-07-31  Andreas Schwab  <schwab@suse.de>
44028         * config.h.in (HAVE_IFUNC): Define to 0.
44029         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
44030         definedness.
44032 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
44034         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44035         memmove-avx-unaligned, memcpy-avx-unaligned and
44036         mempcpy-avx-unaligned.
44037         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
44038         Add tests for AVX memcpy functions.
44039         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
44040         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
44041         memcpy_chk.
44042         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
44043         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
44044         memmove_chk.
44045         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
44046         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
44047         mempcpy_chk.
44048         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
44049         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
44050         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
44052 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44054         [BZ #17213]
44055         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
44056         powerpc64le.
44058 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
44060         [BZ #16839]
44061         * manual/llio.texi: Add section about open file description locks.
44062         * manual/examples/ofdlocks.c: Example of open file description
44063         lock usage.
44064         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
44065         F_OFD_SETLK, and F_OFD_SETLKW.
44067 2014-07-23  Allan McRae  <allan@archlinux.org>
44069         * po/es.po: Update Spanish translation from translation project.
44071 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
44073         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
44075 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
44077         [BZ #17078]
44078         * sysdeps/arm/dl-machine.h (elf_machine_rela)
44079         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
44080         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
44082 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
44084         [BZ #17088]
44085         * math/fesetenv.c (__fesetenv)
44086         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
44087         * math/feupdateenv.c (__feupdateenv)
44088         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
44090         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
44091         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
44092         (__ASSUME_SOCKETCALL): Do not define.
44094         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
44095         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
44096         (__ASSUME_SOCKETCALL): Do not define.
44097         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
44098         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
44099         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
44100         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
44101         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
44102         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
44103         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
44104         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
44106         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
44107         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
44108         (__ASSUME_SOCKETCALL): Do not define.
44109         (__ASSUME_IPC64): Define unconditionally.
44110         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
44111         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
44112         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
44113         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
44114         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
44115         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
44116         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
44117         Likewise.
44119         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
44120         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
44121         (__ASSUME_SOCKETCALL): Do not define.
44122         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
44123         (__ASSUME_FUTEX_LOCK_PI): Likewise.
44124         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
44125         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
44126         (__ASSUME_REQUEUE_PI): Define unconditionally.
44127         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
44128         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
44129         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
44130         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
44131         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
44132         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
44134         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
44135         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
44136         (__ASSUME_SOCKETCALL): Do not define.
44137         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
44138         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
44139         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
44140         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
44141         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
44142         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
44144         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
44145         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
44146         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
44147         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
44148         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
44149         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
44150         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
44151         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
44152         (__ASSUME_GETCPU_SYSCALL): Likewise.
44154         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
44155         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
44156         cases for individual architectures.
44157         * sysdeps/gnu/configure: Regenerated.
44158         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
44159         LIBC_SLIBDIR_RTLDDIR.
44160         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
44161         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
44162         LIBC_SLIBDIR_RTLDDIR.
44163         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
44164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
44165         LIBC_SLIBDIR_RTLDDIR.
44166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
44167         Regenerated.
44168         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
44169         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
44170         file.
44171         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
44172         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
44173         file.
44174         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
44175         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
44176         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
44177         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
44179         * sysdeps/aarch64/shlib-versions: Move to ...
44180         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
44181         * sysdeps/alpha/shlib-versions: Move to ...
44182         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
44183         * sysdeps/arm/shlib-versions: Move to ...
44184         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
44185         * sysdeps/hppa/shlib-versions: Move all contents except for
44186         libgcc_s entry to ...
44187         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
44188         entry from ...
44189         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
44190         * sysdeps/ia64/shlib-versions: Move to ...
44191         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
44192         entry from ...
44193         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
44194         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
44195         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
44196         * sysdeps/microblaze/shlib-versions: Move to ...
44197         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
44198         * sysdeps/mips/shlib-versions: Move to ...
44199         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
44200         entry from ...
44201         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
44202         * sysdeps/tile/shlib-versions: Move to ...
44203         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
44204         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
44205         from ...
44206         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
44207         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
44208         entry from ...
44209         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
44211 2014-07-17  Will Newton  <will.newton@linaro.org>
44213         * sysdeps/arm/bits/atomic.h
44214         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
44215         (__arch_compare_and_exchange_bool_16_int): Likewise.
44216         (__arch_compare_and_exchange_bool_64_int): Likewise.
44218         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
44219         into an #else block.
44221 2014-07-16  Roland McGrath  <roland@hack.frob.com>
44223         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
44224         just Linux configurations.  Test empirically that the compiler sets
44225         __ARM_EABI__, rather than using the tuple to decide.
44226         * sysdeps/arm/preconfigure: Regenerated.
44227         * sysdeps/unix/sysv/linux/arm/configure: File removed.
44228         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
44229         contents appended ...
44230         * sysdeps/arm/configure.ac: ... here.
44231         * sysdeps/arm/configure: Regenerated.
44233 2014-07-15  Roland McGrath  <roland@hack.frob.com>
44235         * nptl/pthread_kill.c: New file.
44236         * nptl/pthread_sigmask.c: New file.
44237         * nptl/pthread_sigqueue.c: New file.
44239         * sysdeps/nptl/lowlevellock.h: New file.
44240         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
44241         * sysdeps/nptl/lowlevellock-futex.h: New file.
44243         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
44244         Remove dead declarations.
44246 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
44248         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
44249         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
44250         config-cflags-avx2.
44251         * sysdeps/x86_64/configure.ac: Likewise.
44252         * sysdeps/i386/configure: Regenerated.
44253         * sysdeps/x86_64/configure: Likewise.
44254         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44255         memset-avx2 only if config-cflags-avx2 is yes.
44256         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
44257         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
44258         defined.
44259         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
44260         only if HAVE_AVX2_SUPPORT is defined.
44261         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
44263 2014-07-14  Alan Modra  <amodra@gmail.com>
44265         [BZ #17153]
44266         * elf/elf.h (DT_PPC64_NUM): Correct value.
44267         * NEWS: Add to fixed bug list.
44269 2014-07-13  Jim Meyering  <meyering@fb.com>
44271         [BZ 17150]
44272         regex: don't deref NULL upon heap allocation failure
44273         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
44274         failure in one more place.
44275         To trigger the segfault, configure grep -with-included-regex,
44276         build it, and run these commands:
44277         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
44279 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
44281         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
44283 2014-07-11  Richard Henderson  <rth@redhat.com>
44285         * sysdeps/aarch64/libm-test-ulps: Update.
44287 2014-07-10  Florian Weimer  <fweimer@redhat.com>
44289         [BZ #17135]
44290         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
44291         * nptl/allocatestack.c (__nptl_setxid_error): New function.
44292         (__nptl_setxid): Initialize error member.  Call
44293         __nptl_setxid_error.
44294         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
44295         * nptl/descr.h (struct xid_command): Add error member.
44296         * nptl/tst-setuid3.c: New file.
44297         * nptl/Makefile (tests): Add it.
44299 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44301         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
44302         New define.
44303         (__lll_trylock): Use __lll_base_trylock.
44304         (__lll_cond_trylock): Likewise.
44306 2014-07-10  Roland McGrath  <roland@hack.frob.com>
44308         * nptl/pthread_create.c (start_thread): Use atomic_or and
44309         lll_futex_wake directly rather than lll_robust_dead.
44310         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
44311         (lll_robust_dead): Macro removed.
44312         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
44313         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
44314         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
44315         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
44316         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
44317         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
44318         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
44319         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
44320         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
44321         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
44322         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
44323         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
44324         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
44325         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
44326         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
44328         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
44329         Use atomic_compare_and_exchange_val_acq directly rather than
44330         lll_robust_trylock.
44331         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
44332         (__lll_robust_trylock, lll_robust_trylock): Removed.
44333         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
44334         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
44335         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
44336         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
44337         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
44338         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
44339         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
44340         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
44341         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
44342         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
44343         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
44344         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
44345         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
44346         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
44348 2014-07-02  Florian Weimer  <fweimer@redhat.com>
44350         * manual/locale.texi (Locale Names): New section documenting
44351         locale name syntax.  Adjust menu and node chaining accordingly.
44352         (Choosing Locale): Reference Locale Names, Locale Categories.
44353         Mention setting LC_ALL=C.  Reflect that name syntax is now
44354         documented.
44355         (Locale Categories): New section title.  Reference Locale Names.
44356         LC_ALL is an environment variable, but not a category.
44357         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
44358         description, now in Locale Name.  Reference that section.  Locale
44359         name syntax is now documented.
44361 2014-07-02  Florian Weimer  <fweimer@redhat.com>
44363         [BZ #17137]
44364         * locale/findlocale.c (name_present, valid_locale_name): New
44365         functions.
44366         (_nl_find_locale): Use the loc_name variable to store name
44367         candidates.  Call name_present and valid_locale_name to check and
44368         validate locale names.  Return an error if the locale is invalid.
44370 2014-07-02  Florian Weimer  <fweimer@redhat.com>
44372         * locale/setlocale.c (setlocale): Use strdup for allocating
44373         composite name copy.
44375 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44377         Sync up with gnulib.
44378         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
44379         [!_LIBC && ENABLE_NLS]: Include gettext.h.
44380         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
44381         and _GL_ARG_NONNULL.
44382         [USE_UNLOCKED_IO]: Include unlocked-io.h.
44383         [!_LIBC]: Include code for Windows and Cygwin.
44384         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
44385         Include prototype for int strerror_r.
44386         [!_LIBC] (is_open): New function.
44387         (flush_stdout): New function.
44388         (print_errno_message): Use it.
44389         (error): Likewise.
44390         (error_at_line): Likewise.
44391         (error_tail) Add function attribute macros.  Use
44392         __builtin_expect.
44394         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
44396         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
44398         * io/ftw.c: Include sys/param.h unconditionally.
44400         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
44402         [BZ #17125]
44403         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
44404         libc_freeres_ptr.
44405         (freecache): New function to free CACHE on exit.
44407         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
44408         initialization.
44410 2014-07-09  David S. Miller  <davem@davemloft.net>
44412         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44414         * sysdeps/sparc/nptl/internaltypes.h: Delete.
44415         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
44416         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
44417         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
44418         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
44419         * sysdeps/sparc/nptl/sem_init.c: Likewise.
44420         * sysdeps/sparc/nptl/sem_post.c: Likewise.
44421         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
44422         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
44423         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
44424         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
44425         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
44426         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
44428 2014-07-09  Andreas Schwab  <schwab@suse.de>
44430         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
44431         output.
44432         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
44433         (do_test): Likewise.
44435         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
44437 2014-07-09  Will Newton  <will.newton@linaro.org>
44439         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
44440         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
44441         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
44442         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
44443         * sysdeps/hppa/start.S (_start): Likewise.
44445 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
44447         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
44449         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
44450         defined.
44452 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
44454         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
44455         after checking that it is non-NULL.
44457         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
44459 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44461         * sysdeps/powerpc/memmove.c: Remove file.
44462         * sysdeps/powerpc/powerpc32/power4/memcopy.h
44463         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
44464         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
44465         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
44466         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
44467         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
44468         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
44469         string memmove instead of removed powerpc one.
44471         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
44472         [weak_alias]: Fix compiler warning due trailing data.
44473         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
44474         [weak_alias]: Likewise.
44475         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
44476         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
44478         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44479         (__libc_ifunc_impl_list): Add memmove functions.
44481 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
44483         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
44484         Remove code.
44485         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
44486         Likewise.
44487         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
44488         Likewise.
44489         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
44490         Likewise.
44491         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
44492         Likewise.
44493         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
44494         Likewise.
44495         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
44496         Likewise.
44497         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
44498         Likewise.
44499         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
44500         Likewise.
44501         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
44502         Likewise.
44503         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
44504         Likewise.
44505         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
44506         Likewise.
44507         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
44508         Likewise.
44509         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
44510         Likewise.
44511         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
44512         Likewise.
44513         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
44514         Likewise.
44515         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
44516         Likewise.
44518 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44520         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
44521         to avoid alignment traps in non-cacheable memory.
44522         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
44524         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
44525         multiarch objects.
44526         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
44527         file: multiarch power7 memmove.
44528         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
44529         multiarch default memmove.
44530         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
44531         multiarch memove for powerpc32/power4.
44533         * string/bcopy.c: Use full path to include memmove.c.
44534         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
44535         multiarch objects.
44536         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
44537         bcopy for powerpc64.
44538         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
44539         bcopy for powerpc64.
44540         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
44541         and memmove implementations.
44542         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
44543         optimized multiarch memmove for POWER7/powerpc64.
44544         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
44545         default multiarch memmove for powerpc64.
44546         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
44547         multiarch for powerpc64.
44548         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
44549         for POWER7/powerpc64.
44550         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
44551         memmove for POWER7/powerpc64.
44553         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
44554         glibc default one.
44556         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
44557         __ELF_NATIVE_CLASS equal to 64.
44559 2014-07-07  Roland McGrath  <roland@hack.frob.com>
44561         * sysdeps/nptl/lowlevellock.h: File removed.
44563         * NEWS: NPTL is no longer an add-on!
44564         * nptl/internaltypes.h: Moved ...
44565         * sysdeps/nptl/internaltypes.h: ... here.
44566         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
44567         * sysdeps/nptl/fork.c: Likewise.
44568         * sysdeps/nptl/gai_misc.h: Likewise.
44569         * sysdeps/nptl/librt-cancellation.c: Likewise.
44570         * sysdeps/nptl/jmp-unwind.c: Likewise.
44571         * sysdeps/nptl/setxid.h: Likewise.
44572         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
44573         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
44574         * sysdeps/unix/sysv/linux/arm/Implies: New file.
44575         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
44576         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
44577         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
44578         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
44579         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
44580         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
44581         * sysdeps/unix/sysv/linux/mips/Implies: New file.
44582         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
44583         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
44584         * sysdeps/unix/sysv/linux/sh/Implies: New file.
44585         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
44586         * sysdeps/unix/sysv/linux/tile/Implies: New file.
44587         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
44588         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
44589         * nptl/Makeconfig: Moved ...
44590         * sysdeps/nptl/Makeconfig: ... here.
44591         * nptl/configure: File removed.
44592         * nptl/ANNOUNCE: File removed.
44593         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
44594         * sysdeps/unix/sysv/linux/configure: Regenerated.
44596         * nptl/Makefile (routines): Add libc_pthread_init,
44597         libc_multiple_threads, register-atfork and unregister-atfork.
44598         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
44599         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
44600         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
44601         pthread-pi-defines.sym, structsem.sym.
44602         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
44603         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
44604         [$(subdir) = nptl] (tests): Add tst-setgetname.
44605         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
44606         * sysdeps/unix/sysv/linux/sigaction.c: Just include
44607         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
44608         [!LIBC_SIGACTION]: Remove aliases.
44609         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
44610         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
44611         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
44612         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
44613         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
44614         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
44615         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
44616         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
44617         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
44618         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
44619         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
44620         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
44621         __libc_allocate_rtsig_private.
44622         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
44623         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
44624         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
44625         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
44626         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
44627         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
44628         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
44629         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
44630         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
44631         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
44632         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
44633         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
44634         * nptl/internaltypes.h: ... here.
44635         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
44636         * sysdeps/nptl/jmp-unwind.c: ... here.
44637         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
44638         * nptl/libc-lowlevellock.c: ... here.
44639         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
44640         * nptl/libc_multiple_threads.c: ... here.
44641         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
44642         * nptl/libc_pthread_init.c: ... here.
44643         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
44644         * nptl/lowlevelbarrier.sym: ... here.
44645         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
44646         * nptl/lowlevelcond.sym: ... here.
44647         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
44648         * nptl/lowlevellock.c: ... here.
44649         * nptl/lowlevellock.h: Moved ...
44650         * sysdeps/nptl/lowlevellock.h: ... here.
44651         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
44652         * nptl/lowlevelrobustlock.c: ... here.
44653         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
44654         * nptl/lowlevelrobustlock.sym: ... here.
44655         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
44656         * nptl/lowlevelrwlock.sym: ... here.
44657         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
44658         * nptl/pt-fork.c: ... here.
44659         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
44660         * nptl/pthread-pi-defines.sym: ... here.
44661         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
44662         * nptl/pthread_attr_getaffinity.c: ... here.
44663         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
44664         * nptl/pthread_attr_setaffinity.c: ... here.
44665         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
44666         * nptl/pthread_mutex_cond_lock.c: ... here.
44667         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
44668         Update #include.
44669         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
44670         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
44671         * nptl/pthread_once.c: ... here, replacing old file.
44672         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
44673         * nptl/pthread_yield.c: ... here.
44674         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
44675         * nptl/register-atfork.c: ... here.
44676         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
44677         * nptl/sem_post.c: ... here.
44678         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
44679         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
44680         * nptl/sem_timedwait.c: ... here.
44681         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
44682         * nptl/sem_trywait.c: ... here.
44683         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
44684         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
44685         * nptl/sem_wait.c: ... here.
44686         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
44687         * nptl/structsem.sym: ... here.
44688         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
44689         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
44690         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
44691         * nptl/unregister-atfork.c: ... here.
44692         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
44693         * nptl/unwindbuf.sym: ... here.
44694         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
44695         * sysdeps/nptl/fork.c: ... here.
44696         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
44697         * sysdeps/nptl/fork.h: ... here.
44698         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
44699         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
44700         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
44701         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
44702         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
44703         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
44704         * sysdeps/unix/sysv/linux/getpid.c: ... here.
44705         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
44706         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
44707         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
44708         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
44709         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
44710         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
44711         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
44712         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
44713         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
44714         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
44715         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
44716         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
44717         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
44718         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
44719         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
44720         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
44721         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
44722         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
44723         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
44724         * sysdeps/unix/sysv/linux/raise.c: ... here.
44725         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
44726         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
44727         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
44728         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
44729         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
44730         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
44731         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
44732         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
44733         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
44734         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
44735         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
44736         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
44737         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
44738         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
44739         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
44741 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
44743         * sysdeps/generic/memcopy.h: Add comment for
44744         MEMCPY_OK_FOR_FWD_MEMMOVE.
44746 2014-07-04  Will Newton  <will.newton@linaro.org>
44748         * string/memchr.c: Merge from gnulib.
44749         [_LIBC]: Remove conditionals.
44750         (__ptr_t): Remove define.
44751         (LONG_MAX_32_BITS): Likewise.
44752         (LONG_MAX): Likewise.
44753         (MEMCHR): Use ANSI prototype and optimize algorithm.
44755         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
44757 2014-07-03  Roland McGrath  <roland@hack.frob.com>
44759         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
44760         (lll_futex_timed_wait_bitset): Fix syscall argument count.
44762         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
44763         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
44764         in a bare environment with no <stdlib.h> installed.
44765         * sysdeps/nptl/configure: Regenerated.
44767         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
44769         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
44770         AC_EGREP_CPP for kernel header checks, so they only succeed if
44771         including <linux/version.h> actually works right.
44772         * sysdeps/unix/sysv/linux/configure: Regenerated.
44774         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
44775         value so it's not diagnosed as unused.
44777         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
44778         thing) with "ifeq ($(subdir),rt)".
44780 2014-07-03  Richard Henderson  <rth@redhat.com>
44782         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
44783         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
44784         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
44786         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
44787         (math_force_eval): New.
44789         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
44790         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
44792         * sysdeps/alpha/fpu/s_round.c: Remove file.
44793         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
44795         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
44796         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
44797         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
44798         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
44799         (_dl_start, print_statistics): Likewise.
44800         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
44801         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
44803         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
44804         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
44805         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
44806         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
44807         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
44808         (HP_SMALL_TIMING_AVAIL): Define.
44809         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
44810         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
44811         (HP_SMALL_TIMING_AVAIL): Define.
44812         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
44813         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
44815         * sysdeps/aarch64/hp-timing.h: New file.
44817         * sysdeps/generic/hp-timing.h: Remove dead comment.
44818         * sysdeps/generic/hp-timing-common.h: New file.
44819         * sysdeps/alpha/hp-timing.h: Include it.
44820         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
44821         * sysdeps/i386/i686/hp-timing.h: Likewise.
44822         * sysdeps/ia64/hp-timing.h: Likewise.
44823         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
44824         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
44825         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
44826         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
44827         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
44828         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
44829         (hp_timing_t): New.
44831         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
44832         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
44833         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
44834         * elf/rtld.c (_dl_start_final): Likewise.
44835         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
44836         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
44837         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
44838         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
44839         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
44840         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
44841         (HP_TIMING_DIFF_INIT): Remove.
44842         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
44843         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
44844         (HP_TIMING_DIFF_INIT): Remove.
44845         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
44846         * sysdeps/i386/i686/hp-timing.c: Remove file.
44847         * sysdeps/x86_64/hp-timing.c: Remove file.
44848         * sysdeps/ia64/hp-timing.c: Remove file.
44849         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
44850         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
44851         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
44852         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
44854         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
44855         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
44856         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
44857         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
44858         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
44859         (HP_TIMING_ACCUM): Remove.
44860         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
44861         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
44862         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
44864         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
44865         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
44866         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
44867         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
44868         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
44869         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
44870         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
44871         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
44873         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
44875 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
44877         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
44879 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44881         Sync up with gettext.
44882         * intl/loadmsgcat.c: Define O_BINARY if not defined.
44883         [_MSC_VER]: Include malloc.h
44884         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
44885         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
44886         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
44887         TEMP_FAILURE_RETRY.  Cast return of alloca.
44888         [!_LIBC] Call gl_rwlock_init.
44889         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
44891 2014-07-02  Roland McGrath  <roland@hack.frob.com>
44893         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
44894         before checking its value.
44896 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44898         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
44900         * debug/memcpy_chk.c: Don't include pagecopy.h.
44901         * debug/mempcpy_chk.c: Likewise.
44902         * string/memcpy.c: Likewise.
44903         * string/memmove.c: Likewise.
44904         * sysdeps/powerpc/memmove.c: Likewise.
44905         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
44906         definition of PAGE_COPY_FWD_MAYBE here...
44907         * sysdeps/generic/pagecopy.h: ... from here.
44908         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
44910 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
44911             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44913         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
44914         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
44915         optimizations.
44916         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44917         (__libc_ifunc_impl_list): Likewise.
44918         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
44919         multiarch strcat for PPC64.
44920         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
44921         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
44923 2014-07-02  Roland McGrath  <roland@hack.frob.com>
44925         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
44927 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44929         * intl/loadmsgcat.c: Remove declaration of
44930         get_sysdep_segment_value.
44931         (get_sysdep_segment_value): Use ISO C style.
44932         (_nl_load_domain): Use ISO C style.  Get rid of redundant
44933         semicolon.  Fix typo and formatting in comment.
44934         (_nl_unload_domain): Use ISO C style.
44936         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
44938 2014-07-02  Will Newton  <will.newton@linaro.org>
44940         * malloc/obstack.c: Merge from gnulib master.
44941         [HAVE_CONFIG_H]: Remove conditional code.
44942         [!_LIBC]: Include config.h.
44943         [!ELIDE_CODE]: Don't include inttypes.h, include
44944         stdint.h unconditionally.
44945         (print_and_abort): Mark as _Noreturn.
44946         (_obstack_allocated_p): Mark as __attribute_pure__.
44947         (obstack_free): Rename to __obstack_free.
44948         [!__attribute__]: Remove conditional code.
44949         * malloc/obstack.h: Merge from gnulib master.
44950         [__cplusplus]: Move conditional down.
44951         [!__attribute_pure__]: Define __attribute_pure__ here
44952         if it is not already defined.
44953         (_obstack_memory_used): Mark as __attribute_pure__.
44954         [!__obstack_free]: Define as obstack_free.
44955         [__GNUC__]: Remove check for ancient NeXT gcc.
44957 2014-07-02  Will Newton  <will.newton@linaro.org>
44958             Paul Eggert  <eggert@cs.ucla.edu>
44960         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
44962 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44964         * resolv/gethnamaddr.c: Add comment warning that the file is
44965         not maintained.
44967 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
44969         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
44970         entries.
44972         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
44973         entry for aio_cancel and aio_cancel64.
44974         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
44975         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
44976         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
44977         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
44978         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
44979         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
44980         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
44981         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
44982         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
44983         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
44984         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
44985         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
44986         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
44988 2014-07-01  Roland McGrath  <roland@hack.frob.com>
44990         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
44991         * nptl/pthread_mutex_lock.c: Likewise.
44992         * nptl/pthread_mutex_timedlock.c: Likewise.
44993         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
44995 2014-07-01  Richard henderson  <rth@redhat.com>
44997         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
44998         (__isnan, __isnanl): Remove.
44999         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
45001         * sysdeps/alpha/fpu/libm-test-ulps: Update.
45003 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
45005         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
45007 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
45009         * resolv/nss_dns/dns-host.c (getanswer_r)
45010         [MULTI_PTRS_ARE_ALIASES]: Remove code.
45012 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
45014         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45015         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
45016         undefine.
45017         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
45018         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
45020 2014-07-01  Roland McGrath <roland@hack.frob.com>
45022         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
45023         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
45025         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
45026         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
45028         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
45029         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
45030         ... here.
45031         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
45032         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
45034         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
45035         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
45036         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
45037         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
45039         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
45040         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
45041         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
45042         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
45043         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
45044         Moved ...
45045         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
45046         ... here.
45047         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
45048         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
45049         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
45050         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
45051         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
45052         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
45053         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
45054         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
45055         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
45056         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
45057         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
45058         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
45059         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
45060         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
45061         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
45062         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
45063         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
45064         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
45065         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
45066         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
45067         ... here.
45068         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
45069         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
45070         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
45071         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
45072         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
45073         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
45074         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
45075         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
45077 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
45079         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
45080         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
45081         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
45082         Add sysdep.
45084 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45086         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45088 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
45090         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
45091         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
45093         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
45095         * sysdeps/arm/libm-test-ulps: Regenerated.
45097 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
45098             Roland McGrath <roland@hack.frob.com>
45100         * test-skeleton.c (signal_handler): Kill the whole process group
45101         before killing the child individually.
45102         (main): Report any failure on `setpgid'.
45104 2014-06-30  Roland McGrath  <roland@hack.frob.com>
45106         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
45107         from _TLS_H to _ARM_NPTL_TLS_H.
45108         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
45109         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
45111 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
45113         [BZ #16539]
45114         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
45115         (__expm1l): Return argument unchanged when small but not
45116         subnormal.
45118         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
45119         include macro name.
45120         (_FP_UNPACK_RAW_1_P): Likewise.
45121         (_FP_PACK_RAW_1): Likewise.
45122         (_FP_PACK_RAW_1_P): Likewise.
45123         (_FP_MUL_MEAT_1_wide): Likewise.
45124         (_FP_MUL_MEAT_DW_1_hard): Likewise.
45125         (_FP_MUL_MEAT_1_hard): Likewise.
45126         (_FP_DIV_MEAT_1_imm): Likewise.
45127         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
45128         (_FP_DIV_MEAT_1_udiv): Likewise.
45129         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
45130         (_FP_UNPACK_RAW_2): Likewise.
45131         (_FP_UNPACK_RAW_2_P): Likewise.
45132         (_FP_PACK_RAW_2): Likewise.
45133         (_FP_PACK_RAW_2_P): Likewise.
45134         (_FP_MUL_MEAT_DW_2_wide): Likewise.
45135         (_FP_MUL_MEAT_2_wide): Likewise.
45136         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
45137         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
45138         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
45139         (_FP_MUL_MEAT_2_gmp): Likewise.
45140         (_FP_DIV_MEAT_2_udiv): Likewise.
45141         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
45142         (_FP_FRAC_SRL_4): Likewise.
45143         (_FP_FRAC_SRST_4): Likewise.
45144         (_FP_FRAC_SRS_4): Likewise.
45145         (_FP_UNPACK_RAW_4): Likewise.
45146         (_FP_UNPACK_RAW_4_P): Likewise.
45147         (_FP_PACK_RAW_4): Likewise.
45148         (_FP_PACK_RAW_4_P): Likewise.
45149         (_FP_MUL_MEAT_DW_4_wide): Likewise.
45150         (_FP_MUL_MEAT_4_wide): Likewise.
45151         (_FP_MUL_MEAT_4_gmp): Likewise.
45152         (umul_ppppmnnn): Likewise.
45153         (_FP_DIV_MEAT_4_udiv): Likewise.
45154         (__FP_FRAC_ADD_4): Likewise.
45155         (__FP_FRAC_SUB_3): Likewise.
45156         (__FP_FRAC_SUB_4): Likewise.
45157         (__FP_FRAC_DEC_3): Likewise.
45158         (__FP_FRAC_DEC_4): Likewise.
45159         (__FP_FRAC_ADDI_4): Likewise.
45160         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
45161         (_FP_FRAC_SRL_8): Likewise.
45162         (_FP_FRAC_SRS_8): Likewise.
45164         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
45165         include macro name.
45166         (FP_UNPACK_RAW_EP): Likewise.
45167         (FP_PACK_RAW_E): Likewise.
45168         (FP_PACK_RAW_EP): Likewise.
45169         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
45170         (_FP_ISSIGNAN): Likewise.
45171         (_FP_ADD_INTERNAL): Likewise.
45172         (_FP_FMA): Likewise.
45173         (_FP_CMP): Likewise.
45174         (_FP_SQRT): Likewise.
45175         (_FP_TO_INT): Likewise.
45176         (_FP_FROM_INT): Likewise.
45177         (FP_EXTEND): Likewise.
45178         (_FP_DIV_MEAT_N_loop): Likewise.
45180 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
45182         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
45183         throughout.
45185 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
45187         [BZ #17097]
45188         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
45189         result with correct sign in case of exponents that produce
45190         overflow except for X very close to 1.
45192 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
45194         mktime: merge #if/#ifdef usage from glibc
45195         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
45196         as that works with both Glibc's and Gnulib's style.
45197         See thread starting at Siddhesh Poyarekar's bug report at:
45198         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
45200 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45202         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
45203         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
45204         * sysdeps/tile/tilegx/memmove.c: Remove file.
45206 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
45208         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
45209         abi-name definition.
45210         * scripts/soversions.awk: Do not handle or generate ABI lines.
45211         * shlib-versions: Remove ABI entries.
45212         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
45213         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
45215 2014-06-27  Roland McGrath  <roland@hack.frob.com>
45217         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
45218         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
45219         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
45220         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
45221         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
45222         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
45223         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
45224         Moved ...
45225         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
45226         ... here.
45227         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
45228         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
45229         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
45230         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
45231         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
45232         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
45233         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
45234         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
45235         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
45236         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
45237         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
45238         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
45239         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
45240         Moved ...
45241         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
45242         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
45243         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
45244         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
45245         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
45246         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
45247         Moved ...
45248         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
45249         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
45250         Moved ...
45251         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
45252         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
45253         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
45254         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
45255         Moved ...
45256         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
45257         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
45258         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
45259         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
45260         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
45261         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
45262         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
45263         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
45264         Moved ...
45265         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
45266         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
45267         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
45268         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
45269         Moved ...
45270         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
45271         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
45272         Moved ...
45273         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
45274         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
45275         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
45276         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
45277         Moved ...
45278         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
45279         ... here.
45280         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
45281         Identical file removed.
45282         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
45283         Moved ...
45284         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
45285         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
45286         Identical file removed.
45287         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
45288         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
45289         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
45290         Moved ...
45291         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
45292         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
45293         Identical file removed.
45294         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
45295         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
45296         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
45297         Identical file removed.
45298         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
45299         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
45300         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
45301         Identical file removed.
45302         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
45303         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
45304         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
45305         Identical file removed.
45306         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
45307         Moved ...
45308         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
45309         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
45310         Identical file removed.
45311         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
45312         Moved ...
45313         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
45314         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
45315         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
45316         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
45317         Identical file removed.
45318         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
45319         Moved ...
45320         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
45321         ... here.
45322         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
45323         Identical file removed.
45324         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
45325         Moved ...
45326         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
45327         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
45328         Identical file removed.
45329         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
45330         Moved ...
45331         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
45332         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
45333         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
45334         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
45335         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
45336         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
45337         Moved ...
45338         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
45339         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
45340         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
45342         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
45343         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
45344         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
45345         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
45346         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
45348 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
45350         [BZ #17092]
45351         * nscd/nscd.c (monitor_child): Return exit status of child
45352         instead of return value from wait syscall.
45354 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
45356         * configure.ac (libc_commonpagesize): Remove variable.
45357         (libc_relro_required): Likewise.
45358         (libc_cv_z_relro): Remove configure test.
45359         * configure: Regenerated.
45360         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
45361         variable.
45362         (libc_relro_required): Likewise.
45363         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
45364         (libc_relro_required): Likewise.
45365         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
45366         (libc_relro_required): Likewise.
45367         * sysdeps/arm/preconfigure: Regenerated.
45368         * sysdeps/ia64/preconfigure: Remove file.
45369         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
45370         variable.
45371         (libc_relro_required): Likewise.
45373         [BZ #16561]
45374         [BZ #16562]
45375         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
45376         (__ieee754_yn): Set FE_TONEAREST mode internally and then
45377         recompute overflowing results in original rounding mode.
45378         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
45379         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
45380         recompute overflowing results in original rounding mode.
45381         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
45382         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
45383         recompute overflowing results in original rounding mode.
45384         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
45385         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
45386         recompute overflowing results in original rounding mode.
45387         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
45388         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
45389         recompute overflowing results in original rounding mode.
45390         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
45391         (libc_feholdsetround_ctx): New macro.
45392         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
45393         * sysdeps/i386/fpu/libm-test-ulps: Update.
45394         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
45396 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
45398         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
45399         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
45400         corresponding .cpsetup call.
45402 2014-06-26  Roland McGrath  <roland@hack.frob.com>
45404         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
45405         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
45406         * sysdeps/arm/Makefile [$(subdir) = csu]
45407         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
45408         (static-only-routines): Add aeabi_read_tp here.
45409         (shared-only-routines): Add libc-aeabi_read_tp here.
45410         (CFLAGS-libc-start.c): Add -fexceptions here.
45411         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
45412         (sysdep_routines, static-only-routines, shared-only-routines):
45413         Don't add to these here.
45414         (CFLAGS-libc-start.c): Likewise.
45416         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
45417         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
45418         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
45419         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
45420         * sysdeps/arm/Makefile [$(subdir) = rt]
45421         (librt-sysdep_routines, librt-shared-only-routines):
45422         Append rt-aeabi_unwind_cpp_pr1 here.
45423         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
45424         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
45425         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
45426         (libpthread-sysdep_routines, libpthread-shared-only-routines):
45427         Append nptl-aeabi_unwind_cpp_pr1 here.
45428         (tests): Filter out tst-cleanupx4 here.
45429         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
45430         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
45431         Don't do those here.
45433 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
45435         * scripts/list-sources.sh: Do not handle ports specially.
45437 2014-06-26  Roland McGrath  <roland@hack.frob.com>
45439         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
45440         * sysdeps/arm/feupdateenv.c: Likewise.
45442         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
45444 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
45446         * manual/texinfo.tex: Update to version 2014-05-05.10 with
45447         trailing whitespace removed.
45448         * scripts/config.guess: Update to version 2014-03-23.
45449         * scripts/config.sub: Update to version 2014-05-01
45450         * scripts/install-sh: Update to version 2013-12-25.23.
45451         * scripts/move-if-change: Update from gnulib.
45453 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45455         * debug/memmove_chk.c: Remove pagecopy.h include.
45457 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
45459         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
45460         identical to gnulib mktime.
45462 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
45464         * configure.ac: Do not test for machine being rs6000.  Do not test
45465         for powerpc*-*soft.
45466         * configure: Regenerated.
45468         [BZ #11505]
45469         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
45470         test.
45471         * configure: Regenerated.
45472         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
45473         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
45474         Remove configure test.
45475         * sysdeps/arm/configure: Regenerated.
45476         * sysdeps/nptl/configure.ac: Do not check
45477         libc_cv_asm_cfi_directives.
45478         * sysdeps/nptl/configure: Regenerated.
45479         * sysdeps/x86_64/nptl/configure.ac: Remove file.
45480         * sysdeps/x86_64/nptl/configure: Remove generated file.
45481         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
45482         unconditional.
45483         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
45485 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45487         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
45488         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
45489         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
45490         it is defined.
45492         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
45493         instead of whether it is defined.
45494         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
45495         * sysdeps/hppa/dl-machine.h: Likewise.
45496         * sysdeps/ia64/dl-machine.h: Likewise.
45497         * sysdeps/m68k/dl-machine.h: Likewise.
45498         * sysdeps/microblaze/dl-machine.h: Likewise.
45499         * sysdeps/mips/dl-machine.: Likewise.
45500         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
45501         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
45502         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
45503         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
45504         * sysdeps/sh/dl-machine.h: Likewise.
45505         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45506         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45507         * sysdeps/tile/dl-machine.h: Likewise.
45508         * sysdeps/x86_64/dl-machine.h: Likewise.
45510         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
45511         code.
45512         (verify_persistent_db): Likewise.
45514 2014-06-26  Roland McGrath  <roland@hack.frob.com>
45516         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
45517         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
45518         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
45519         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
45520         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
45521         Moved ...
45522         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
45523         ... here.
45524         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
45525         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
45526         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
45527         Identical file removed.
45528         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
45529         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
45530         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
45531         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
45532         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
45533         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
45534         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
45535         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
45536         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
45537         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
45538         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45539         Moved ...
45540         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
45541         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
45542         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
45543         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
45544         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
45545         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
45546         Moved ...
45547         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
45548         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
45549         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
45550         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
45551         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
45552         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
45553         Identical file removed.
45554         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
45555         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
45556         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
45557         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
45558         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
45559         Moved ...
45560         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
45561         ... here.
45562         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
45563         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
45564         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
45565         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
45566         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
45567         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
45568         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
45569         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
45570         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
45571         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
45572         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45573         Moved ...
45574         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
45575         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
45576         Moved ...
45577         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
45578         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
45579         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
45580         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
45581         Moved ...
45582         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
45583         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
45584         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
45586         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
45587         folded into ...
45588         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
45589         * sysdeps/unix/sysv/linux/s390/Versions
45590         (libpthread: GLIBC_2.19): New version set.
45591         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
45592         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
45593         (librt: GLIBC_2.3.3): New version set.
45594         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
45595         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
45596         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
45597         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
45598         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
45599         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
45600         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
45601         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
45602         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
45603         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
45604         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
45605         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
45606         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
45607         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
45608         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
45609         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
45610         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
45611         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
45612         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
45613         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
45614         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
45615         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
45616         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
45617         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
45618         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
45619         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
45620         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
45621         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
45622         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
45623         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
45624         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
45625         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
45626         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
45627         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
45628         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
45629         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
45630         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
45631         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
45632         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
45633         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
45634         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
45635         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
45636         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
45637         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
45638         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
45640         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
45641         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
45642         (__libc_vfork): Define the function under this name.
45643         [!NOT_IN_libc] (__vfork): Make this an alias.
45644         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
45645         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
45646         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
45647         (__libc_vfork): Define the function under this name.
45648         [!NOT_IN_libc] (__vfork): Make this an alias.
45649         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
45650         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
45651         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
45652         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
45653         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
45654         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
45656         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
45657         code that was previously under [RESET_PID].
45658         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
45659         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
45660         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
45662         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
45663         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
45664         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
45665         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
45666         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
45667         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
45668         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
45669         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
45670         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
45671         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
45672         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
45673         Moved ...
45674         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
45675         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
45676         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
45677         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
45678         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
45679         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
45680         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
45681         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
45682         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
45683         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
45684         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
45685         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
45686         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
45687         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
45688         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
45689         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
45690         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
45691         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
45692         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
45693         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
45694         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
45695         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
45696         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
45697         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
45698         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
45699         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
45700         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
45701         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
45702         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
45704 2014-06-25  Roland McGrath  <roland@hack.frob.com>
45706         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
45707         that was previously under [RESET_PID].
45708         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
45710 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
45712         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
45713         not undefine and redefine.
45714         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
45715         [O_CLOEXEC]: Make code unconditional.
45716         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
45717         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
45718         <kernel-features.h>.
45719         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
45720         conditional variable definition.
45721         (shm_open) [O_CLOEXEC]: Make code unconditional.
45722         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
45723         code.
45725         * configure.ac (USE_REGPARMS): Don't define here.
45726         * configure: Regenerated.
45727         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
45728         * sysdeps/i386/configure: Regenerated.
45730         * nptl/createthread.c: Don't include kernel-features.h.
45731         * nptl/pthread_cancel.c: Likewise.
45732         * nptl/pthread_condattr_setclock.c: Likewise.
45733         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
45734         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
45735         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
45736         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
45737         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
45738         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
45739         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
45740         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
45741         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
45742         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
45743         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
45744         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
45745         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
45746         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
45747         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
45748         * nscd/gai.c: Likewise.
45749         * nss/nss_db/db-open.c: Likewise.
45750         * sysdeps/generic/ldsodefs.h: Likewise.
45751         * sysdeps/sh/nptl/tls.h: Likewise.
45752         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
45753         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
45754         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
45755         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
45756         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
45757         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
45758         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
45759         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
45760         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
45761         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
45762         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
45763         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
45764         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
45765         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
45766         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
45767         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
45768         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
45769         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
45770         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
45771         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
45772         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
45773         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
45774         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
45775         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
45776         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
45777         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
45778         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
45779         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
45780         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
45781         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
45782         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
45783         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
45784         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
45785         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
45786         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
45787         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
45788         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
45789         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
45790         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
45791         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
45792         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
45793         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
45794         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
45795         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
45796         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
45797         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
45798         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
45799         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
45800         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
45801         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
45802         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
45803         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
45804         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
45805         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
45806         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
45807         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
45808         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
45809         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
45810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
45811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
45812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
45813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
45814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
45815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
45816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
45817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
45818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
45819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
45820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
45821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
45822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
45823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
45824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
45825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
45826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
45827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
45828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
45829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
45830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
45831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
45832         * sysdeps/unix/sysv/linux/pread.c: Likewise.
45833         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
45834         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
45835         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
45836         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
45837         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
45838         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
45839         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
45840         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
45841         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
45842         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
45843         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
45844         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
45845         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
45846         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
45847         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
45848         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
45849         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
45850         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
45851         * sysdeps/unix/sysv/linux/system.c: Likewise.
45852         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
45853         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
45854         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
45855         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
45856         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
45857         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
45858         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
45860         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
45861         * configure: Regenerated.
45862         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
45864         * configure.ac (base_machine): Do not set specially for particular
45865         machines here.
45866         * configure: Regenerated.
45867         * sysdeps/powerpc/preconfigure: Move machine and base_machine
45868         settings from configure.ac.
45869         * sysdeps/i386/preconfigure: New file.
45870         * sysdeps/s390/preconfigure: Likewise.
45871         * sysdeps/sh/preconfigure: Likewise.
45872         * sysdeps/sparc/preconfigure: Likewise.
45874 2014-06-25  Roland McGrath  <roland@hack.frob.com>
45876         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
45877         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
45878         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
45879         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
45880         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
45881         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
45882         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
45883         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
45884         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
45885         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
45886         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
45887         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
45888         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
45889         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
45890         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
45891         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
45892         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
45893         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
45894         * sysdeps/sparc/sparc64/Makefile: ... appended here.
45896         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
45897         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
45898         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
45899         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
45900         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
45901         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
45902         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
45903         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
45904         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
45905         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
45906         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
45907         * sysdeps/sparc/sparc32/sem_post.c: ... here.
45908         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
45909         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
45910         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
45911         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
45912         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
45913         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
45914         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
45915         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
45916         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
45917         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
45918         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
45919         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
45920         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
45921         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
45922         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
45923         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
45924         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
45925         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
45926         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
45927         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
45928         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
45929         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
45930         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
45931         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
45932         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
45933         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
45935         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
45936         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
45937         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
45938         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
45939         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
45940         Moved ...
45941         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
45942         ... here.
45943         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
45944         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
45945         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
45946         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
45947         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
45948         Moved ...
45949         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
45950         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
45951         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
45952         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
45953         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
45954         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
45955         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
45956         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
45957         Moved ...
45958         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
45959         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
45960         Moved ...
45961         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
45962         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
45963         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
45964         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
45965         Moved ...
45966         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
45967         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
45968         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
45969         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
45970         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
45971         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
45972         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
45973         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
45974         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
45975         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
45976         Moved ...
45977         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
45978         ... here.
45979         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
45980         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
45981         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
45982         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
45983         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
45984         Moved ...
45985         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
45986         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
45987         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
45988         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
45989         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
45990         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
45991         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
45992         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
45993         Moved ...
45994         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
45995         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
45996         Moved ...
45997         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
45998         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
45999         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
46000         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
46001         Moved ...
46002         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
46003         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
46004         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
46005         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
46006         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
46008 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
46010         * timezone/checktab.awk: Update from tzcode 2014e.
46011         * timezone/private.h: Likewise.
46012         * timezone/tzfile.h: Likewise.
46013         * timezone/zdump.c: Likewise.
46014         * timezone/zic.c: Likewise.
46016         * sysdeps/unix/sysv/linux/kernel-features.h
46017         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
46018         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
46019         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
46020         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
46021         Remove conditional code.
46023 2014-06-25  Will Newton  <will.newton@linaro.org>
46025         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
46026         (_dl_arm_cap_flags): Add HWCAP2 values.
46027         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
46028         (_DL_HWCAP_COUNT): Increase to 37.
46029         (_DL_HWCAP_LAST): New define.
46030         (_DL_HWCAP2_LAST): New define.
46031         (_dl_procinfo): Add support for printing
46032         AT_HWCAP2 entries.
46033         (_dl_string_hwcap): Use _dl_hwcap_string.
46035 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46037         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46039 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
46041         * README: Do not mention ports directory.
46043         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
46044         Remove macro.
46045         * sysdeps/unix/sysv/linux/futimes.c: Do not include
46046         <kernel-features.h>.
46047         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
46048         conditional variable definition.
46049         (__futimes): Update comment.
46050         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
46051         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
46053         [BZ #16560]
46054         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
46055         arguments close to 0.
46056         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
46057         Likewise.
46058         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
46059         Likewise.
46060         * math/auto-libm-test-in: Add more tests of exp10.
46061         * math/auto-libm-test-out: Regenerated.
46062         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46064         * sysdeps/unix/sysv/linux/kernel-features.h
46065         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
46066         * sysdeps/unix/sysv/linux/readv.c: Do not include
46067         <kernel-features.h>.
46068         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
46069         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
46070         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
46071         unconditional.
46072         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
46073         conditional code.
46074         * sysdeps/unix/sysv/linux/writev.c: Do not include
46075         <kernel-features.h>.
46076         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
46077         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
46078         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
46079         unconditional.
46080         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
46081         conditional code.
46083 2014-06-25  Will Newton  <will.newton@linaro.org>
46085         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
46086         comment changes throughout the file.  Remove checks
46087         for HAVE_*_H definitions that are not required.
46088         (__gen_tempname): Call abort if an unknown kind value is
46089         passed.
46091 2014-06-25  Andreas Schwab  <schwab@suse.de>
46093         [BZ #17086]
46094         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
46095         scalbln, scalblnf, scalblnl in libc.
46097 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
46099         [BZ #17086]
46100         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
46101         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
46102         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
46104 2014-06-24  Roland McGrath  <roland@hack.frob.com>
46106         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
46107         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
46108         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
46109         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
46110         Update #include.
46111         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
46112         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
46113         Update #include.
46114         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
46115         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
46116         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
46117         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
46118         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
46119         * sysdeps/x86/bits/pthreadtypes.h: ... here.
46120         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
46121         * sysdeps/x86/bits/semaphore.h: ... here.
46122         * sysdeps/x86/nptl/elide.h: Moved ...
46123         * sysdeps/x86/elide.h: ... here.
46124         * sysdeps/x86_64/nptl/Implies: File removed.
46125         * sysdeps/i386/nptl/Implies: File removed.
46127 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
46129         [BZ #16539]
46130         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
46131         return the argument for normal arguments with exponent below -64.
46132         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
46133         Likewise.
46134         * math/auto-libm-test-in: Add another test of expm1.
46135         * math/auto-libm-test-out: Regenerated.
46137         [BZ #16287]
46138         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
46139         calling __erfcl for arguments at least 16.
46140         * math/auto-libm-test-in: Add more tests of erf.
46141         * math/auto-libm-test-out: Regenerated.
46143         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
46144         individual architectures.
46145         * sysdeps/unix/sysv/linux/configure: Regenerated.
46146         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
46147         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
46148         * sysdeps/unix/sysv/linux/powerpc/configure.ac
46149         (ldd_rewrite_script): Define variable.
46150         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
46151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
46152         file.
46153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
46154         generated file.
46155         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
46156         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
46157         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
46158         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
46159         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
46160         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
46161         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
46162         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
46164 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
46166         [BZ #17084]
46167         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
46168         Rename member __data.d to __data.__elision_data.
46170 2014-06-24  Wilco  <wdijkstr@arm.com>
46172         * NEWS: Add 16918 to fixed bug list.
46174 2014-06-24  Wilco  <wdijkstr@arm.com>
46176         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
46178 2014-06-24  Wilco  <wdijkstr@arm.com>
46180         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
46181         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
46182         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
46183         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
46184         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
46185         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
46186         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
46187         Use _FPU_MASK_RM.
46189 2014-06-24  Wilco  <wdijkstr@arm.com>
46191         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
46193 2014-06-24  Wilco  <wdijkstr@arm.com>
46195         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
46196         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
46197         * sysdeps/arm/fesetround.c (fesetround): Remove space.
46198         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
46200 2014-06-24  Wilco  <wdijkstr@arm.com>
46202         [BZ #16918]
46203         * sysdeps/arm/feupdateenv.c (feupdateenv):
46204         Rewrite to reduce FPSCR accesses and fix return value.
46206 2014-06-24  Wilco  <wdijkstr@arm.com>
46208         * sysdeps/arm/fclrexcpt.c (feclearexcept):
46209         Optimize to avoid unnecessary FPSCR writes.
46210         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
46211         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
46212         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
46213         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
46215 2014-06-24  Wilco  <wdijkstr@arm.com>
46217         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
46218         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
46219         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
46220         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
46221         Call libc_fetestexcept_vfp.
46222         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
46223         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
46224         __SOFTFP__ ifdef so that they can be built for softfp.
46226 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
46228         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
46229         argument type signed char.
46231         * Makerules (check-abi): Dump diff of symlist if the test
46232         fails.
46234 2014-06-23  Roland McGrath  <roland@hack.frob.com>
46236         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
46237         using abort.
46239         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
46240         Remove unused variable ST.
46242 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
46244         [BZ #16354]
46245         [BZ #17061]
46246         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
46247         small arguments before calling __expm1.
46248         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
46249         small arguments before calling __expm1f.
46250         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
46251         small arguments before calling __expm1l.
46252         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
46253         Likewise.
46254         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
46255         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
46256         spurious underflow for some cosh tests.
46257         * math/auto-libm-test-out: Regenerated.
46258         * sysdeps/i386/fpu/libm-test-ulps: Update.
46260         [BZ #17050]
46261         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
46262         (__ieee754_y1): Set errno if return value overflows.
46263         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
46264         (__ieee754_y1f): Set errno if return value overflows.
46265         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
46266         (__ieee754_y1l): Set errno if return value overflows.
46267         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
46268         (__ieee754_y1l): Set errno if return value overflows.
46269         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
46270         * math/auto-libm-test-out: Regenerated.
46272         * math/gen-auto-libm-tests.c: Document use of
46273         ignore-zero-inf-sign.
46274         (input_flag_type): Add value flag_ignore_zero_inf_sign.
46275         (input_flags): Add ignore-zero-inf-sign.
46276         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
46277         * math/gen-libm-test.pl (generate_testfile): Handle
46278         ignore-zero-inf-sign.
46279         * math/auto-libm-test-in: Mark some cpow tests with
46280         ignore-zero-inf-sign and some with xfail-rounding.
46281         * math/auto-libm-test-out: Regenerated.
46282         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
46283         * sysdeps/i386/fpu/libm-test-ulps: Update.
46284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46286         [BZ #16315]
46287         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
46288         overflowing or underflowing operations take place with sign of
46289         result.
46290         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
46291         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
46292         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
46293         (__ieee754_pow): Recompute overflowing and underflowing results in
46294         original rounding mode.
46295         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
46296         (__powl_helper): Allow negative argument X and scale negated value
46297         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
46298         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
46299         overflowing or underflowing operations take place with sign of
46300         result.
46301         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
46302         Include <math.h>.
46303         * math/auto-libm-test-in: Add more tests of pow.
46304         * math/auto-libm-test-out: Regenerated.
46305         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
46306         (pow_tonearest_test_data): Remove.
46307         (pow_test_tonearest): Likewise.
46308         (pow_towardzero_test_data): Likewise.
46309         (pow_test_towardzero): Likewise.
46310         (pow_downward_test_data): Likewise.
46311         (pow_test_downward): Likewise.
46312         (pow_upward_test_data): Likewise.
46313         (pow_test_upward): Likewise.
46314         (main): Don't call removed functions.
46315         * sysdeps/i386/fpu/libm-test-ulps: Update.
46316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46318 2014-06-23  Roland McGrath  <roland@hack.frob.com>
46320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
46321         Moved ...
46322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
46323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46324         Moved ...
46325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
46326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
46327         Moved ...
46328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
46329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
46330         Moved ...
46331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
46332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
46333         File removed.
46334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
46335         File removed.
46336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
46337         File removed.
46338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
46339         File removed.
46340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
46341         File removed.
46342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
46343         File removed.
46344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
46345         File removed.
46346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
46347         File removed.
46348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
46349         File removed.
46350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
46351         File removed.
46352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
46353         File removed.
46354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
46355         File removed.
46356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
46357         Moved ...
46358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
46359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
46360         Moved ...
46361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
46362         ... here.
46363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
46364         Moved ...
46365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
46366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
46367         Moved ...
46368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
46369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
46370         Moved ...
46371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
46372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
46373         Moved ...
46374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
46375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
46376         Moved ...
46377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
46378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
46379         Moved ...
46380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
46381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
46382         Moved ...
46383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
46384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
46385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
46386         ... here.
46387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
46388         Moved ...
46389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
46390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
46391         Moved ...
46392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
46393         ... here.
46394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
46395         Moved ...
46396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
46397         ... here.
46398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
46399         Moved ...
46400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
46401         ... here.
46402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
46403         Moved ...
46404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
46405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
46406         Moved ...
46407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
46408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
46409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
46410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
46411         Moved ...
46412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
46413         ... here.
46414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
46415         Moved ...
46416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
46417         ... here.
46418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
46419         Moved ...
46420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
46421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
46422         Moved ...
46423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
46424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
46425         Moved ...
46426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
46427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
46428         Moved ...
46429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
46430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
46431         Moved ...
46432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
46433         ... here.
46434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
46435         Moved ...
46436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
46437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
46438         Moved ...
46439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
46440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
46441         Moved ...
46442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
46443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
46444         Moved ...
46445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
46446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
46447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
46448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
46449         Moved ...
46450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
46451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
46452         Moved ...
46453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
46454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
46455         Moved ...
46456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
46457         ... here.
46458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
46459         Moved ...
46460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
46461         ... here.
46462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
46463         Moved ...
46464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
46465         ... here.
46466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
46467         Moved ...
46468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
46469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
46470         Moved ...
46471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
46472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
46473         Moved ...
46474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
46475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
46476         Moved ...
46477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
46478         ... here.
46479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
46480         Moved ...
46481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
46482         ... here.
46483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
46484         Moved ...
46485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
46486         ... here.
46487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
46488         Moved ...
46489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
46490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
46491         Moved ...
46492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
46494 2014-06-23  Will Newton  <will.newton@linaro.org>
46495             Wilco  <wdijkstr@arm.com>
46497         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
46498         implementation.  Include get-rounding-mode.h.
46499         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
46500         [!libc_feholdsetround_noex_ctx]: Define
46501         libc_feholdsetround_noex_ctx.
46502         [!libc_feholdsetround_noexf_ctx]: Define
46503         libc_feholdsetround_noexf_ctx.
46504         [!libc_feholdsetround_noexl_ctx]: Define
46505         libc_feholdsetround_noexl_ctx.
46506         (libc_feholdsetround_ctx): New function.
46507         (libc_feresetround_ctx): New function.
46508         (libc_feholdsetround_noex_ctx): New function.
46509         (libc_feresetround_noex_ctx): New function.
46511 2014-06-23  Roland McGrath  <roland@hack.frob.com>
46513         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
46514         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
46515         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
46516         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
46517         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
46518         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
46520         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
46521         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
46522         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
46523         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
46524         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
46525         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
46526         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
46527         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
46528         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
46529         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
46530         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
46531         Moved ...
46532         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
46533         ... here.
46534         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
46535         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
46536         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
46537         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
46538         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
46539         Moved ...
46540         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
46541         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
46542         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
46543         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
46544         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
46545         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
46546         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
46547         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
46548         Moved ...
46549         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
46550         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
46551         Moved ...
46552         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
46553         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
46554         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
46555         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
46556         Moved ...
46557         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
46558         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
46559         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
46560         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
46561         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
46562         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
46563         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
46564         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
46565         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
46566         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
46567         Moved ...
46568         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
46569         ... here.
46570         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
46571         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
46572         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
46573         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
46574         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
46575         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
46576         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
46577         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
46578         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
46579         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
46580         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
46581         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
46582         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
46583         Moved ...
46584         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
46585         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
46586         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
46587         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
46588         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
46589         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
46590         Moved ...
46591         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
46592         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
46593         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
46594         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
46595         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
46597         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
46598         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
46599         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
46600         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
46601         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
46602         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
46603         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
46604         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
46605         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
46606         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
46607         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
46608         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
46609         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
46610         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
46611         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
46612         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
46613         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
46614         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
46615         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
46616         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
46617         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
46618         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
46619         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
46620         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
46621         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
46622         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
46623         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
46624         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
46626 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
46628         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
46629         (FALLOC_FL_COLLAPSE_RANGE): New macro.
46630         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
46631         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
46632         (IPV6_PMTUDISC_INTERFACE): Likewise.
46633         (IPV6_PMTUDISC_OMIT): Likewise.
46635 2014-06-23  Andreas Schwab  <schwab@suse.de>
46637         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
46638         Remove unused errout label.
46640 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46642         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
46643         macro: hardware supports Vector Crypto instructions.
46645 2014-06-23  Will Newton  <will.newton@linaro.org>
46647         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
46648         rather than __builtin_expect.
46650         * elf/dl-lookup.c (undefined_msg): Remove variable.
46651         (_dl_lookup_symbol_x): Replace undefined_msg with string
46652         literal.
46654         * elf/dl-lookup.c (do_lookup_unique): New function.
46655         (do_lookup_x): Move STB_GNU_UNIQUE handling code
46656         to a separate function.
46658 2014-06-23  Andreas Schwab  <schwab@suse.de>
46660         [BZ #17079]
46661         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
46662         before reading the next line.
46664 2014-06-23  Will Newton  <will.newton@linaro.org>
46666         * test-skeleton.c (signal_handler): Use printf and %m
46667         rather than perror.  Use printf rather than fprintf to
46668         stderr.  Use puts rather than fputs to stderr.
46669         (main): Likewise.
46671 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
46673         * nscd/nscd.c (thread_info_t): Remove typedef.
46674         (thread_info): Remove variable.
46676 2014-06-21  Allan McRae  <allan@archlinux.org>
46678         * NEWS: Mention CVE-2014-4043.
46680 2014-06-20  Roland McGrath  <roland@hack.frob.com>
46682         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
46683         * nptl/smp.h: ... here.
46685         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
46687         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
46688         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
46689         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
46690         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
46692         * nptl/allocatestack.c: Include <stack-aliasing.h>.
46693         * nptl/stack-aliasing.h: New file.
46694         * sysdeps/i386/i686/stack-aliasing.h: New file.
46695         * sysdeps/i386/i686/nptl/Makefile: File removed.
46696         * sysdeps/x86_64/stack-aliasing.h: New file.
46697         * sysdeps/x86_64/nptl/Makefile
46698         (CFLAGS-pthread_create.c): Variable removed.
46700         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
46701         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
46702         old file.
46703         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
46704         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
46705         old file.
46707 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
46709         * sysdeps/unix/sysv/linux/arm/kernel-features.h
46710         (__ASSUME_SIGFRAME_V2): Remove macro.
46711         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
46712         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
46713         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
46714         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
46715         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
46716         Declare as function.  Remove conditional macro definitions.
46717         (__default_rt_sa_restorer): Likewise.
46718         (__default_sa_restorer_v1): Remove declaration.
46719         (__default_sa_restorer_v2): Likewise.
46720         (__default_rt_sa_restorer_v1): Likewise.
46721         (__default_rt_sa_restorer_v2): Likewise.
46722         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
46723         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
46724         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
46726 2014-06-20  Roland McGrath  <roland@hack.frob.com>
46728         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
46729         (libpthread-routines): Add sysdep.
46730         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
46731         * sysdeps/unix/sysv/linux/sparc/Versions
46732         (libpthread: GLIBC_2.3.3): New version set.
46733         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
46734         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
46735         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
46736         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
46737         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
46738         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
46739         Moved ...
46740         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
46741         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
46742         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
46743         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
46744         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
46745         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
46746         * sysdeps/sparc/nptl/sem_init.c: ... here.
46747         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
46748         * sysdeps/sparc/nptl/sem_post.c: ... here.
46749         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
46750         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
46751         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
46752         * sysdeps/sparc/nptl/sem_wait.c: ... here.
46753         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
46754         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
46755         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
46756         (libpthread-routines): Add cpu_relax.
46757         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
46758         File removed.
46759         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
46760         (librt: GLIBC_2.3.3): New version set.
46761         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
46762         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
46763         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
46764         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
46765         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
46766         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
46767         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
46768         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
46769         Moved ...
46770         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
46771         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
46772         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
46773         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
46774         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
46775         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
46776         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
46777         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
46778         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
46779         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
46780         Moved ...
46781         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
46782         Update #include.
46783         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
46784         Moved ...
46785         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
46786         Update #include.
46787         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
46788         Moved ...
46789         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
46790         Update #include.
46791         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
46792         Moved ...
46793         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
46794         Update #include.
46795         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
46796         Moved ...
46797         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
46798         Update #include.
46799         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
46800         Moved ...
46801         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
46802         Update #include.
46803         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
46804         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
46805         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
46806         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
46807         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
46808         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
46809         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
46810         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
46811         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
46812         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
46813         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
46814         Moved ...
46815         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
46816         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
46817         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
46818         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
46819         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
46821 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
46823         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
46824         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
46825         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
46826         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
46827         * nscd/nscd.c: Likewise.
46828         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
46829         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
46830         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
46831         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
46833         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
46834         <kernel-features.h>.
46835         (init_mq_netlink): Remove conditional have_sock_cloexec
46836         definitions.  Remove code conditional on have_sock_cloexec < 0.
46837         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
46838         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
46839         * sysdeps/unix/sysv/linux/opensock.c: Do not include
46840         <kernel-features.h>.
46841         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
46842         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
46844 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
46846         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
46847         Add tests for memset_chk and memset.
46849         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
46850         with AVX2_Usable.
46852 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
46854         [BZ #16046]
46855         * elf/tst-dl-iter-static.c: New file.
46856         * elf/Makefile (tests-static): Add tst-dl-iter-static.
46858         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
46859         error.
46861 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
46863         * sysdeps/unix/sysv/linux/kernel-features.h
46864         (__ASSUME_F_GETOWN_EX): Remove macro.
46865         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
46866         <kernel-features.h>.
46867         (miss_F_GETOWN_EX): Remove variable or macro.
46868         (do_fcntl): Do not check miss_F_GETOWN_EX.
46869         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
46871         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
46872         Remove macro.
46873         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
46874         [!__ASSUME_AT_RANDOM]: Remove conditional code.
46875         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
46877         * sysdeps/unix/sysv/linux/kernel-features.h
46878         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
46879         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
46880         [ADJ_OFFSET_SS_READ]: Make code unconditional.
46881         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
46883 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
46885         [BZ #17075]
46886         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
46887         Fix calculation of the symbol's value.
46888         * sysdeps/arm/tst-armtlsdescloc.c: New file.
46889         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
46890         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
46891         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
46892         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
46893         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
46894         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
46895         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
46896         (modules-names): Add `tst-armtlsdescmod',
46897         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
46898         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
46899         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
46900         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
46901         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
46902         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
46903         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
46904         ($(objpfx)tst-armtlsdescloc): New dependency.
46905         ($(objpfx)tst-armtlsdescextnow): Likewise.
46906         ($(objpfx)tst-armtlsdescextlazy): Likewise.
46907         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
46908         TLS scheme support.
46909         * sysdeps/arm/configure: Regenerate.
46911 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
46913         * include/fcntl.h (__atfct_seterrno): Remove prototype.
46914         (__atfct_seterrno_2): Likewise.
46915         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
46916         <kernel-features.h>.
46917         (__ASSUME_ATFCTS): Do not undefine and redefine.
46918         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
46919         (__have_atfcts): Remove conditional definition.
46920         (__fxstatat([__NR_fstatat64]: Make code unconditional.
46921         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
46922         unreachable if [__ASSUME_ATFCTS].
46923         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
46924         not undefine and redefine.
46925         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
46926         <kernel-features.h>.
46927         (faccessat) [__NR_faccessat]: Make code unconditional.
46928         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
46929         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
46930         <kernel-features.h>.
46931         (fchmodat) [__NR_fchmodat]: Make code unconditional.
46932         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
46933         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
46934         <kernel-features.h>.
46935         (fchownat) [__NR_fchownat]: Make code unconditional.
46936         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
46937         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
46938         <kernel-features.h>.
46939         (futimesat) [__NR_futimesat]: Make code unconditional.
46940         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
46941         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
46942         <kernel-features.h>.
46943         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
46944         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
46945         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
46946         <kernel-features.h>.
46947         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
46948         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
46949         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
46950         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
46951         <kernel-features.h>.
46952         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
46953         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
46954         * sysdeps/unix/sysv/linux/linkat.c: Do not include
46955         <kernel-features.h>.
46956         (linkat) [__NR_linkat]: Make code unconditional.
46957         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
46958         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
46959         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
46960         <kernel-features.h>.
46961         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
46962         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
46963         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
46964         <kernel-features.h>.
46965         (mkdirat) [__NR_mkdirat]: Make code unconditional.
46966         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
46967         * sysdeps/unix/sysv/linux/openat.c: Do not include
46968         <kernel-features.h>.
46969         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
46970         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
46971         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
46972         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
46973         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
46974         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
46975         <kernel-features.h>.
46976         (readlinkat) [__NR_readlinkat]: Make code unconditional.
46977         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
46978         result of INLINE_SYSCALL directly, not via int variable.
46979         * sysdeps/unix/sysv/linux/renameat.c: Do not include
46980         <kernel-features.h>.
46981         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
46982         (renameat) [__NR_renameat]: Make code unconditional.
46983         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
46984         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
46985         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
46986         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
46987         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
46988         (__ASSUME_ATFCTS): Do not undefine and redefine.
46989         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
46990         <kernel-features.h>.
46991         (symlinkat) [__NR_symlinkat]: Make code unconditional.
46992         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
46993         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
46994         <kernel-features.h>.
46995         (unlinkat) [__NR_unlinkat]: Make code unconditional.
46996         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
46997         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
46998         (__ASSUME_ATFCTS): Do not undefine and redefine.
46999         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
47000         <kernel-features.h>.
47001         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
47002         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
47003         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
47004         <kernel-features.h>.
47005         (__xmknodat) [__NR_mknodat]: Make code unconditional.
47006         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
47008 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
47010         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
47012 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
47014         [BZ #17069]
47015         * posix/regcomp.c (parse_reg_exp): Deallocate partially
47016         constructed tree before returning error.
47017         * posix/bug-regexp36.c: Expand test case.
47019 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
47021         [BZ #6803]
47022         * math/libm-test.inc (scalbln_test_date):
47023         Add errno expectations.
47024         * math/w_scalblnf.c: New File.
47025         Add wrapper which checks for setting errno to ERANGE.
47026         Add weak_alias for corresponding scalbln function.
47027         * math/w_scalbln.c: Likewise.
47028         * math/w_scalblnl.c: Likewise.
47029         * math/Makefile (libm-calls): Add w_scalbln.
47030         * sysdeps/ieee754/flt-32/s_scalblnf.c:
47031         Remove weak_alias for corresponding scalbln function.
47032         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
47033         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
47034         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47035         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47036         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
47037         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
47038         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
47039         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
47040         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
47041         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
47042         Remove long_double_symbol for scalblnl function in libm, libc.
47043         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
47044         Add wrapper which checks for setting errno to ERANGE.
47045         Add long_double_symbol for scalblnl function in libm, libc.
47046         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
47047         Remove long_double_symbol for scalblnl in libm.
47048         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
47049         Add wrapper which checks for setting errno to ERANGE.
47050         Add long_double_symbol for scalblnl function in libm.
47051         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
47052         Do not use wrapper because of own implementation.
47054 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
47056         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
47057         3 bytes for __pad1 for x32.
47058         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
47060 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
47061             H.J. Lu  <hongjiu.lu@intel.com>
47063         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
47064         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
47065         * sysdeps/x86_64/multiarch/memset.S: Likewise.
47066         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
47067         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
47069 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
47071         [BZ #17069]
47072         * posix/regcomp.c (parse_expression): Deallocate partially
47073         constructed tree before returning error.
47074         * posix/Makefile.c (tests): Add bug-regex36.
47075         (generated): Add bug-regex36.mtrace.
47076         (tests-special): Add $(objpfx)bug-regex36-mem.out
47077         (bug-regex36-ENV): New variable.
47078         ($(objpfx)bug-regex36-mem.out): New rule.
47079         * posix/bug-regex36.c: New file.
47081 2014-06-19  Will Newton  <will.newton@linaro.org>
47083         * malloc/malloc.c (systrim): If extra is zero then return
47084         early.
47086 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47088         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
47090 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
47092         * sysdeps/aarch64/strchr.S: New file.
47094 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
47096         [BZ #17022]
47097         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
47098         from arguments -2 or below.
47099         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
47100         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
47102 2014-06-18  Andreas Schwab  <schwab@suse.de>
47104         [BZ #17062]
47105         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
47106         of a bracket expr not to run off the end of the string.
47107         * posix/Makefile (tests): Add tst-fnmatch3.
47108         * posix/tst-fnmatch3.c: New file.
47110 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
47112         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
47113         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
47114         [$(cross-compiling) = no]: Likewise.
47115         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
47116         [$(cross-compiling) = no]: Likewise.
47118 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
47120         [BZ #17031]
47121         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
47122         double, adjusted for any remainder from the high double.
47123         * math/libm-test.inc (nearbyint): Add tests.
47124         (rint): Likewise.
47126 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47128         * nptl/sysdeps/powerpc/Makefile: Moved ...
47129         * sysdeps/powerpc/nptl/Makefile: ... here.
47130         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
47131         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
47132         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
47133         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
47134         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
47135         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
47136         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
47137         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
47138         * nptl/sysdeps/powerpc/tls.h: Moved ...
47139         * sysdeps/powerpc/nptl/tls.h: ... here.
47141 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
47143         [BZ #16681]
47144         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
47145         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
47146         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
47147         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
47148         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
47149         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
47150         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
47151         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
47152         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
47154 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
47156         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
47158 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
47160         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
47161         defined operator.
47163         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
47164         $TIMEOUTFACTOR.
47166 2014-06-16  Florian Weimer  <fweimer@redhat.com>
47168         [BZ #17058]
47169         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
47170         non-executed part of the test.
47172 2014-06-16  Andreas Schwab  <schwab@suse.de>
47174         * string/bits/string2.h (strdup, strndup): Update feature guard.
47176 2014-06-14  David S. Miller  <davem@davemloft.net>
47178         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47180 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
47182         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
47183         that was previously under [RESET_PID].
47184         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
47186         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
47187         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
47188         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
47189         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
47190         (__libc_vfork): New strong alias.
47191         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
47193 2014-06-14 Andi Kleen  <ak@linux.intel.com>
47195         * sysdeps/generic/elide.h: New file.
47197 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
47199         * Makefile (installed-headers): Adjust path of pthread.h header.
47201 2014-06-13  Roland McGrath  <roland@hack.frob.com>
47203         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
47204         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
47205         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
47206         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
47208         * nptl/sysdeps/s390/Makefile: Moved ...
47209         * sysdeps/s390/nptl/Makefile: ... here.
47210         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
47211         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
47212         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
47213         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
47214         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
47215         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
47216         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
47217         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
47218         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
47219         * sysdeps/s390/nptl/pthreaddef.h: ... here.
47220         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
47221         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
47222         * nptl/sysdeps/s390/tls.h: Moved ...
47223         * sysdeps/s390/nptl/tls.h: ... here.
47225         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
47226         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
47228 2014-06-13  David S. Miller  <davem@davemloft.net>
47230         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
47231         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
47232         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
47233         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
47234         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
47235         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
47236         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
47237         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
47238         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
47239         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
47240         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
47241         Remove RESET_PID cpp guards.
47242         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
47243         Remove RESET_PID cpp guards.
47244         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
47246 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
47248         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
47249         __sp to uintptr_t.
47251 2014-06-13  Andi Kleen  <ak@linux.intel.com>
47253         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
47254         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
47255         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
47256         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
47257         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
47258         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
47259         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
47260         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
47261         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
47262         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
47263         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
47264         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
47265         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
47266         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
47267         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
47268         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
47269         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
47270         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
47271         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
47272         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
47274         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
47275         (pthread_rwlock_rdlock): Add elision.
47276         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
47277         (pthread_rwlock_wrlock): Add elision.
47278         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
47279         (pthread_rwlock_trywrlock): Add elision.
47280         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
47281         (pthread_rwlock_tryrdlock): Add elision.
47282         * nptl/pthread_rwlock_unlock.c: Include elide.h.
47283         (pthread_rwlock_tryrdlock): Add elision unlock.
47284         * nptl/sysdeps/pthread/pthread.h:
47285         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
47286         (PTHREAD_RWLOCK_INITIALIZER,
47287         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
47288         Handle new elision field.
47289         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
47290         * sysdeps/arm/nptl/bits/pthreadtypes.h
47291         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47292         * sysdeps/sh/nptl/bits/pthreadtypes.h
47293         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47294         * sysdeps/tile/nptl/bits/pthreadtypes.h
47295         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47296         * sysdeps/a/nptl/bits/pthreadtypes.h
47297         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47298         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
47299         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47300         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
47301         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47302         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
47303         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47304         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
47305         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47306         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
47307         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47308         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
47309         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47310         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
47311         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47312         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
47313         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47314         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
47315         (elision_init): Set try_xbegin to zero when no RTM.
47316         * sysdeps/x86/nptl/bits/pthreadtypes.h
47317         (pthread_rwlock_t): Change __pad1 to __rwelision.
47318         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47320 2014-06-13  Andi Kleen  <ak@linux.intel.com>
47322         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
47323         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
47324         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
47325         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
47327 2014-06-13  Meador Inge  <meadori@codesourcery.com>
47329         [BZ #16996]
47330         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
47331         that the cached result has been set before returning it.
47333 2014-06-12  Roland McGrath  <roland@hack.frob.com>
47335         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
47336         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
47337         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
47338         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
47339         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
47340         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
47342         * nptl/sysdeps/sparc/Makefile: Moved ...
47343         * sysdeps/sparc/nptl/Makefile: ... here.
47344         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
47345         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
47346         * nptl/sysdeps/sparc/tls.h: Moved ...
47347         * sysdeps/sparc/nptl/tls.h: ... here.
47348         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
47349         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
47350         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
47351         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
47352         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
47353         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
47354         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
47355         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
47356         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
47357         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
47358         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
47359         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
47360         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
47361         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
47362         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
47363         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
47364         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
47365         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
47366         Update #include.
47367         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
47368         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
47369         Update #include.
47370         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
47371         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
47372         Update #include.
47373         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
47374         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
47375         Update #include.
47377         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
47379         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
47380         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
47382         * sysdeps/pthread/posix-timer.h: Include <list.h>.
47383         (struct list_links): Type removed.
47384         (struct thread_node, struct timer_node): Replace struct list_links
47385         with struct list_head.
47386         (list_unlink_ip): Likewise.
47387         * sysdeps/pthread/timer_routines.c
47388         (timer_free_list, thread_free_list, thread_active_list): Likewise.
47389         (list_append, list_insbefore): Likewise.
47390         (list_init): Function removed.
47391         (thread_init, init_module): Use INIT_LIST_HEAD instead.
47392         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
47393         * sysdeps/pthread/Makefile: ... here, new file.
47395         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
47396         * sysdeps/nptl/Implies: ... here.
47397         * sysdeps/unix/sysv/linux/Implies: Add nptl.
47398         * nptl/sysdeps/pthread/list.h: Moved ...
47399         * include/list.h: ... here.
47400         * nptl/sysdeps/pthread/createthread.c: Moved ...
47401         * nptl/createthread.c: ... here.
47402         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
47403         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
47404         * nptl/pt-longjmp.c: ... here.
47405         * nptl/sysdeps/pthread/Makefile: Moved ...
47406         * sysdeps/nptl/Makefile: ... here.
47407         * nptl/sysdeps/pthread/Subdirs: Moved ...
47408         * sysdeps/nptl/Subdirs: ... here.
47409         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
47410         * sysdeps/nptl/aio_misc.h: ... here.
47411         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
47412         * sysdeps/nptl/bits/libc-lock.h: ... here.
47413         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
47414         * sysdeps/nptl/bits/libc-lockP.h: ... here.
47415         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
47416         * sysdeps/nptl/bits/stdio-lock.h: ... here.
47417         * nptl/sysdeps/pthread/configure: Moved ...
47418         * sysdeps/nptl/configure: ... here.
47419         * nptl/sysdeps/pthread/configure.ac: Moved ...
47420         * sysdeps/nptl/configure.ac: ... here.
47421         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
47422         * sysdeps/nptl/gai_misc.h: ... here.
47423         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
47424         * sysdeps/nptl/librt-cancellation.c: ... here.
47425         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
47426         * sysdeps/nptl/malloc-machine.h: ... here.
47427         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
47428         * sysdeps/nptl/pthread-functions.h: ... here.
47429         * nptl/sysdeps/pthread/pthread.h: Moved ...
47430         * sysdeps/nptl/pthread.h: ... here.
47431         * nptl/sysdeps/pthread/setxid.h: Moved ...
47432         * sysdeps/nptl/setxid.h: ... here.
47433         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
47434         * sysdeps/nptl/sigfillset.c: ... here.
47435         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
47436         * sysdeps/nptl/tcb-offsets.h: ... here.
47437         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
47438         * sysdeps/nptl/tst-mqueue8x.c: ... here.
47439         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
47440         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
47441         * nptl/sysdeps/pthread/allocalim.h: Moved ...
47442         * sysdeps/pthread/allocalim.h: ... here.
47443         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
47444         * sysdeps/pthread/bits/sigthread.h: ... here.
47445         * nptl/sysdeps/pthread/flockfile.c: Moved ...
47446         * sysdeps/pthread/flockfile.c: ... here.
47447         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
47448         * sysdeps/pthread/ftrylockfile.c: ... here.
47449         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
47450         * sysdeps/pthread/funlockfile.c: ... here.
47451         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
47452         * sysdeps/pthread/posix-timer.h: ... here.
47453         * nptl/sysdeps/pthread/timer_create.c: Moved ...
47454         * sysdeps/pthread/timer_create.c: ... here.
47455         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
47456         * sysdeps/pthread/timer_delete.c: ... here.
47457         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
47458         * sysdeps/pthread/timer_getoverr.c: ... here.
47459         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
47460         * sysdeps/pthread/timer_gettime.c: ... here.
47461         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
47462         * sysdeps/pthread/timer_routines.c: ... here.
47463         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
47464         * sysdeps/pthread/timer_settime.c: ... here.
47465         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
47466         * sysdeps/pthread/tst-timer.c: ... here.
47467         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
47468         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
47470         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
47471         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
47473         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
47474         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
47475         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
47476         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
47477         Update #include target.
47478         * nptl/sysdeps/i386/i686/Makefile: Moved ...
47479         * sysdeps/i386/i686/nptl/Makefile: ... here.
47480         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
47481         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
47482         Update #include target.
47483         * nptl/sysdeps/i386/i686/tls.h: Moved ...
47484         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
47485         * nptl/sysdeps/i386/Makefile: Moved ...
47486         * sysdeps/i386/nptl/Makefile: ... here.
47487         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
47488         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
47489         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
47490         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
47491         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
47492         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
47493         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
47494         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
47495         * sysdeps/i386/nptl/pthreaddef.h: ... here.
47496         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
47497         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
47498         * nptl/sysdeps/i386/tls.h: Moved ...
47499         * sysdeps/i386/nptl/tls.h: ... here.
47501         * sysdeps/sh/Makefile [$(subdir) = csu]
47502         (gen-as-const-headers): Add tcb-offsets.sym.
47503         * nptl/sysdeps/sh/Makefile: File removed.
47504         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
47505         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
47506         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
47507         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
47508         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
47509         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
47510         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
47511         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
47512         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
47513         * sysdeps/sh/nptl/pthreaddef.h: ... here.
47514         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
47515         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
47516         * nptl/sysdeps/sh/tls.h: Moved ...
47517         * sysdeps/sh/nptl/tls.h: ... here.
47518         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
47519         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
47520         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
47521         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
47522         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
47523         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
47524         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
47525         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
47526         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
47527         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
47528         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
47529         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
47530         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
47531         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
47532         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
47533         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
47534         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
47535         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
47536         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
47537         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
47538         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
47539         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
47540         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
47541         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
47542         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
47543         Moved ...
47544         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
47545         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
47546         Moved ...
47547         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
47548         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
47549         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
47550         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
47551         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
47552         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
47553         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
47554         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
47555         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
47556         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
47557         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
47558         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
47559         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
47560         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
47561         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
47562         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
47563         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
47564         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
47565         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
47567 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
47569         * posix/spawn_faction_addopen.c: Include string.h.
47571 2014-06-11  Roland McGrath  <roland@hack.frob.com>
47573         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
47574         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
47575         * nptl/sysdeps/x86_64/Makefile: Moved ...
47576         * sysdeps/x86_64/nptl/Makefile: ... here.
47577         * nptl/sysdeps/x86_64/configure: Moved ...
47578         * sysdeps/x86_64/nptl/configure: ... here.
47579         * nptl/sysdeps/x86_64/configure.ac: Moved ...
47580         * sysdeps/x86_64/nptl/configure.ac: ... here.
47581         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
47582         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
47583         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
47584         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
47585         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
47586         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
47587         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
47588         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
47589         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
47590         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
47591         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
47592         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
47593         * nptl/sysdeps/x86_64/tls.h: Moved ...
47594         * sysdeps/x86_64/nptl/tls.h: ... here.
47595         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
47596         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
47597         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
47598         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
47600         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
47602 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47604         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47606 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
47608         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
47609         type.
47610         [POSIX] (off_t): Likewise.
47611         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
47612         [POSIX] (S_ISBLK): Require macro.
47613         [POSIX] (S_ISCHR): Likewise.
47614         [POSIX] (S_ISDIR): Likewise.
47615         [POSIX] (S_ISFIFO): Likewise.
47616         [POSIX] (S_ISREG): Likewise.
47617         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
47618         optional-macro.
47619         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
47620         type.
47621         [POSIX] (time_t): Likewise.
47622         [POSIX] (timer_t): Likewise.
47624 2014-06-11  Florian Weimer  <fweimer@redhat.com>
47626         [BZ #17048]
47627         * posix/spawn_int.h (struct __spawn_action): Make the path string
47628         non-const to support deallocation.
47629         * posix/spawn_faction_addopen.c
47630         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
47631         * posix/spawn_faction_destroy.c
47632         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
47633         path in all spawn_do_open actions.
47634         * posix/tst-spawn.c (do_test): Exercise the copy operation in
47635         posix_spawn_file_actions_addopen.
47637 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
47639         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
47640         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
47641         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
47642         conditional code always true.
47643         (__libc_vfork): New alias.
47645 2014-06-11  Roland McGrath  <roland@hack.frob.com>
47647         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47648         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
47650         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
47652         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47653         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
47655         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
47656         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
47658         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47659         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
47661 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
47663         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
47664         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
47665         multiarch strcmp for PPC64.
47666         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
47667         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
47668         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
47669         multiarch optimizations.
47670         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
47671         (__libc_ifunc_impl_list): Likewise.
47673 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47675         * benchtests/scripts/validate_benchout.py: New script.
47676         * benchtests/Makefile (bench-func): Call it.
47677         * benchtests/scripts/benchout.schema.json: New file.
47679 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
47681         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
47682         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
47683         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
47684         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
47685         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
47686         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
47687         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
47688         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
47689         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
47690         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
47691         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
47692         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
47693         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
47694         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
47695         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
47696         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
47697         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
47698         Moved ...
47699         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
47700         ... here.
47701         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
47702         Moved ...
47703         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
47704         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
47705         Moved ...
47706         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
47707         ... here.
47708         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
47709         Moved ...
47710         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
47711         ... here.
47712         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
47713         Moved ...
47714         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
47715         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
47716         Moved ...
47717         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
47718         ... here.
47719         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
47720         Moved ...
47721         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
47722         ... here.
47723         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
47724         Moved ...
47725         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
47726         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
47727         Moved ...
47728         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
47729         ... here.
47730         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
47731         Moved ...
47732         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
47733         ... here.
47734         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
47735         Moved ...
47736         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
47737         ... here.
47738         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
47739         Moved ...
47740         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
47741         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
47742         Moved ...
47743         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
47744         ... here.
47745         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
47746         Moved ...
47747         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
47748         ... here.
47749         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
47750         Moved ...
47751         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
47752         ... here.
47753         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
47754         Moved ...
47755         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
47756         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
47757         Moved ...
47758         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
47759         ... here.
47760         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
47761         Moved ...
47762         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
47763         ... here.
47764         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
47765         Moved ...
47766         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
47767         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
47768         Moved ...
47769         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
47770         ... here.
47771         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
47772         Moved ...
47773         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
47774         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
47775         Moved ...
47776         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
47777         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
47778         Moved ...
47779         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
47780         ... here.
47781         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
47782         Moved ...
47783         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
47784         ... here.
47785         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
47786         Moved ...
47787         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
47788         ... here.
47789         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
47790         Moved ...
47791         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
47792         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
47793         Moved ...
47794         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
47795         ... here.
47796         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
47797         Moved ...
47798         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
47799         ... here.
47800         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
47801         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
47802         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
47803         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
47804         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
47805         Moved ...
47806         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
47807         ... here.
47808         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
47809         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
47810         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
47811         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
47812         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
47813         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
47814         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
47815         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
47816         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
47817         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
47818         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
47819         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
47820         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
47821         Moved ...
47822         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
47823         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
47824         Moved ...
47825         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
47826         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
47827         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
47828         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
47829         Moved ...
47830         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
47831         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
47832         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
47833         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
47834         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
47835         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
47836         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
47838 2014-06-10  Wilco  <wdijkstr@arm.com>
47840         * math/test-fenv-return.c: New file.
47841         * math/Makefile: Add new test test-fenv-return.
47843 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
47845         [BZ #17042]
47846         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
47847         when x - 1 is zero.
47848         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
47849         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
47850         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
47851         0.0L for an argument of 1.0L.
47852         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
47853         Likewise.
47854         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
47855         value when x - 1 is zero.
47856         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
47857         * sysdeps/i386/fpu/libm-test-ulps: Update.
47858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47860 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
47862         [BZ #15119]
47863         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
47865 2014-06-09  Roland McGrath  <roland@hack.frob.com>
47867         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
47868         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
47870 2014-06-09  Roland McGrath  <roland@hack.frob.com>
47872         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47873         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
47875         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47876         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
47878         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47879         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
47881         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47882         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
47884         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
47885         if not already defined.
47886         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
47887         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
47888         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
47889         (TLS_INIT_TP): Use it.
47890         (TLS_DEFINE_INIT_TP): New macro.
47891         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
47893 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
47895         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
47896         constant.
47897         [POSIX] (IXANY): Likewise.
47898         [POSIX] (OLCUC): Likewise.
47899         [POSIX || POSIX2008] (CBAUD): Do not allow.
47900         [POSIX || POSIX2008] (DEFECHO): Likewise.
47901         [POSIX || POSIX2008] (ECHOCTL): Likewise.
47902         [POSIX || POSIX2008] (ECHOKE): Likewise.
47903         [POSIX || POSIX2008] (ECHOPRT): Likewise.
47904         [POSIX || POSIX2008] (EXTA): Likewise.
47905         [POSIX || POSIX2008] (EXTB): Likewise.
47906         [POSIX || POSIX2008] (FLUSHO): Likewise.
47907         [POSIX || POSIX2008] (LOBLK): Likewise.
47908         [POSIX || POSIX2008] (PENDIN): Likewise.
47909         [POSIX || POSIX2008] (SWTCH): Likewise.
47910         [POSIX || POSIX2008] (VDISCARD): Likewise.
47911         [POSIX || POSIX2008] (VDSUSP): Likewise.
47912         [POSIX || POSIX2008] (VLNEXT): Likewise.
47913         [POSIX || POSIX2008] (VREPRINT): Likewise.
47914         [POSIX || POSIX2008] (VSTATUS): Likewise.
47915         [POSIX || POSIX2008] (VWERASE): Likewise.
47916         (B*): Change to B[0123456789]*.
47917         * conform/data/time.h-data [POSIX || UNIX98]
47918         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
47919         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
47920         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
47921         [POSIX] (tm_*): Do not allow.
47923 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
47925         * Makefile (install): Don't set LANGUAGE.
47926         * Makefile.in (install): Likewise.
47927         * assert/Makefile (test-assert-ENV): Remove variable.
47928         (test-assert-perr-ENV): Likewise.
47929         * elf/Makefile (neededtest4-ENV): Likewise.
47930         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
47931         [$(cross-compiling) = no]: Don't set LANGUAGE.
47932         * io/ftwtest-sh (LANG): Remove variable.
47933         * libio/Makefile (tst-widetext-ENV): Likewise.
47934         * manual/install.texi (Running make install): Don't refer to
47935         environment settings for make install.
47936         * INSTALL: Regenerated.
47937         * nptl/tst-tls6.sh: Don't set LANG.
47938         * posix/globtest.sh (LANG): Remove variable.
47939         * string/Makefile (tester-ENV): Likewise.
47940         (inl-tester-ENV): Likewise.
47941         (noinl-tester-ENV): Likewise.
47942         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
47943         [$(cross-compiling) = no]: Don't set LANGUAGE.
47944         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
47945         without explicit environment settings.
47947 2014-06-06  Roland McGrath  <roland@hack.frob.com>
47949         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
47950         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
47951         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
47952         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
47954 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
47956         * crypt/crypt-private.h [DOS]: Add some includes taken from the
47957         other files in the crypt directory.
47958         * crypt/crypt.c: Remove duplicate includes.
47959         * crypt/crypt-entry.c: Likewise.
47960         * crypt/crypt_util.c: Likewise.
47962 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
47964         * Makeconfig (run-program-env): New variable.
47965         (run-program-prefix-before-env): Likewise.
47966         (run-program-prefix-after-env): Likewise.
47967         (run-program-prefix): Define in terms of new variables.
47968         (built-program-cmd-before-env): New variable.
47969         (built-program-cmd-after-env): Likewise.
47970         (built-program-cmd): Define in terms of new variables.
47971         (test-program-prefix-before-env): New variable.
47972         (test-program-prefix-after-env): Likewise.
47973         (test-program-prefix): Define in terms of new variables.
47974         (test-program-cmd-before-env): New variable.
47975         (test-program-cmd-after-env): Likewise.
47976         (test-program-cmd): Define in terms of new variables.
47977         * Rules (make-test-out): Use $(run-program-env).
47978         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
47979         (help): Do not mention environment variables.  Mention
47980         --timeoutfactor option.
47981         (timeoutfactor): New variable.
47982         (blacklist_exports): Remove function.
47983         (exports): Remove variable.
47984         (command): Do not include ${exports}.
47985         * manual/install.texi (Configuring and compiling): Do not mention
47986         test wrappers preserving environment variables.  Mention that last
47987         assignment to a variable must take precedence.
47988         * INSTALL: Regenerated.
47989         * benchtests/Makefile (run-bench): Use $(run-program-env).
47990         * catgets/Makefile ($(objpfx)test1.cat): Use
47991         $(built-program-cmd-before-env), $(run-program-env) and
47992         $(built-program-cmd-after-env).
47993         ($(objpfx)test2.cat): Do not specify environment variables
47994         explicitly.
47995         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
47996         $(run-program-env) and $(built-program-cmd-after-env).
47997         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
47998         $(run-program-env) and $(test-program-cmd-after-env).
47999         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
48000         explicitly.
48001         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
48002         run_program_env and test_program_cmd_after_env arguments.
48003         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
48004         * elf/tst-pathopt.sh: Use run_program_env argument.
48005         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
48006         $(test-wrapper-env) and $(run-program-env).
48007         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
48008         run_program_env arguments.
48009         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
48010         * intl/Makefile ($(objpfx)tst-gettext.out): Use
48011         $(test-program-prefix-before-env), $(run-program-env) and
48012         $(test-program-prefix-after-env).
48013         ($(objpfx)tst-gettext2.out): Likewise.
48014         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
48015         run_program_env and test_program_prefix_after_env arguments.
48016         * intl/tst-gettext2.sh: Likewise.
48017         * intl/tst-gettext4.sh: Do not set environment variables
48018         explicitly.
48019         * intl/tst-gettext6.sh: Likewise.
48020         * intl/tst-translit.sh: Likewise.
48021         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
48022         $(test-program-prefix-before-env), $(run-program-env) and
48023         $(test-program-prefix-after-env).
48024         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
48025         run_program_env and test_program_prefix_after_env arguments.
48026         * math/Makefile (run-regen-ulps): Use $(run-program-env).
48027         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
48028         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
48029         explicitly with each use of ${test_wrapper_env}.
48030         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
48031         $(test-program-prefix-before-env), $(run-program-env) and
48032         $(test-program-prefix-after-env).
48033         * posix/tst-getconf.sh: Do not set environment variables
48034         explicitly.
48035         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
48036         run_program_env and test_program_prefix_after_env arguments.
48037         * stdio-common/tst-printf.sh: Do not set environment variables
48038         explicitly.
48039         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
48040         $(test-program-prefix-before-env), $(run-program-env) and
48041         $(test-program-prefix-after-env).
48042         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
48043         run_program_env and test_program_prefix_after_env arguments.
48044         Split $test calls into $test_pre and $test.
48045         * timezone/Makefile (build-testdata): Use
48046         $(built-program-cmd-before-env), $(run-program-env) and
48047         $(built-program-cmd-after-env).
48049 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48051         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
48052         strlen for non SHARED builds.
48054 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
48056         * nptl/allocatestack.c (check_list): Inlined function...
48057         (__reclaim_stacks): ... here.
48059 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
48061         [BZ #15698]
48062         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
48063         memory overrun.
48065 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
48067         * Rules (make-test-out): Include
48068         LOCPATH=$(common-objpfx)localedata in default environment.
48069         * debug/Makefile (tst-chk1-ENV): Remove variable.
48070         (tst-chk2-ENV): Likewise.
48071         (tst-chk3-ENV): Likewise.
48072         (tst-chk4-ENV): Likewise.
48073         (tst-chk5-ENV): Likewise.
48074         (tst-chk6-ENV): Likewise.
48075         (tst-lfschk1-ENV): Likewise.
48076         (tst-lfschk2-ENV): Likewise.
48077         (tst-lfschk3-ENV): Likewise.
48078         (tst-lfschk4-ENV): Likewise.
48079         (tst-lfschk5-ENV): Likewise.
48080         (tst-lfschk6-ENV): Likewise.
48081         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
48082         (tst-iconv7-ENV): Likewise.
48083         * intl/Makefile (LOCPATH-ENV): Likewise.
48084         (tst-codeset-ENV): Likewise.
48085         (tst-gettext3-ENV): Likewise.
48086         (tst-gettext5-ENV): Likewise.
48087         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
48088         (tst-fopenloc-ENV): Likewise.
48089         (tst-fgetws-ENV): Remove variable.
48090         (tst-ungetwc1-ENV): Likewise.
48091         (tst-ungetwc2-ENV): Likewise.
48092         (bug-ungetwc2-ENV): Likewise.
48093         (tst-swscanf-ENV): Likewise.
48094         (bug-ftell-ENV): Likewise.
48095         (tst-fgetwc-ENV): Likewise.
48096         (tst-fseek-ENV): Likewise.
48097         (tst-ftell-partial-wide-ENV): Likewise.
48098         (tst-ftell-active-handler-ENV): Likewise.
48099         (tst-ftell-append-ENV): Likewise.
48100         * posix/Makefile (tst-fnmatch-ENV): Likewise.
48101         (tst-regexloc-ENV): Likewise.
48102         (bug-regex1-ENV): Likewise.
48103         (tst-regex-ENV): Likewise.
48104         (tst-regex2-ENV): Likewise.
48105         (bug-regex5-ENV): Likewise.
48106         (bug-regex6-ENV): Likewise.
48107         (bug-regex17-ENV): Likewise.
48108         (bug-regex18-ENV): Likewise.
48109         (bug-regex19-ENV): Likewise.
48110         (bug-regex20-ENV): Likewise.
48111         (bug-regex22-ENV): Likewise.
48112         (bug-regex23-ENV): Likewise.
48113         (bug-regex25-ENV): Likewise.
48114         (bug-regex26-ENV): Likewise.
48115         (bug-regex30-ENV): Likewise.
48116         (bug-regex32-ENV): Likewise.
48117         (bug-regex33-ENV): Likewise.
48118         (bug-regex34-ENV): Likewise.
48119         (bug-regex35-ENV): Likewise.
48120         (tst-rxspencer-ENV): Likewise.
48121         (tst-rxspencer-no-utf8-ENV): Likewise.
48122         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
48123         (tst-sscanf-ENV): Likewise.
48124         (tst-swprintf-ENV): Likewise.
48125         (tst-swscanf-ENV): Likewise.
48126         (test-vfprintf-ENV): Likewise.
48127         (scanf13-ENV): Likewise.
48128         (bug14-ENV): Likewise.
48129         (tst-grouping-ENV): Likewise.
48130         * stdlib/Makefile (tst-strtod-ENV): Likewise.
48131         (tst-strtod3-ENV): Likewise.
48132         (tst-strtod4-ENV): Likewise.
48133         (tst-strtod5-ENV): Likewise.
48134         (testmb2-ENV): Likewise./
48135         * string/Makefile (tst-strxfrm-ENV): Likewise.
48136         (tst-strxfrm2-ENV): Likewise.
48137         (bug-strcoll1-ENV): Likewise.
48138         (test-strcasecmp-ENV): Likewise.
48139         (test-strncasecmp-ENV): Likewise.
48140         * time/Makefile (tst-strptime-ENV): Likewise.
48141         (tst-ftime_l-ENV): Likewise.
48142         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
48143         (tst-mbrtowc-ENV): Likewise.
48144         (tst-wcrtomb-ENV): Likewise.
48145         (tst-mbrtowc2-ENV): Likewise.
48146         (tst-c16c32-1-ENV): Likewise.
48147         (tst-mbsnrtowcs-ENV): Likewise.
48149 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
48151         * manual/resource.texi (How to get information about the memory
48152         subsystem?): Fix typo.
48153         Reported by Peon de la Parra Ivan <peon@keba.com>
48155 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
48157         [BZ #16882]
48158         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
48159         (pthread_spin_lock): Branch out of spin loop to proper location.
48160         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
48161         (pthread_spin_lock): Likewise.
48163         * nptl/tst-spin4.c: New test.
48164         * nptl/Makefile (tests): Add tst-spin4.
48166 2014-06-03  Andreas Schwab  <schwab@suse.de>
48168         [BZ #15946]
48169         * resolv/res_send.c (send_dg): Reload file descriptor after
48170         calling reopen.
48172 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
48174         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
48176 2014-06-03  Richard Henderson  <rth@redhat.com>
48178         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
48179         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
48180         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
48181         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
48182         in the SAVE_PID block.
48183         (__libc_vfork): New alias.
48184         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
48186         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
48187         child in registers, not on the stack.  Remove RESET_PID conditionals.
48188         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
48190 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
48192         * sysdeps/aarch64/libm-test-ulps: Regenerate.
48194 2014-06-03  Wilco  <wdijkstr@arm.com>
48196         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
48197         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
48198         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
48199         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
48200         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
48201         Likewise.
48203 2014-06-03  Wilco  <wdijkstr@arm.com>
48205         * sysdeps/aarch64/fpu/math_private.h
48206         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
48207         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
48208         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
48209         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
48210         Fix declarations.
48212 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
48214         * crypt/crypt-private.h: Include ufc-crypt.h.
48215         (__b64_from_24bit): Declare extern.
48216         * crypt/crypt_util.c(__b64_from_24bit): New function.
48217         (b64t): New static const variable.
48218         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
48219         (b64t): Remove variable.
48220         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
48221         * crypt/sha256-crypt.c: Include crypt-private.h.
48222         (b64t): Remove variable.
48223         (__sha256_crypt_r): Remove b64_from_24bit and replace
48224         with __b64_from_24bit.
48225         * crypt/sha512-crypt.c: Likewise.
48227 2014-06-02  Roland McGrath  <roland@hack.frob.com>
48229         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
48230         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
48231         Label the code __libc_vfork rather than __vfork.
48232         [!NOT_IN_libc] (vfork): Define as weak alias.
48233         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
48234         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
48235         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
48237 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
48239         * malloc/malloc.c (malloc_info): Fix format specifier for
48240         n_mmaps.
48242 2014-06-02  Wilco  <wdijkstr@arm.com>
48244         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
48245         FPCR write.
48247 2014-06-02  Wilco  <wdijkstr@arm.com>
48249         [BZ #17009]
48250         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
48251         Rewrite to reduce FPCR/FPSR accesses.
48253 2014-06-01  David S. Miller  <davem@davemloft.net>
48255         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48257 2014-05-31  David S. Miller  <davem@davemloft.net>
48259         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
48260         to occur in round to nearest mode when |x| >= 2.0
48262 2014-05-30  Richard Henderson  <rth@twiddle.net>
48264         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
48265         (PSEUDO_RET_NOERRNO): Remove.
48266         (ret): Don't redefine.
48267         (ret_NOERRNO): Define in terms of ret.
48268         (ret_ERRVAL): Likewise.
48270         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
48271         use of PSEUDO_RET; perform the error check directly.
48273 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
48275         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
48276         with __int128_t.
48278 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
48280         * malloc/malloc (malloc_info): Fix formatting.
48282 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
48283             Roland McGrath  <roland@hack.frob.com>
48285         * malloc/malloc (malloc_info): Also print mmapped statistics.
48287 2014-05-30  Roland McGrath  <roland@hack.frob.com>
48289         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
48290         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
48292 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
48294         * malloc/malloc.c (malloc_info): Inline mi_arena.
48296 2014-05-29  Richard Henderson  <rth@twiddle.net>
48298         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
48299         Remove comma before expanding ASM_ARGS_##nr.
48300         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
48301         Make _x0 a strict output; make _x8 a strict input; adjust expansion
48302         of ASM_ARGS_##nr.
48303         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
48304         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
48305         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
48306         (ASM_ARGS_1): Add leading comma.
48308         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
48309         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
48310         to __errno_location.
48311         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
48312         Remove the expected plt for __errno_location.
48314         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
48315         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
48316         call to __read_tp.
48318         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
48319         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
48320         it and break it down.
48321         (DOCARGS_0, DOCARGS_1): Do nothing.
48322         (DOCARGS_2): Update to store into the new stack frame.
48323         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
48324         (UNDOCARGS_1): Update to restore from the new stack frame.
48325         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
48326         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
48328         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
48329         (SINGLE_THREAD_P): New parameter for result regno.
48330         (PSEUDO): Update to match; use cbz instead of beq.
48332         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
48333         Use ENTRY to define the _nocancel entry point.  Share the syscall
48334         and syscall error check paths with the cancel path.
48335         (PSEUDO_END): New.
48337         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
48338         whitespace; tabs before and after asm mnemonics.
48340 2014-05-29  Eric Wong  <normalperson@yhbt.net>
48342         [BZ #15132]
48343         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48344         Call fstat64 or stat64 internally, depending on arguments passed.
48345         Replace stat buffer argument with file descriptor argument.
48346         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
48347         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
48348         Pass fd to __internal_statvfs instead of calling fstat64.
48349         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
48350         Pass fd to __internal_statvfs64 instead of calling fstat64.
48351         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
48352         Pass -1 to __internal_statvfs instead of calling stat64.
48353         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
48354         Pass -1 to __internal_statvfs64 instead of calling stat64.
48356 2014-05-28  Roland McGrath  <roland@hack.frob.com>
48358         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
48359         that was previously under [RESET_PID].
48360         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
48362         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
48363         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
48365 2014-05-27  Roland McGrath  <roland@hack.frob.com>
48367         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
48369         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
48370         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
48372 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
48374         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
48376 2014-05-27  Andreas Schwab  <schwab@suse.de>
48378         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
48379         TLS_INIT_TP macro.
48380         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
48381         * elf/rtld.c (init_tls, dl_main): Likewise.
48382         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
48383         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
48384         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
48385         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
48386         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
48387         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
48388         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
48389         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
48390         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
48391         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
48392         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
48393         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
48394         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
48395         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
48396         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
48397         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
48398         * sysdeps/generic/tls.h: Update description.
48400 2014-05-27  Will Newton  <will.newton@linaro.org>
48402         [BZ #16990]
48403         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
48404         and restore r2 rather than just restoring.
48406 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
48408         [BZ #16724]
48409         * libio/tst-ftell-append.c: New test case.
48410         * libio/Makefile (tests): Add test case.
48411         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
48412         append mode.
48413         * libio/wfileops.c (do_ftell_wide): Likewise.
48415 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48417         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48419         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
48420         ...
48421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
48422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
48423         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
48424         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
48425         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
48426         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
48427         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
48428         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
48429         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
48430         Moved ...
48431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
48432         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
48433         Moved ...
48434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
48435         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
48436         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
48437         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
48438         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
48439         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
48440         ...
48441         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
48442         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
48443         Moved ...
48444         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
48445         here.
48446         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
48447         ...
48448         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
48449         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
48450         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
48452         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
48453         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
48454         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
48455         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
48457         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
48458         merge into ...
48459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
48460         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
48461         ...
48462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
48463         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
48464         ...
48465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
48466         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
48467         Moved ...
48468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
48469         here.
48470         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
48471         Moved ...
48472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
48473         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
48474         Moved ...
48475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
48477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
48478         conditional [RESET_PID].
48479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
48480         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
48481         removed.
48482         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
48483         removed.
48485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
48486         <tcb-offsets.h>.
48487         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
48488         (__libc_vfork): New strong alias.
48489         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
48490         removed.
48491         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
48492         Removed.
48494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
48495         <tcb-offsets.h>.
48496         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
48497         (__libc_vfork): New strong alias.
48498         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
48499         removed.
48500         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
48501         removed.
48503 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
48505         * malloc/malloc.c (mi_arena): New function.
48506         (malloc_info): Remove nested function mi_arena. Call non-nosted
48507         function mi_arena.
48509 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48511         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
48512         by insrwi.
48513         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
48514         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
48515         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
48516         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
48517         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
48518         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
48519         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
48521 2014-05-26  Andreas Schwab  <schwab@suse.de>
48523         [BZ #16984]
48524         * locale/programs/repertoire.c (repertoire_read): Add slash
48525         between I18NPATH element and file name.
48526         * locale/programs/locfile.c (locfile_read): Likewise.
48528 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
48530         * nptl/pthread_mutexattr_settype.c
48531         (__pthread_mutexattr_settype):
48532         Disable lock elision for PTHREAD_MUTEX_NORMAL.
48534 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
48536         * nptl/tst-mutex5 (do_test):
48537         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
48539 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48541         * benchtests/README: Document 'init' directive.
48542         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
48543         BENCH_INIT.
48544         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
48545         (parse_file): Recognize 'init' directive.
48547 2014-05-26  Kyle McMartin  <kyle@redhat.com>
48549         [BZ #16796]
48550         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
48551         alignment of struct pthread.
48553 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48555         [BZ #16878]
48556         * nscd/netgroupcache.c (addgetnetgrentX): Look for
48557         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
48558         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
48559         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
48561 2014-05-25  Richard Henderson  <rth@twiddle.net>
48563         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
48564         (SINGLE_THREAD_P_PIC): Remove.
48565         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
48566         (SINGLE_THREAD_P_PIC): Remove.
48568         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
48569         branch to syscall error ...
48570         (PSEUDO): ... here.
48571         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
48572         from __local_syscall_error to .Lsyscall_error.
48573         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
48574         (SYSCALL_ERROR): Update label name.
48576         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
48577         Do not use DOARGS/UNDOARGS.
48578         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
48579         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
48580         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
48581         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
48582         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
48584         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
48585         block comment.
48587         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
48588         define if !NOT_IN_libc.
48589         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
48590         define with non-default symbol versions.
48592 2014-05-23  Richard Henderson  <rth@twiddle.net>
48594         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
48595         (vfork, __vfork): Define via compat_symbol.
48597         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
48598         [!HAVE_IFUNC] (vfork_compat): Remove.
48599         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
48601 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
48603         [BZ #16978]
48604         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
48605         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
48606         variable.
48608 2014-05-23  Richard Henderson  <rth@twiddle.net>
48610         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
48611         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
48612         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
48613         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
48615         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
48616         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
48617         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
48618         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
48619         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
48620         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
48621         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
48622         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
48623         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
48624         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
48625         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
48626         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
48627         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
48628         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
48629         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
48630         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
48631         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
48632         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
48633         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
48634         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
48635         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
48636         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
48637         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
48638         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
48639         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
48640         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
48641         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
48642         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
48643         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
48644         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
48645         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
48646         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
48647         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
48648         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
48649         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
48650         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
48651         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
48652         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
48653         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
48654         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
48655         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
48656         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
48657         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
48658         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
48659         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
48660         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
48661         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
48662         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
48663         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
48664         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
48665         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
48666         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
48667         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
48668         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
48669         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
48670         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
48672         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
48673         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
48674         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
48675         before exiting on error.
48676         (__libc_vfork): New strong alias.
48677         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
48678         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
48680         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
48681         that was previously under [RESET_PID].
48682         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
48684         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
48686 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
48688         [BZ #16977]
48689         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
48690         value when x - 1 is zero.
48691         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
48692         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
48693         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
48694         0.0L for an argument of 1.0L.
48695         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
48696         Likewise.
48697         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
48698         value when x - 1 is zero.
48699         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
48700         * sysdeps/i386/fpu/libm-test-ulps: Update.
48701         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48703 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
48705         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
48706         alphasort and versionsort.
48708 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48710         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
48711         macro.
48712         [copysignf]: Likewise.
48714 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
48716         * crypt/md5-crypt.c: Fix formatting.
48718 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
48720         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
48721         (b64_from_24bit): New function.
48723 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48725         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
48726         libc_hidden_builtin_def to ifunc.
48727         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
48728         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
48730 2014-05-21  Roland McGrath  <roland@hack.frob.com>
48732         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
48733         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
48735 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
48737         * nscd/Depend (linuxthreads): Remove.
48738         (nptl): Add.
48739         * resolv/Depend (linuxthreads): Remove.
48740         * rt/Depend (linuxthreads): Remove.
48742         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
48743         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
48744         $(common-objpfx)elf/.
48745         (link-libc-before-gnulib): Likewise.
48746         (elfobjdir): Remove variable.
48747         * Makefile (install): Use $(elf-objpfx) instead of
48748         $(common-objpfx)elf/.
48749         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
48750         $(elfobjdir)/.
48751         (link-libc-deps): Likewise.
48752         ($(common-objpfx)libc.so): Likewise.
48753         ($(common-objpfx)linkobj/libc.so): Likewise.
48754         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
48755         instead of $(common-objpfx)elf/.
48756         (symbolic-link-list): Likewise.
48757         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
48758         [$(cross-compiling) = no]: Likewise.
48759         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
48760         $(elfobjdir)/.
48761         (static-gnulib-arch): Likewise.
48762         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
48763         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
48764         $(common-objpfx)elf/.
48766 2014-05-21  Richard Henderson  <rth@redhat.com>
48768         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
48769         (SINGLE_THREAD_P): Use the correct width load.  Fold
48770         into the ldr offset.
48772         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
48773         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
48775 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
48777         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
48778         (libgcc_s_resume): Use __attribute_used__.
48779         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
48780         Likewise.
48782 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48784         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
48785         optimization when used with float constants.
48787         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48789 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
48791         [BZ #16915]
48792         * locale/nl_langinfo_l.c: Make direct reference to every
48793         _nl_current_CATEGORY symbol.
48794         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
48795         (tests-static): Add tst-langinfo-static.
48796         (tests-special): Add tst-langinfo-static.out.
48797         ($(objpfx)tst-langinfo.out): Redirect output.
48798         ($(objpfx)tst-langinfo-static.out): New.
48799         * localedata/tst-langinfo.sh: Send output to stdout.
48800         * localedata/tst-langinfo-static.c: New file.
48802         [BZ #16965]
48803         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
48804         when the shift amount is modulo the limb size.
48806 2014-05-20  Richard Henderson  <rth@redhat.com>
48808         [BZ #16967]
48809         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
48810         Change type of sa_flags from unsigned int to int.
48812         [BZ #16966]
48813         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
48815         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
48817 2014-05-20  Will Newton  <will.newton@linaro.org>
48819         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
48820         Test the return value of the system call in the nocancel case.
48822 2014-05-20  Will Newton  <will.newton@linaro.org>
48823             Yvan Roux  <yvan.roux@linaro.org>
48825         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
48826         #include of asm/ptrace.h.
48827         (PTRACE_GET_THREAD_AREA): Remove #undef.
48828         (PTRACE_GETHBPREGS): Likewise.
48829         (PTRACE_SETHBPREGS): Likewise.
48830         (struct user_regs_struct): New structure.
48831         (struct user_fpsimd_struct): New structure.
48832         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
48833         #include of asm/ptrace.h and second #include of sys/user.h.
48834         (PTRACE_GET_THREAD_AREA): Remove #undef.
48835         (PTRACE_GETHBPREGS): Likewise.
48836         (PTRACE_SETHBPREGS): Likewise.
48837         (ELF_NGREG): Use new struct user_regs_struct.
48838         (elf_fpregset_t): Use new struct user_fpsimd_struct.
48840 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48842         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
48843         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
48845 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
48847         [BZ #16958]
48848         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
48849         membar to avoid block loads/stores to overlap previous stores.
48851 2014-05-17  Richard Henderson  <rth@redhat.com>
48853         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
48854         Create the __##syscall_name##_nocancel entry point.
48855         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
48856         Remove; let the sysdep-cancel.h code create it.
48858 2014-05-17  David S. Miller  <davem@davemloft.net>
48860         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
48861         Protect with __USE_GNU.
48862         (TIOCSET_TEMPT): Likewise.
48863         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
48864         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
48865         these are already provided in bits/ioctl-types.h
48867 2014-05-16  Roland McGrath  <roland@hack.frob.com>
48869         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
48870         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
48872         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
48873         Use wait4 regardless of [__NR_waitpid].
48875 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
48877         PR libgcc/60166
48878         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
48879         (_FP_NANSIGN_Q): Set the quiet bit.
48881 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
48883         * benchtests/Makefile
48884         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
48885         not $(common-objpfx)math/libm.so.
48886         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
48887         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
48888         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
48889         $(common-objpfx)dlfcn/libdl.so.
48890         ($(objpfx)tst-audit8): Depend on $(libm), not
48891         $(common-objpfx)math/libm.so.
48892         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
48893         not $(common-objpfx)dlfcn/libdl.so.
48894         * math/Makefile
48895         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
48896         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
48897         [$(build-shared) = yes].
48898         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
48899         $(common-objpfx)nptl/libpthread.so.
48900         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
48901         $(common-objpfx)math/libm.so$(libm.so-version) or
48902         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
48903         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
48904         $(common-objpfx)dlfcn/libdl.so.
48905         * setjmp/Makefile (link-libm): Remove variable.
48906         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
48907         * stdio-common/Makefile (link-libm): Remove variable.
48908         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
48909         * stdlib/Makefile (link-libm): Remove variable.
48910         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
48911         ($(objpfx)tst-strtod-round): Likewise.
48912         ($(objpfx)tst-tininess): Likewise.
48913         ($(objpfx)tst-strtod-underflow): Likewise.
48914         ($(objpfx)tst-strtod6): Likewise.
48915         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
48916         $(libdl), not $(common-objpfx)nptl/libpthread.so and
48917         $(common-objpfx)dlfcn/libdl.so.
48919 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48921         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
48922         BSD terminal modes definitions.
48924 2014-05-16  Roland McGrath  <roland@hack.frob.com>
48926         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
48927         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
48929         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
48930         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
48931         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
48932         Don't do #include_next.
48933         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
48934         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
48935         Don't do #include_next.
48936         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
48937         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
48938         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
48939         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
48941 2014-05-16  Allan McRae  <allan@archlinux.org>
48943         * po/sv.po: Update Swedish translation from translation project.
48945         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
48946         in sed expression.
48948 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
48950         [BZ #16917]
48951         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
48952         errno if the TIOCGPTN ioctl fails with an error different than
48953         EINVAL.
48954         * login/tst-ptsname.c: New file.
48955         * login/Makefile (tests): Add tst-ptsname.
48957         [BZ #16943]
48958         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
48959         and prlimit64.
48961 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48963         [BZ #16849]
48964         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
48965         herrno to return EAI_AGAIN.
48967 2014-05-14  Roland McGrath  <roland@hack.frob.com>
48969         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
48970         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
48971         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
48972         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
48973         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
48974         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
48975         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
48976         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
48977         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
48978         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
48979         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
48980         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
48981         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
48982         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
48983         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
48984         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
48985         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
48986         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
48987         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
48988         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
48989         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
48990         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
48991         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
48992         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
48993         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
48994         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
48995         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
48996         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
48997         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
48998         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
48999         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
49000         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
49001         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
49002         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
49003         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
49004         Moved ...
49005         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
49006         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
49007         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
49008         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
49009         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
49010         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
49011         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
49012         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
49013         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
49014         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
49015         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
49016         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
49017         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
49018         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
49019         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
49020         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
49021         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
49022         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
49023         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
49024         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
49025         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
49026         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
49027         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
49028         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
49029         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
49030         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
49031         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
49032         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
49033         Moved ...
49034         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
49035         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
49036         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
49037         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
49038         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
49039         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
49040         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
49041         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
49042         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
49043         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
49044         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
49045         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
49046         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
49047         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
49048         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
49049         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
49050         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
49051         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
49052         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
49053         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
49054         Moved ...
49055         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
49056         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
49057         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
49059         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
49060         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
49061         (libpthread-sysdep_routines): Add elision-related stuff here instead.
49062         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
49063         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
49064         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
49065         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
49066         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
49067         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
49068         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
49069         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
49070         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
49071         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
49072         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
49073         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
49074         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
49075         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
49076         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
49077         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
49078         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
49079         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
49080         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
49081         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
49082         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
49083         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
49084         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
49085         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
49086         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
49087         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
49088         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
49089         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
49091         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
49092         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
49094         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
49095         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
49096         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
49097         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
49098         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
49099         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
49100         Moved ...
49101         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
49102         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
49103         Moved ...
49104         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
49105         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
49106         Moved ...
49107         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
49108         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
49109         Moved ...
49110         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
49111         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
49112         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
49113         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
49114         Moved ...
49115         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
49116         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
49117         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
49118         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
49119         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
49120         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
49121         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
49122         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
49123         Moved ...
49124         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
49125         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
49126         Moved ...
49127         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
49128         ... here.
49129         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
49130         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
49131         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
49132         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
49133         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
49134         Moved ...
49135         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
49136         ... here.
49137         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
49138         Moved ...
49139         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
49140         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
49141         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
49142         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
49143         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
49144         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
49145         Moved ...
49146         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
49147         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
49148         Moved ...
49149         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
49150         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
49151         Moved ...
49152         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
49153         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
49154         Moved ...
49155         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
49156         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
49157         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
49158         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
49159         Moved ...
49160         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
49161         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
49162         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
49163         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
49164         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
49165         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
49166         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
49167         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
49168         Moved ...
49169         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
49170         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
49171         Moved ...
49172         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
49173         ... here.
49174         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
49175         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
49176         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
49177         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
49178         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
49179         Moved ...
49180         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
49181         ... here.
49182         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
49183         Moved ...
49184         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
49185         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
49186         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
49187         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
49188         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
49189         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
49190         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
49191         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
49192         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
49193         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
49194         Moved ...
49195         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
49196         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
49197         Moved ...
49198         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
49199         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
49200         Moved ...
49201         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
49202         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
49203         Moved ...
49204         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
49205         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
49206         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
49207         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
49208         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
49209         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
49210         Moved ...
49211         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
49212         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
49213         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
49214         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
49215         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
49216         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
49217         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
49218         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
49219         Moved ...
49220         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
49221         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
49222         Moved ...
49223         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
49224         ... here.
49225         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
49226         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
49227         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
49228         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
49229         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
49230         Moved ...
49231         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
49232         ... here.
49233         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
49234         Moved ...
49235         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
49236         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
49237         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
49238         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
49239         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
49240         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
49241         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
49242         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
49243         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
49244         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
49245         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
49247         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
49248         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
49250         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
49251         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
49253         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
49254         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
49255         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
49256         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
49257         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
49258         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
49259         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
49260         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
49261         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
49262         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
49263         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
49264         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
49265         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
49266         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
49267         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
49268         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
49269         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
49270         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
49271         Moved ...
49272         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
49273         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
49274         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
49275         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
49276         Moved ...
49277         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
49278         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
49279         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
49280         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
49281         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
49282         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
49283         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
49284         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
49285         Moved ...
49286         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
49287         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
49288         Moved ...
49289         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
49290         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
49291         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
49292         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
49293         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
49294         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
49295         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
49296         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
49297         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
49298         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
49299         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
49300         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
49301         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
49302         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
49303         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
49304         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
49305         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
49307         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
49308         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
49309         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
49310         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
49311         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
49313         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
49314         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
49315         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
49316         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
49317         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
49318         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
49319         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
49320         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
49321         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
49322         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
49324         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
49325         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
49327         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
49328         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
49329         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
49330         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
49331         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
49332         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
49333         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
49334         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
49335         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
49336         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
49337         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
49338         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
49339         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
49340         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
49341         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
49342         Update #include.
49343         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
49344         Likewise.
49345         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
49346         Likewise.
49347         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
49348         Likewise.
49349         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
49350         Likewise.
49351         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
49352         Likewise.
49353         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
49354         Likewise.
49355         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
49356         Likewise.
49357         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
49358         Likewise.
49359         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
49360         Likewise.
49361         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
49362         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
49363         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
49364         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
49365         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
49366         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
49367         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
49368         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
49369         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
49370         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
49371         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
49372         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
49373         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
49374         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
49375         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
49377         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
49378         that was previously under [RESET_PID].
49379         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
49380         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
49381         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
49383         * sysdeps/i386/nptl/Implies: New file.
49384         * sysdeps/x86_64/nptl/Implies: New file.
49385         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
49386         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
49387         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
49388         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
49390         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
49391         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
49392         (__libc_vfork): New strong alias.
49393         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
49394         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
49396         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
49397         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
49398         (__libc_vfork): New strong alias.
49399         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
49400         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
49402         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
49403         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
49404         (__libc_vfork): New strong alias.
49405         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
49406         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
49407         * nptl/pt-vfork.c: New file.
49408         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
49409         (libpthread: GLIBC_2.20): New version set (empty).
49411 2014-05-14  Will Newton  <will.newton@linaro.org>
49413         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
49414         rather than #if.
49416 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
49418         [BZ #16564]
49419         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
49420         arguments with exponent 65 or above.
49421         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
49422         arguments 0x1p113L or above.
49423         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
49424         to arguments 0x1p107L or above.
49425         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
49426         positive arguments with exponent 65 or above.
49427         * math/auto-libm-test-in: Add more tests of log1p.
49428         * math/auto-libm-test-out: Regenerated.
49430         [BZ #16928]
49431         * math/s_cacos.c (__cacos): Ensure zero real part of result from
49432         non-finite arguments is +0.
49433         * math/s_cacosf.c (__cacosf): Likewise.
49434         * math/s_cacosl.c (__cacosl): Likewise.
49435         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
49436         * sysdeps/i386/fpu/libm-test-ulps: Update.
49437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49439         [BZ #16927]
49440         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
49441         value.
49442         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
49443         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
49444         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
49445         for explicit high bit of mantissa when testing for argument equal
49446         to 1.
49447         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
49448         * sysdeps/i386/fpu/libm-test-ulps: Update.
49449         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49451         [BZ #16516]
49452         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
49453         (__erf): Scale by 16 instead of 8 in potentially underflowing
49454         case.  Ensure exception if result actually underflows.
49455         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
49456         (__erff): Scale by 16 instead of 8 in potentially underflowing
49457         case.  Ensure exception if result actually underflows.
49458         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
49459         (efx8): Remove variable.
49460         (__erfl): Scale by 16 instead of 8 in potentially underflowing
49461         case.  Ensure exception if result actually underflows.
49462         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
49463         (efx8): Remove variable.
49464         (__erfl): Scale by 16 instead of 8 in potentially underflowing
49465         case.  Ensure exception if result actually underflows.
49466         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
49467         (efx8): Remove variable.
49468         (__erfl): Scale by 16 instead of 8 in potentially underflowing
49469         case.  Ensure exception if result actually underflows.
49470         * math/auto-libm-test-in: Add more tests of erf.
49471         * math/auto-libm-test-out: Regenerated.
49473 2014-05-14  Andreas Schwab  <schwab@suse.de>
49475         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
49476         Remove code conditionalized on USE___THREAD.
49478         * config.h.in (HAVE_PT_CHOWN): Define as 0.
49479         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
49480         not definedness.
49482 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
49484         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
49485         Define unconditionally.
49486         (__ASSUME_O_CLOEXEC): Likewise.
49487         (__ASSUME_SOCK_CLOEXEC): Likewise.
49488         (__ASSUME_IN_NONBLOCK): Likewise.
49489         (__ASSUME_PIPE2): Likewise.
49490         (__ASSUME_EVENTFD2): Likewise.
49491         (__ASSUME_SIGNALFD4): Likewise.
49492         (__ASSUME_DUP3): Likewise.
49493         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
49494         (__ASSUME_DUP3): Do not define.
49495         (__ASSUME_EVENTFD2): Likewise.
49496         (__ASSUME_IN_NONBLOCK): Likewise.
49497         (__ASSUME_O_CLOEXEC): Likewise.
49498         (__ASSUME_PIPE2): Likewise.
49499         (__ASSUME_SIGNALFD4): Likewise.
49500         (__ASSUME_SOCK_CLOEXEC): Likewise.
49501         (__ASSUME_UTIMES): Undefine.
49502         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
49503         (__ASSUME_UTIMES): Do not define.
49504         (__ASSUME_O_CLOEXEC): Likewise.
49505         (__ASSUME_SOCK_CLOEXEC): Likewise.
49506         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
49507         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
49508         0x020621].
49509         (__ASSUME_PIPE2): Likewise.
49510         (__ASSUME_EVENTFD2): Likewise.
49511         (__ASSUME_SIGNALFD4): Likewise.
49512         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
49513         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
49514         Do not define.
49515         (__ASSUME_EVENTFD2): Likewise.
49516         (__ASSUME_SIGNALFD4): Likewise.
49517         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
49518         (__ASSUME_32BITUIDS): Likewise.
49519         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
49520         (__ASSUME_IPC64): Likewise.
49521         (__ASSUME_ST_INO_64_BIT): Likewise.
49522         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
49523         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
49524         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
49525         (__ASSUME_UTIMES): Do not define.
49526         (__ASSUME_PSELECT): Likewise.
49527         (__ASSUME_PPOLL): Likewise.
49528         (__ASSUME_O_CLOEXEC): Likewise.
49529         (__ASSUME_SOCK_CLOEXEC): Likewise.
49530         (__ASSUME_IN_NONBLOCK): Likewise.
49531         (__ASSUME_PIPE2): Likewise.
49532         (__ASSUME_EVENTFD2): Likewise.
49533         (__ASSUME_SIGNALFD4): Likewise.
49534         (__ASSUME_DUP3): Likewise.
49535         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
49536         (__ASSUME_UTIMES): Likewise.
49537         (__ASSUME_O_CLOEXEC): Likewise.
49538         (__ASSUME_SOCK_CLOEXEC): Likewise.
49539         (__ASSUME_IN_NONBLOCK): Likewise.
49540         (__ASSUME_PIPE2): Likewise.
49541         (__ASSUME_EVENTFD2): Likewise.
49542         (__ASSUME_SIGNALFD4): Likewise.
49543         (__ASSUME_DUP3): Likewise.
49544         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
49545         (__ASSUME_UTIMES): Likewise.
49546         (__ASSUME_O_CLOEXEC): Likewise.
49547         (__ASSUME_SOCK_CLOEXEC): Likewise.
49548         (__ASSUME_IN_NONBLOCK): Likewise.
49549         (__ASSUME_PIPE2): Likewise.
49550         (__ASSUME_EVENTFD2): Likewise.
49551         (__ASSUME_SIGNALFD4): Likewise.
49552         (__ASSUME_DUP3): Likewise.
49553         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
49554         Likewise.
49555         (__ASSUME_UTIMES): Likewise.
49556         (__ASSUME_EVENTFD2): Likewise.
49557         (__ASSUME_SIGNALFD4): Likewise.
49558         * sysdeps/unix/sysv/linux/tile/kernel-features.h
49559         (__ASSUME_O_CLOEXEC): Likewise.
49560         (__ASSUME_SOCK_CLOEXEC): Likewise.
49561         (__ASSUME_IN_NONBLOCK): Likewise.
49562         (__ASSUME_PIPE2): Likewise.
49563         (__ASSUME_EVENTFD2): Likewise.
49564         (__ASSUME_SIGNALFD4): Likewise.
49565         (__ASSUME_DUP3): Likewise.
49566         (__ASSUME_UTIMES): Undefine.
49568         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
49569         feclearexcept.  Remove symbol versioning code.
49570         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
49571         symbol versioning code.
49572         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
49573         symbol versioning code.
49574         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
49575         feupdateenv.  Remove symbol versioning code.
49576         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
49577         fegetexceptflag.  Remove symbol versioning code.
49578         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
49579         fesetexceptflag.  Remove symbol versioning code.
49580         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
49581         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
49582         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
49583         (__posix_fadvise64_l32): Remove prototype.
49584         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
49585         code.
49587 2014-05-13  Roland McGrath  <roland@hack.frob.com>
49589         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
49590         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
49591         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
49592         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
49594 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
49596         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
49597         current working directory
49599 2014-05-13  Roland McGrath  <roland@hack.frob.com>
49601         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
49602         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
49603         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
49604         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
49605         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
49606         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
49607         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
49608         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
49609         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
49610         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
49611         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
49612         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
49613         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
49614         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
49615         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
49616         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
49617         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
49618         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
49619         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
49620         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
49621         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
49622         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
49623         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
49624         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
49625         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
49626         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
49627         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
49628         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
49629         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
49630         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
49631         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
49632         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
49633         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
49634         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
49635         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
49636         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
49637         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
49638         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
49639         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
49640         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
49641         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
49642         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
49644         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
49645         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
49647         * sysdeps/unix/sysv/linux/arm/Makefile
49648         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
49649         Add rt-aeabi_unwind_cpp_pr1.
49650         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
49651         Add nptl-aeabi_unwind_cpp_pr1.
49652         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
49653         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
49654         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
49655         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
49656         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
49657         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
49659         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
49660         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
49661         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
49662         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
49664         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
49665         Deconditionalize the code that was previously under [RESET_PID].
49666         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
49668         * sysdeps/generic/exit-thread.h: New file.
49669         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
49670         * include/unistd.h (__exit_thread): Remove declaration.
49671         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
49672         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
49673         * csu/libc-start.c: Include <exit-thread.h>.
49674         (LIBC_START_MAIN): Pass no argument to __exit_thread.
49675         * nptl/pthread_create.c: Include <exit-thread.h>.
49676         (start_thread): Call __exit_thread in place of __exit_thread_inline.
49677         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
49678         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
49679         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
49680         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
49681         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
49682         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
49683         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
49684         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
49685         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
49686         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
49687         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
49688         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
49689         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
49690         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
49691         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
49692         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
49694 2014-05-13  Andreas Schwab  <schwab@suse.de>
49696         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
49698 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
49700         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
49701         (__ASSUME_UTIMES): Do not condition on kernel version.
49702         (__ASSUME_PSELECT): Define unconditionally.
49703         (__ASSUME_PPOLL): Likewise.
49704         (__ASSUME_ATFCTS): Likewise.
49705         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
49706         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
49707         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
49708         (__ASSUME_UTIMENSAT): Define unconditionally.
49709         (__ASSUME_PRIVATE_FUTEX): Likewise.
49710         (__ASSUME_FALLOCATE): Likewise.
49711         (__ASSUME_O_CLOEXEC): Likewise.
49712         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
49713         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
49714         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
49715         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
49716         (__ASSUME_IN_NONBLOCK): Likewise.
49717         (__ASSUME_PIPE2): Likewise.
49718         (__ASSUME_EVENTFD2): Likewise.
49719         (__ASSUME_SIGNALFD4): Likewise.
49720         (__ASSUME_DUP3): Likewise.
49721         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
49722         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
49723         (__ASSUME_AT_RANDOM): Likewise.
49724         (__ASSUME_PREADV): Likewise.
49725         (__ASSUME_PWRITEV): Likewise.
49726         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
49727         (__ASSUME_F_GETOWN_EX): Define unconditionally.
49728         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
49729         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
49730         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
49731         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
49732         (__ASSUME_O_CLOEXEC): Define unconditionally.
49733         (__ASSUME_PSELECT): Do not undefine conditionally.
49734         (__ASSUME_PPOLL): Likewise.
49735         (__ASSUME_ATFCTS): Likewise.
49736         (__ASSUME_SET_ROBUST_LIST): Likewise.
49737         (__ASSUME_UTIMENSAT): Likewise.
49738         (__ASSUME_FDATASYNC): Define unconditionally.
49739         * sysdeps/unix/sysv/linux/arm/kernel-features.h
49740         (__ASSUME_SIGFRAME_V2): Likewise.
49741         )__ASSUME_EVENTFD2): Likewise.
49742         (__ASSUME_SIGNALFD4): Likewise.
49743         (__ASSUME_PSELECT): Do not undefine conditionally.
49744         (__ASSUME_PPOLL): Likewise.
49745         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
49746         (__ASSUME_PSELECT): Define unconditionally.
49747         (__ASSUME_PPOLL): Likewise.
49748         (__ASSUME_O_CLOEXEC): Likewise.
49749         (__ASSUME_SOCK_CLOEXEC): Likewise.
49750         (__ASSUME_IN_NONBLOCK): Likewise.
49751         (__ASSUME_PIPE2): Likewise.
49752         (__ASSUME_EVENTFD2): Likewise.
49753         (__ASSUME_SIGNALFD4): Likewise.
49754         (__ASSUME_DUP3): Likewise.
49755         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
49756         (__ASSUME_O_CLOEXEC): Likewise.
49757         (__ASSUME_SOCK_CLOEXEC): Likewise.
49758         (__ASSUME_IN_NONBLOCK): Likewise.
49759         (__ASSUME_PIPE2): Likewise.
49760         (__ASSUME_EVENTFD2): Likewise.
49761         (__ASSUME_SIGNALFD4): Likewise.
49762         (__ASSUME_DUP3): Likewise.
49763         * sysdeps/unix/sysv/linux/mips/kernel-features.h
49764         (__ASSUME_EVENTFD2): Likewise.
49765         (__ASSUME_SIGNALFD4): Likewise.
49766         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
49768 2014-05-12  Andreas Schwab  <schwab@suse.de>
49770         [BZ #16932]
49771         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
49772         (_nss_nis_gethostbyname4_r): Return error if item length is larger
49773         than maximum RPC packet size.
49774         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
49775         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
49776         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
49777         (_nss_nis_getservbyport_r): Likewise.
49779 2014-05-12  Will Newton  <will.newton@linaro.org>
49781         * malloc/Makefile (tests): Add tst-mallopt.
49782         * malloc/tst-mallopt.c: New file.
49784 2014-05-09  Roland McGrath  <roland@hack.frob.com>
49786         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
49787         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
49789 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49791         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
49792         (tst-tlsmod6.so): Likewise.
49794 2014-05-09  Roland McGrath  <roland@hack.frob.com>
49796         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
49798 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
49800         [BZ #16064]
49801         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
49802         and <dl-procinfo.h>.
49803         (__fegetenv): Save SSE state in envp->__eip if supported.
49804         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
49805         envp->__eip if supported.
49806         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
49807         and <dl-procinfo.h>.
49808         (__fesetenv): Always set __eip, __cs_selector, __opcode,
49809         __data_offset and __data_selector in environment to 0.  Set SSE
49810         state if supported.
49811         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
49812         test-fenv-sse.
49813         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
49814         -mfpmath=sse.
49815         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
49817 2014-05-09  Will Newton  <will.newton@linaro.org>
49819         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
49820         and libc_relro_required for ARM.
49821         * sysdeps/arm/preconfigure: Regenerate.
49823 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
49824             Stefan Liebler  <stli@linux.vnet.ibm.com>
49826         * config.make.in (enable-lock-elision): New Makefile variable.
49827         * configure.ac: Likewise.
49828         * configure: Regenerate.
49829         * sysdeps/s390/configure.ac:
49830         Add check for gcc transactions support.
49831         * sysdeps/s390/configure: Regenerate.
49832         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
49833         Build elision files if enabled.
49834         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
49835         Add lock elision support for s390.
49836         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
49837         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
49838         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
49839         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
49840         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
49841         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
49842         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
49843         Likewise.
49844         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
49845         Likewise.
49846         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
49847         Likewise.
49848         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
49849         Likewise.
49850         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
49851         (__lll_timedlock_elision, __lll_lock_elision)
49852         (__lll_unlock_elision, __lll_trylock_elision)
49853         (lll_timedlock_elision, lll_lock_elision)
49854         (lll_unlock_elision, lll_trylock_elision): Add.
49855         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
49856         (pthread_mutex_t): Add lock elision support for s390.
49858 2014-05-14  Wilco  <wdijkstr@arm.com>
49860         * sysdeps/arm/fclrexcpt.c: Cleanup.
49861         * sysdeps/arm/fedisblxcpt.c: Cleanup.
49862         * sysdeps/arm/feenablxcpt.c: Cleanup.
49863         * sysdeps/arm/fegetenv.c: Cleanup.
49864         * sysdeps/arm/fegetexcept.c: Cleanup.
49865         * sysdeps/arm/fegetround.c: Cleanup.
49866         * sysdeps/arm/feholdexcpt.c: Cleanup.
49867         * sysdeps/arm/fesetenv.c: Cleanup.
49868         * sysdeps/arm/fesetround.c: Cleanup.
49869         * sysdeps/arm/feupdateenv.c: Cleanup.
49870         * sysdeps/arm/fgetexcptflg.c: Cleanup.
49871         * sysdeps/arm/fraiseexcpt.c: Cleanup.
49872         * sysdeps/arm/fsetexcptflg.c: Cleanup.
49873         * sysdeps/arm/ftestexcept.c: Cleanup.
49874         * sysdeps/arm/get-rounding-mode.h: Cleanup.
49875         * sysdeps/arm/setfpucw.c: Cleanup.
49877 2014-05-09  Will Newton  <will.newton@linaro.org>
49879         * sysdeps/arm/armv7/strcmp.S: New file.
49880         * NEWS: Mention addition of ARMv7 optimized strcmp.
49882 2014-05-08  Roland McGrath  <roland@hack.frob.com>
49884         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
49885         look for %.ac rather than %.in.
49887         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
49888         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
49889         * sysdeps/mach/hurd/configure: Regenerated.
49890         * sysdeps/unix/sysv/linux/configure: Regenerated.
49892         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
49894 2014-05-07  Steve Ellcey  <sellcey@mips.com>
49896         [BZ #16922]
49897         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
49898         (LONG_SUB): Ditto.
49899         (PTR_SUB): Ditto.
49901 2014-05-07  Andreas Schwab  <schwab@suse.de>
49903         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
49904         when skipping over non-matching result from nscd.
49906 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
49908         [BZ #16876]
49909         * nptl/sockperf.c (client): Check socket return value.
49911         [BZ #16877]
49912         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
49913         nscd security class.
49915 2014-05-06  Roland McGrath  <roland@hack.frob.com>
49917         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
49918         * sysdeps/arm/unwind.h: ... here.
49920 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
49922         [BZ #16916]
49923         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
49924         Define.
49926 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
49928         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
49929         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
49930         multiarch strncpy for PPC64.
49931         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
49932         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
49933         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
49934         multiarch optimizations.
49935         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
49936         (__libc_ifunc_impl_list): Likewise.
49937         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
49938         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
49939         multiarch stpncpy for PPC64.
49940         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
49941         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
49943 2014-05-06  Andreas Schwab  <schwab@suse.de>
49945         [BZ #16912]
49946         * gmon/mcount.c (_MCOUNT_DECL): Use
49947         atomic_compare_and_exchange_bool_acq instead of
49948         catomic_compare_and_exchange_bool_acq.
49950 2014-05-05  Roland McGrath  <roland@hack.frob.com>
49952         * elf/Makefile (others, install-bin): Remove pldd.
49953         (pldd-modules): Variable removed.
49954         ($(objpfx)pldd): Target removed.
49955         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
49956         (others, install-bin): Append pldd here.
49957         ($(objpfx)pldd): New target.
49959         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
49960         to 0, so the first #if test emitted later doesn't see it undefined.
49961         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
49962         * sysdeps/gnu/errlist.c: Regenerated.
49964 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49966         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
49967         [libc_hidden_builtin_def]: Define to empty value.
49968         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
49969         [libc_hidden_builtin_def]: Likewise.
49970         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
49971         [libc_hidden_builtin_def]: Likewise.
49972         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
49973         [libc_hidden_builtin_def]: Likewise.
49974         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
49975         __redirect_memcpy and define ifunc as default hidden symbol.
49976         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
49977         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
49979 2014-05-04  Adam Conrad  <adconrad@0c3.net>
49981         * locale/iso-4217.def: Reintroduce XDR currency.
49983 2014-05-04  Allan McRae  <allan@archlinux.org>
49985         * po/eo.po: Update Esperanto translation from translation project.
49987 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
49989         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
49990         and FEATURE_INDEX_MAX to 1.
49991         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
49993 2014-05-01  Steve Ellcey  <sellcey@mips.com>
49995         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
49996         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
49997         * iconvdata/big5.c (ONE_DIRECTION): Define.
49998         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
49999         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
50000         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
50001         * iconvdata/cp932.c (ONE_DIRECTION): Define.
50002         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
50003         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
50004         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
50005         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
50006         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
50007         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
50008         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
50009         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
50010         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
50011         * iconvdata/gbk.c (ONE_DIRECTION): Define.
50012         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
50013         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
50014         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
50015         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
50016         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
50017         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
50018         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
50019         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
50020         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
50021         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
50022         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
50023         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
50024         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
50025         * iconvdata/iso646.c (ONE_DIRECTION): Define.
50026         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
50027         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
50028         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
50029         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
50030         * iconvdata/johab.c (ONE_DIRECTION): Define.
50031         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
50032         * iconvdata/sjis.c (ONE_DIRECTION): Define.
50033         * iconvdata/t.61.c (ONE_DIRECTION): Define.
50034         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
50035         * iconvdata/tscii.c (ONE_DIRECTION): Define.
50036         * iconvdata/uhc.c (ONE_DIRECTION): Define.
50037         * iconvdata/unicode.c (ONE_DIRECTION): Define.
50038         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
50039         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
50040         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
50042 2014-05-01  Roland McGrath  <roland@hack.frob.com>
50044         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
50045         (_IO_JUMPS_OFFSET): Define to 0.
50047         * nptl/sysdeps/pthread/bits/libc-lock.h
50048         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
50049         (__libc_lock_define_initialized_recursive): Always define using
50050         initializer.  Modern compilers treat uninitialized (implicit zero) and
50051         explicit zero initializers the same (i.e. put the datum in bss).
50053 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
50055         * nscd/nscd-client.h: Include <string.h>.
50057 2014-05-01  David S. Miller  <davem@davemloft.net>
50059         [BZ #16885]
50060         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
50061         multiple zero bytes exist at the end of a string.
50062         Reported by Aurelien Jarno <aurelien@aurel32.net>
50064         * string/test-strcmp.c (check): Add explicit test for situations where
50065         there are multiple zero bytes after the first.
50067 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
50069         [BZ #16890]
50070         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
50071         when compiling wprintf.
50072         * stdio-common/tstdiomisc.c (t3): New function.
50073         (main): Call it.
50075 2014-05-01  Steve Ellcey  <sellcey@mips.com>
50077         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
50078         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
50079         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
50080         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
50082 2014-05-01  Steve Ellcey  <sellcey@mips.com>
50084         * stdlib/longlong.h: Updated from GCC.
50086 2014-05-01  Will Newton  <will.newton@linaro.org>
50087             Bernard Ogden  <bernie.ogden@linaro.org>
50089         * NEWS: Update fixed bug list.
50091         [BZ #15119]
50092         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
50094 2014-04-30  David S. Miller  <davem@davemloft.net>
50096         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
50097         (libc_feholdexcept_setround_sparc_ctx): New function.
50098         (libc_fesetenv_sparc_ctx): Likewise.
50099         (libc_feupdateenv_sparc_ctx): Likewise.
50100         (libc_feholdsetround_sparc_ctx): Likewise.
50101         (libc_feholdexcept_setround_ctx): Define.
50102         (libc_feholdexcept_setroundf_ctx): Likewise.
50103         (libc_feholdexcept_setroundl_ctx): Likewise.
50104         (libc_fesetenv_ctx): Likewise.
50105         (libc_fesetenvf_ctx): Likewise.
50106         (libc_fesetenvl_ctx): Likewise.
50107         (libc_feupdateenv_ctx): Likewise.
50108         (libc_feupdateenvf_ctx): Likewise.
50109         (libc_feupdateenvl_ctx): Likewise.
50110         (libc_feresetround_ctx): Likewise.
50111         (libc_feresetroundf_ctx): Likewise.
50112         (libc_feresetroundl_ctx): Likewise.
50113         (libc_feholdsetround_ctx): Likewise.
50114         (libc_feholdsetroundf_ctx): Likewise.
50115         (libc_feholdsetroundl_ctx): Likewise.
50117         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
50118         with __USE_GNU instead of XOPEN cpp guards.
50120         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
50121         0.
50123         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
50124         with XOPEN cpp guards.
50126 2014-04-30  Julian Brown  <julian@codesourcery.com>
50128         [BZ #16888]
50129         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
50130         handling.
50132 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
50134         [BZ #9894]
50135         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
50136         Change to 2.6.32.
50137         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
50138         * sysdeps/unix/sysv/linux/configure: Regenerated.
50139         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
50140         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
50141         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
50142         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
50143         * README: Update reference to required Linux kernel version.
50144         * manual/install.texi (Linux): Update reference to required Linux
50145         kernel headers version.
50146         * INSTALL: Regenerated.
50148         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
50149         header inclusion.
50150         [POSIX] (limits.h): Likewise.
50151         [POSIX] (math.h): Likewise.
50152         [POSIX] (sys/wait.h): Likewise.
50153         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
50154         function.
50155         [POSIX] (stddef.h): Do not allow header inclusion.
50157 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50159         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
50161 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
50163         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
50164         Return immediately after lll_futex_wake.
50166 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
50168         [BZ #16791]
50169         * nscd/nscd-client.h (datahead_init_common): Initialize entire
50170         structure.
50171         (datahead_init_pos): Call datahead_init_common early.
50172         (datahead_init_neg): Likewise.
50174         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
50175         datahead_init_neg): New functions.
50176         * nscd/aicache.c (addhstaiX): Use them.
50177         * nscd/grpcache.c (cache_addgr): Likewise.
50178         * nscd/hstcache.c (cache_addhst): Likewise.
50179         * nscd/initgrcache.c (addinitgroupsX): Likewise.
50180         * nscd/netgroupcache.c (do_notfound): Likewise.
50181         (addgetnetgrentX): Likewise.
50182         (addinnetgrX): Likewise.
50183         * nscd/pwdcache.c (cache_addpw): Likewise.
50184         * nscd/servicescache.c (cache_addserv): Likewise.
50186 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
50187             Atsushi Onoe  <atsushi@onoe.org>
50189         [BZ #14308]
50190         [BZ #12994]
50191         [BZ #13651]
50192         * resolv/res_query.c (__libc_res_nsearch): Return if at least
50193         one response is valid.
50194         * resolv/res_send.c (send_dg): Check for validity of other
50195         response if the current response is a referral.
50197 2014-04-29  Steve Ellcey  <sellcey@mips.com>
50199         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
50201 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
50203         [BZ #16823]
50204         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
50205         Always divide by positive zero when computing -Inf result.
50206         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
50207         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
50209 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50211         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
50212         FPSCR if value do not change.
50213         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
50214         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
50215         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
50216         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
50217         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
50218         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
50219         function.
50221 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
50223         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
50224         * sysdeps/unix/sysv/linux/hppa: Move directory from
50225         ports/systeps/unix/sysv/linux/hppa.
50226         * README: Update listing for hppa-*-linux-gnu.
50228 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
50230         [BZ #16754]
50231         * manual/stdio.texi (Hook functions): Fix types of stream hook
50232         functions.
50233         [BZ #16854]
50234         * socket/sys/socket.h: Fix typo in comment.
50236 2014-04-28  Wilco  <wdijkstr@arm.com>
50238         * sysdeps/arm/fenv_private.h: New file.
50239         * sysdeps/arm/math_private.h: New file.
50240         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
50242 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
50244         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
50245         with __int128_t.
50246         (La_x86_64_retval): Likewise.
50248 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
50250         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
50251         fpsr if value didn't change.
50252         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
50253         to fpcr if value didn't change.
50254         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
50255         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
50256         fpsr or fpcr if value didn't change.
50257         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
50258         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
50259         fpcr if value didn't change.
50260         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
50261         to fpsr if value didn't change.
50263 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
50265         * nptl/tst-sem3.c: Use test-skeleton.c
50266         (main): Rename to do_test.  Use return instead of
50267         exit.
50268         * nptl/tst-sem4.c: Use test-skeleton.c
50269         (main): Rename to do_test.
50271 2014-04-22  David S. Miller  <davem@davemloft.net>
50273         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
50274         (struct sigaction): New struct member __glibc_reserved0, change
50275         type of sa_flags to int.
50277 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
50279         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
50280         (COUNT_LEADING_ZEROS_0): Define for AArch64.
50282 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
50284         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
50285         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
50287 2014-04-22  Will Newton  <will.newton@linaro.org>
50288             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
50290         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
50291         (__longjmp): Add longjmp and longjmp_target SystemTap
50292         probes.
50293         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
50294         (__sigsetjmp): Add setjmp SystemTap probe.
50296 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
50298         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
50299         match manual order.
50301 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50303         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
50305         * sysdeps/powerpc/fpu/fenv_private.h
50306         (libc_feholdexcept_setroundl_ctx): Define to
50307         libc_feholdexcept_setround_ppc_ctx.
50308         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
50309         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
50310         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
50311         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
50313 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
50315         * sysdeps/aarch64/math-tests.h: New file.
50317 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
50319         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
50320         New.
50321         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50322         Check and set bit_AVX2_Usable.
50323         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
50324         macro.
50325         (bit_AVX2): Likewise.
50326         (index_AVX2_Usable): Likewise.
50327         (CPUID_AVX2): Likewise.
50328         (HAS_AVX2): Likewise.
50330 2014-04-17  Will Newton  <will.newton@linaro.org>
50332         * manual/setjmp.texi (System V contexts): Add note that
50333         calling setcontext on a context created by a call to a
50334         signal handler is undefined.  Update text to note that
50335         setcontext from a signal handler is possible but not
50336         recommended.
50338         [BZ #16629]
50339         * stdlib/tst-setcontext.c: Include signal.h.
50340         (main): Check that the signal stack before and
50341         after swapcontext is the same.
50343         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
50344         Re-implement to restore registers in user code and avoid
50345         rt_sigreturn system call.
50347 2014-04-17  Wilco  <wdijkstr@arm.com>
50349         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
50350         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
50351         * math/test-fenv.c: Skip exception trap tests on targets which only
50352         support non-stop mode.
50354 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
50355             Wilco Dijkstra  <wilco.dijkstra@arm.com>
50357         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
50358         (libc_feholdsetround_aarch64_ctx)
50359         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
50360         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
50361         (libc_feresetround_ctx, libc_feresetroundf_ctx)
50362         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
50363         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
50364         (libc_feresetround_noexl_ctx): Define.
50366 2014-04-16  Richard Henderson  <rth@redhat.com>
50368         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
50370         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
50371         unwind tables.
50373         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
50374         const from the non-libc, non-ldso copy.
50376         * sysdeps/alpha/libm-test-ulps: Regenerate.
50378 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
50379             Wilco Dijkstra  <wilco.dijkstra@arm.com>
50381         * sysdeps/aarch64/fpu/math_private.h: New file.
50383 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
50385         * sysdeps/aarch64/libm-test-ulps: Regenerate.
50387 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
50389         [BZ #16275]
50390         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
50391         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
50392         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
50393         Intel MPX bound registers before _dl_profile_fixup.
50394         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
50395         registers after _dl_profile_fixup.  Save and restore bound
50396         registers bnd0/bnd1 when calling _dl_call_pltexit.
50397         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
50398         (LR_BND_OFFSET): Likewise.
50399         (LRV_BND0_OFFSET): Likewise.
50400         (LRV_BND1_OFFSET): Likewise.
50402 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50404         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
50405         to...
50406         * sysdeps/mach/hurd/i386/tls.h: ... here.
50407         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
50408         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
50409         fields.
50411 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50413         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
50415 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
50417         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
50419 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
50421         [BZ #14770]
50422         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
50423         * sysdeps/s390/configure: Regenerate.
50425         [BZ #16824]
50426         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
50427         Set round-to-nearest internally to reduce error accumulation.
50429 2014-04-16  Alan Modra  <amodra@gmail.com>
50431         [BZ #16740]
50432         [BZ #16619]
50433         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
50434         * math/libm-test.inc (frexp_test_data): Add tests.
50435         * NEWS: Update fixed bug list.
50437 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50439         * benchtests/Makefile: Depend on libraries in build directory.
50440         (bench-math): Separate out math tests.
50441         (bench-pthread): Separate out pthread tests.
50442         (bench): Include math and pthread tests.
50444 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
50446         [BZ #16831]
50447         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
50448         _dl_debug_initialize.
50450         * configure.ac: Remove SELinux header check.
50451         * configure: Regenerate.
50452         * nscd/selinux.c (perms): Array of const char* to permission names.
50453         (nscd_request_avc_has_perm): Call security_deny_unknown to find
50454         default policy. Call string_to_security_class and string_to_av_perm to
50455         translate strings. Enforce default policy and call avs_has_perm with
50456         results of translated strings.
50458 2014-04-13  David S. Miller  <davem@davemloft.net>
50460         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50462 2014-04-12  Allan McRae  <allan@archlinux.org>
50464         [BZ #16838]
50465         * manual/string.texi (Collation Functions): Fix qsort argument
50466         order in example.
50467         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
50469 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
50471         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
50472         Make the test a no-op if there are no exceptions defined.
50474 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
50476         * elf/Makefile (tests): make tst-dlopen-aout conditional on
50477         enable-hardcoded-path-in-tests
50479 2014-04-11  Will Newton  <will.newton@linaro.org>
50481         * benchtests/Makefile (extra-objs): Add json-lib.o.
50482         (bench-func): Tidy up JSON output.
50483         * benchtests/bench-skeleton.c: Include json-lib.h.
50484         (main): Use JSON library functions to do output of
50485         benchmark results.
50486         * benchtests/bench-timing-type.c (main): Output the
50487         timing type simply, leaving formatting to the user.
50488         * benchtests/json-lib.c: New file.
50489         * benchtests/json-lib.h: Likewise.
50491 2014-04-11  Torvald Riegel  <triegel@redhat.com>
50493         [BZ #15215]
50494         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
50495         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
50496         memory barriers.  Add comments.
50497         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
50498         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
50499         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
50500         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
50501         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
50502         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
50504 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
50506         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
50507         * sysdeps/s390/s390-64/configure.ac: ... this ...
50508         * sysdeps/s390/configure.ac: ... to here.
50509         * sysdeps/s390/s390-32/configure: Delete file.
50510         * sysdeps/s390/s390-64/configure: Delete file.
50511         * sysdeps/s390/configure: Regenerate.
50513 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
50515         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
50517 2014-04-11  Will Newton  <will.newton@linaro.org>
50519         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
50520         to zero if it is not defined elsewhere.  (mtrim): Test
50521         the value of MALLOC_DEBUG with #if rather than #ifdef.
50523 2014-04-10 Torvald Riegel  <triegel@redhat.com>
50525         * benchtests/pthread_once-inputs: New file.
50526         * benchtests/pthread_once-source.c: New file.
50527         * benchtests/README: Update documentation.
50529 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
50530             H.J. Lu  <hongjiu.lu@intel.com>
50532         [BZ #16275]
50533         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
50534         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
50535         * sysdeps/x86_64/configure: Regenerated.
50536         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
50537         macro.
50538         (REGISTER_SAVE_RAX): Likewise.
50539         (REGISTER_SAVE_RCX): Likewise.
50540         (REGISTER_SAVE_RDX): Likewise.
50541         (REGISTER_SAVE_RSI): Likewise.
50542         (REGISTER_SAVE_RDI): Likewise.
50543         (REGISTER_SAVE_R8): Likewise.
50544         (REGISTER_SAVE_R9): Likewise.
50545         (REGISTER_SAVE_BND0): Likewise.
50546         (REGISTER_SAVE_BND1): Likewise.
50547         (REGISTER_SAVE_BND2): Likewise.
50548         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
50549         bound registers when calling _dl_fixup.
50551 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50553         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
50554         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
50555         of its definition.
50556         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
50557         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
50558         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
50559         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
50560         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
50561         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
50562         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
50564 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
50566         [BZ #15514]
50567         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
50568         pathconf(_PC_NAME_MAX).
50570 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50572         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
50573         Remove macro usage.
50574         (__PTHREAD_SPINS): Move definition to ...
50575         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
50576         (__PTHREAD_SPINS): ... here.
50577         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
50578         (__PTHREAD_SPIN): Likewise.
50579         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
50580         (__PTHREAD_SPIN): Likewise.
50581         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
50582         (__PTHREAD_SPIN): Likewise.
50583         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
50584         (__PTHREAD_SPIN): Likewise.
50585         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
50586         (__PTHREAD_SPIN): Likewise.
50587         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
50588         (__PTHREAD_SPIN): Likewise.
50589         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
50590         (__PTHREAD_SPIN): Likewise.
50591         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
50592         (__PTHREAD_SPIN): Likewise.
50593         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
50594         (__PTHREAD_SPIN): Likewise.
50595         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
50596         (__PTHREAD_SPIN): Likewise.
50597         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
50598         (__PTHREAD_SPIN): Likewise.
50599         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
50600         (__PTHREAD_SPIN): Likewise.
50602         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
50603         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
50604         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
50605         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
50606         imply folder.
50607         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
50608         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
50609         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
50610         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
50611         correct imply path.
50612         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
50613         strlen symbol for non multi-arch builds.
50614         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
50615         missing hidden_def and weak_alias.
50617 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
50619         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
50621 2014-04-07  Will Newton  <will.newton@linaro.org>
50623         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
50624         and contents.  [!_LIBC] Remove #ifndef and contents.
50625         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
50626         * string/memccpy.c (__memccpy): Use ANSI prototype.
50627         * string/memfrob.c (memfrob): Likewise.
50628         * string/strcoll.c (STRCOLL): Likewise.
50629         * string/strlen.c (strlen): Likewise.
50630         * string/strtok.c (STRTOK): Likewise.
50631         * string/strcat.c: Remove unused #include of memcopy.h.
50632         (strcat): Use ANSI prototype.
50633         * string/strchr.c: Remove unused #include of memcopy.h.
50634         (strchr): Use ANSI prototype.
50635         * string/strcmp.c: Remove unused #include of memcopy.h.
50636         (strcmp): Use ANSI prototype.
50637         * string/strcpy.c: Remove unused #include of memcopy.h.
50638         (strcpy): Use ANSI prototype.
50640 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50642         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
50643         * config.make.in (config-extra-cppflags): Set it from
50644         libc_extra_cppflags.
50645         * configure.ac (libc_extra_cflags): Make it accumulate over
50646         configure fragments.
50647         (libc_extra_cppflags): New flag.
50648         * configure. Regenerate.
50649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
50650         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
50651         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
50652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
50654         [BZ #16815]
50655         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
50656         result for FE_DOWNWARD rounding mode.
50657         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
50658         Likewise.
50659         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50661 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
50663         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
50664         in function argument name.
50666 2014-04-03  David Svoboda  <svoboda@cert.org>
50668         [BZ #5666]
50669         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
50670         explicitly.
50672 2014-04-03  Roland McGrath  <roland@hack.frob.com>
50674         * elf/dl-unmap-segments.h: New file.
50675         * sysdeps/generic/ldsodefs.h
50676         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
50677         * elf/dl-close.c: Include <dl-unmap-segments.h>.
50678         * elf/dl-fptr.c: Likewise.
50679         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
50680         * sysdeps/aarch64/tlsdesc.c: Likewise.
50681         * sysdeps/arm/tlsdesc.c: Likewise.
50682         * sysdeps/i386/tlsdesc.c: Likewise.
50683         * sysdeps/tile/dl-runtime.c: Likewise.
50684         * sysdeps/x86_64/tlsdesc.c: Likewise.
50685         * elf/dl-load.h: New file.
50686         * elf/dl-load.c: Include it.
50687         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
50688         Macros moved to dl-load.h.
50689         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
50690         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
50691         Use _dl_unmap_segments in place of __munmap.
50692         Break out segment-mapping loop into ...
50693         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
50695 2014-04-03  Will Newton  <will.newton@linaro.org>
50697         * elf/dl-lookup.c (do_lookup_x): Remove comment
50698         referring to nested function and move variable
50699         declarations down to before first use.
50701 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
50703         [BZ #16799]
50704         [BZ #16800]
50705         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
50706         with 0 numerator.
50707         * math/s_catanf.c (__catanf): Likewise.
50708         * math/s_catanh.c (__catanh): Likewise.
50709         * math/s_catanhf.c (__catanhf): Likewise.
50710         * math/s_catanhl.c (__catanhl): Likewise.
50711         * math/s_catanl.c (__catanl): Likewise.
50712         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
50713         by positive zero when computing -Inf result.
50714         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
50715         (catanh_test): Likewise.
50716         * sysdeps/i386/fpu/libm-test-ulps: Update.
50717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50719         [BZ #16789]
50720         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
50721         instead of using underflowing value in computing result.
50722         * math/s_clog10.c (__clog10): Likewise.
50723         * math/s_clog10f.c (__clog10f): Likewise.
50724         * math/s_clog10l.c (__clog10l): Likewise.
50725         * math/s_clogf.c (__clogf): Likewise.
50726         * math/s_clogl.c (__clogl): Likewise.
50727         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
50728         (clog10_test): Likewise.
50729         * sysdeps/i386/fpu/libm-test-ulps: Update.
50730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50732 2014-04-02  Alan Modra  <amodra@gmail.com>
50734         [BZ #16739]
50735         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
50736         output when value is near a power of two.  Use int64_t for lx and
50737         remove casts.  Use decimal rather than hex exponent constants.
50738         Don't use long double multiplication when double will suffice.
50739         * math/libm-test.inc (nextafter_test_data): Add tests.
50740         * NEWS: Add 16739 and 16786 to bug list.
50742         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
50744         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
50746 2014-04-01  Will Newton  <will.newton@linaro.org>
50748         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
50749         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
50751 2014-04-01  Florian Weimer  <fweimer@redhat.com>
50753         [BZ #13347]
50754         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
50755         * nptl/tst-setuid2.c: New file.
50756         * nptl/Makefile (xtests): Add tst-setuid2.
50758 2014-04-01  Alan Modra  <amodra@gmail.com>
50760         [BZ #16786]
50761         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
50763 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
50765         [BZ #6803]
50766         [BZ #6804]
50767         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
50768         set errno as appropriate.
50769         * math/w_scalbf.c (__scalbf): Likewise.
50770         * math/w_scalbl.c (__scalbl): Likewise.
50771         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
50772         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
50773         * math/libm-test.inc (scalb_test_data): Add errno expectations.
50774         Add more NaN tests.
50776         [BZ #16349]
50777         * math/w_atan2.c: Include <errno.h>.
50778         (__atan2): Set errno for result underflowing to zero.
50779         * math/w_atan2f.c: Include <errno.h>.
50780         (__atan2f): Set errno for result underflowing to zero.
50781         * math/w_atan2l.c: Include <errno.h>.
50782         (__atan2l): Set errno for result underflowing to zero.
50783         * math/auto-libm-test-in: Don't allow missing errno for some atan2
50784         tests.
50785         * math/auto-libm-test-out: Regenerated.
50787 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50789         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
50790         Encode instruction correctly in little endian.
50791         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
50792         Likewise.
50793         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
50794         Likewise.
50795         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
50796         Likewise.
50797         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
50798         Likewise.
50800 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
50802         [BZ #9894]
50803         * sysdeps/unix/sysv/linux/kernel-features.h
50804         [__sparc__ && !__arch64__ && !__sparc_v9__]
50805         (__ASSUME_SET_ROBUST_LIST): Do not define.
50806         [__sparc__ && !__arch64__ && !__sparc_v9__]
50807         (__ASSUME_FUTEX_LOCK_PI): Likewise.
50808         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
50809         Likewise.
50810         * sysdeps/unix/sysv/linux/arm/kernel-features.h
50811         (__ASSUME_FUTEX_LOCK_PI): Undefine.
50812         (__ASSUME_REQUEUE_PI): Likewise.
50813         (__ASSUME_SET_ROBUST_LIST): Likewise.
50814         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
50815         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
50816         Undefine.
50817         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50818         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
50819         Likewise.
50820         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
50821         Likewise.
50822         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
50823         Likewise.
50824         * sysdeps/unix/sysv/linux/mips/kernel-features.h
50825         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
50826         Undefine.
50827         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
50828         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
50829         Likewise.
50831         [BZ #16648]
50832         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50833         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
50834         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
50836 2014-03-31  Will Newton  <will.newton@linaro.org>
50838         * benchtests/Makefile (bench): Add ffs and ffsll to list
50839         of tests.
50840         * benchtests/ffs-inputs: New file.
50841         * benchtests/ffsll-inputs: Likewise.
50843 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
50845         [BZ #16770]
50846         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
50847         too large before casting to int.
50848         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
50849         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
50850         * math/libm-test.inc (scalb_test_data): Add more tests.
50852 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
50854         * benchtests/Makefile (DETAILED_OPT): New make option.
50855         (bench-func): Run benchmark program with -d if DETAILED_OPT is
50856         set.
50857         * benchtests/bench-skeleton.c: Include stdbool.h.
50858         (main): Store and print timings per input.
50859         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
50860         member to each argument value.
50861         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
50862         (_print_arg_data): Initialize per-input timing to 0.
50864         * benchtests/Makefile (timing-type): New binary.
50865         (bench-clean): Also remove bench-timing-type.
50866         (bench): New target for timing-type.
50867         (bench-func): Print output in JSON format.
50868         * benchtests/bench-skeleton.c (main): Print output in JSON
50869         format.
50870         * benchtests/bench-timing-type.c: New file.
50871         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
50872         (TIMING_PRINT_STATS): Remove.
50873         * benchtests/scripts/bench.py (_print_arg_data): Store variant
50874         name separately.
50876         * benchtests/bench-modf.c: Remove.
50877         * benchtests/modf-inputs: New inputs file.
50879 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
50881         [BZ #16362]
50882         * math/s_clog10.c (M_PI_LOG10E): New macro.
50883         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
50884         imaginary parts are 0.
50885         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
50886         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
50887         imaginary parts are 0.
50888         * math/s_clog10l.c (M_PI_LOG10El): New macro.
50889         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
50890         imaginary parts are 0.
50891         * math/libm-test.inc (clog10_test_data): Update expected results
50892         for when real and imaginary parts are 0.
50894 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
50896         * elf/dl-load.c: Finish conversion of __builtin_expect into
50897         __glibc_{un}likely.
50899 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
50901         [BZ #16348]
50902         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
50903         1+x for argument with exponent below -67.
50904         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
50905         Likewise.
50906         * math/auto-libm-test-in: Add more tests of exp.
50907         * math/auto-libm-test-out: Regenerated.
50909 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
50911         [BZ #16759]
50912         * inet/getnetgrent_r.c (get_nonempty_val): New function.
50913         (nscd_getnetgrent): Use it.
50915         [BZ #16760]
50916         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
50917         of stpcpy.
50919 2014-03-27  Andi Kleen  <ak@linux.intel.com>
50921         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
50922         (lll_robust_lock, lll_cond_lock, lll_timedlock)
50923         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
50924         (lll_robust_unlock): Remove out of line section. Use cfi
50925         intrinsics.
50926         (LLL_STUB_UNWIND_INFO*): Remove.
50927         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
50928         (lll_robust_lock, lll_cond_lock, lll_timedlock)
50929         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
50930         (lll_robust_unlock): Remove out of line section. Use cfi
50931         intrinsics.
50932         (LLL_STUB_UNWIND_INFO*): Remove.
50934 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
50936         [BZ #16758]
50937         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
50938         blank values.
50940 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
50942         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
50944 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
50946         [BZ #16198]
50947         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
50948         fnstenv.
50949         * math/test-fenv-preserve.c: New file.
50950         * math/Makefile (tests): Add test-fenv-preserve.
50952 2014-03-26  Will Newton <will.newton@linaro.org>
50954         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
50956 2014-03-25  Roland McGrath  <roland@hack.frob.com>
50958         * scripts/versionlist.awk: Partition the version sets and emit all
50959         GLIBC_* (sorted) before all others (sorted).
50961 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
50963         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
50964         GLIBC_2.2.5 version.
50966 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50968         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
50969         calls.
50971         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
50972         previous change.
50974         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50976 2014-03-25  Andreas Schwab  <schwab@suse.de>
50978         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
50979         label to be used after in6ailist is initialized.
50981 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50983         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
50984         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
50986 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
50988         [BZ #16357]
50989         [BZ #16599]
50990         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
50991         min_plus_half.
50992         (fp_formats): Update initializers.
50993         (init_fp_formats): Initialize new field.
50994         (output_for_one_input_case): Allow underflow for results up to
50995         min_plus_half.
50996         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
50997         * math/auto-libm-test-in: Don't mark some underflows from asin and
50998         atanh as spurious.
50999         * math/auto-libm-test-out: Regenerated.
51000         * sysdeps/i386/fpu/libm-test-ulps: Update.
51001         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51003 2014-03-25  Andreas Schwab  <schwab@suse.de>
51005         * libio/Makefile (tst-ftell-partial-wide-ENV)
51006         (tst-ftell-active-handler-ENV): Define.
51008 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
51010         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
51012 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
51014         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
51016 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
51018         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
51019         * sysdeps/x86_64/fpu/multiarch/e_exp.c
51020         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
51022 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
51024         [BZ #16634]
51025         * elf/dl-load.c (open_verify): Add mode parameter.
51026         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
51027         (open_path): Change from boolean 'secure' to complete flag 'mode'
51028         (_dl_map_object): Adjust.
51029         * elf/Makefile (tests): Add tst-dlopen-aout.
51030         * elf/tst-dlopen-aout.c: New test.
51032 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
51034         [BZ #16714]
51035         * sysdeps/unix/sysv/linux/s390/bits/stat.h
51036         (struct stat): Rename member pad0 to __glibc_reserved0.
51038         [BZ #16712]
51039         * sysdeps/s390/s390-32/bits/wordsize.h
51040         (__WORDSIZE32_SIZE_ULONG): New define.
51041         * sysdeps/s390/s390-64/bits/wordsize.h
51042         (__WORDSIZE32_SIZE_ULONG): Likewise.
51043         * sysdeps/generic/stdint.h (SIZE_MAX):
51044         Define as UL if __WORDSIZE32_SIZE_ULONG.
51046         [BZ #16713]
51047         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
51048         (__glibc_reserved0): New variable.
51049         (sa_flags): Change type to int.
51051         * posix/Makefile (before-compile): Use += before-compile instead
51052         of a :=.
51054         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
51055         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
51057 2014-03-20  Andreas Schwab  <schwab@suse.de>
51059         [BZ #16743]
51060         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
51061         non-matching result from nscd.
51063 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
51065         * scripts/bench.py: Moved to ...
51066         * benchtests/scripts/bench.py: ... here.
51067         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
51069 2014-03-24  Andreas Schwab  <schwab@suse.de>
51071         [BZ #16002]
51072         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
51073         alloca_account and account alloca use for struct in6ailist.
51075 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
51077         [BZ #16284]
51078         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
51079         rounding mode to recompute results that overflow to infinity or
51080         underflow to zero.
51081         * math/auto-libm-test-in: Don't mark tests as expected to fail for
51082         bug 16284.
51083         * math/auto-libm-test-out: Regenerated.
51084         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
51085         (ccosh_test): Likewise.
51086         (csin_test_data): Use plus_oflow.
51087         (csin_test): Use ALL_RM_TEST.
51088         (csinh_test_data): Use plus_oflow.
51089         (csinh_test): Use ALL_RM_TEST.
51090         * sysdeps/i386/fpu/libm-test-ulps: Update.
51091         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51093 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
51095         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
51096         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
51097         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
51099         [BZ #16731]
51100         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
51101         when x - 1 is zero.
51102         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
51103         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
51104         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
51105         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
51106         argument is 1.
51107         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
51108         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
51109         zero.
51110         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
51111         * sysdeps/i386/fpu/libm-test-ulps: Update.
51112         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51114 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51116         * scripts/bench.pl: Remove file.
51117         * scripts/bench.py: New benchmark script.
51118         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
51119         * benchtests/README: Mention python dependency.
51120         * scripts/pylintrc: New file.
51121         * scripts/pylint: New file.
51123         * bits/mathdef.h: Use #ifdef instead of #if.
51124         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
51125         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
51126         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
51127         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
51128         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
51129         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
51131 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51132             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
51134         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
51135         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
51136         and strpbrk-ppc64 objects.
51137         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51138         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
51139         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
51140         multiarch strpbrk for POWER7.
51141         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
51142         multiarch strpbrk for PPC64.
51143         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
51144         ifunc selector.
51145         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
51146         strpbrk for POWER7.
51148 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
51150         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
51151         (atan_test): Likewise.
51152         (atanh_test_data): Use NO_TEST_INLINE for two tests.
51153         (atanh_test): Use ALL_RM_TEST.
51154         (atan2_test_data): Likewise.
51155         (cabs_test): Likewise.
51156         (cacosh_test): Likewise.
51157         (carg_test): Likewise.
51158         (casin_test): Likewise.
51159         (casinh_test): Likewise.
51160         (cbrt_test): Likewise.
51161         (csqrt_test): Likewise.
51162         (erf_test): Likewise.
51163         (erfc_test): Likewise.
51164         (pow10_test): Likewise.
51165         (exp2_test): Likewise.
51166         (hypot_test): Likewise.
51167         (j0_test): Likewise.
51168         (j1_test): Likewise.
51169         (lgamma_test): Likewise.
51170         (gamma_test): Likewise.
51171         (sincos_test): Likewise.
51172         (tanh_test): Likewise.
51173         (y0_test): Likewise.
51174         (y1_test): Likewise.
51175         * sysdeps/i386/fpu/libm-test-ulps: Update.
51176         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51178 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51180         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
51181         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
51182         and strcspn-ppc64 objects.
51183         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51184         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
51185         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
51186         multiarch strcspn for POWER7.
51187         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
51188         multiarch strcspn for PPC64.
51189         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
51190         ifunc selector.
51191         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
51192         strcspn for POWER7.
51194 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
51196         * math/gen-libm-test.pl (generate_testfile): Expect only function
51197         name as argument to AUTO_TESTS_* and pass results for all rounding
51198         modes to parse_args.
51199         (parse_auto_input): Separate inputs of automatic tests from
51200         outputs before storing in %auto_tests.
51201         * math/libm-test.inc (acos_test_data): Update call to
51202         AUTO_TESTS_f_f.
51203         (acos_test): Use ALL_RM_TEST.
51204         (acos_tonearest_test_data): Remove.
51205         (acos_test_tonearest): Likewise.
51206         (acos_towardzero_test_data): Likewise.
51207         (acos_test_towardzero): Likewise.
51208         (acos_downward_test_data): Likewise.
51209         (acos_test_downward): Likewise.
51210         (acos_upward_test_data): Likewise.
51211         (acos_test_upward): Likewise.
51212         (acosh_test_data): Update call to AUTO_TESTS_f_f.
51213         (asin_test_data): Likewise.
51214         (asin_test): Use ALL_RM_TEST.
51215         (asin_tonearest_test_data): Remove.
51216         (asin_test_tonearest): Likewise.
51217         (asin_towardzero_test_data): Likewise.
51218         (asin_test_towardzero): Likewise.
51219         (asin_downward_test_data): Likewise.
51220         (asin_test_downward): Likewise.
51221         (asin_upward_test_data): Likewise.
51222         (asin_test_upward): Likewise.
51223         (asinh_test_data): Update call to AUTO_TESTS_f_f.
51224         (atan_test_data): Likewise.
51225         (atanh_test_data): Likewise.
51226         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
51227         (cabs_test_data): Update call to AUTO_TESTS_c_f.
51228         (carg_test_data): Likewise.
51229         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
51230         (ccos_test_data): Update call to AUTO_TESTS_c_c.
51231         (ccosh_test_data): Likewise.
51232         (cexp_test_data): Likewise.
51233         (clog_test_data): Likewise.
51234         (clog10_test_data): Likewise.
51235         (cos_test_data): Update call to AUTO_TESTS_f_f.
51236         (cos_test): Use ALL_RM_TEST.
51237         (cos_tonearest_test_data): Remove.
51238         (cos_test_tonearest): Likewise.
51239         (cos_towardzero_test_data): Likewise.
51240         (cos_test_towardzero): Likewise.
51241         (cos_downward_test_data): Likewise.
51242         (cos_test_downward): Likewise.
51243         (cos_upward_test_data): Likewise.
51244         (cos_test_upward): Likewise.
51245         (cosh_test_data): Update call to AUTO_TESTS_f_f.
51246         (cosh_test): Use ALL_RM_TEST.
51247         (cosh_tonearest_test_data): Remove.
51248         (cosh_test_tonearest): Likewise.
51249         (cosh_towardzero_test_data): Likewise.
51250         (cosh_test_towardzero): Likewise.
51251         (cosh_downward_test_data): Likewise.
51252         (cosh_test_downward): Likewise.
51253         (cosh_upward_test_data): Likewise.
51254         (cosh_test_upward): Likewise.
51255         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
51256         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
51257         (ctan_test_data): Likewise.
51258         (ctan_test): Use ALL_RM_TEST.
51259         (ctan_tonearest_test_data): Remove.
51260         (ctan_test_tonearest): Likewise.
51261         (ctan_towardzero_test_data): Likewise.
51262         (ctan_test_towardzero): Likewise.
51263         (ctan_downward_test_data): Likewise.
51264         (ctan_test_downward): Likewise.
51265         (ctan_upward_test_data): Likewise.
51266         (ctan_test_upward): Likewise.
51267         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
51268         (ctanh_test): Use ALL_RM_TEST.
51269         (ctanh_tonearest_test_data): Remove.
51270         (ctanh_test_tonearest): Likewise.
51271         (ctanh_towardzero_test_data): Likewise.
51272         (ctanh_test_towardzero): Likewise.
51273         (ctanh_downward_test_data): Likewise.
51274         (ctanh_test_downward): Likewise.
51275         (ctanh_upward_test_data): Likewise.
51276         (ctanh_test_upward): Likewise.
51277         (erf_test_data): Update call to AUTO_TESTS_f_f.
51278         (erfc_test_data): Likewise.
51279         (exp_test_data): Likewise.
51280         (exp_test): Use ALL_RM_TEST.
51281         (exp_tonearest_test_data): Remove.
51282         (exp_test_tonearest): Likewise.
51283         (exp_towardzero_test_data): Likewise.
51284         (exp_test_towardzero): Likewise.
51285         (exp_downward_test_data): Likewise.
51286         (exp_test_downward): Likewise.
51287         (exp_upward_test_data): Likewise.
51288         (exp_test_upward): Likewise.
51289         (exp10_test_data): Update call to AUTO_TESTS_f_f.
51290         (exp10_test): Use ALL_RM_TEST.
51291         (exp10_tonearest_test_data): Remove.
51292         (exp10_test_tonearest): Likewise.
51293         (exp10_towardzero_test_data): Likewise.
51294         (exp10_test_towardzero): Likewise.
51295         (exp10_downward_test_data): Likewise.
51296         (exp10_test_downward): Likewise.
51297         (exp10_upward_test_data): Likewise.
51298         (exp10_test_upward): Likewise.
51299         (exp2_test_data): Update call to AUTO_TESTS_f_f.
51300         (expm1_test_data): Likewise.
51301         (expm1_test): Use ALL_RM_TEST.
51302         (expm1_tonearest_test_data): Remove.
51303         (expm1_test_tonearest): Likewise.
51304         (expm1_towardzero_test_data): Likewise.
51305         (expm1_test_towardzero): Likewise.
51306         (expm1_downward_test_data): Likewise.
51307         (expm1_test_downward): Likewise.
51308         (expm1_upward_test_data): Likewise.
51309         (expm1_test_upward): Likewise.
51310         (fma_test_data): Update call to AUTO_TESTS_fff_f.
51311         (fma_test): Use ALL_RM_TEST.
51312         (fma_towardzero_test_data): Remove.
51313         (fma_test_towardzero): Likewise.
51314         (fma_downward_test_data): Likewise.
51315         (fma_test_downward): Likewise.
51316         (fma_upward_test_data): Likewise.
51317         (fma_test_upward): Likewise.
51318         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
51319         (j0_test_data): Update call to AUTO_TESTS_f_f.
51320         (j1_test_data): Likewise.
51321         (jn_test_data): Update call to AUTO_TESTS_if_f.
51322         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
51323         (log_test_data): Update call to AUTO_TESTS_f_f.
51324         (log10_test_data): Likewise.
51325         (log1p_test_data): Likewise.
51326         (log2_test_data): Likewise.
51327         (pow_test_data): Update call to AUTO_TESTS_ff_f.
51328         (pow_tonearest_test_data): Likewise.
51329         (sin_test_data): Update call to AUTO_TESTS_f_f.
51330         (sin_test): Use ALL_RM_TEST.
51331         (sin_tonearest_test_data): Remove.
51332         (sin_test_tonearest): Likewise.
51333         (sin_towardzero_test_data): Likewise.
51334         (sin_test_towardzero): Likewise.
51335         (sin_downward_test_data): Likewise.
51336         (sin_test_downward): Likewise.
51337         (sin_upward_test_data): Likewise.
51338         (sin_test_upward): Likewise.
51339         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
51340         (sinh_test_data): Update call to AUTO_TESTS_f_f.
51341         (sinh_test): Use ALL_RM_TEST.
51342         (sinh_tonearest_test_data): Remove.
51343         (sinh_test_tonearest): Likewise.
51344         (sinh_towardzero_test_data): Likewise.
51345         (sinh_test_towardzero): Likewise.
51346         (sinh_downward_test_data): Likewise.
51347         (sinh_test_downward): Likewise.
51348         (sinh_upward_test_data): Likewise.
51349         (sinh_test_upward): Likewise.
51350         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
51351         (sqrt_test): Use ALL_RM_TEST.
51352         (sqrt_tonearest_test_data): Remove.
51353         (sqrt_test_tonearest): Likewise.
51354         (sqrt_towardzero_test_data): Likewise.
51355         (sqrt_test_towardzero): Likewise.
51356         (sqrt_downward_test_data): Likewise.
51357         (sqrt_test_downward): Likewise.
51358         (sqrt_upward_test_data): Likewise.
51359         (sqrt_test_upward): Likewise.
51360         (tan_test_data): Update call to AUTO_TESTS_f_f.
51361         (tan_test): Use ALL_RM_TEST.
51362         (tan_tonearest_test_data): Remove.
51363         (tan_test_tonearest): Likewise.
51364         (tan_towardzero_test_data): Likewise.
51365         (tan_test_towardzero): Likewise.
51366         (tan_downward_test_data): Likewise.
51367         (tan_test_downward): Likewise.
51368         (tan_upward_test_data): Likewise.
51369         (tan_test_upward): Likewise.
51370         (tanh_test_data): Update call to AUTO_TESTS_f_f.
51371         (tgamma_test_data): Likewise.
51372         (y0_test_data): Likewise.
51373         (y1_test_data): Likewise.
51374         (yn_test_data): Update call to AUTO_TESTS_if_f.
51375         (main): Do not call removed functions.
51377 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
51379         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
51380         (ldexp_test_data): Remove.
51381         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
51382         scalbn_test_data.
51383         (scalb_test): Use ALL_RM_TEST.
51385 2014-03-19  Andreas Schwab  <schwab@suse.de>
51387         * nscd/nscd.service: Also invalidate netgroup cache on reload.
51389 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
51391         [BZ #16649]
51392         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
51393         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
51394         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
51395         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
51396         (__ASSUME_PREADV): Undefine.
51397         (__ASSUME_PWRITEV): Likewise.
51399 2014-03-18  Roland McGrath  <roland@hack.frob.com>
51401         * bits/mman-linux.h: Add comment about non-Linux use.
51402         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
51403         bits/mman-linux.h resting place.
51405         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
51406         * bits/mman-linux.h: ... here.
51408 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51410         * conform/conformtest.pl: Add standard definition when calling C
51411         preprocessor on data files.
51412         (checknamespace): Remove unused variable.
51414 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
51416         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
51417         minus_oflow, plus_uflow and minus_uflow in expected results.
51418         * math/libm-test.inc (scalbn_test_data): Add more tests of
51419         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
51420         minus_uflow.
51421         (scalbn_test): Use ALL_RM_TEST.
51422         (scalbln_test_data): Add more tests of negative arguments.  Use
51423         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
51424         (scalbln_test): Use ALL_RM_TEST.
51426 2014-03-18  Roland McGrath  <roland@hack.frob.com>
51428         * scripts/abilist.awk: Ignore symbols marked with .hidden.
51430 2014-03-18  Will Newton  <will.newton@linaro.org>
51432         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
51433         inaccurate comment.
51435 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
51437         * Makerules [!subdir] (check-abi): Exit with error status if a
51438         test failed.
51440 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
51442         * math/libm-test.inc (nearbyint_test_data): Include all tests used
51443         for rint.  Include results for all rounding modes.
51444         (nearbyint_test): Use ALL_RM_TEST.
51445         (rint_test_data): Include all tests used for nearbyint.
51447 2014-03-17  Will Newton  <will.newton@linaro.org>
51449         * nptl/sysdeps/pthread/pthread.h: Revert previous
51450         change.
51452         * sysdeps/generic/ldsodefs.h: Revert previous
51453         change.
51455         * libio/genops.c: Revert previous change.
51456         * libio/libioP.h: Likewise.
51457         * stdio-common/vfprintf.c: Likewise.
51459         * sysdeps/generic/math_private.h: Revert previous
51460         change.
51462         * sysdeps/generic/math_private.h: Check whether
51463         HAVE_RM_CTX is defined with #ifdef rather
51464         than #if.
51466         * argp/argp-fmtstream.h: Check whether
51467         __STRICT_ANSI__ is defined with #ifdef rather
51468         than #if.
51469         * argp/argp.h: Likewise.
51471         * libio/genops.c: Check whether
51472         _IO_JUMPS_OFFSET is defined with #ifdef rather
51473         than #if.
51474         * libio/libioP.h: Likewise.
51475         * stdio-common/vfprintf.c: Likewise.
51477         * sysdeps/generic/ldsodefs.h: Check whether
51478         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
51479         than #if.
51481         * nptl/sysdeps/pthread/pthread.h: Check
51482         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
51483         its value.
51485 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
51487         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
51488         setting O_APPEND.
51489         * libio/tst-ftell-active-handler.c (do_append_test): Add a
51490         test case.
51492         [BZ #16680]
51493         * libio/fileops.c (_IO_file_open): Seek to end of file but
51494         don't cache the offset.
51495         (get_file_offset): Remove function.
51496         (do_ftell): Use cached offset when available.
51497         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
51498         don't cache the offset.
51499         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
51500         case.
51501         (do_one_test): Call it.
51502         (do_ftell_test): Fix up expected old offset for a+ mode.
51503         * libio/wfileops.c (do_ftell_wide): Used cached offset when
51504         available.
51506         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
51507         up test status with function return status.
51508         (do_write_test): Likewise.
51509         (do_append_test): Likewise.
51511         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
51512         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
51513         Remove.
51515 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
51517         * math/gen-libm-test.pl (parse_args): Handle results specified for
51518         each rounding mode separately.
51519         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
51520         tests and results from lrint_tonearest_test_data,
51521         lrint_towardzero_test_data, lrint_downward_test_data and
51522         lrint_upward_test_data.
51523         (lrint_test): Use ALL_RM_TEST.
51524         (lrint_tonearest_test_data): Remove.
51525         (lrint_test_tonearest): Likewise.
51526         (lrint_towardzero_test_data): Likewise.
51527         (lrint_test_towardzero): Likewise.
51528         (lrint_downward_test_data): Likewise.
51529         (lrint_test_downward): Likewise.
51530         (lrint_upward_test_data): Likewise.
51531         (lrint_test_upward): Likewise.
51532         (llrint_test_data): Merge in per-rounding-mode tests and results
51533         from llrint_tonearest_test_data, llrint_towardzero_test_data,
51534         llrint_downward_test_data and llrint_upward_test_data.
51535         (llrint_test): Use ALL_RM_TEST.
51536         (llrint_tonearest_test_data): Remove.
51537         (llrint_test_tonearest): Likewise.
51538         (llrint_towardzero_test_data): Likewise.
51539         (llrint_test_towardzero): Likewise.
51540         (llrint_downward_test_data): Likewise.
51541         (llrint_test_downward): Likewise.
51542         (llrint_upward_test_data): Likewise.
51543         (llrint_test_upward): Likewise.
51544         (rint_test_data): Merge in per-rounding-mode tests and results
51545         from rint_tonearest_test_data, rint_towardzero_test_data,
51546         rint_downward_test_data and rint_upward_test_data.  Add
51547         per-rounding-mode results for tests not in those arrays.
51548         (rint_test): Use ALL_RM_TEST.
51549         (rint_tonearest_test_data): Remove.
51550         (rint_test_tonearest): Likewise.
51551         (rint_towardzero_test_data): Likewise.
51552         (rint_test_towardzero): Likewise.
51553         (rint_downward_test_data): Likewise.
51554         (rint_test_downward): Likewise.
51555         (rint_upward_test_data): Likewise.
51556         (rint_test_upward): Likewise.
51557         (main): Don't call removed functions.
51559 2014-03-14  Roland McGrath  <roland@hack.frob.com>
51561         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
51562         "Compiled on ..." crapola.  It is anti-useful.
51564 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
51566         * scripts/evaluate-test.sh: Handle fourth argument to determine
51567         whether test run should stop on failure.
51568         * Makeconfig (stop-on-test-failure): New variable.
51569         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
51570         $(stop-on-test-failure).
51571         * Makefile (tests): Give a summary of results from testing and
51572         exit with failure status if they include an ERROR or FAIL.
51573         (xtests): Likewise.
51574         * manual/install.texi (Configuring and compiling): Mention
51575         stop-on-test-failure=y.
51576         * INSTALL: Regenerated.
51578 2014-03-14  Roland McGrath  <roland@hack.frob.com>
51580         * scripts/versionlist.awk: New file.
51581         * Makerules [$(build-shared) = yes]
51582         (postclean-generated): Add Versions.def, not Versions.def.v and
51583         Versions.def.v.i.
51584         ($(common-objpfx)Versions.def.v.i): Target removed.
51585         ($(common-objpfx)Versions.def): New target.
51586         ($(common-objpfx)Versions.all): Depend on that rather that
51587         $(common-objpfx)Versions.def.v.
51588         * Versions.def: File removed.
51590         * Makeconfig (+gccwarn): Add -Wundef.
51591         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
51592         a dl-sysdep.h breaking its contract.
51593         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
51594         * include/stackinfo.h: New file.
51595         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
51596         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
51597         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
51598         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
51599         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
51600         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
51601         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
51602         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
51603         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
51604         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
51605         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
51606         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
51607         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
51608         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
51609         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
51611 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51613         [BZ #16707]
51614         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
51615         implementation.
51616         * math/libm-test.inc (round_test_data): Add more tests.
51618         [BZ #16706]
51619         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
51620         implementation.
51621         * math/libm-test.inc (nearbyint_test_data): Add more tests.
51623         [BZ #16701]
51624         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
51625         implementation.
51626         * math/libm-test.inc (ceil_test_data): Add more tests.
51628         * math/libm-test.inc (trunc_test_data): Add more tests related to
51629         BZ#16414.
51631 2014-03-14  Roland McGrath  <roland@hack.frob.com>
51633         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
51634         with #if rather than #ifdef.
51635         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
51637 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
51639         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
51640         first.  Disable AVX-512 GCC support if assembler doesn't support
51641         it.
51642         * sysdeps/x86_64/configure: Regenerated.
51644 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
51646         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
51647         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
51648         (__old_pthread_attr_setstack): Likewise.
51649         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
51650         [!_STACK_GROWS_DOWN]: Likewise.
51652 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
51654         * config.make.in (have-bash2): Delete.
51655         * configure.ac (libc_cv_have_bash2): Delete.
51656         * configure: Regenerate.
51657         * elf/Makefile (common-ldd-rewrite): Rename to ...
51658         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
51659         (sh-ldd-rewrite): Delete.
51660         (bash-ldd-rewrite): Delete.
51661         (have-bash2): Delete checks.
51662         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
51663         ldd-rewrite.
51665         * config.make.in (have-ksh): Delete.
51666         (KSH): Delete.
51667         * configure.ac (libc_cv_have_ksh): Delete.
51668         * configure: Regenerate.
51670         * elf/Makefile: Delete $(have-ksh) check.
51671         ($(objpfx)sotruss): Change KSH to BASH.
51672         * elf/sotruss.ksh: Rename to ...
51673         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
51674         function style to match POSIX.  Drop ksh vim mode setting.
51676         * manual/time.texi (Specifying the Time Zone with TZ): Change
51677         Tuesday to Thursday.
51679         * debug/tst-longjmp_chk2.c: Update header comment.
51680         (stackoverflow_handler): Add comment.  Call assert on pass value.
51682 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
51684         [BZ #16194]
51685         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
51686         (HAVE_AVX512_ASM_SUPPORT): Likewise.
51687         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
51688         (La_x86_64_vector): Add zmm.
51689         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
51690         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
51691         ($(objpfx)tst-audit10): New target.
51692         ($(objpfx)tst-audit10.out): Likewise.
51693         (tst-audit10-ENV): New.
51694         (AVX512-CFLAGS): Likewise.
51695         (CFLAGS-tst-audit10.c): Likewise.
51696         (CFLAGS-tst-auditmod10a.c): Likewise.
51697         (CFLAGS-tst-auditmod10b.c): Likewise.
51698         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
51699         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
51700         * sysdeps/x86_64/configure: Regenerated.
51701         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
51702         AVX-512 zmm register support.
51703         (_dl_x86_64_save_sse): Likewise.
51704         (_dl_x86_64_restore_sse): Likewise.
51705         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
51706         size vector registers.
51707         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
51708         (ZMM_SIZE): Likewise.
51709         * sysdeps/x86_64/tst-audit10.c: New file.
51710         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
51711         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
51713 2014-03-13  Roland McGrath  <roland@hack.frob.com>
51715         * configure.ac (HAVE_EHDR_START): New check.
51716         * configure: Regenerated.
51717         * config.h.in (HAVE_EHDR_START): New #undef.
51718         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
51719         assuming the lowest-addressed segment maps the start of the file.
51721 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
51723         * INSTALL: Regenerated.
51725 2014-03-13  Will Newton  <will.newton@linaro.org>
51727         * manual/setjmp.texi (System V contexts): Improve
51728         clarity and grammar of documentation.
51730 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
51732         [BZ #16381]
51733         * elf/Makefile (tests): Add tst-pie2.
51734         (tests-pie): Add tst-pie2.
51735         * elf/tst-pie2.c: New file.
51736         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
51737         for ET_EXEC.
51738         * elf/rtld.c (map_doit): Load executable as lt_executable.
51739         (dl_main): Likewise.
51741 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
51743         [BZ #16642]
51744         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
51745         (__ASSUME_PSELECT): Undefine.
51747 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51749         [BZ #16689]
51750         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
51751         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
51752         static build.
51753         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
51754         selector for static builds.
51756 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
51758         [BZ #16695]
51759         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
51760         key in the buffer.
51762 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51764         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
51765         IFUNC selector for static builds.
51767 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
51769         * sysdeps/mips/math_private.h [__mips_hard_float]
51770         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
51771         libc_feresetround_mips_ctx.
51772         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
51773         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
51774         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
51776         [BZ #16677]
51777         * math/s_nextafter.c (__nextafter): Do not return value from
51778         overflowing computation.
51779         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
51780         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
51781         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
51782         Likewise.
51783         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
51784         Likewise.
51785         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
51786         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
51788 2014-03-11  Roland McGrath  <roland@hack.frob.com>
51790         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
51791         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
51792         Move sfi_sp use from the load-multiple (that no longer sets sp) to
51793         the new mov targetting sp.
51795 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51797         [BZ #16683]
51798         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
51799         Define it for static builds as well.
51800         (NO_BZERO_IMPL): Likewise.
51802 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
51804         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
51805         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
51806         multiarch strspn for PPC64.
51807         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
51808         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
51809         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
51810         (__libc_ifunc_impl_list): Likewise.
51811         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
51812         multiarch optimizations
51813         * string/strspn.c (strspn): Using macro to redefine symbol name.
51815 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
51816             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51818         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
51819         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
51820         multiarch strncat for PPC64.
51821         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
51822         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
51823         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
51824         (__libc_ifunc_impl_list): Likewise.
51825         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
51826         multiarch optimizations
51828 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51830         [BZ #16639]
51831         * nscd/nscd.service: Make service type forking.
51833 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51835         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
51836         sign in non default rounding modes.
51837         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
51839 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
51841         * math/libm-test.inc (ALL_RM_TEST): New macro.
51842         (ceil_test): Use ALL_RM_TEST.
51843         (cimag_test): Likewise.
51844         (conj_test): Likewise.
51845         (copysign_test): Likewise.
51846         (cproj_test): Likewise.
51847         (creal_test): Likewise.
51848         (fabs_test): Likewise.
51849         (floor_test): Likewise.
51850         (fmax_test): Likewise.
51851         (fmin_test): Likewise.
51852         (fmod_test): Likewise.
51853         (fpclassify_test): Likewise.
51854         (frexp_test): Likewise.
51855         (ilogb_test): Likewise.
51856         (isfinite_test): Likewise.
51857         (finite_test): Likewise.
51858         (isgreater_test): Likewise.
51859         (isgreaterequal_test): Likewise.
51860         (isinf_test): Likewise.
51861         (isless_test): Likewise.
51862         (islessequal_test): Likewise.
51863         (islessgreater_test): Likewise.
51864         (isnan_test): Likewise.
51865         (isnormal_test): Likewise.
51866         (issignaling_test): Likewise.
51867         (isunordered_test): Likewise.
51868         (logb_test): Likewise.
51869         (logb_downward_test_data): Remove.
51870         (logb_test_downward): Likewise.
51871         (lround_test): Use ALL_RM_TEST.
51872         (llround_test): Likewise.
51873         (modf_test): Likewise.
51874         (nexttoward_test): Likewise.
51875         (remainder_test): Likewise.
51876         (drem_test): Likewise.
51877         (remainder_tonearest_test_data): Likewise.
51878         (remainder_test_tonearest): Likewise.
51879         (drem_test_tonearest): Likewise.
51880         (remainder_towardzero_test_data): Likewise.
51881         (remainder_test_towardzero): Likewise.
51882         (drem_test_towardzero): Likewise.
51883         (remainder_downward_test_data): Likewise.
51884         (remainder_test_downward): Likewise.
51885         (drem_test_downward): Likewise.
51886         (remainder_upward_test_data): Likewise.
51887         (remainder_test_upward): Likewise.
51888         (drem_test_upward): Likewise.
51889         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
51890         (round_test): Use ALL_RM_TEST.
51891         (signbit_test): Likewise.
51892         (trunc_test): Likewise.
51893         (significand_test): Likewise.
51894         (main): Don't call removed functions.
51896 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
51898         [BZ #16674]
51899         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
51900         || __USE_XOPEN2K8].
51901         (ILL_ILLOPN): Likewise.
51902         (ILL_ILLADR): Likewise.
51903         (ILL_ILLTRP): Likewise.
51904         (ILL_PRVOPC): Likewise.
51905         (ILL_PRVREG): Likewise.
51906         (ILL_COPROC): Likewise.
51907         (ILL_BADSTK): Likewise.
51908         (FPE_INTDIV): Likewise.
51909         (FPE_INTOVF): Likewise.
51910         (FPE_FLTDIV): Likewise.
51911         (FPE_FLTOVF): Likewise.
51912         (FPE_FLTUND): Likewise.
51913         (FPE_FLTRES): Likewise.
51914         (FPE_FLTINV): Likewise.
51915         (FPE_FLTSUB): Likewise.
51916         (SEGV_MAPERR): Likewise.
51917         (SEGV_ACCERR): Likewise.
51918         (BUS_ADRALN): Likewise.
51919         (BUS_ADRERR): Likewise.
51920         (BUS_OBJERR): Likewise.
51921         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
51922         (TRAP_TRACE): Likewise.
51923         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
51924         __USE_XOPEN2K8].
51925         (CLD_KILLED): Likewise.
51926         (CLD_DUMPED): Likewise.
51927         (CLD_TRAPPED): Likewise.
51928         (CLD_STOPPED): Likewise.
51929         (CLD_CONTINUED): Likewise.
51930         (POLL_IN): Likewise.
51931         (POLL_OUT): Likewise.
51932         (POLL_MSG): Likewise.
51933         (POLL_ERR): Likewise.
51934         (POLL_PRI): Likewise.
51935         (POLL_HUP): Likewise.
51936         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
51937         Likewise.
51938         (ILL_ILLOPN): Likewise.
51939         (ILL_ILLADR): Likewise.
51940         (ILL_ILLTRP): Likewise.
51941         (ILL_PRVOPC): Likewise.
51942         (ILL_PRVREG): Likewise.
51943         (ILL_COPROC): Likewise.
51944         (ILL_BADSTK): Likewise.
51945         (FPE_INTDIV): Likewise.
51946         (FPE_INTOVF): Likewise.
51947         (FPE_FLTDIV): Likewise.
51948         (FPE_FLTOVF): Likewise.
51949         (FPE_FLTUND): Likewise.
51950         (FPE_FLTRES): Likewise.
51951         (FPE_FLTINV): Likewise.
51952         (FPE_FLTSUB): Likewise.
51953         (SEGV_MAPERR): Likewise.
51954         (SEGV_ACCERR): Likewise.
51955         (BUS_ADRALN): Likewise.
51956         (BUS_ADRERR): Likewise.
51957         (BUS_OBJERR): Likewise.
51958         (BUS_MCEERR_AR): Likewise.
51959         (BUS_MCEERR_AO): Likewise.
51960         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
51961         (TRAP_TRACE): Likewise.
51962         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
51963         __USE_XOPEN2K8].
51964         (CLD_KILLED): Likewise.
51965         (CLD_DUMPED): Likewise.
51966         (CLD_TRAPPED): Likewise.
51967         (CLD_STOPPED): Likewise.
51968         (CLD_CONTINUED): Likewise.
51969         (POLL_IN): Likewise.
51970         (POLL_OUT): Likewise.
51971         (POLL_MSG): Likewise.
51972         (POLL_ERR): Likewise.
51973         (POLL_PRI): Likewise.
51974         (POLL_HUP): Likewise.
51975         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
51976         (ILL_ILLOPN): Likewise.
51977         (ILL_ILLADR): Likewise.
51978         (ILL_ILLTRP): Likewise.
51979         (ILL_PRVOPC): Likewise.
51980         (ILL_PRVREG): Likewise.
51981         (ILL_COPROC): Likewise.
51982         (ILL_BADSTK): Likewise.
51983         (FPE_INTDIV): Likewise.
51984         (FPE_INTOVF): Likewise.
51985         (FPE_FLTDIV): Likewise.
51986         (FPE_FLTOVF): Likewise.
51987         (FPE_FLTUND): Likewise.
51988         (FPE_FLTRES): Likewise.
51989         (FPE_FLTINV): Likewise.
51990         (FPE_FLTSUB): Likewise.
51991         (SEGV_MAPERR): Likewise.
51992         (SEGV_ACCERR): Likewise.
51993         (BUS_ADRALN): Likewise.
51994         (BUS_ADRERR): Likewise.
51995         (BUS_OBJERR): Likewise.
51996         (BUS_MCEERR_AR): Likewise.
51997         (BUS_MCEERR_AO): Likewise.
51998         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
51999         (TRAP_TRACE): Likewise.
52000         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
52001         __USE_XOPEN2K8].
52002         (CLD_KILLED): Likewise.
52003         (CLD_DUMPED): Likewise.
52004         (CLD_TRAPPED): Likewise.
52005         (CLD_STOPPED): Likewise.
52006         (CLD_CONTINUED): Likewise.
52007         (POLL_IN): Likewise.
52008         (POLL_OUT): Likewise.
52009         (POLL_MSG): Likewise.
52010         (POLL_ERR): Likewise.
52011         (POLL_PRI): Likewise.
52012         (POLL_HUP): Likewise.
52013         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
52014         Likewise.
52015         (ILL_ILLOPN): Likewise.
52016         (ILL_ILLADR): Likewise.
52017         (ILL_ILLTRP): Likewise.
52018         (ILL_PRVOPC): Likewise.
52019         (ILL_PRVREG): Likewise.
52020         (ILL_COPROC): Likewise.
52021         (ILL_BADSTK): Likewise.
52022         (ILL_BADIADDR): Likewise.
52023         (ILL_BREAK): Likewise.
52024         (FPE_INTDIV): Likewise.
52025         (FPE_INTOVF): Likewise.
52026         (FPE_FLTDIV): Likewise.
52027         (FPE_FLTOVF): Likewise.
52028         (FPE_FLTUND): Likewise.
52029         (FPE_FLTRES): Likewise.
52030         (FPE_FLTINV): Likewise.
52031         (FPE_FLTSUB): Likewise.
52032         (FPE_DECOVF): Likewise.
52033         (FPE_DECDIV): Likewise.
52034         (FPE_DECERR): Likewise.
52035         (FPE_INVASC): Likewise.
52036         (FPE_INVDEC): Likewise.
52037         (SEGV_MAPERR): Likewise.
52038         (SEGV_ACCERR): Likewise.
52039         (SEGV_PSTKOVF): Likewise.
52040         (BUS_ADRALN): Likewise.
52041         (BUS_ADRERR): Likewise.
52042         (BUS_OBJERR): Likewise.
52043         (BUS_MCEERR_AR): Likewise.
52044         (BUS_MCEERR_AO): Likewise.
52045         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
52046         (TRAP_TRACE): Likewise.
52047         (TRAP_BRANCH): Likewise.
52048         (TRAP_HWBKPT): Likewise.
52049         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
52050         __USE_XOPEN2K8].
52051         (CLD_KILLED): Likewise.
52052         (CLD_DUMPED): Likewise.
52053         (CLD_TRAPPED): Likewise.
52054         (CLD_STOPPED): Likewise.
52055         (CLD_CONTINUED): Likewise.
52056         (POLL_IN): Likewise.
52057         (POLL_OUT): Likewise.
52058         (POLL_MSG): Likewise.
52059         (POLL_ERR): Likewise.
52060         (POLL_PRI): Likewise.
52061         (POLL_HUP): Likewise.
52062         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
52063         (ILL_ILLOPN): Likewise.
52064         (ILL_ILLADR): Likewise.
52065         (ILL_ILLTRP): Likewise.
52066         (ILL_PRVOPC): Likewise.
52067         (ILL_PRVREG): Likewise.
52068         (ILL_COPROC): Likewise.
52069         (ILL_BADSTK): Likewise.
52070         (FPE_INTDIV): Likewise.
52071         (FPE_INTOVF): Likewise.
52072         (FPE_FLTDIV): Likewise.
52073         (FPE_FLTOVF): Likewise.
52074         (FPE_FLTUND): Likewise.
52075         (FPE_FLTRES): Likewise.
52076         (FPE_FLTINV): Likewise.
52077         (FPE_FLTSUB): Likewise.
52078         (SEGV_MAPERR): Likewise.
52079         (SEGV_ACCERR): Likewise.
52080         (BUS_ADRALN): Likewise.
52081         (BUS_ADRERR): Likewise.
52082         (BUS_OBJERR): Likewise.
52083         (BUS_MCEERR_AR): Likewise.
52084         (BUS_MCEERR_AO): Likewise.
52085         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
52086         (TRAP_TRACE): Likewise.
52087         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
52088         __USE_XOPEN2K8].
52089         (CLD_KILLED): Likewise.
52090         (CLD_DUMPED): Likewise.
52091         (CLD_TRAPPED): Likewise.
52092         (CLD_STOPPED): Likewise.
52093         (CLD_CONTINUED): Likewise.
52094         (POLL_IN): Likewise.
52095         (POLL_OUT): Likewise.
52096         (POLL_MSG): Likewise.
52097         (POLL_ERR): Likewise.
52098         (POLL_PRI): Likewise.
52099         (POLL_HUP): Likewise.
52100         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
52101         (ILL_ILLOPN): Likewise.
52102         (ILL_ILLADR): Likewise.
52103         (ILL_ILLTRP): Likewise.
52104         (ILL_PRVOPC): Likewise.
52105         (ILL_PRVREG): Likewise.
52106         (ILL_COPROC): Likewise.
52107         (ILL_BADSTK): Likewise.
52108         (FPE_INTDIV): Likewise.
52109         (FPE_INTOVF): Likewise.
52110         (FPE_FLTDIV): Likewise.
52111         (FPE_FLTOVF): Likewise.
52112         (FPE_FLTUND): Likewise.
52113         (FPE_FLTRES): Likewise.
52114         (FPE_FLTINV): Likewise.
52115         (FPE_FLTSUB): Likewise.
52116         (SEGV_MAPERR): Likewise.
52117         (SEGV_ACCERR): Likewise.
52118         (BUS_ADRALN): Likewise.
52119         (BUS_ADRERR): Likewise.
52120         (BUS_OBJERR): Likewise.
52121         (BUS_MCEERR_AR): Likewise.
52122         (BUS_MCEERR_AO): Likewise.
52123         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
52124         (TRAP_TRACE): Likewise.
52125         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
52126         __USE_XOPEN2K8].
52127         (CLD_KILLED): Likewise.
52128         (CLD_DUMPED): Likewise.
52129         (CLD_TRAPPED): Likewise.
52130         (CLD_STOPPED): Likewise.
52131         (CLD_CONTINUED): Likewise.
52132         (POLL_IN): Likewise.
52133         (POLL_OUT): Likewise.
52134         (POLL_MSG): Likewise.
52135         (POLL_ERR): Likewise.
52136         (POLL_PRI): Likewise.
52137         (POLL_HUP): Likewise.
52138         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
52139         (ILL_ILLOPN): Likewise.
52140         (ILL_ILLADR): Likewise.
52141         (ILL_ILLTRP): Likewise.
52142         (ILL_PRVOPC): Likewise.
52143         (ILL_PRVREG): Likewise.
52144         (ILL_COPROC): Likewise.
52145         (ILL_BADSTK): Likewise.
52146         (FPE_INTDIV): Likewise.
52147         (FPE_INTOVF): Likewise.
52148         (FPE_FLTDIV): Likewise.
52149         (FPE_FLTOVF): Likewise.
52150         (FPE_FLTUND): Likewise.
52151         (FPE_FLTRES): Likewise.
52152         (FPE_FLTINV): Likewise.
52153         (FPE_FLTSUB): Likewise.
52154         (SEGV_MAPERR): Likewise.
52155         (SEGV_ACCERR): Likewise.
52156         (BUS_ADRALN): Likewise.
52157         (BUS_ADRERR): Likewise.
52158         (BUS_OBJERR): Likewise.
52159         (BUS_MCEERR_AR): Likewise.
52160         (BUS_MCEERR_AO): Likewise.
52161         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
52162         (TRAP_TRACE): Likewise.
52163         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
52164         __USE_XOPEN2K8].
52165         (CLD_KILLED): Likewise.
52166         (CLD_DUMPED): Likewise.
52167         (CLD_TRAPPED): Likewise.
52168         (CLD_STOPPED): Likewise.
52169         (CLD_CONTINUED): Likewise.
52170         (POLL_IN): Likewise.
52171         (POLL_OUT): Likewise.
52172         (POLL_MSG): Likewise.
52173         (POLL_ERR): Likewise.
52174         (POLL_PRI): Likewise.
52175         (POLL_HUP): Likewise.
52176         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
52177         (ILL_ILLOPN): Likewise.
52178         (ILL_ILLADR): Likewise.
52179         (ILL_ILLTRP): Likewise.
52180         (ILL_PRVOPC): Likewise.
52181         (ILL_PRVREG): Likewise.
52182         (ILL_COPROC): Likewise.
52183         (ILL_BADSTK): Likewise.
52184         (ILL_DBLFLT): Likewise.
52185         (ILL_HARDWALL): Likewise.
52186         (FPE_INTDIV): Likewise.
52187         (FPE_INTOVF): Likewise.
52188         (FPE_FLTDIV): Likewise.
52189         (FPE_FLTOVF): Likewise.
52190         (FPE_FLTUND): Likewise.
52191         (FPE_FLTRES): Likewise.
52192         (FPE_FLTINV): Likewise.
52193         (FPE_FLTSUB): Likewise.
52194         (SEGV_MAPERR): Likewise.
52195         (SEGV_ACCERR): Likewise.
52196         (BUS_ADRALN): Likewise.
52197         (BUS_ADRERR): Likewise.
52198         (BUS_OBJERR): Likewise.
52199         (BUS_MCEERR_AR): Likewise.
52200         (BUS_MCEERR_AO): Likewise.
52201         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
52202         (TRAP_TRACE): Likewise.
52203         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
52204         __USE_XOPEN2K8].
52205         (CLD_KILLED): Likewise.
52206         (CLD_DUMPED): Likewise.
52207         (CLD_TRAPPED): Likewise.
52208         (CLD_STOPPED): Likewise.
52209         (CLD_CONTINUED): Likewise.
52210         (POLL_IN): Likewise.
52211         (POLL_OUT): Likewise.
52212         (POLL_MSG): Likewise.
52213         (POLL_ERR): Likewise.
52214         (POLL_PRI): Likewise.
52215         (POLL_HUP): Likewise.
52216         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
52217         (ILL_ILLOPN): Likewise.
52218         (ILL_ILLADR): Likewise.
52219         (ILL_ILLTRP): Likewise.
52220         (ILL_PRVOPC): Likewise.
52221         (ILL_PRVREG): Likewise.
52222         (ILL_COPROC): Likewise.
52223         (ILL_BADSTK): Likewise.
52224         (FPE_INTDIV): Likewise.
52225         (FPE_INTOVF): Likewise.
52226         (FPE_FLTDIV): Likewise.
52227         (FPE_FLTOVF): Likewise.
52228         (FPE_FLTUND): Likewise.
52229         (FPE_FLTRES): Likewise.
52230         (FPE_FLTINV): Likewise.
52231         (FPE_FLTSUB): Likewise.
52232         (SEGV_MAPERR): Likewise.
52233         (SEGV_ACCERR): Likewise.
52234         (BUS_ADRALN): Likewise.
52235         (BUS_ADRERR): Likewise.
52236         (BUS_OBJERR): Likewise.
52237         (BUS_MCEERR_AR): Likewise.
52238         (BUS_MCEERR_AO): Likewise.
52239         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
52240         (TRAP_TRACE): Likewise.
52241         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
52242         __USE_XOPEN2K8].
52243         (CLD_KILLED): Likewise.
52244         (CLD_DUMPED): Likewise.
52245         (CLD_TRAPPED): Likewise.
52246         (CLD_STOPPED): Likewise.
52247         (CLD_CONTINUED): Likewise.
52248         (POLL_IN): Likewise.
52249         (POLL_OUT): Likewise.
52250         (POLL_MSG): Likewise.
52251         (POLL_ERR): Likewise.
52252         (POLL_PRI): Likewise.
52253         (POLL_HUP): Likewise.
52254         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
52255         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
52257         [BZ #16670]
52258         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
52259         before #include of <time.h>.
52260         [!__USE_XOPEN2K] (__need_timespec): Likewise.
52261         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
52262         (test-xfail-UNIX98/sched.h/conform): Likewise.
52264 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
52266         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
52267         error absence of trapping exception support.
52268         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
52270 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
52272         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
52273         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
52274         * timezone/Makefile (testdata): Move definition above include of
52275         Rules.
52276         (test-zones): New variable.
52277         (tests-special): Add zone files.
52278         (build-testdata): Use $(evaluate-test).
52280         * elf/Makefile (tests-special): Rename tests to end with .out.
52281         ($(objpfx)noload-mem): Likewise.
52282         ($(objpfx)tst-leaks1-mem): Likewise.
52283         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
52284         * iconv/Makefile (xtests-special): Change test-iconvconfig to
52285         $(objpfx)test-iconvconfig.out.
52286         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
52287         set -e inside subshell and redirect output to file.
52288         * iconvdata/Makefile (generated): Rename tests to end with .out.
52289         Correct type.
52290         (tests-special): Rename tests to end with .out.
52291         ($(objpfx)mtrace-tst-loading): Likewise.
52292         * intl/Makefile (generated): Likewise.
52293         (tests-special): Likewise.
52294         ($(objpfx)mtrace-tst-gettext): Likewise.
52295         * misc/Makefile (generated): Likewise.
52296         (tests-special): Likewise.
52297         ($(objpfx)tst-error1-mem): Likewise.
52298         * nptl/Makefile (tests-special): Likewise.
52299         ($(objpfx)tst-stack3-mem): Likewise.
52300         (generated): Likewise.
52301         * posix/Makefile (generated): Likewise.
52302         (tests-special): Likewise.
52303         (xtests-special): Likewise.
52304         ($(objpfx)tst-fnmatch-mem): Likewise.
52305         ($(objpfx)bug-regex2-mem): Likewise.
52306         ($(objpfx)bug-regex14-mem): Likewise.
52307         ($(objpfx)bug-regex21-mem): Likewise.
52308         ($(objpfx)bug-regex31-mem): Likewise.
52309         ($(objpfx)tst-vfork3-mem): Likewise.
52310         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
52311         ($(objpfx)tst-pcre-mem): Likewise.
52312         ($(objpfx)tst-boost-mem): Likewise.
52313         ($(objpfx)bug-ga2-mem): Likewise.
52314         ($(objpfx)bug-glob2-mem): Likewise.
52315         * resolv/Makefile (generate): Likewise.
52316         (tests-special): Likewise.
52317         (xtests-special): Likewise.
52318         (generated): Likewise.
52319         ($(objpfx)mtrace-tst-leaks): Likewise.
52320         ($(objpfx)mtrace-tst-leaks2): Likewise.
52322         * scripts/merge-test-results.sh: New file.
52323         * Makefile (tests-special-notdir): New variable.
52324         (tests): Run merge-test-results.sh.
52325         (xtests): Likewise.
52326         * Rules (tests-special-notdir): New variable.
52327         (xtests-special-notdir): Likewise.
52328         (tests): Run merge-test-results.sh
52329         (xtests): Likewise.
52331         * Makeconfig (test-xfail-name): New variable.
52332         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
52333         compute variable name for expected failures.
52334         * conform/Makefile (conformtest-headers-data): New variable.
52335         (conformtest-standards): Likewise.
52336         (conformtest-headers-ISO): Likewise.
52337         (conformtest-headers-ISO99): Likewise.
52338         (conformtest-headers-ISO11): Likewise.
52339         (conformtest-headers-POSIX): Likewise.
52340         (conformtest-headers-XPG3): Likewise.
52341         (conformtest-headers-XPG4): Likewise.
52342         (conformtest-headers-UNIX98): Likewise.
52343         (conformtest-headers-XOPEN2K): Likewise.
52344         (conformtest-headers-POSIX2008): Likewise.
52345         (conformtest-headers-XOPEN2K8): Likewise.
52346         (conformtest-header-list-base): Likewise.
52347         (conformtest-header-list-tests): Likewise.
52348         (conformtest-header-base): Likewise.
52349         (conformtest-header-tests): Likewise.
52350         (tests-special): Add $(conformtest-header-list-tests).  If
52351         [$(fast-check) && !$(cross-compiling)], add
52352         $(conformtest-header-tests) instead of
52353         $(objpfx)run-conformtest.out.
52354         (generated): Add $(conformtest-header-list-base).  If
52355         [$(fast-check) && !$(cross-compiling)], add
52356         $(conformtest-header-base).  Remove previous setting.
52357         ($(conformtest-header-list-tests)): New target.
52358         (test-xfail-run-conformtest): Remove variable.
52359         ($(objpfx)run-conformtest.out): Remove target.
52360         (test-xfail-ISO11/complex.h/conform): New variable.
52361         (test-xfail-ISO11/stdalign.h/conform): Likewise.
52362         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
52363         (test-xfail-XPG3/varargs.h/conform): Likewise.
52364         (test-xfail-XPG4/varargs.h/conform): Likewise.
52365         (test-xfail-UNIX98/varargs.h/conform): Likewise.
52366         (test-xfail-XPG4/ndbm.h/conform): Likewise.
52367         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
52368         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
52369         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
52370         (test-xfail-XPG3/fcntl.h/conform): Likewise.
52371         (test-xfail-XPG3/ftw.h/conform): Likewise.
52372         (test-xfail-XPG3/grp.h/conform): Likewise.
52373         (test-xfail-XPG3/langinfo.h/conform): Likewise.
52374         (test-xfail-XPG3/limits.h/conform): Likewise.
52375         (test-xfail-XPG3/pwd.h/conform): Likewise.
52376         (test-xfail-XPG3/search.h/conform): Likewise.
52377         (test-xfail-XPG3/signal.h/conform): Likewise.
52378         (test-xfail-XPG3/stdio.h/conform): Likewise.
52379         (test-xfail-XPG3/stdlib.h/conform): Likewise.
52380         (test-xfail-XPG3/string.h/conform): Likewise.
52381         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
52382         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
52383         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
52384         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
52385         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
52386         (test-xfail-XPG3/sys/types.h/conform): Likewise.
52387         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
52388         (test-xfail-XPG3/termios.h/conform): Likewise.
52389         (test-xfail-XPG3/time.h/conform): Likewise.
52390         (test-xfail-XPG3/unistd.h/conform): Likewise.
52391         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
52392         (test-xfail-XPG4/fcntl.h/conform): Likewise.
52393         (test-xfail-XPG4/langinfo.h/conform): Likewise.
52394         (test-xfail-XPG4/netdb.h/conform): Likewise.
52395         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
52396         (test-xfail-XPG4/signal.h/conform): Likewise.
52397         (test-xfail-XPG4/stdio.h/conform): Likewise.
52398         (test-xfail-XPG4/stdlib.h/conform): Likewise.
52399         (test-xfail-XPG4/stropts.h/conform): Likewise.
52400         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
52401         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
52402         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
52403         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
52404         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
52405         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
52406         (test-xfail-XPG4/sys/time.h/conform): Likewise.
52407         (test-xfail-XPG4/sys/types.h/conform): Likewise.
52408         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
52409         (test-xfail-XPG4/termios.h/conform): Likewise.
52410         (test-xfail-XPG4/ucontext.h/conform): Likewise.
52411         (test-xfail-XPG4/unistd.h/conform): Likewise.
52412         (test-xfail-XPG4/utmpx.h/conform): Likewise.
52413         (test-xfail-POSIX/sched.h/conform): Likewise.
52414         (test-xfail-POSIX/signal.h/conform): Likewise.
52415         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
52416         (test-xfail-POSIX/tar.h/conform): Likewise.
52417         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
52418         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
52419         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
52420         (test-xfail-UNIX98/netdb.h/conform): Likewise.
52421         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
52422         (test-xfail-UNIX98/sched.h/conform): Likewise.
52423         (test-xfail-UNIX98/signal.h/conform): Likewise.
52424         (test-xfail-UNIX98/stdio.h/conform): Likewise.
52425         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
52426         (test-xfail-UNIX98/stropts.h/conform): Likewise.
52427         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
52428         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
52429         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
52430         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
52431         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
52432         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
52433         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
52434         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
52435         (test-xfail-UNIX98/unistd.h/conform): Likewise.
52436         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
52437         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
52438         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
52439         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
52440         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
52441         (test-xfail-XOPEN2K/math.h/conform): Likewise.
52442         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
52443         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
52444         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
52445         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
52446         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
52447         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
52448         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
52449         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
52450         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
52451         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
52452         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
52453         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
52454         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
52455         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
52456         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
52457         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
52458         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
52459         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
52460         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
52461         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
52462         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
52463         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
52464         (test-xfail-POSIX2008/signal.h/conform): Likewise.
52465         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
52466         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
52467         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
52468         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
52469         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
52470         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
52471         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
52472         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
52473         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
52474         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
52475         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
52476         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
52477         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
52478         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
52479         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
52480         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
52481         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
52482         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
52483         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
52484         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
52485         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
52486         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
52487         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
52488         (conformtest-cc-flags): Likewise.
52489         ($(conformtest-header-tests): New target.
52490         * conform/check-header-lists.sh: New file.
52491         * conform/run-conformtest.sh: Remove.
52493         * conform/conformtest.pl: Allow ' and \ in values given for
52494         constants.
52495         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
52496         inclusion.
52497         [POSIX] (sys/types.h): Likewise.
52498         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
52499         inclusion.
52500         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
52501         inclusion.
52502         * conform/data/signal.h-data (SIGIO): Remove expectation.
52503         [XPG3] (SIGBUS): Do not expect.
52504         [POSIX || XPG3] (SIGPOLL): Likewise.
52505         [POSIX || XPG3] (SIGPROF): Likewise.
52506         [POSIX || XPG3] (SIGSYS): Likewise.
52507         [XPG3] (SIGTRAP): Likewise.
52508         [POSIX || XPG3] (SIGURG): Likewise.
52509         [POSIX || XPG3] (SIGVTALRM): Likewise.
52510         [POSIX || XPG3] (SIGXCPU): Likewise.
52511         [POSIX || XPG3] (SIGXFSZ): Likewise.
52512         [POSIX] (SA_SIGINFO): Expect.
52513         [XPG3] (siginfo_t): Do not expect type or contents.
52514         [POSIX] (si_pid): Do not expect element.
52515         [POSIX] (si_uid): Likewise.
52516         [POSIX] (si_addr): Likewise.
52517         [POSIX] (si_status): Likewise.
52518         [POSIX] (si_band): Likewise.
52519         [XPG4] (si_value): Likewise.
52520         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
52521         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
52522         [POSIX || XPG3] (ILL_ILLADR): Likewise.
52523         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
52524         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
52525         [POSIX || XPG3] (ILL_PRVREG): Likewise.
52526         [POSIX || XPG3] (ILL_COPROC): Likewise.
52527         [POSIX || XPG3] (ILL_BADSTK): Likewise.
52528         [POSIX || XPG3] (FPE_INTDIV): Likewise.
52529         [POSIX || XPG3] (FPE_INTOVF): Likewise.
52530         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
52531         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
52532         [POSIX || XPG3] (FPE_FLTUND): Likewise.
52533         [POSIX || XPG3] (FPE_FLTRES): Likewise.
52534         [POSIX || XPG3] (FPE_FLTINV): Likewise.
52535         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
52536         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
52537         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
52538         [POSIX || XPG3] (BUS_ADRALN): Likewise.
52539         [POSIX || XPG3] (BUS_ADRERR): Likewise.
52540         [POSIX || XPG3] (BUS_OBJERR): Likewise.
52541         [POSIX || XPG3] (CLD_EXITED): Likewise.
52542         [POSIX || XPG3] (CLD_KILLED): Likewise.
52543         [POSIX || XPG3] (CLD_DUMPED): Likewise.
52544         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
52545         [POSIX || XPG3] (CLD_STOPPED): Likewise.
52546         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
52547         [POSIX || XPG3] (POLL_IN): Likewise.
52548         [POSIX || XPG3] (POLL_OUT): Likewise.
52549         [POSIX || XPG3] (POLL_MSG): Likewise.
52550         [POSIX || XPG3] (POLL_ERR): Likewise.
52551         [POSIX || XPG3] (POLL_PRI): Likewise.
52552         [POSIX || XPG3] (POLL_HUP): Likewise.
52553         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
52554         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
52555         (SIG*): Do not allow.
52556         [XPG3] (si_*): Likewise.
52557         [XPG3] (SI_*): Likewise.
52558         [XPG3 || XPG4] (sigev_*): Likewise.
52559         [XPG3 || XPG4] (SIGEV_*): Likewise.
52560         [XPG3 || XPG4] (sival_*): Likewise.
52561         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
52562         [POSIX || XPG3] (BUS_*): Likewise.
52563         [POSIX || XPG3] (CLD_*): Likewise.
52564         [POSIX || XPG3] (FPE_*): Likewise.
52565         [POSIX || XPG3] (ILL_*): Likewise.
52566         [POSIX || XPG3] (POLL_*): Likewise.
52567         [POSIX || XPG3] (SEGV_*): Likewise.
52568         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
52569         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
52570         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
52571         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
52572         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
52573         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
52574         Specify type and value.
52575         (TVERSLEN): Likewise.
52576         (REGTYPE): Likewise.
52577         (AREGTYPE): Likewise.
52578         (LNKTYPE): Likewise.
52579         (SYMTYPE): Likewise.
52580         (CHRTYPE): Likewise.
52581         (BLKTYPE): Likewise.
52582         (DIRTYPE): Likewise.
52583         (FIFOTYPE): Likewise.
52584         (CONTTYPE): Likewise.
52585         (TSUID): Likewise.
52586         (TSGID): Likewise.
52587         (TSVTX): Likewise.
52588         (TUREAD): Likewise.
52589         (TUWRITE): Likewise.
52590         (TUEXEC): Likewise.
52591         (TGREAD): Likewise.
52592         (TGWRITE): Likewise.
52593         (TGEXEC): Likewise.
52594         (TOREAD): Likewise.
52595         (TOWRITE): Likewise.
52596         (TOEXEC): Likewise.
52597         [POSIX] (TSVTX): Expect constant.
52599 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
52601         * Makefile (tests): Change dependencies to ....
52602         (tests-special): ... additions to this variable.
52603         (tests): Depend on $(tests-special).
52604         * Makerules (check-abi-list): New variable.
52605         (check-abi): Depend on $(check-abi-list).
52606         [$(subdir) = elf] (tests-special): Add
52607         $(objpfx)check-abi-libc.out.
52608         [$(build-shared) = yes && subdir] (tests-special): Add
52609         $(check-abi-list).
52610         [$(build-shared) = yes && subdir] (tests): Do not depend on
52611         check-abi.
52612         * Rules (tests): Depend on $(tests-special).
52613         (xtests): Depend on $(xtests-special).
52614         * catgets/Makefile (tests): Change dependencies to ....
52615         (tests-special): ... additions to this variable.
52616         * conform/Makefile (tests): Change dependencies to ....
52617         (tests-special): ... additions to this variable.
52618         * elf/Makefile (tests): Change dependencies to ....
52619         (tests-special): ... additions to this variable.
52620         * grp/Makefile (tests): Change dependencies to ....
52621         (tests-special): ... additions to this variable.
52622         * iconv/Makefile (xtests): Change dependencies to ....
52623         (xtests-special): ... additions to this variable.
52624         * iconvdata/Makefile (tests): Change dependencies to ....
52625         (tests-special): ... additions to this variable.
52626         * intl/Makefile (tests): Change dependencies to ....
52627         (tests-special): ... additions to this variable.  Also add
52628         $(objpfx)tst-gettext.out.
52629         * io/Makefile (tests): Change dependencies to ....
52630         (tests-special): ... additions to this variable.
52631         * libio/Makefile (tests): Change dependencies to ....
52632         (tests-special): ... additions to this variable.
52633         * malloc/Makefile (tests): Change dependencies to ....
52634         (tests-special): ... additions to this variable.
52635         * misc/Makefile (tests): Change dependencies to ....
52636         (tests-special): ... additions to this variable.
52637         * nptl/Makefile (tests): Change dependencies to ....
52638         (tests-special): ... additions to this variable.
52639         * nptl_db/Makefile (tests): Change dependencies to ....
52640         (tests-special): ... additions to this variable.
52641         * posix/Makefile (tests): Change dependencies to ....
52642         (tests-special): ... additions to this variable.
52643         (xtests): Change dependencies to ....
52644         (xtests-special): ... additions to this variable.
52645         * resolv/Makefile (tests): Change dependencies to ....
52646         (tests-special): ... additions to this variable.
52647         (xtests): Change dependencies to ....
52648         (xtests-special): ... additions to this variable.
52649         * stdio-common/Makefile (tests): Change dependencies to ....
52650         (tests-special): ... additions to this variable.
52651         (do-tst-unbputc): Remove target.
52652         (do-tst-printf): Likewise.
52653         * stdlib/Makefile (tests): Change dependencies to ....
52654         (tests-special): ... additions to this variable.
52655         * string/Makefile (tests): Change dependencies to ....
52656         (tests-special): ... additions to this variable.
52657         * sysdeps/x86/Makefile (tests): Change dependencies to ....
52658         (tests-special): ... additions to this variable.
52660         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
52661         whole file.
52662         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
52663         whole file.
52664         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
52665         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
52667         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
52668         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
52669         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
52670         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
52671         * conform/data/libgen.h-data [XPG3]: Likewise.
52672         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
52673         * conform/data/ndbm.h-data [XPG3]: Likewise.
52674         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
52675         * conform/data/netdb.h-data [XPG3]: Likewise.
52676         * conform/data/netinet/in.h-data [XPG3]: Likewise.
52677         * conform/data/poll.h-data [XPG3]: Likewise.
52678         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
52679         * conform/data/strings.h-data [XPG3]: Likewise.
52680         * conform/data/stropts.h-data [XPG3]: Likewise.
52681         * conform/data/sys/mman.h-data [XPG3]: Likewise.
52682         * conform/data/sys/resource.h-data [XPG3]: Likewise.
52683         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
52684         Likewise.
52685         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
52686         * conform/data/sys/time.h-data [XPG3]: Likewise.
52687         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
52688         * conform/data/sys/uio.h-data [XPG3]: Likewise.
52689         * conform/data/sys/un.h-data [XPG3]: Likewise.
52690         * conform/data/syslog.h-data [XPG3]: Likewise.
52691         * conform/data/ucontext.h-data [XPG3]: Likewise.
52692         * conform/data/utmpx.h-data [XPG3]: Likewise.
52693         * conform/data/varargs.h-data [UNIX98]: Enable file.
52695         * manual/Makefile (INSTALL_INFO): Remove variable setting.
52697         * math/libm-test.inc (struct test_f_f_data): Move expected results
52698         into structure for each rounding mode.
52699         (struct test_ff_f_data): Likewise.
52700         (struct test_ff_f_data_nexttoward): Likewise.
52701         (struct test_fi_f_data): Likewise.
52702         (struct test_fl_f_data): Likewise.
52703         (struct test_if_f_data): Likewise.
52704         (struct test_fff_f_data): Likewise.
52705         (struct test_c_f_data): Likewise.
52706         (struct test_f_f1_data): Likewise.
52707         (struct test_fF_f1_data): Likewise.
52708         (struct test_ffI_f1_data): Likewise.
52709         (struct test_c_c_data): Likewise.
52710         (struct test_cc_c_data): Likewise.
52711         (struct test_f_i_data): Likewise.
52712         (struct test_ff_i_data): Likewise.
52713         (struct test_f_l_data): Likewise.
52714         (struct test_f_L_data): Likewise.
52715         (struct test_fFF_11_data): Likewise.
52716         (RM_): New macro.
52717         (RM_FE_DOWNWARD): Likewise.
52718         (RM_FE_TONEAREST): Likewise.
52719         (RM_FE_TOWARDZERO): Likewise.
52720         (RM_FE_UPWARD): Likewise.
52721         (RUN_TEST_LOOP_f_f): Update references to expected results.
52722         (RUN_TEST_LOOP_2_f): Likewise.
52723         (RUN_TEST_LOOP_fff_f): Likewise.
52724         (RUN_TEST_LOOP_c_f): Likewise.
52725         (RUN_TEST_LOOP_f_f1): Likewise.
52726         (RUN_TEST_LOOP_fF_f1): Likewise.
52727         (RUN_TEST_LOOP_fI_f1): Likewise.
52728         (RUN_TEST_LOOP_ffI_f1): Likewise.
52729         (RUN_TEST_LOOP_c_c): Likewise.
52730         (RUN_TEST_LOOP_cc_c): Likewise.
52731         (RUN_TEST_LOOP_f_i): Likewise.
52732         (RUN_TEST_LOOP_f_i_tg): Likewise.
52733         (RUN_TEST_LOOP_ff_i_tg): Likewise.
52734         (RUN_TEST_LOOP_f_b): Likewise.
52735         (RUN_TEST_LOOP_f_b_tg): Likewise.
52736         (RUN_TEST_LOOP_f_l): Likewise.
52737         (RUN_TEST_LOOP_f_L): Likewise.
52738         (RUN_TEST_LOOP_fFF_11): Likewise.
52739         * math/gen-libm-test.pl (parse_args): Output four copies of
52740         expected results for each test.
52742         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
52743         (__ASSUME_UTIMES): Remove.
52744         * sysdeps/unix/sysv/linux/tile/kernel-features.h
52745         (__ASSUME_UTIMES): Likewise.
52747         * math/gen-auto-libm-tests.c: Update comment on output format.
52748         (output_for_one_input_case): Generate before-rounding and
52749         after-rounding information as conditions on output flags not
52750         floating-point format.
52751         * math/auto-libm-test-out: Regenerated.
52752         * math/gen-libm-test.pl (cond_value): New function.
52753         (or_cond_value): Use cond_value.
52754         (generate_testfile): Handle conditional exceptions.
52756 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
52758         * math/libm-test.inc (max_valid_error): New variable.
52759         (init_max_error): Take new argument specifying whether function
52760         results are exactly determined.  Set max_valid_error and bound
52761         other variables for errors based on this argument.
52762         (set_max_error): Do not record results above max_valid_error.
52763         (check_float_internal): Only accept errors of up to 0.5ulps if
52764         also at most max_valid_error.
52765         (START): Take new argument EXACT and pass it to init_max_error.
52766         (acos_test): Update call to START.
52767         (acos_test_tonearest): Likewise.
52768         (acos_test_towardzero): Likewise.
52769         (acos_test_downward): Likewise.
52770         (acos_test_upward): Likewise.
52771         (acosh_test): Likewise.
52772         (asin_test): Likewise.
52773         (asin_test_tonearest): Likewise.
52774         (asin_test_towardzero): Likewise.
52775         (asin_test_downward): Likewise.
52776         (asin_test_upward): Likewise.
52777         (asinh_test): Likewise.
52778         (atan_test): Likewise.
52779         (atanh_test): Likewise.
52780         (atan2_test): Likewise.
52781         (cabs_test): Likewise.
52782         (cacos_test): Likewise.
52783         (cacosh_test): Likewise.
52784         (carg_test): Likewise.
52785         (casin_test): Likewise.
52786         (casinh_test): Likewise.
52787         (catan_test): Likewise.
52788         (catanh_test): Likewise.
52789         (cbrt_test): Likewise.
52790         (ccos_test): Likewise.
52791         (ccosh_test): Likewise.
52792         (ceil_test): Likewise.
52793         (cexp_test): Likewise.
52794         (cimag_test): Likewise.
52795         (clog_test): Likewise.
52796         (clog10_test): Likewise.
52797         (conj_test): Likewise.
52798         (copysign_test): Likewise.
52799         (cos_test): Likewise.
52800         (cos_test_tonearest): Likewise.
52801         (cos_test_towardzero): Likewise.
52802         (cos_test_downward): Likewise.
52803         (cos_test_upward): Likewise.
52804         (cosh_test): Likewise.
52805         (cosh_test_tonearest): Likewise.
52806         (cosh_test_towardzero): Likewise.
52807         (cosh_test_downward): Likewise.
52808         (cosh_test_upward): Likewise.
52809         (cpow_test): Likewise.
52810         (cproj_test): Likewise.
52811         (creal_test): Likewise.
52812         (csin_test): Likewise.
52813         (csinh_test): Likewise.
52814         (csqrt_test): Likewise.
52815         (ctan_test): Likewise.
52816         (ctan_test_tonearest): Likewise.
52817         (ctan_test_towardzero): Likewise.
52818         (ctan_test_downward): Likewise.
52819         (ctan_test_upward): Likewise.
52820         (ctanh_test): Likewise.
52821         (ctanh_test_tonearest): Likewise.
52822         (ctanh_test_towardzero): Likewise.
52823         (ctanh_test_downward): Likewise.
52824         (ctanh_test_upward): Likewise.
52825         (erf_test): Likewise.
52826         (erfc_test): Likewise.
52827         (exp_test): Likewise.
52828         (exp_test_tonearest): Likewise.
52829         (exp_test_towardzero): Likewise.
52830         (exp_test_downward): Likewise.
52831         (exp_test_upward): Likewise.
52832         (exp10_test): Likewise.
52833         (exp10_test_tonearest): Likewise.
52834         (exp10_test_towardzero): Likewise.
52835         (exp10_test_downward): Likewise.
52836         (exp10_test_upward): Likewise.
52837         (pow10_test): Likewise.
52838         (exp2_test): Likewise.
52839         (expm1_test): Likewise.
52840         (expm1_test_tonearest): Likewise.
52841         (expm1_test_towardzero): Likewise.
52842         (expm1_test_downward): Likewise.
52843         (expm1_test_upward): Likewise.
52844         (fabs_test): Likewise.
52845         (fdim_test): Likewise.
52846         (floor_test): Likewise.
52847         (fma_test): Likewise.
52848         (fma_test_towardzero): Likewise.
52849         (fma_test_downward): Likewise.
52850         (fma_test_upward): Likewise.
52851         (fmax_test): Likewise.
52852         (fmin_test): Likewise.
52853         (fmod_test): Likewise.
52854         (fpclassify_test): Likewise.
52855         (frexp_test): Likewise.
52856         (hypot_test): Likewise.
52857         (ilogb_test): Likewise.
52858         (isfinite_test): Likewise.
52859         (finite_test): Likewise.
52860         (isgreater_test): Likewise.
52861         (isgreaterequal_test): Likewise.
52862         (isinf_test): Likewise.
52863         (isless_test): Likewise.
52864         (islessequal_test): Likewise.
52865         (islessgreater_test): Likewise.
52866         (isnan_test): Likewise.
52867         (isnormal_test): Likewise.
52868         (issignaling_test): Likewise.
52869         (isunordered_test): Likewise.
52870         (j0_test): Likewise.
52871         (j1_test): Likewise.
52872         (jn_test): Likewise.
52873         (ldexp_test): Likewise.
52874         (lgamma_test): Likewise.
52875         (gamma_test): Likewise.
52876         (lrint_test): Likewise.
52877         (lrint_test_tonearest): Likewise.
52878         (lrint_test_towardzero): Likewise.
52879         (lrint_test_downward): Likewise.
52880         (lrint_test_upward): Likewise.
52881         (llrint_test): Likewise.
52882         (llrint_test_tonearest): Likewise.
52883         (llrint_test_towardzero): Likewise.
52884         (llrint_test_downward): Likewise.
52885         (llrint_test_upward): Likewise.
52886         (log_test): Likewise.
52887         (log10_test): Likewise.
52888         (log1p_test): Likewise.
52889         (log2_test): Likewise.
52890         (logb_test): Likewise.
52891         (logb_test_downward): Likewise.
52892         (lround_test): Likewise.
52893         (llround_test): Likewise.
52894         (modf_test): Likewise.
52895         (nearbyint_test): Likewise.
52896         (nextafter_test): Likewise.
52897         (nexttoward_test): Likewise.
52898         (pow_test): Likewise.
52899         (pow_test_tonearest): Likewise.
52900         (pow_test_towardzero): Likewise.
52901         (pow_test_downward): Likewise.
52902         (pow_test_upward): Likewise.
52903         (remainder_test): Likewise.
52904         (drem_test): Likewise.
52905         (remainder_test_tonearest): Likewise.
52906         (drem_test_tonearest): Likewise.
52907         (remainder_test_towardzero): Likewise.
52908         (drem_test_towardzero): Likewise.
52909         (remainder_test_downward): Likewise.
52910         (drem_test_downward): Likewise.
52911         (remainder_test_upward): Likewise.
52912         (drem_test_upward): Likewise.
52913         (remquo_test): Likewise.
52914         (rint_test): Likewise.
52915         (rint_test_tonearest): Likewise.
52916         (rint_test_towardzero): Likewise.
52917         (rint_test_downward): Likewise.
52918         (rint_test_upward): Likewise.
52919         (round_test): Likewise.
52920         (scalb_test): Likewise.
52921         (scalbn_test): Likewise.
52922         (scalbln_test): Likewise.
52923         (signbit_test): Likewise.
52924         (sin_test): Likewise.
52925         (sin_test_tonearest): Likewise.
52926         (sin_test_towardzero): Likewise.
52927         (sin_test_downward): Likewise.
52928         (sin_test_upward): Likewise.
52929         (sincos_test): Likewise.
52930         (sinh_test): Likewise.
52931         (sinh_test_tonearest): Likewise.
52932         (sinh_test_towardzero): Likewise.
52933         (sinh_test_downward): Likewise.
52934         (sinh_test_upward): Likewise.
52935         (sqrt_test): Likewise.
52936         (sqrt_test_tonearest): Likewise.
52937         (sqrt_test_towardzero): Likewise.
52938         (sqrt_test_downward): Likewise.
52939         (sqrt_test_upward): Likewise.
52940         (tan_test): Likewise.
52941         (tan_test_tonearest): Likewise.
52942         (tan_test_towardzero): Likewise.
52943         (tan_test_downward): Likewise.
52944         (tan_test_upward): Likewise.
52945         (tanh_test): Likewise.
52946         (tgamma_test): Likewise.
52947         (trunc_test): Likewise.
52948         (y0_test): Likewise.
52949         (y1_test): Likewise.
52950         (yn_test): Likewise.
52951         (significand_test): Likewise.
52953         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
52954         individual tests in comment.
52955         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
52956         (prev_max_error): New variable.
52957         (prev_real_max_error): Likewise.
52958         (prev_imag_max_error): Likewise.
52959         (compare_ulp_data): Don't refer to test names in comment.
52960         (find_test_ulps): Remove function.
52961         (find_function_ulps): Likewise.
52962         (find_complex_function_ulps): Likewise.
52963         (init_max_error): Take function name as argument.  Look up ulps
52964         for that function.
52965         (print_ulps): Remove function.
52966         (print_max_error): Use prev_max_error instead of calling
52967         find_function_ulps.
52968         (print_complex_max_error): Use prev_real_max_error and
52969         prev_imag_max_error instead of calling find_complex_function_ulps.
52970         (check_float_internal): Take max_ulp parameter instead of calling
52971         find_test_ulps.  Don't call print_ulps.
52972         (check_float): Update call to check_float_internal.
52973         (check_complex): Update calls to check_float_internal.
52974         (START): Pass argument to init_max_error.
52975         * math/gen-libm-test.pl (%results): Don't include "kind"
52976         information.
52977         (parse_ulps): Don't handle ulps of individual tests.
52978         (print_ulps_file): Likewise.
52979         (output_ulps): Likewise.
52980         * math/README.libm-test: Update.
52981         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
52982         individual tests.
52983         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
52984         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
52985         * sysdeps/arm/libm-test-ulps: Likewise.
52986         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
52987         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
52988         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
52989         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
52990         * sysdeps/microblaze/libm-test-ulps: Likewise.
52991         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
52992         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
52993         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
52994         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
52995         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
52996         * sysdeps/sh/libm-test-ulps: Likewise.
52997         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
52998         * sysdeps/tile/libm-test-ulps: Likewise.
52999         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53001 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
53003         * math/libm-test.inc (print_complex_max_error): Check separately
53004         whether real and imaginary errors are within allowed range and
53005         pass 0 to print_complex_function_ulps instead of value within
53006         allowed range.
53008 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
53010         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
53011         formatting.
53012         (get_handles_fopen): Likewise.
53013         (do_write_test): Likewise.
53015         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
53017         * libio/fileops.c (do_ftell): Use cached offset when
53018         available.
53019         * libio/iofwide.c (do_ftell_wide): Likewise.
53020         * libio/iofdopen.c (_IO_new_fdopen): Don't use
53021         _IO_file_attach.
53022         * libio/wfileops.c (_IO_fwide): Don't cache offset.
53024         [BZ #16532]
53025         * libio/libioP.h (get_file_offset): New function.
53026         * libio/fileops.c (get_file_offset): Likewise.
53027         (do_ftell): Likewise.
53028         (_IO_new_file_seekoff): Split out ftell logic.
53029         * libio/wfileops.c (do_ftell_wide): Likewise.
53030         (_IO_wfile_seekoff): Split out ftell logic.
53031         * libio/tst-ftell-active-handler.c: New test case.
53032         * libio/Makefile (tests): Add it.
53034 2014-03-03  Roland McGrath  <roland@hack.frob.com>
53036         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
53037         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
53039 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
53041         [BZ #16639]
53042         * nscd/connections.c (nscd_init): Call do_exit.
53043         (start_threads): Call do_exit and notify_parent.
53044         (begin_drop_privileges): Call do_exit.
53045         (finish_drop_privileges): Likewise.
53046         * nscd/selinux.c (preserve_capabilities): Likewise.
53047         (install_real_capabilities): Likewise.
53048         (nscd_selinux_enabled): Likewise.
53049         (avc_create_thread): Likewise.
53050         (avc_alloc_lock): Likewise.
53051         (nscd_avc_init): Likewise.
53052         * nscd/nscd.c (parent_fd): New static variable.
53053         (main): Create a pipe between parent and child processes.
53054         Skip closing parent_fd.
53055         (monitor_child): New function.
53056         (do_exit): Likewise.
53057         (notify_parent): Likewise.
53058         * nscd/nscd.h (notify_parent): Likewise.
53059         (do_exit): Likewise.
53061 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
53063         * malloc/malloc.c (__libc_calloc): Revert last change.
53065 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53067         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53069 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
53071         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
53072         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
53073         implementation.
53074         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
53075         (__libc_ifunc_impl_list): Likewise.
53076         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
53077         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
53078         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
53079         * string/strrchr.c: Define STRRCHR.
53081 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
53083         * benchtest/bench-strtok.c (simple_strtok): Delete.
53084         (strtok_string): Use as benchmark.
53085         * string/strtok (STRTOK): New macro.
53087 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
53089         * manual/threads.texi: Add header and standard comments to all
53090         functions.
53092         * elf/dl-lookup.c (check_match): New function.
53093         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
53094         (do_lookup_x): Remove nested function check_match. Use non-nested
53095         function check_match.
53097 2014-02-28  Roland McGrath  <roland@hack.frob.com>
53099         * csu/Makefile (generated, before-compile): Use += rather than =.
53100         * catgets/Makefile (generated, generated-dirs): Likewise.
53101         * debug/Makefile (generated): Likewise.
53102         * dlfcn/Makefile (generated): Likewise.
53103         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
53104         * iconvdata/Makefile (before-compile, generated): Likewise.
53105         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
53106         * libio/Makefile (generated): Likewise.
53107         * malloc/Makefile (generated): Likewise.
53108         * manual/Makefile (generated, generated-dirs): Likewise.
53109         * misc/Makefile (generated): Likewise.
53110         * posix/Makefile (generated): Likewise.
53111         * resolv/Makefile (generated): Likewise.
53112         * sunrpc/Makefile (generated, generated-dirs): Likewise.
53113         * timezone/Makefile (generated, generated-dirs): Likewise.
53115         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
53117 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53119         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
53120         power8 implementation.
53121         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
53122         file: POWER8 llround ifunc implementation.
53123         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
53124         (__lllround): Add POWER8 implementation.
53125         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
53126         POWER8 llround implementation.
53128         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
53129         power8 implementation.
53130         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
53131         file: POWER8 llrint ifunc implementation.
53132         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
53133         Add POWER8 implementation.
53134         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
53135         POWER8 llrint implementation.
53137         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
53138         power8 implementation.
53139         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
53140         file: POWER8 finite ifunc implementation.
53141         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
53142         Add POWER8 implementation.
53143         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
53144         Likewise.
53145         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
53146         POWER8 finite implementation.
53147         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
53149         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
53150         power8 implementation.
53151         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
53152         file: POWER8 isinf ifunc implementation.
53153         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
53154         POWER8 implementation.
53155         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
53156         Likewise.
53157         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
53158         isinf implementation.
53159         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
53161         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
53162         (INIT_ARCH): Add hwcap2 initialization.
53163         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
53164         power8 implementation.
53165         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
53166         file: POWER8 isnan ifunc implementation.
53167         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
53168         POWER8 implementation.
53169         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
53170         Likewise.
53171         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
53172         isnan implementation.
53173         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
53175 2014-02-27  Joey Ye  <joey.ye@arm.com>
53177         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
53178         (_FP_NANFRAC_Q): Set to zero.
53180 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
53182         [BZ #16623]
53183         * math/auto-libm-test-in: New test inputs.
53184         * math/auto-libm-test-out: Regenerate.
53185         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
53186         and DA.
53187         (__cos): Likewise.
53188         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
53190 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
53192         * scripts/evaluate-test.sh: Take new argument indicating whether
53193         failure is expected.
53194         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
53195         indicating whether failure is expected.
53196         * conform/Makefile (test-xfail-run-conformtest): New variable.
53197         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
53198         level.
53199         * posix/Makefile (test-xfail-annexc): New variable.
53200         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
53202 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
53204         * argp/Makefile: Include Makeconfig immediately after defining
53205         subdir.
53206         * assert/Makefile: Likewise.
53207         * benchtests/Makefile: Likewise.
53208         * catgets/Makefile: Likewise.
53209         * conform/Makefile: Likewise.
53210         * crypt/Makefile: Likewise.
53211         * csu/Makefile: Likewise.
53212         (all): Remove target.
53213         * ctype/Makefile: Include Makeconfig immediately after defining
53214         subdir.
53215         * debug/Makefile: Likewise.
53216         * dirent/Makefile: Likewise.
53217         * dlfcn/Makefile: Likewise.
53218         * gmon/Makefile: Likewise.
53219         * gnulib/Makefile: Likewise.
53220         * grp/Makefile: Likewise.
53221         * gshadow/Makefile: Likewise.
53222         * hesiod/Makefile: Likewise.
53223         * hurd/Makefile: Likewise.
53224         (all): Remove target.
53225         * iconvdata/Makefile: Include Makeconfig immediately after
53226         defining subdir.
53227         * inet/Makefile: Likewise.
53228         * intl/Makefile: Likewise.
53229         * io/Makefile: Likewise.
53230         * libio/Makefile: Likewise.
53231         (all): Remove target.
53232         * locale/Makefile: Include Makeconfig immediately after defining
53233         subdir.
53234         * login/Makefile: Likewise.
53235         * mach/Makefile: Likewise.
53236         (all): Remove target.
53237         * malloc/Makefile: Include Makeconfig immediately after defining
53238         subdir.
53239         (all): Remove target.
53240         * manual/Makefile: Include Makeconfig immediately after defining
53241         subdir.
53242         * math/Makefile: Likewise.
53243         * misc/Makefile: Likewise.
53244         * nis/Makefile: Likewise.
53245         * nss/Makefile: Likewise.
53246         * po/Makefile: Likewise.
53247         (all): Remove target.
53248         * posix/Makefile: Include Makeconfig immediately after defining
53249         subdir.
53250         * pwd/Makefile: Likewise.
53251         * resolv/Makefile: Likewise.
53252         * resource/Makefile: Likewise.
53253         * rt/Makefile: Likewise.
53254         * setjmp/Makefile: Likewise.
53255         * shadow/Makefile: Likewise.
53256         * signal/Makefile: Likewise.
53257         * socket/Makefile: Likewise.
53258         * soft-fp/Makefile: Likewise.
53259         * stdio-common/Makefile: Likewise.
53260         * stdlib/Makefile: Likewise.
53261         * streams/Makefile: Likewise.
53262         * string/Makefile: Likewise.
53263         * sunrpc/Makefile: Likewise.
53264         (all): Remove target.
53265         * sysvipc/Makefile: Include Makeconfig immediately after defining
53266         subdir.
53267         * termios/Makefile: Likewise.
53268         * time/Makefile: Likewise.
53269         * timezone/Makefile: Likewise.
53270         (all): Remove target.
53271         * wcsmbs/Makefile: Include Makeconfig immediately after defining
53272         subdir.
53273         * wctype/Makefile: Likewise.
53275 2014-02-26  Steve Ellcey  <sellcey@mips.com>
53277         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
53278         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
53279         (libc_feholdexcept_setround_mips): Ditto.
53280         (libc_feholdsetround): New.
53281         (libc_feholdsetroundf): New.
53282         (libc_feholdsetroundl): New.
53283         (libc_feupdateenv_test_mips): New.
53284         (libc_feupdateenv_test): New.
53285         (libc_feupdateenv_testf): New.
53286         (libc_feupdateenv_testl): New.
53287         (libc_feresetround): New.
53288         (libc_feresetroundf): New.
53289         (libc_feresetroundl): New.
53290         (libc_fetestexcept_mips): New.
53291         (libc_fetestexcept): New.
53292         (libc_fetestexceptf): New.
53293         (libc_fetestexceptl): New.
53294         (HAVE_RM_CTX): New.
53295         (libc_feholdexcept_setround_mips_ctx): New.
53296         (libc_feholdexcept_setround_ctx): New.
53297         (libc_feholdexcept_setroundf_ctx): New.
53298         (libc_feholdexcept_setroundl_ctx): New.
53299         (libc_fesetenv_mips_ctx): New.
53300         (libc_fesetenv_ctx): New.
53301         (libc_fesetenv_ctxf): New.
53302         (libc_fesetenv_ctxl): New.
53303         (libc_feupdateenv_mips_ctx): New.
53304         (libc_feupdateenv_ctx): New.
53305         (libc_feupdateenvf_ctx): New.
53306         (libc_feupdateenvl_ctx): New.
53307         (libc_feholdsetround_mips_ctx): New.
53308         (libc_feholdsetround_ctx): New.
53309         (libc_feholdsetroundf_ctx): New.
53310         (libc_feholdsetroundl_ctx): New.
53311         (libc_feresetround_mips_ctx): New.
53312         (libc_feresetround_ctx): New.
53313         (libc_feresetroundf_ctx): New.
53314         (libc_feresetroundl_ctx): New.
53316 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
53318         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
53320         * manual/ipc.texi: New file.
53321         * manual/Makefile (chapters): Add ipc.
53322         * manual/job.texi: Add "Inter-Process Communication" to next.
53323         * manual/process.texi: Add "Inter-Process Communication" to prev.
53325 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53327         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53329 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
53331         * malloc/malloc.c (__libc_calloc): Simplify implementation.
53333         * manual/arith.texi: Fix spaces after sentences.
53334         * manual/charset.texi: Likewise.
53335         * manual/errno.texi: Likewise.
53336         * manual/install.texi: Likewise.
53337         * manual/llio.texi: Likewise.
53338         * manual/locale.texi: Likewise.
53339         * manual/maint.texi: Likewise.
53340         * manual/math.texi: Likewise.
53341         * manual/memory.texi: Likewise.
53342         * manual/message.texi: Likewise.
53343         * manual/probes.texi: Likewise.
53344         * manual/resource.texi: Likewise.
53345         * manual/signal.texi: Likewise.
53346         * manual/socket.texi: Likewise.
53347         * manual/stdio.texi: Likewise.
53348         * manual/string.texi: Likewise.
53349         * manual/time.texi: Likewise.
53350         * manual/users.texi: Likewise.
53352 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
53354         [BZ #16632]
53355         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
53356         _DEFAULT_SOURCE is defined.
53358 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
53359             Carlos O'Donell  <carlos@redhat.com>
53361         [BZ #16613]
53362         * elf/dl-tls.c (_dl_count_modids): New function.
53363         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
53364         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
53365         audit library and increment generation counter.
53366         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
53367         * elf/tst-audit9.c: New file.
53368         * elf/tst-auditmod9a.c: New file.
53369         * elf/tst-auditmod9b.c: New file.
53370         * elf/Makefile: Add rules to build and run tst-audit9.
53372 2014-02-25  Florian Weimer  <fweimer@redhat.com>
53374         [BZ #15347]
53375         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
53377 2014-02-25  Will Newton  <will.newton@linaro.org>
53379         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
53380         (__longjmp): Restore sp and lr before restoring callee
53381         saved registers.  Add longjmp and longjmp_target
53382         SystemTap probe point.
53383         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
53384         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
53385         Define to zero to match jmpbuf layout.
53386         * sysdeps/arm/setjmp.S: Include stap-probe.h.
53387         (__sigsetjmp): Save sp and lr before saving callee
53388         saved registers.  Add setjmp SystemTap probe point.
53390 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
53392         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
53394 2014-02-24  Andreas Schwab  <schwab@suse.de>
53396         [BZ #15804]
53397         * elf/pldd.c (wait_for_ptrace_stop): New function.
53398         (main): Call it after attaching.
53400 2014-02-22  Roland McGrath  <roland@hack.frob.com>
53402         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
53403         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
53404         Versions files is now verboten.
53405         * hurd/Versions (libc: GLIBC_2.0):
53406         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
53407         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
53408         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
53409         * mach/Versions: Likewise.
53411         * csu/Versions: Remove unused %include.
53412         * resolv/Versions: Likewise.
53414 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
53416         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
53417         ($(objpfx)check-local-headers.out): Likewise.
53418         ($(objpfx)begin-end-check.out): Likewise.
53419         * Makerules (check-abi-%.out): Likewise.
53420         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
53421         ($(objpfx)test2.cat): Likewise.
53422         ($(objpfx)de/libc.cat): Likewise.
53423         ($(objpfx)test-gencat.out): Likewise.
53424         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
53425         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
53426         ($(objpfx)noload-mem): Likewise.
53427         ($(objpfx)tst-pathopt.out): Likewise.
53428         ($(objpfx)tst-rtld-load-self.out): Likewise.
53429         ($(objpfx)tst-array1-cmp.out): Likewise.
53430         ($(objpfx)tst-array1-static-cmp.out): Likewise.
53431         ($(objpfx)tst-array2-cmp.out): Likewise.
53432         ($(objpfx)tst-array3-cmp.out): Likewise.
53433         ($(objpfx)tst-array4-cmp.out): Likewise.
53434         ($(objpfx)tst-array5-cmp.out): Likewise.
53435         ($(objpfx)tst-array5-static-cmp.out): Likewise.
53436         ($(objpfx)check-textrel.out): Likewise.
53437         ($(objpfx)check-execstack.out): Likewise.
53438         ($(objpfx)check-localplt.out): Likewise.
53439         ($(objpfx)order2-cmp.out): Likewise.
53440         ($(objpfx)tst-leaks1-mem): Likewise.
53441         ($(objpfx)tst-leaks1-static-mem): Likewise.
53442         ($(objpfx)tst-initorder-cmp.out): Likewise.
53443         ($(objpfx)tst-initorder2-cmp.out): Likewise.
53444         ($(objpfx)tst-unused-dep.out): Likewise.
53445         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
53446         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
53447         * iconv/Makefile (test-iconvconfig): Likewise.
53448         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
53449         ($(objpfx)iconv-test.out): Likewise.
53450         ($(objpfx)tst-tables.out): Likewise.
53451         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
53452         ($(objpfx)tst-gettext.out): Likewise.
53453         ($(objpfx)tst-translit.out): Likewise.
53454         ($(objpfx)tst-gettext2.out): Likewise.
53455         ($(objpfx)tst-gettext4.out): Likewise.
53456         ($(objpfx)tst-gettext6.out): Likewise.
53457         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
53458         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
53459         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
53460         ($(objpfx)tst-fopenloc-mem.out): Likewise.
53461         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
53462         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
53463         * posix/Makefile ($(objpfx)globtest.out): Likewise.
53464         ($(objpfx)wordexp-tst.out): Likewise.
53465         ($(objpfx)annexc.out): Likewise.
53466         ($(objpfx)tst-fnmatch-mem): Likewise.
53467         ($(objpfx)bug-regex2-mem): Likewise.
53468         ($(objpfx)bug-regex14-mem): Likewise.
53469         ($(objpfx)bug-regex21-mem): Likewise.
53470         ($(objpfx)bug-regex31-mem): Likewise.
53471         ($(objpfx)tst-vfork3-mem): Likewise.
53472         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
53473         ($(objpfx)tst-pcre-mem): Likewise.
53474         ($(objpfx)tst-boost-mem): Likewise.
53475         ($(objpfx)tst-getconf.out): Likewise.
53476         ($(objpfx)bug-ga2-mem): Likewise.
53477         ($(objpfx)bug-glob2-mem): Likewise.
53478         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
53479         ($(objpfx)mtrace-tst-leaks2): Likewise.
53480         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
53481         ($(objpfx)tst-printf.out): Likewise.
53482         ($(objpfx)tst-setvbuf1.out): Likewise.
53483         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
53484         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
53485         ($(objpfx)tst-fmtmsg.out): Likewise.
53486         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
53487         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
53489         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
53490         * bits/sigaction.h [__USE_MISC]: Likewise.
53491         * bits/waitstatus.h: Update #endif comments.
53492         * ctype/ctype.h: Likewise.
53493         * dirent/dirent.h: Likewise.
53494         [__USE_MISC]: Remove redundant conditionals.
53495         * grp/grp.h: Update #endif comments.
53496         [__USE_GNU]: Remove redundant conditionals.
53497         [__USE_MISC]: Likewise.
53498         * inet/netinet/in.h [__USE_GNU]: Likewise.
53499         * io/sys/stat.h [__USE_MISC]: Likewise.
53500         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
53501         * libio/bits/stdio.h: Update #endif comments.
53502         [__USE_MISC]: Remove redundant conditionals.
53503         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
53504         * libio/stdio.h: Update #endif comments.
53505         [__USE_MISC]: Remove redundant conditionals.
53506         * math/bits/math-finite.h [__USE_MISC]: Likewise.
53507         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
53508         * math/math.h: Update #else and #endif comments.
53509         [__USE_MISC]: Remove redundant conditionals.
53510         * misc/sys/uio.h: Update #endif comments.
53511         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
53512         * posix/glob.h [__USE_MISC]: Likewise.
53513         * posix/sys/types.h: Update #endif comments.
53514         [__USE_MISC]: Remove redundant conditionals.
53515         * posix/sys/wait.h: Update #endif comments.
53516         [__USE_MISC]: Remove redundant conditionals.
53517         * posix/unistd.h: Update #endif comments.
53518         [__USE_MISC]: Remove redundant conditionals.
53519         * pwd/pwd.h [__USE_GNU]: Likewise.
53520         [__USE_MISC]: Likewise.
53521         * resolv/netdb.h [__USE_GNU]: Likewise.
53522         * signal/signal.h: Update #endif comments.
53523         [__USE_MISC]: Remove redundant conditionals.
53524         * stdlib/stdlib.h: Update #else and #endif comments.
53525         [__USE_MISC]: Remove redundant conditionals.
53526         [__USE_GNU]: Likewise.
53527         * string/bits/string2.h [__USE_MISC]: Likewise.
53528         * string/string.h: Update #endif comments.
53529         [__USE_MISC]: Remove redundant conditionals.
53530         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
53531         Likewise.
53532         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
53533         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
53534         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
53535         Likewise.
53536         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
53537         Likewise.
53538         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
53539         comments.
53540         [__USE_MISC]: Remove redundant conditionals.
53541         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
53542         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
53543         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
53544         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
53545         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
53546         Likewise.
53547         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
53548         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
53549         Likewise.
53550         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
53551         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
53552         Likewise.
53553         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
53554         Likewise.
53555         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
53556         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
53557         Likewise.
53558         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
53559         Likewise.
53560         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
53561         * sysdeps/x86/bits/string.h: Update #endif comments.
53562         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
53563         conditionals.
53564         * time/sys/time.h: Update #endif comments.
53565         * time/time.h: Likewise.
53566         [__USE_MISC]: Remove redundant conditionals.
53568 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
53570         [BZ #16600]
53571         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
53573 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
53575         * Versions.def (librt): Add GLIBC_2.17.
53577 2014-02-21  Adam Conrad  <adconrad@0c3.net>
53579         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
53580         synonym for _SYS_AUXV_H to allow direct inclusion.
53581         * sysdeps/sparc/bits/hwcap.h: Likewise.
53582         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
53583         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
53584         * sysdeps/sparc/sysdep.h: Likewise.
53586 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53588         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
53590 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
53592         * benchtests/bench-strrchr.c: Print length instead of position.
53594 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
53596         [BZ #16611]
53597         * sysdeps/unix/sysv/linux/kernel-features.h
53598         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
53599         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
53600         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
53601         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
53602         Likewise.
53603         [__i386__ || __powerpc__ || __sh__ || __sparc__]
53604         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
53605         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
53606         (__ASSUME_SENDMMSG): Define instead of using previous
53607         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
53608         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
53609         (__ASSUME_SENDMMSG_SYSCALL): Define.
53610         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
53611         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
53612         Likewise.
53613         * sysdeps/unix/sysv/linux/arm/kernel-features.h
53614         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
53615         Likewise.
53616         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
53617         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
53618         Likewise.
53619         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
53620         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
53621         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
53622         [__ASSUME_SENDMMSG]: Change conditionals to
53623         [__ASSUME_SENDMMSG_SOCKETCALL].
53624         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53625         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
53626         Define.
53627         * sysdeps/unix/sysv/linux/mips/kernel-features.h
53628         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
53629         Likewise.
53630         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
53631         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
53632         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
53633         [!__ASSUME_SENDMMSG]: Change conditional to
53634         [!__ASSUME_SENDMMSG_SOCKETCALL].
53635         * sysdeps/unix/sysv/linux/tile/kernel-features.h
53636         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
53637         Define.
53639         [BZ #16610]
53640         * sysdeps/unix/sysv/linux/kernel-features.h
53641         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
53642         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
53643         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
53644         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
53645         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
53646         [__i386__ || __sparc__]
53647         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
53648         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
53649         (__ASSUME_RECVMMSG): Define instead of using previous
53650         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
53651         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
53652         (__ASSUME_RECVMMSG_SYSCALL): Define.
53653         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
53654         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
53655         Likewise.
53656         * sysdeps/unix/sysv/linux/arm/kernel-features.h
53657         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
53658         Likewise.
53659         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
53660         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
53661         Likewise.
53662         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
53663         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
53664         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
53665         [__ASSUME_RECVMMSG]: Change condition to
53666         [__ASSUME_RECVMMSG_SOCKETCALL].
53667         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53668         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
53669         Define.
53670         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
53671         * sysdeps/unix/sysv/linux/mips/kernel-features.h
53672         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
53673         Likewise.
53674         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
53675         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
53676         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
53677         [!__ASSUME_RECVMMSG]: Change condition to
53678         [!__ASSUME_RECVMMSG_SOCKETCALL].
53679         * sysdeps/unix/sysv/linux/tile/kernel-features.h
53680         (__ASSUME_RECVMMSG_SYSCALL): Define.
53682         [BZ #16609]
53683         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
53684         __powerpc__ || __s390__ || __sh__ || __sparc__]
53685         (__ASSUME_SOCKETCALL): Define.
53686         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
53687         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
53688         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
53689         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
53690         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
53691         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
53692         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
53693         (__ASSUME_ACCEPT4): Define instead of using previous
53694         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
53695         __powerpc__ || __sparc__ || __s390__)] condition.
53696         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
53697         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
53698         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
53699         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
53700         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
53701         [!__ASSUME_ACCEPT4]: Change condition to
53702         [!__ASSUME_ACCEPT4_SOCKETCALL].
53703         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
53704         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
53705         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
53706         * sysdeps/unix/sysv/linux/arm/kernel-features.h
53707         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
53708         __ASSUME_ACCEPT4_SYSCALL.
53709         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
53710         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
53711         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
53712         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
53713         __ASSUME_ACCEPT4_SYSCALL.
53714         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
53715         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
53716         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
53717         [__ASSUME_ACCEPT4]: Change condition to
53718         [__ASSUME_ACCEPT4_SOCKETCALL].
53719         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
53720         (__ASSUME_SOCKETCALL): Define.
53721         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
53722         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53723         (__ASSUME_SOCKETCALL): Define.
53724         (__ASSUME_ACCEPT4): Remove.
53725         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
53726         Define.
53727         * sysdeps/unix/sysv/linux/mips/kernel-features.h
53728         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
53729         Likewise.
53730         * sysdeps/unix/sysv/linux/tile/kernel-features.h
53731         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
53733         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
53734         macro.
53735         (HWCAP_ARM_LPAE): Likewise.
53736         (HWCAP_ARM_EVTSTRM): Likewise.
53737         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
53738         Add vpfd32, lpae and evtstrm.
53739         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
53740         Increase to 22.
53742 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
53744         * math/auto-libm-test-in: Add tests of clog10.
53745         * math/auto-libm-test-out: Regenerated.
53746         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
53747         * sysdeps/i386/fpu/libm-test-ulps: Update.
53748         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53750 2014-02-18  Andreas Schwab  <schwab@suse.de>
53752         [BZ #16574]
53753         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
53754         Store non-zero if the second buffer was newly allocated.
53755         (send_dg): Likewise.
53756         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
53757         to send_vc and send_dg.
53758         (res_nsend): Pass NULL for ansp2_malloced.
53759         * resolv/res_query.c (__libc_res_nquery): Add parameter
53760         answerp2_malloced and pass it down to __libc_res_nsend.
53761         (res_nquery): Pass additional NULL to __libc_res_nquery.
53762         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
53763         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
53764         second answer buffer if answerp2_malloced was set.
53765         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
53766         (__libc_res_nquerydomain): Add parameter
53767         answerp2_malloced and pass it down to __libc_res_nquery.
53768         (res_nquerydomain): Pass additional NULL to
53769         __libc_res_nquerydomain.
53770         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
53771         additional NULL to __libc_res_nsend and __libc_res_nquery.
53772         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
53773         additional NULL to __libc_res_nsearch.
53774         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
53775         parameter of __libc_res_nsearch to check for separately allocated
53776         second buffer.
53777         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
53778         __libc_res_nquery.
53779         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
53780         additional NULL to __libc_res_nquery.
53781         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
53782         __libc_res_nsearch.
53783         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
53784         * include/resolv.h: Update prototypes of __libc_res_nquery,
53785         __libc_res_nsearch, __libc_res_nsend.
53787 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
53789         * math/auto-libm-test-in: Add tests of fma.
53790         * math/auto-libm-test-out: Regenerated.
53791         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
53792         (fma_towardzero_test_data): Likewise.
53793         (fma_downward_test_data): Likewise.
53794         (fma_upward_test_data): Likewise.
53795         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
53796         mpc_mode.
53797         (rounding_modes): Add values for new field.
53798         (func_calc_method): Add value mpfr_fff_f.
53799         (func_calc_desc): Add mpfr_fff_f union field.
53800         (test_function): Add field exact_args.
53801         (FUNC): Add macro argument EXACT_ARGS.
53802         (FUNC_mpfr_f_f): Update call to FUNC.
53803         (FUNC_mpfr_f_f): Likewise.
53804         (FUNC_mpfr_ff_f): Likewise.
53805         (FUNC_mpfr_if_f): Likewise.
53806         (FUNC_mpc_c_f): Likewise.
53807         (FUNC_mpc_c_c): Likewise.
53808         (test_functions): Add fma.  Update calls to FUNC.
53809         (handle_input_arg): Add argument exact_args.
53810         (add_test): Update call to handle_input_arg.
53811         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
53812         (output_for_one_input_case): Update call to calc_generic_results.
53813         Recalculate exact zero results in each rounding mode.
53815         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
53816         non-negative before setting low bit.
53817         * math/auto-libm-test-in: Mark one asin test possibly having
53818         spurious underflow.
53819         * math/auto-libm-test-out: Regenerated.
53820         * sysdeps/i386/fpu/libm-test-ulps: Update.
53821         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53823 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
53825         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
53826         * sysdeps/unix/sysv/linux/microblaze: Move directory from
53827         ports/sysdeps/unix/sysv/linux/microblaze.
53828         * README: Add missing listing for microblaze*-*-linux-gnu.
53830 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
53832         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
53833         duplicate code
53835 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
53837         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
53838         * sysdeps/unix/sysv/linux/ia64: Move directory from
53839         ports/sysdeps/unix/sysv/linux/ia64.
53840         * README: Update listing for ia64-*-linux-gnu.
53842 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
53843             Joseph Myers  <joseph@codesourcery.com>
53845         * Makeconfig (test-name): New variable.
53846         (evaluate-test): Likewise.
53847         * Makerules (do-test-clean): Remove .test-result files.
53848         (common-mostlyclean): Likewise.
53849         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
53850         * scripts/evaluate-test.sh: New file.
53852 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
53854         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
53855         separate $(objpfx)tst-fopenloc-cmp.out and
53856         $(objpfx)tst-fopenloc-mem.out targets.
53857         (tests): Update dependencies.
53858         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
53859         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
53860         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
53861         (tst-rxspencer-no-utf8-ARGS): New variable.
53862         (tst-rxspencer-no-utf8-ENV): Likewise.
53863         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
53864         instead of $(objpfx)tst-rxspencer-mem.
53865         ($(objpfx)tst-rxspencer-mem): Change target to
53866         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
53867         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
53868         * posix/tst-rxspencer-no-utf8.c: New file.
53870         * elf/Makefile ($(objpfx)order.out): Remove rule.
53871         [$(run-built-tests) = yes] (tests): Depend on
53872         $(objpfx)order-cmp.out.
53873         ($(objpfx)order-cmp.out): New rule.
53874         [$(run-built-tests) = yes] (tests): Depend on
53875         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
53876         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
53877         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
53878         $(objpfx)tst-array5-static-cmp.out.
53879         ($(objpfx)tst-array1.out): Remove rule.
53880         ($(objpfx)tst-array1-cmp.out): New rule.
53881         ($(objpfx)tst-array1-static.out): Remove rule.
53882         ($(objpfx)tst-array1-static-cmp.out): New rule.
53883         ($(objpfx)tst-array2.out): Remove rule.
53884         ($(objpfx)tst-array2-cmp.out): New rule.
53885         ($(objpfx)tst-array3.out): Remove rule.
53886         ($(objpfx)tst-array3-cmp.out): New rule.
53887         ($(objpfx)tst-array4.out): Remove rule.
53888         ($(objpfx)tst-array4-cmp.out): New rule.
53889         ($(objpfx)tst-array5.out): Remove rule.
53890         ($(objpfx)tst-array5-cmp.out): New rule.
53891         ($(objpfx)tst-array5-static.out): Remove rule.
53892         ($(objpfx)tst-array5-static-cmp.out): New rule.
53893         [$(run-built-tests) = yes] (tests): Depend on
53894         $(objpfx)order2-cmp.out.
53895         ($(objpfx)order2.out): Remove rule.
53896         ($(objpfx)order2-cmp.out): New rule.
53897         ($(objpfx)tst-initorder.out): Remove rule.
53898         [$(run-built-tests) = yes] (tests): Depend on
53899         $(objpfx)tst-initorder-cmp.out.
53900         ($(objpfx)tst-initorder-cmp.out): New rule.
53901         ($(objpfx)tst-initorder2.out): Remove rule.
53902         [$(run-built-tests) = yes] (tests): Depend on
53903         $(objpfx)tst-initorder2-cmp.out.
53904         ($(objpfx)tst-initorder2-cmp.out): New rule.
53905         [$(run-built-tests) = yes] (tests): Depend on
53906         $(objpfx)tst-unused-dep-cmp.out.
53907         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
53908         ($(objpfx)tst-unused-dep-cmp.out): New rule.
53909         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
53910         on $(objpfx)tst-setvbuf1-cmp.out.
53911         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
53912         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
53913         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
53914         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
53915         ($(objpfx)tst-svc.out): Remove rule.
53916         ($(objpfx)tst-svc-cmp.out): New rule.
53918 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
53920         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
53921         * ctype/ctype.h [__USE_MISC]: Likewise.
53922         * dirent/dirent.h [__USE_MISC]: Likewise.
53923         * grp/grp.h [__USE_MISC]: Likewise.
53924         * io/fcntl.h [__USE_MISC]: Likewise.
53925         * io/sys/stat.h [__USE_MISC]: Likewise.
53926         * libio/stdio.h [__USE_MISC]: Likewise.
53927         * posix/unistd.h [__USE_MISC]: Likewise.
53928         * pwd/pwd.h [__USE_MISC]: Likewise.
53929         * stdlib.h [__USE_MISC]: Likewise.
53930         * string/bits/string2.h [__USE_MISC]: Likewise.
53931         * string/string.h [__USE_MISC]: Likewise.
53932         * time/time.h [__USE_MISC]: Likewise.
53934 2014-02-13  Andreas Schwab  <schwab@suse.de>
53936         [BZ #16574]
53937         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
53938         second answer buffer if it was separately allocated.
53940 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
53942         * sysdeps/mips/math-tests.h: Include <features.h>.
53943         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
53944         (ROUNDING_TESTS_long_double): Do not define.
53945         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
53946         (EXCEPTION_TESTS_long_double): Likewise.
53947         * sysdeps/mips/mips64/libm-test-ulps: Update.
53949         * include/features.h (__USE_BSD): Remove macro definitions.
53950         (__USE_SVID): Likewise.
53951         (_BSD_SOURCE): Likewise.
53952         (_SVID_SOURCE): Likewise.
53953         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
53954         from definition of _DEFAULT_SOURCE.
53955         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
53956         [_DEFAULT_SOURCE].
53957         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
53958         * bits/mman.h [__USE_BSD]: Likewise.
53959         * bits/termios.h [__USE_BSD]: Likewise.
53960         * bits/waitstatus.h [__USE_BSD]: Likewise.
53961         * ctype/ctype.h [__USE_SVID]: Likewise.
53962         * dirent/dirent.h [__USE_BSD]: Likewise.
53963         * grp/grp.h [__USE_SVID]: Likewise.
53964         [__USE_BSD]: Likewise.
53965         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
53966         * io/fcntl.h [__USE_BSD]: Likewise.
53967         * io/ftw.h [__USE_BSD]: Likewise.
53968         * io/sys/stat.h [__USE_BSD]: Likewise.
53969         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
53970         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
53971         * libio/stdio.h [__USE_SVID]: Likewise.
53972         [__USE_BSD]: Likewise.
53973         * math/math.h [__USE_SVID]: Likewise.
53974         [__USE_BSD]: Likewise.
53975         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
53976         * misc/bits/syslog.h [__USE_BSD]: Likewise.
53977         * misc/search.h [__USE_SVID]: Likewise.
53978         * misc/sys/mman.h [__USE_BSD]: Likewise.
53979         * misc/sys/syslog.h [__USE_BSD]: Likewise.
53980         * misc/sys/uio.h [__USE_BSD]: Likewise.
53981         * posix/bits/unistd.h [__USE_BSD]: Likewise.
53982         * posix/glob.h [__USE_BSD]: Likewise.
53983         * posix/regex.h [__USE_BSD]: Likewise.
53984         * posix/sys/types.h [__USE_BSD]: Likewise.
53985         [__USE_SVID]: Likewise.
53986         * posix/sys/utsname.h [__USE_SVID]: Likewise.
53987         * posix/sys/wait.h [__USE_BSD]: Likewise.
53988         [__USE_SVID]: Likewise.
53989         * posix/unistd.h [__USE_BSD]: Likewise.
53990         [__USE_SVID]: Likewise.
53991         * pwd/pwd.h [__USE_SVID]: Likewise.
53992         * resolv/netdb.h [__USE_BSD]: Likewise.
53993         * setjmp/setjmp.h [__USE_BSD]: Likewise.
53994         * signal/signal.h [__USE_BSD]: Likewise.
53995         [__USE_SVID]: Likewise.
53996         * socket/sys/socket.h [__USE_BSD]: Likewise.
53997         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
53998         * stdlib/stdlib.h [__USE_BSD]: Likewise.
53999         [__USE_SVID]: Likewise.
54000         * string/bits/string2.h [__USE_BSD]: Likewise.
54001         [__USE_SVID]: Likewise.
54002         * string/bits/string3.h [__USE_BSD]: Likewise.
54003         * string/endian.h [__USE_BSD]: Likewise.
54004         * string/string.h [__USE_SVID]: Likewise.
54005         [__USE_BSD]: Likewise.
54006         * string/strings.h [__USE_BSD]: Likewise.
54007         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
54008         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
54009         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
54010         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
54011         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
54012         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
54013         Likewise.
54014         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
54015         Likewise.
54016         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
54017         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
54018         Likewise.
54019         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
54020         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
54021         Likewise.
54022         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
54023         Likewise.
54024         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
54025         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
54026         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
54027         Likewise.
54028         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
54029         Likewise.
54030         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
54031         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
54032         * termios/termios.h [__USE_BSD]: Likewise.
54033         * time/sys/time.h [__USE_BSD]: Likewise.
54034         * time/time.h [__USE_BSD]: Likewise.
54035         [__USE_SVID]: Likewise.
54037         * Makefile (subdir_targets): Remove subdir_lint.out.
54039         * stdio-common/Makefile (do-tst-unbputc): Remove target.
54040         (do-tst-printf): Likewise.
54041         (tests): Depend directly on $(objpfx)tst-unbputc.out and
54042         $(objpfx)tst-printf.out.
54044         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
54046         * Makerules (check-abi-%): Change target to
54047         $(objpfx)check-abi-%.out.
54048         (check-abi target): Update dependencies.
54049         (check-abi-pattern variable): Redirect output of diff to $@.
54050         (check-abi variable): Likewise.
54051         * elf/Makefile (check-abi): Update dependencies.
54053         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
54054         unused.
54055         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
54056         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
54057         subnormal range.
54058         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
54059         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
54060         value has largest subnormal exponent.
54061         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
54062         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
54063         * sysdeps/aarch64/soft-fp/sfp-machine.h
54064         (_FP_TININESS_AFTER_ROUNDING): New macro.
54065         * sysdeps/alpha/soft-fp/sfp-machine.h
54066         (_FP_TININESS_AFTER_ROUNDING): Likewise.
54067         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
54068         Likewise.
54069         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
54070         (_FP_TININESS_AFTER_ROUNDING): Likewise.
54071         * sysdeps/mips/soft-fp/sfp-machine.h
54072         (_FP_TININESS_AFTER_ROUNDING): Likewise.
54073         * sysdeps/powerpc/soft-fp/sfp-machine.h
54074         (_FP_TININESS_AFTER_ROUNDING): Likewise.
54075         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
54076         Likewise.
54077         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
54078         (_FP_TININESS_AFTER_ROUNDING): Likewise.
54079         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
54080         (_FP_TININESS_AFTER_ROUNDING): Likewise.
54081         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
54082         Likewise.
54084 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
54086         [BZ #16545]
54087         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
54088         model 1.
54090 2014-02-12  Richard Henderson  <rth@redhat.com>
54092         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
54093         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
54094         * sysdeps/unix/sysv/linux/alpha: Move directory from
54095         ports/sysdeps/unix/sysv/linux/alpha.
54096         * README: Update listing for alpha-*-linux-gnu.
54098 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
54100         * include/features.h: Update comment documenting feature test
54101         macros.
54102         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
54103         _DEFAULT_SOURCE.
54104         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
54105         (_SVID_SOURCE): Likewise.
54106         (_DEFAULT_SOURCE): Update description of default features.
54107         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
54108         with _GNU_SOURCE.
54109         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
54110         (S_ISVTX): Likewise.
54111         * manual/math.texi (Mathematical Constants): Likewise.
54112         * manual/signal.texi (Interrupted Primitives): Likewise.
54113         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
54114         * math/test-matherr.c (_SVID_SOURCE): Do not define.
54115         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
54116         Don't refer to _SVID_SOURCE in warning text.
54118         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54120         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
54121         already defined.
54122         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
54123         * sysdeps/mips/dl-lookup.c: Remove.
54124         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
54126 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
54128         [BZ #16447]
54129         * math/auto-libm-test-in: Add testcase for expl.
54130         * math/auto-libm-test-out: Regenerate.
54131         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
54132         calculation of unsafe.
54133         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
54135 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
54137         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
54138         * sysdeps/unix/sysv/linux/aarch64: Move directory from
54139         ports/sysdeps/unix/sysv/linux/aarch64.
54140         * README: Update listing for aarch64*-*-linux-gnu.
54142 2014-02-11  Will Newton  <will.newton@linaro.org>
54144         * manual/probes.texi (Mathematical Function Probes): Use
54145         "triggered" instead of "hit".
54147         * manual/probes.texi (Internal Probes): Add documentation
54148         of setjmp, longjmp and longjmp_target probes.
54150         * include/stap-probe.h: Add comment about probe argument
54151         format.
54153         * malloc/mtrace.c (attribute_hidden): Remove unused macro
54154         definition.  (tr_where, tr_freehook, tr_mallochook,
54155         tr_reallochook, tr_memalignhook): Use ANSI protoype.
54157 2014-02-11  David S. Miller  <davem@davemloft.net>
54159         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
54160         processing int_tests.
54162 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
54164         * sysdeps/mips: Move directory from ports/sysdeps/mips.
54165         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
54166         * sysdeps/unix/sysv/linux/mips: Move directory from
54167         ports/sysdeps/unix/sysv/linux/mips.
54168         * README: Update listing for mips-*-linux-gnu and
54169         mips64-*-linux-gnu.
54171 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
54173         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
54174         * sysdeps/unix/sysv/linux/m68k: Move directory from
54175         ports/sysdeps/unix/sysv/linux/m68k.
54176         * README: Update listing for m68k-*-linux-gnu.
54178 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
54180         * sysdeps/tile: Move directory from ports/sysdeps/tile.
54181         * sysdeps/unix/sysv/linux/generic: Move directory from
54182         ports/sysdeps/unix/sysv/linux/generic.
54183         * sysdeps/unix/sysv/linux/tile: Move directory from
54184         ports/sysdeps/unix/sysv/linux/tile.
54185         * README: Update listing for tile*-*-linux-gnu.
54187 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
54189         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
54190         __builtin_expect.
54191         * benchtests/bench-memmem.c (simple_memmem): Likewise.
54192         * catgets/open_catalog.c (__open_catalog): Likewise.
54193         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
54194         * debug/confstr_chk.c: Likewise.
54195         * debug/fread_chk.c (__fread_chk): Likewise.
54196         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
54197         * debug/getgroups_chk.c: Likewise.
54198         * debug/mbsnrtowcs_chk.c: Likewise.
54199         * debug/mbsrtowcs_chk.c: Likewise.
54200         * debug/mbstowcs_chk.c: Likewise.
54201         * debug/memcpy_chk.c: Likewise.
54202         * debug/memmove_chk.c: Likewise.
54203         * debug/mempcpy_chk.c: Likewise.
54204         * debug/memset_chk.c: Likewise.
54205         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
54206         * debug/strcat_chk.c (__strcat_chk): Likewise.
54207         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
54208         * debug/strncat_chk.c (__strncat_chk): Likewise.
54209         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
54210         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
54211         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
54212         * debug/wcpncpy_chk.c: Likewise.
54213         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
54214         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
54215         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
54216         * debug/wcsncpy_chk.c: Likewise.
54217         * debug/wcsnrtombs_chk.c: Likewise.
54218         * debug/wcsrtombs_chk.c: Likewise.
54219         * debug/wcstombs_chk.c: Likewise.
54220         * debug/wmemcpy_chk.c: Likewise.
54221         * debug/wmemmove_chk.c: Likewise.
54222         * debug/wmempcpy_chk.c: Likewise.
54223         * debug/wmemset_chk.c: Likewise.
54224         * dirent/scandirat.c (SCANDIRAT): Likewise.
54225         * dlfcn/dladdr1.c (dladdr1): Likewise.
54226         * dlfcn/dladdr.c (dladdr): Likewise.
54227         * dlfcn/dlclose.c (dlclose_doit): Likewise.
54228         * dlfcn/dlerror.c (__dlerror): Likewise.
54229         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
54230         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
54231         * dlfcn/dlopen.c (dlopen_doit): Likewise.
54232         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
54233         * dlfcn/dlsym.c (dlsym_doit): Likewise.
54234         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
54235         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
54236         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
54237         Likewise.
54238         * elf/dl-conflict.c: Likewise.
54239         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
54240         * elf/dl-dst.h: Likewise.
54241         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
54242         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
54243         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
54244         * elf/dl-init.c (call_init, _dl_init): Likewise.
54245         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
54246         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
54247         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
54248         Likewise.
54249         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
54250         Likewise.
54251         * elf/dl-minimal.c (__libc_memalign): Likewise.
54252         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
54253         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
54254         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
54255         * elf/dl-sym.c (do_sym): Likewise.
54256         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
54257         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
54258         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
54259         * elf/dl-writev.h (_dl_writev): Likewise.
54260         * elf/ldconfig.c (search_dir): Likewise.
54261         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
54262         (dl_main): Likewise.
54263         * elf/setup-vdso.h (setup_vdso): Likewise.
54264         * grp/compat-initgroups.c (compat_call): Likewise.
54265         * grp/fgetgrent.c (fgetgrent): Likewise.
54266         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
54267         * grp/putgrent.c (putgrent): Likewise.
54268         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
54269         Likewise.
54270         * hurd/hurdinit.c: Likewise.
54271         * iconvdata/8bit-gap.c (struct): Likewise.
54272         * iconvdata/ansi_x3.110.c : Likewise.
54273         * iconvdata/big5.c : Likewise.
54274         * iconvdata/big5hkscs.c : Likewise.
54275         * iconvdata/cp1255.c: Likewise.
54276         * iconvdata/cp1258.c : Likewise.
54277         * iconvdata/cp932.c : Likewise.
54278         * iconvdata/euc-cn.c: Likewise.
54279         * iconvdata/euc-jisx0213.c : Likewise.
54280         * iconvdata/euc-jp.c: Likewise.
54281         * iconvdata/euc-jp-ms.c : Likewise.
54282         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
54283         * iconvdata/gb18030.c : Likewise.
54284         * iconvdata/gbbig5.c (const): Likewise.
54285         * iconvdata/gbgbk.c: Likewise.
54286         * iconvdata/gbk.c : Likewise.
54287         * iconvdata/ibm1364.c : Likewise.
54288         * iconvdata/ibm930.c : Likewise.
54289         * iconvdata/ibm932.c: Likewise.
54290         * iconvdata/ibm933.c : Likewise.
54291         * iconvdata/ibm935.c : Likewise.
54292         * iconvdata/ibm937.c : Likewise.
54293         * iconvdata/ibm939.c : Likewise.
54294         * iconvdata/ibm943.c: Likewise.
54295         * iconvdata/iso_11548-1.c: Likewise.
54296         * iconvdata/iso-2022-cn.c : Likewise.
54297         * iconvdata/iso-2022-cn-ext.c : Likewise.
54298         * iconvdata/iso-2022-jp-3.c: Likewise.
54299         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
54300         * iconvdata/iso-2022-kr.c : Likewise.
54301         * iconvdata/iso646.c (gconv_end): Likewise.
54302         * iconvdata/iso_6937-2.c : Likewise.
54303         * iconvdata/iso_6937.c : Likewise.
54304         * iconvdata/iso8859-1.c: Likewise.
54305         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
54306         * iconvdata/shift_jisx0213.c : Likewise.
54307         * iconvdata/sjis.c : Likewise.
54308         * iconvdata/t.61.c : Likewise.
54309         * iconvdata/tcvn5712-1.c : Likewise.
54310         * iconvdata/tscii.c: Likewise.
54311         * iconvdata/uhc.c : Likewise.
54312         * iconvdata/unicode.c (gconv_end): Likewise.
54313         * iconvdata/utf-16.c (gconv_end): Likewise.
54314         * iconvdata/utf-32.c (gconv_end): Likewise.
54315         * iconvdata/utf-7.c (base64): Likewise.
54316         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
54317         * iconv/gconv_close.c (__gconv_close): Likewise.
54318         * iconv/gconv_open.c (__gconv_open): Likewise.
54319         * iconv/gconv_simple.c (internal_ucs4_loop_single)
54320         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
54321         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
54322         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
54323         (ucs4le_internal_loop_single): Likewise.
54324         * iconv/iconv.c (iconv): Likewise.
54325         * iconv/iconv_close.c: Likewise.
54326         * iconv/loop.c (SINGLE): Likewise.
54327         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
54328         * include/atomic.h: Likewise.
54329         * inet/inet6_option.c (option_alloc): Likewise.
54330         * intl/bindtextdom.c (set_binding_values): Likewise.
54331         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
54332         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
54333         * intl/localealias.c (read_alias_file): Likewise.
54334         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
54335         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
54336         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
54337         * libio/fmemopen.c (fmemopen): Likewise.
54338         * libio/iofgets.c (_IO_fgets): Likewise.
54339         * libio/iofgets_u.c (fgets_unlocked): Likewise.
54340         * libio/iofgetws.c (fgetws): Likewise.
54341         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
54342         * libio/iogetdelim.c (_IO_getdelim): Likewise.
54343         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
54344         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
54345         * locale/findlocale.c (_nl_find_locale): Likewise.
54346         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
54347         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
54348         Likewise.
54349         * locale/setlocale.c (setlocale): Likewise.
54350         * login/programs/pt_chown.c (main): Likewise.
54351         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
54352         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
54353         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
54354         (mmap, mmap64, mremap, munmap): Likewise.
54355         * math/e_exp2l.c: Likewise.
54356         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
54357         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
54358         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
54359         * math/s_catan.c (__catan): Likewise.
54360         * math/s_catanf.c (__catanf): Likewise.
54361         * math/s_catanh.c (__catanh): Likewise.
54362         * math/s_catanhf.c (__catanhf): Likewise.
54363         * math/s_catanhl.c (__catanhl): Likewise.
54364         * math/s_catanl.c (__catanl): Likewise.
54365         * math/s_ccosh.c (__ccosh): Likewise.
54366         * math/s_ccoshf.c (__ccoshf): Likewise.
54367         * math/s_ccoshl.c (__ccoshl): Likewise.
54368         * math/s_cexp.c (__cexp): Likewise.
54369         * math/s_cexpf.c (__cexpf): Likewise.
54370         * math/s_cexpl.c (__cexpl): Likewise.
54371         * math/s_clog10.c (__clog10): Likewise.
54372         * math/s_clog10f.c (__clog10f): Likewise.
54373         * math/s_clog10l.c (__clog10l): Likewise.
54374         * math/s_clog.c (__clog): Likewise.
54375         * math/s_clogf.c (__clogf): Likewise.
54376         * math/s_clogl.c (__clogl): Likewise.
54377         * math/s_csin.c (__csin): Likewise.
54378         * math/s_csinf.c (__csinf): Likewise.
54379         * math/s_csinh.c (__csinh): Likewise.
54380         * math/s_csinhf.c (__csinhf): Likewise.
54381         * math/s_csinhl.c (__csinhl): Likewise.
54382         * math/s_csinl.c (__csinl): Likewise.
54383         * math/s_csqrt.c (__csqrt): Likewise.
54384         * math/s_csqrtf.c (__csqrtf): Likewise.
54385         * math/s_csqrtl.c (__csqrtl): Likewise.
54386         * math/s_ctan.c (__ctan): Likewise.
54387         * math/s_ctanf.c (__ctanf): Likewise.
54388         * math/s_ctanh.c (__ctanh): Likewise.
54389         * math/s_ctanhf.c (__ctanhf): Likewise.
54390         * math/s_ctanhl.c (__ctanhl): Likewise.
54391         * math/s_ctanl.c (__ctanl): Likewise.
54392         * math/w_pow.c: Likewise.
54393         * math/w_powf.c: Likewise.
54394         * math/w_powl.c: Likewise.
54395         * math/w_scalb.c (sysv_scalb): Likewise.
54396         * math/w_scalbf.c (sysv_scalbf): Likewise.
54397         * math/w_scalbl.c (sysv_scalbl): Likewise.
54398         * misc/error.c (error_tail): Likewise.
54399         * misc/pselect.c (__pselect): Likewise.
54400         * nis/nis_callback.c (__nis_create_callback): Likewise.
54401         * nis/nis_call.c (__nisfind_server): Likewise.
54402         * nis/nis_creategroup.c (nis_creategroup): Likewise.
54403         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
54404         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
54405         * nis/nis_getservlist.c (nis_getservlist): Likewise.
54406         * nis/nis_lookup.c (nis_lookup): Likewise.
54407         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
54408         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
54409         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
54410         * nis/nis_xdr.c (xdr_endpoint): Likewise.
54411         * nis/nss_compat/compat-grp.c (getgrent_next_file)
54412         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
54413         * nis/nss_compat/compat-initgroups.c (add_group)
54414         (internal_getgrent_r): Likewise.
54415         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
54416         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
54417         * nis/nss_compat/compat-spwd.c (getspent_next_file)
54418         (internal_getspnam_r): Likewise.
54419         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
54420         (_nss_nis_getaliasbyname_r): Likewise.
54421         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
54422         (_nss_nis_getntohost_r): Likewise.
54423         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
54424         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
54425         (_nss_nis_getgrgid_r): Likewise.
54426         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
54427         (internal_nis_gethostent_r, internal_gethostbyname2_r)
54428         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
54429         (_nss_nis_gethostbyname4_r): Likewise.
54430         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
54431         (initgroups_netid): Likewise.
54432         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
54433         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
54434         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
54435         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
54436         (_nss_nis_getprotobynumber_r): Likewise.
54437         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
54438         (_nss_nis_getsecretkey): Likewise.
54439         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
54440         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
54441         (_nss_nis_getpwuid_r): Likewise.
54442         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
54443         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
54444         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
54445         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
54446         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
54447         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
54448         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
54449         Likewise.
54450         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
54451         (_nss_nisplus_getntohost_r): Likewise.
54452         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
54453         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
54454         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
54455         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
54456         Likewise.
54457         * nis/nss_nisplus/nisplus-initgroups.c
54458         (_nss_nisplus_initgroups_dyn): Likewise.
54459         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
54460         (_nss_nisplus_getnetbyaddr_r): Likewise.
54461         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
54462         (_nss_nisplus_getprotobynumber_r): Likewise.
54463         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
54464         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
54465         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
54466         Likewise.
54467         * nis/nss_nisplus/nisplus-service.c
54468         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
54469         (_nss_nisplus_getservbyport_r): Likewise.
54470         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
54471         (_nss_nisplus_getspnam_r): Likewise.
54472         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
54473         Likewise.
54474         * nscd/aicache.c (addhstaiX): Likewise.
54475         * nscd/cache.c (cache_search, prune_cache): Likewise.
54476         * nscd/connections.c (register_traced_file, send_ro_fd)
54477         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
54478         (main_loop_epoll): Likewise.
54479         * nscd/grpcache.c (addgrbyX): Likewise.
54480         * nscd/hstcache.c (addhstbyX): Likewise.
54481         * nscd/initgrcache.c (addinitgroupsX): Likewise.
54482         * nscd/mem.c (gc, mempool_alloc): Likewise.
54483         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
54484         (addinnetgrX): Likewise.
54485         * nscd/nscd-client.h (__nscd_acquire_maplock)
54486         (__nscd_drop_map_ref): Likewise.
54487         * nscd/nscd_getai.c (__nscd_getai): Likewise.
54488         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
54489         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
54490         Likewise.
54491         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
54492         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
54493         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
54494         (__nscd_get_map_ref): Likewise.
54495         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
54496         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
54497         Likewise.
54498         * nscd/pwdcache.c (addpwbyX): Likewise.
54499         * nscd/selinux.c (preserve_capabilities): Likewise.
54500         * nscd/servicescache.c (addservbyX): Likewise.
54501         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
54502         * posix/fnmatch.c (fnmatch): Likewise.
54503         * posix/getopt.c (_getopt_internal_r): Likewise.
54504         * posix/glob.c (glob, glob_in_dir): Likewise.
54505         * posix/wordexp.c (exec_comm_child): Likewise.
54506         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
54507         (getanswer_r, gaih_getanswer_slice): Likewise.
54508         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
54509         * resolv/res_init.c: Likewise.
54510         * resolv/res_mkquery.c (res_nmkquery): Likewise.
54511         * resolv/res_query.c (__libc_res_nquery): Likewise.
54512         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
54513         Likewise.
54514         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
54515         * stdio-common/perror.c (perror): Likewise.
54516         * stdio-common/printf_fp.c (___printf_fp): Likewise.
54517         * stdio-common/tmpnam.c (tmpnam): Likewise.
54518         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
54519         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
54520         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
54521         Likewise.
54522         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
54523         * stdlib/putenv.c (putenv): Likewise.
54524         * stdlib/setenv.c (__add_to_environ): Likewise.
54525         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
54526         * stdlib/strtol_l.c (INTERNAL): Likewise.
54527         * string/memmem.c (memmem): Likewise.
54528         * string/strerror.c (strerror): Likewise.
54529         * string/strnlen.c (__strnlen): Likewise.
54530         * string/test-memmem.c (simple_memmem): Likewise.
54531         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
54532         * sunrpc/pm_getport.c (__get_socket): Likewise.
54533         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
54534         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
54535         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
54536         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
54537         Likewise.
54538         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
54539         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
54540         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
54541         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
54542         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
54543         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
54544         Likewise.
54545         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
54546         Likewise.
54547         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
54548         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
54549         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
54550         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
54551         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
54552         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
54553         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
54554         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
54555         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
54556         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
54557         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
54558         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
54559         Likewise.
54560         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
54561         Likewise.
54562         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
54563         Likewise.
54564         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
54565         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
54566         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
54567         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
54568         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
54569         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
54570         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
54571         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
54572         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
54573         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
54574         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
54575         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
54576         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
54577         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
54578         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54579         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
54580         Likewise.
54581         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
54582         Likewise.
54583         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
54584         Likewise.
54585         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
54586         Likewise.
54587         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
54588         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54589         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
54590         Likewise.
54591         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
54592         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
54593         * sysdeps/posix/opendir.c (__opendirat): Likewise.
54594         * sysdeps/posix/sleep.c: Likewise.
54595         * sysdeps/posix/tempname.c: Likewise.
54596         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
54597         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
54598         Likewise.
54599         * sysdeps/powerpc/powerpc32/dl-machine.h
54600         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
54601         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
54602         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
54603         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
54604         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
54605         Likewise.
54606         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
54607         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
54608         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
54609         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
54610         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
54611         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
54612         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
54613         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
54614         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
54615         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
54616         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
54617         (elf_machine_lazy_rel): Likewise.
54618         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
54619         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
54620         (elf_machine_lazy_rel): Likewise.
54621         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
54622         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
54623         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
54624         * sysdeps/unix/grantpt.c (grantpt): Likewise.
54625         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
54626         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
54627         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
54628         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54629         Likewise.
54630         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
54631         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
54632         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
54633         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
54634         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
54635         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
54636         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
54637         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
54638         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
54639         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
54640         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
54641         Likewise.
54642         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
54643         (__posix_fallocate64_l64): Likewise.
54644         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
54645         (posix_fallocate): Likewise.
54646         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
54647         Likewise.
54648         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
54649         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
54650         (getifaddrs_internal): Likewise.
54651         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
54652         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
54653         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
54654         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
54655         * sysdeps/unix/sysv/linux/posix_fallocate64.c
54656         (__posix_fallocate64_l64): Likewise.
54657         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
54658         Likewise.
54659         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
54660         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
54661         (__get_clockfreq): Likewise.
54662         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
54663         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
54664         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
54665         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
54666         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
54667         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
54668         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
54669         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
54670         Likewise.
54671         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
54672         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
54673         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
54674         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
54675         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
54676         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
54677         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
54678         Likewise.
54679         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
54680         (posix_fallocate): Likewise.
54681         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
54682         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
54683         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
54684         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
54685         (elf_machine_rela, elf_machine_rela_relative)
54686         (elf_machine_lazy_rel): Likewise.
54687         * time/asctime.c (asctime_internal): Likewise.
54688         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
54689         * time/tzset.c (__tzset_parse_tz): Likewise.
54690         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
54691         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
54692         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
54693         * wcsmbs/wcsmbsload.h: Likewise.
54695         [BZ #15894]
54696         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
54698         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
54699         (arena_get2): Remove THREAD_STATS conditionals.
54700         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
54701         (__malloc_stats, int): Likewise.
54703 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
54705         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
54706         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
54708         * manual/setjmp.texi: Fix typos/grammar errors.
54710         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
54711         Only return early when n is <= 0.  Delete unused return statement.
54713         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
54714         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
54715         * debug/tst-longjmp_chk3.c: New file.
54717         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
54718         (test_main): Replace code with set_fortify_handler call.
54719         * debug/test-strcpy_chk.c: Likewise.
54720         * debug/tst-chk1.c: Likewise.
54721         * debug/tst-longjmp_chk.c: Likewise.
54722         * test-skeleton.c: Include fcntl.h & paths.h
54723         (set_fortify_handler): Define.
54725         * debug/tst-longjmp_chk.c: Add header comment and include
54726         ../test-skeleton.c.
54727         (do_test): Mark static.
54728         (TEST_FUNCTION): Define.
54730         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
54731         (IP_PMTUDISC_INTERFACE): Likewise.
54732         (IP_MULTICAST_IF): Likewise.
54733         (IP_MULTICAST_TTL): Likewise.
54734         (IP_MULTICAST_LOOP): Likewise.
54735         (IP_ADD_MEMBERSHIP): Likewise.
54736         (IP_DROP_MEMBERSHIP): Likewise.
54737         (IP_UNBLOCK_SOURCE): Likewise.
54738         (IP_BLOCK_SOURCE): Likewise.
54739         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
54740         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
54741         (IP_MSFILTER): Likewise.
54742         (MCAST_JOIN_GROUP): Likewise.
54743         (MCAST_BLOCK_SOURCE): Likewise.
54744         (MCAST_UNBLOCK_SOURCE): Likewise.
54745         (MCAST_LEAVE_GROUP): Likewise.
54746         (MCAST_JOIN_SOURCE_GROUP): Likewise.
54747         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
54748         (MCAST_MSFILTER): Likewise.
54749         (IP_MULTICAST_ALL): Likewise.
54750         (IP_UNICAST_IF): Likewise.
54752         * timezone/Makefile: Delete $(have-ksh) check.
54753         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
54754         * timezone/tzselect.ksh: Add +x mode bits.
54756         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
54757         (ANON_INODE_FS_MAGIC): Likewise.
54758         (BDEVFS_MAGIC): Likewise.
54759         (BINFMTFS_MAGIC): Likewise.
54760         (BTRFS_TEST_MAGIC): Likewise.
54761         (CRAMFS_MAGIC_WEND): Likewise.
54762         (DEBUGFS_MAGIC): Likewise.
54763         (ECRYPTFS_SUPER_MAGIC): Likewise.
54764         (EXT3_SUPER_MAGIC): Likewise.
54765         (EXT4_SUPER_MAGIC): Likewise.
54766         (FUTEXFS_SUPER_MAGIC): Likewise.
54767         (HOSTFS_SUPER_MAGIC): Likewise.
54768         (HUGETLBFS_MAGIC): Likewise.
54769         (MINIX3_SUPER_MAGIC): Likewise.
54770         (MTD_INODE_FS_MAGIC): Likewise.
54771         (NILFS_SUPER_MAGIC): Likewise.
54772         (OPENPROM_SUPER_MAGIC): Likewise.
54773         (PIPEFS_MAGIC): Likewise.
54774         (PSTOREFS_MAGIC): Likewise.
54775         (QNX6_SUPER_MAGIC): Likewise.
54776         (RAMFS_MAGIC): Likewise.
54777         (REISERFS_SUPER_MAGIC_STRING): Likewise.
54778         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
54779         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
54780         (SECURITYFS_MAGIC): Likewise.
54781         (SELINUX_MAGIC): Likewise.
54782         (SMACK_MAGIC): Likewise.
54783         (SOCKFS_MAGIC): Likewise.
54784         (SQUASHFS_MAGIC): Likewise.
54785         (STACK_END_MAGIC): Likewise.
54786         (TMPFS_MAGIC): Likewise.
54787         (USBDEVICE_SUPER_MAGIC): Likewise.
54788         (V9FS_MAGIC): Likewise.
54789         (XENFS_SUPER_MAGIC): Likewise.
54790         (CRAMFS_MAGIC): Fix typo in comment.
54791         (EXT2_SUPER_MAGIC): Update comment.
54792         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
54794 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
54796         * sysdeps/arm: Move directory from ports/sysdeps/arm.
54797         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
54798         * sysdeps/unix/sysv/linux/arm: Move directory from
54799         ports/sysdeps/unix/sysv/linux/arm.
54800         * README: Update listing for arm-*-linux-gnueabi.
54802         * README: Remove mention of am33.
54804 2014-02-07  Roland McGrath  <roland@hack.frob.com>
54806         * bits/sigset.h (__sigemptyset): Use a statement expression rather
54807         than the comma operator, to avoid "rhs of comma has no effect"
54808         compiler warnings.
54809         (__sigfillset, __sigandset, __sigorset): Likewise.
54810         * include/signal.h (__sigemptyset): Likewise.
54811         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
54813 2014-02-07  Allan McRae  <allan@archlinux.org>
54815         * version.h (RELEASE): Set to "development".
54816         (VERSION): Set to "2.19.90"
54817         * NEWS: Add 2.20 section.
54819 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
54821         [BZ #16529]
54822         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
54824 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
54826         * manual/contrib.texi: Update entry for Carlos O'Donell,
54827         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
54829 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
54831         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
54833         * sysdeps/unix/sysv/linux/kernel-features.h
54834         [__LINUX_KERNEL_VERSION >= 0x020621]
54835         (__ASSUME_PROC_PID_TASK_COMM): Define.
54837 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
54839         [BZ #16398]
54840         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
54841         conversion when destination buffer does not have enough space.
54842         * libio/tst-ftell-partial-wide.c: New test case.
54843         * libio/Makefile (tests): Add tst-ftell-partial-wide.
54845         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
54846         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
54847         Leonard and Allan McRae.
54849 2014-02-04  David S. Miller  <davem@davemloft.net>
54851         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
54852         32-bit.
54854 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
54857         New file
54858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
54859         New file
54860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
54861         New file.
54862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
54863         New file.
54864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
54865         New file.
54866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
54867         New file.
54868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
54869         New file.
54870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
54871         New file.
54872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
54873         New file.
54874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
54875         New file.
54876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
54877         New file.
54878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
54879         New file.
54880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
54881         New file.
54883 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54885         * nptl/shlib-versions: Change powerpc*le start to 2.17.
54886         * shlib-versions: Likewise.
54888 2014-02-04  Roland McGrath  <roland@hack.frob.com>
54889             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54891         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
54892         (abilist-pattern): New variable, set to %-le.abilist.
54894         * Makerules (abilist-pattern): New variable.
54895         (vpath): Use $(abilist-pattern) in place of %.abilist.
54896         (check-abi-% pattern rule): Likewise.
54897         (check-abi, update-abi): Likewise.
54899 2014-02-04  Eric Wong  <normalperson@yhbt.net>
54901         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54903 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
54905         * manual/startup.texi: Add next, previous, and top entries for
54906         the `Program Arguments' and `Environment Variables' nodes.
54908 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
54910         * manual/macros.texi: Add comments before MTASC-safety macros.
54912         * manual/users.texi: Document MTASC-safety properties.
54914         * manual/threads.texi (pthread_key_create, pthread_key_delete)
54915         (pthread_getspecific, pthread_setspecific): Format with
54916         @deftypefun, and add @safety note.
54917         * manual/signal.texi: Move comments that analyze the above
54918         functions to their home place.
54920 2014-02-03  Allan McRae  <allan@archlinux.org>
54922         * po/sl.po: Update Slovenian translation from translation project.
54924 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
54926         * manual/time.texi (timegm): Add missing blank after @c.
54927         Reported by Joseph Myers <joseph@codesourcery.com>.
54929 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
54931         * manual/check-safety.sh: New.
54932         * manual/Makefile ($(objpfx)stamp-summary): Run it.
54934         * manual/terminal.texi: Document MTASC-safety properties.
54936         * manual/filesys.texi: Document MTASC-safety properties.
54938         * manual/errno.texi: Document MTASC-safety properties.
54940         * manual/intro.texi: Document safety identifiers and
54941         conditionals.
54943         * manual/string.texi (wcstok): Fix prototype.
54944         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
54946         * manual/time.texi: Document MTASC-safety properties.
54948         * manual/string.texi: Document MTASC-safety properties.
54950         * manual/threads.texi: Document MTASC-safety properties.
54952         * manual/stdio.texi: Document MTASC-safety properties.
54954         * manual/syslog.texi: Document MTASC-safety properties.
54956         * manual/sysinfo.texi: Document MTASC-safety properties.
54958         * manual/startup.texi: Document MTASC-safety properties.
54960         * manual/socket.texi: Document MTASC-safety properties.
54962         * manual/signal.texi: Document MTASC-safety properties.
54964 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
54966         * manual/setjmp.texi: Document MTASC-safety properties.
54968         * manual/search.texi: Document MTASC-safety properties.
54970         * manual/resource.texi: Document MTASC-safety properties.
54972         * manual/process.texi: Document MTASC-safety properties.
54974         * manual/platform.texi: Document MTASC-safety properties.
54976         * manual/pipe.texi: Document MTASC-safety properties.
54978         * manual/pattern.texi: Document MTASC-safety properties.
54980         * manual/message.texi: Document MTASC-safety properties.
54982         [BZ #12751]
54983         * manual/memory.texi: Document MTASC-safety properties.
54985         * manual/math.texi: Document MTASC-safety properties.
54987         * manual/locale.texi: Document MTASC-safety properties.
54989         * manual/llio.texi: Document MTASC-safety properties.
54991         * manual/libdl.texi: New.
54993         * manual/lang.texi: Document MTASC-safety properties.
54995         * manual/job.texi: Document MTASC-safety properties.
54997         * manual/getopt.texi: Document MTASC-safety properties.
54999         * manual/ctype.texi: Document MTASC-safety properties.
55001 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
55003         [BZ #16046]
55004         * csu/libc-tls.c (static_map): Remove variable.
55005         (__libc_setup_tls): Use main executable's link map for TLS data.
55006         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
55007         casing for LM_ID_BASE and GL(dl_nns).
55008         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
55009         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
55010         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
55011         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
55012         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
55013         member.
55014         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
55015         l_phnum members.
55017 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
55019         * manual/debug.texi: Document MTASC-safety properties.
55021 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
55023         [BZ #16510]
55024         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
55025         of __x86_64__ when disabling x87 inline functions.
55027 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
55029         * manual/charset.texi: Document MTASC-safety properties.
55031         * manual/crypt.texi: Document MTASC-safety properties.
55033         * manual/conf.texi: Document MTASC-safety properties.
55035         * manual/arith.texi: Document MTASC-safety properties.
55037         * manual/argp.texi: Document MTASC-safety properties.
55039         * manual/macros.texi: Introduce macros to document multi
55040         thread, asynchronous signal and asynchronous cancellation
55041         safety properties.
55042         * manual/intro.texi: Introduce the properties themselves.
55044 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55046         * sysdeps/sh/sh4/Makefile: New file.
55048 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
55050         * math/gen-libm-test.pl ($srcdir): New variable.
55051         ($auto_input): Use it.
55053 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
55055         [BZ #16506]
55056         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
55057         access beyond array bounds when parsing netgroups file.
55059         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
55060         the old buffer before realloc.
55062 2014-01-27  Allan McRae  <allan@archlinux.org>
55064         * po/fr.po: Update French translation from translation project.
55066 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55068         * sysdeps/sh/libm-test-ulps: Regenerate.
55070 2014-01-24  David S. Miller  <davem@davemloft.net>
55072         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
55074 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55076         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
55077         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
55079 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
55081         [BZ #16474]
55082         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
55083         string pointers after reallocation.
55085 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55087         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
55088         __SH4A__ instead of __SH_FPU_ANY__.
55090 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55092         * sysdeps/sh/fpu_control.h: New file.
55093         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
55094         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
55095         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
55096         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
55097         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
55098         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
55099         * sysdeps/sh/sys/ucontext.h: Remove.
55100         * sysdeps/sh/sys: Remove directory.
55102 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55104         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
55105         s390/sys/ucontext.h.
55106         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
55107         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
55109 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
55111         [BZ #15605]
55112         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
55114 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55116         [BZ #16431]
55117         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
55118         Adjust the vDSO correctly for internal calls.
55119         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
55121 2014-01-20  Allan McRae  <allan@archlinux.org>
55123         * po/ca.po: Update Catalan translation from translation project.
55125 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
55127         * sysdeps/s390/sotruss-lib.c: New file.
55129 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55131         [BZ #16430]
55132         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
55133         (__GI___gettimeofday): Alias for a different internal symbol to avoid
55134         local calls issues by not having a PLT stub required for IFUNC calls.
55135         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
55137 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
55139         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
55140         * math/test-fpucw-static.c: Likewise.
55142 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
55144         [BZ #16453]
55145         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
55147 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55149         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
55150         implementation for powerpc.
55152 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
55154         [BZ #14782]
55155         * sysdeps/posix/system.c (__libc_system): Do not enable
55156         asynchronous cancellation.
55158 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55160         [BZ #16427]
55161         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
55162         handling only for numbers special also in the IEEE case.
55164 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55166         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
55168 2014-01-11  Allan McRae  <allan@archlinux.org>
55170         * po/bg.po: Update Bulgarian translation from translation project.
55172         * po/de.po: Update German translation from translation project.
55174 2014-01-10  Roland McGrath  <roland@hack.frob.com>
55176         * sysdeps/generic/gcc-compat.h: New file.
55178 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
55180         * benchtests/asin-inputs: Correct slow inputs.
55181         * benchtests/acos-inputs: Likewise.
55183 2014-01-10  Allan McRae  <allan@archlinux.org>
55185         * po:sv.po: Update Swedish translation from translation project.
55187         * po/vi.po: Update Vietnamese translation from translation project.
55189         * po/eo.po: Update Esperanto translation from translation project.
55191         * po/cs.po: Update Czech translation from translation project.
55193         * po/nl.po: Update Dutch translation from translation project.
55195         * po/pl.po: Update Polish translation from translation project.
55197         * po/ru.po: Update Russian translation from translation project.
55199         * po/uk.po: Update Ukrainian translation from translation project.
55201 2014-01-08  Brooks Moses  <bmoses@google.com>
55203         * elf/dl-load.c: Fix comment typo.
55205 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
55207         * po/header.pot: Rename to...
55208         * po/pot.header: ... this.
55209         * po/Makefile: Use pot.header.
55211 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
55212             Maxim Kuvyrkov  <maxim@kugelworks.com>
55214         [BZ #16394]
55215         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
55216         SRC and DEST against LEN.
55218 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55220         [BZ #16414]
55221         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
55222         implementation.
55223         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
55225 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55227         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55229 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
55231         [BZ #16408]
55232         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
55233         for large positive arguments.
55235 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
55237         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
55239         * math/auto-libm-test-in: Mark various tests with
55240         xfail-rounding:ldbl-128ibm.
55241         * math/auto-libm-test-out: Regenerated.
55243         [BZ #16407]
55244         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
55245         Increase overflow threshold.
55247 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
55249         [BZ #14286]
55250         * stdio-common/vfprintf.c: Check for integer overflow.
55252 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55254         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
55255         the first argument and return value of __tls_get_addr_internal.
55257 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55259         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
55260         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
55262 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55264         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
55265         * sysdeps/s390/rtld-global-offsets.sym: New file.
55266         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
55267         GLIBC_2.19 symbol.
55268         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
55269         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
55270         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
55271         ... this.
55272         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
55273         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
55274         ... this.
55275         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
55276         Regenerate.
55277         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
55278         Regenerate.
55279         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
55280         halfs of GPRs for high_gprs contexts.
55281         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
55282         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
55283         field.
55284         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
55285         uc_flags field.
55286         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
55287         64 bit versions:
55288         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
55289         for high GPRs (uc_high_gprs) and for future extensions
55290         (__reserved).
55291         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
55292         for future extensions (__reserved).
55293         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
55294         64 bit versions:
55295         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
55296         SC_HIGHGPRS offset definition.
55297         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
55298         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
55300         * Versions.def: Add GLIBC_2.19 for libpthread.
55301         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
55302         siglongjmp for libpthread with GLIBC_2.19 symver.
55303         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
55304         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
55305         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
55306         * sysdeps/s390/__longjmp.c: New file.
55307         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
55308         * sysdeps/s390/longjmp.c: New file.
55309         * sysdeps/s390/setjmp.S: New file.
55310         * sysdeps/s390/sigjmp.S: New file.
55311         * sysdeps/s390/v1-longjmp.c: New file.
55312         * sysdeps/s390/v1-setjmp.h: New file.
55313         * sysdeps/s390/v1-sigjmp.c: New file.
55314         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
55315         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
55316         GLIBC_2.19 version.
55317         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
55318         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
55319         versioned symbols for ____longjmp_chk.
55320         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
55321         Likewise.
55322         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
55323         Regenerate.
55324         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
55325         Regenerate.
55326         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
55327         Regenerate.
55328         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
55329         Regenerate.
55330         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
55331         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
55332         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
55333         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
55334         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
55335         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
55336         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
55337         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
55338         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
55339         * sysdeps/s390/rtld-__longjmp.c: New file.
55340         * sysdeps/s390/rtld-setjmp.S: New file.
55342 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
55344         [BZ #16400]
55345         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
55346         Return -__logl (x) for small positive arguments without evaluating
55347         a polynomial.
55349 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
55351         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
55352         Rename to ...
55353         (__ptrace_peeksiginfo_args): ... this.
55354         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
55355         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
55356         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
55358 2014-01-06  Allan McRae  <allan@archlinux.org>
55360         * inet/netinet/in.h: Fix typo in comment.
55362 2014-01-05  Andreas Jaeger  <aj@suse.de>
55364         * sysdeps/i386/fpu/libm-test-ulps: Update.
55366 2014-01-05  Allan McRae  <allan@archlinux.org>
55368         * po/libc.pot: Regenerated.
55370         * malloc/memusagestat.c: Fix gettext call formatting.
55372 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
55374         * nscd/nscd.c: Improve usage() output.
55376 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
55378         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
55379         * sysdeps/unix/sysv/linux/configure: Regenerated.
55380         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
55381         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
55383 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
55385         [BZ #16390]
55386         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
55387         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
55389 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55391         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
55392         extra tokens at end of #undef directive.
55393         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
55394         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
55395         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
55397 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
55399         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
55401         * math/auto-libm-test-in: Mark various tests with
55402         xfail-rounding:ldbl-128ibm.
55403         * math/auto-libm-test-out: Regenerated.
55405 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
55407         [BZ #16386]
55408         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
55409         numbers with subnormal high part when calculating exponent.
55411         [BZ #16385]
55412         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
55413         fabs.
55415         [BZ #16384]
55416         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
55417         M_LN2l.
55418         (__ieee754_acoshl): Use __log1pl not __log1p.
55420 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
55422         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
55423         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
55424         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
55425         (grow_heap, heap_trim, _int_new_arena, get_free_list)
55426         (reused_arena, arena_get2): Convert to GNU style.
55427         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
55428         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
55429         (memalign_check, __malloc_set_state): Likewise.
55430         * malloc/mallocbug.c (main): Likewise.
55431         * malloc/malloc.c (__malloc_assert, malloc_init_state)
55432         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
55433         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
55434         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
55435         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
55436         (__posix_memalign, malloc_info): Likewise.
55437         * malloc/malloc.h: Likewise.
55438         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
55439         (mallochook, memalignhook, reallochook, mabort): Likewise.
55440         * malloc/mcheck.h: Likewise.
55441         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
55442         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
55443         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
55444         * malloc/morecore.c (__default_morecore): Likewise.
55445         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
55446         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
55447         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
55448         (print_and_abort): Likewise.
55449         * malloc/obstack.h: Likewise.
55450         * malloc/set-freeres.c (__libc_freeres): Likewise.
55451         * malloc/tst-mallocstate.c (main): Likewise.
55452         * malloc/tst-mtrace.c (main): Likewise.
55453         * malloc/tst-realloc.c (do_test): Likewise.
55455 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
55457         [BZ #16366]
55458         * nscd/netgroupcache.c (do_notfound): New function.
55459         (addgetnetgrentX): Use it.
55461         [BZ # 16365]
55462         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
55463         NSS_STATUS_NOTFOUND.
55465 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
55467         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
55468         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55470 2014-01-01  Allan McRae  <allan@archlinux.org>
55472         * scripts/update-copyrights: Update configure input file suffix.
55474         * NEWS: Update copyright year.
55475         * catgets/gencat.c: Likewise.
55476         * csu/version.c: Likewise.
55477         * debug/catchsegv.sh: Likewise.
55478         * debug/pcprofiledump.c: Likewise.
55479         * debug/xtrace.sh: Likewise.
55480         * elf/ldconfig.c: Likewise.
55481         * elf/ldd.bash.in: Likewise.
55482         * elf/pldd.c: Likewise.
55483         * elf/sotruss.ksh: Likewise.
55484         * elf/sprof.c: Likewise.
55485         * iconv/iconv_prog.c: Likewise.
55486         * iconv/iconvconfig.c: Likewise.
55487         * locale/programs/locale.c: Likewise.
55488         * locale/programs/localedef.c: Likewise.
55489         * login/programs/pt_chown.c: Likewise.
55490         * malloc/memusage.sh: Likewise.
55491         * malloc/memusagestat.c: Likewise.
55492         * malloc/mtrace.pl: Likewise.
55493         * manual/libc.texinfo: Likewise.
55494         * nscd/nscd.c: Likewise.
55495         * nss/getent.c: Likewise.
55496         * nss/makedb.c: Likewise.
55497         * posix/getconf.c: Likewise.
55498         * scripts/test-installation.pl: Likewise.
55500         * All files with FSF copyright notices: Update copyright dates
55501         using scripts/update-copyrights.
55502         * intl/plural.c: Regenerated.
55503         * locale/programs/charmap-kw.h: Likewise.
55504         * locale/programs/locfile-kw.h: Likewise.
55506 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
55508         * sysdeps/unix/sysv/linux/configure: Regenerated.
55509         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
55510         the linux/fanotify.h header.
55511         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
55512         HAVE_LINUX_FANOTIFY_H is defined.
55514 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
55516         * benchtests/cos-inputs: New inputs.
55517         * benchtests/sin-inputs: Likewise.
55519         * benchtests/atan-inputs: New inputs. Fix name of multiple
55520         precision fallback inputs.
55522         * benchtests/atanh-inputs: New inputs.
55523         * benchtests/tanh-inputs: Likewise.
55525         * benchtests/acosh-inputs: New inputs.
55526         * benchtests/asinh-inputs: Likewise.
55528         * benchtests/cosh-inputs: New inputs.
55529         * benchtests/sinh-inputs: Likewise.
55531         * benchtests/acos-inputs: Add more inputs.
55532         * benchtests/asin-inputs: Likewise.
55534 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
55536         [BZ #16375]
55537         * manual/arith.texi: Fix spelling.
55538         * manual/charset.texi: Likewise.
55539         * manual/errno.texi: Likewise.
55540         * manual/filesys.texi: Likewise.
55541         * manual/lang.texi: Likewise.
55542         * manual/llio.texi: Likewise.
55543         * manual/locale.texi: Likewise.
55544         * manual/message.texi: Likewise.
55545         * manual/resource.texi: Likewise.
55546         * manual/search.texi: Likewise.
55547         * manual/setjmp.texi: Likewise.
55548         * manual/stdio.texi: Likewise.
55549         * manual/string.texi: Likewise.
55550         * manual/sysinfo.texi: Likewise.
55551         * manual/time.texi: Likewise.
55553 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
55555         * po/sl.po: New file.
55557 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
55559         * .gitignore: Add core/.gdbinit/.gdb_history.
55561 2013-12-27  Allan McRae  <allan@archlinux.org>
55563         [BZ #16369]
55564         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
55565         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
55567 2013-12-24  Brooks Moses  <bmoses@google.com>
55569         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
55570         all compilers that claim C++98 compliance, not just GCC.
55571         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
55572         Likewise.
55574 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
55576         * NEWS: Restore accidentally deleted bug-fix entries.
55578 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
55579             Ondřej Bílka  <neleai@seznam.cz>
55581         [BZ #15073]
55582         * malloc/malloc.c (_int_free): Perform sanity check only if we
55583         have_lock.
55585 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
55587         [BZ #12986]
55588         * manual/stdio.texi (String Input Conversions): Clarify that character
55589         classes are not supported.
55591 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55593         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55595 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
55597         [BZ #16337]
55598         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
55599         Calculate results for small negative arguments directly rather
55600         than using reflection formula with special underflow handling.
55602         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
55603         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
55604         sysdeps/unix/bsd/bsd4.4/syscalls.list.
55605         (fchflags): Likewise.
55606         (revoke): Likewise.
55607         (setlogin): Likewise.
55608         (sigaltstack): Likewise.
55609         (wait4): Likewise.
55610         (sigblock): Remove.
55611         (sigsetmask): Likewise.
55612         (wait3): Likewise.
55613         (waitpid): Likewise.
55614         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
55615         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
55616         file.
55617         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
55618         * sysdeps/unix/bsd/Makefile: ... here.
55619         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
55620         * sysdeps/unix/bsd/Versions: ... here.
55621         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
55622         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
55623         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
55624         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
55625         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
55626         * sysdeps/unix/bsd/sigblock.c: ... here.
55627         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
55628         * sysdeps/unix/bsd/sigsetmask.c: ... here.
55629         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
55630         * sysdeps/unix/bsd/sigvec.c: ... here.
55631         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
55632         * sysdeps/unix/bsd/tcdrain.c: ... here.
55633         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
55634         * sysdeps/unix/bsd/tcgetattr.c: ... here.
55635         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
55636         * sysdeps/unix/bsd/tcsetattr.c: ... here.
55637         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
55638         * sysdeps/unix/bsd/wait.c: ... here.
55639         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
55640         * sysdeps/unix/bsd/wait3.c: ... here.
55641         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
55642         * sysdeps/unix/bsd/waitpid.c: ... here.
55644 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
55646         [BZ #16356]
55647         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
55648         round-to-nearest for [!USE_AS_EXPM1L].
55649         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
55650         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
55651         more tests of exp and exp10.  Expect some exp10 tests to miss
55652         exceptions or fail in directed rounding modes.
55653         * math/auto-libm-test-out: Regenerated.
55654         * math/libm-test.inc (exp10_tonearest_test_data): New array.
55655         (exp10_test_tonearest): New function.
55656         (exp10_towardzero_test_data): New array.
55657         (exp10_test_towardzero): New function.
55658         (exp10_downward_test_data): New array.
55659         (exp10_test_downward): New function.
55660         (exp10_upward_test_data): New array.
55661         (exp10_test_upward): New function.
55662         (main): Call the new functions.
55663         * sysdeps/i386/fpu/libm-test-ulps: Update.
55664         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55666 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
55668         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
55669         asinh, atan, atan2, atanh, cbrt, cos and cosh.
55670         * math/auto-libm-test-out: Regenerated.
55671         * math/libm-test.inc (acosh_test_data): Add more tests.
55672         (atanh_test_data): Likewise.
55673         (ceil_test_data): Likewise.
55674         (copysign_test_data): Likewise.
55675         * sysdeps/i386/fpu/libm-test-ulps: Update.
55676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55678         * timezone/checktab.awk: Update from tzcode 2013i.
55679         * timezone/private.h: Likewise.
55680         * timezone/scheck.c: Likewise.
55681         * timezone/tzfile.h: Likewise.
55682         * timezone/tzselect.ksh: Likewise.
55683         * timezone/zdump.c: Likewise.
55684         * timezone/zic.c: Likewise.
55686         * math/auto-libm-test-in: Add tests of cpow.
55687         * math/auto-libm-test-out: Regenerated.
55688         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
55689         * math/gen-auto-libm-tests.c (func_calc_method): Add value
55690         mpc_cc_c.
55691         (func_calc_desc): Add mpc_cc_c union field.
55692         (test_functions): Add cpow.
55693         (special_fill_2pi): New function.
55694         (special_real_inputs): Add 2pi.
55695         (calc_generic_results): Handle mpc_cc_c.
55696         * sysdeps/i386/fpu/libm-test-ulps: Update.
55697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55699         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
55700         csqrt, ctan and ctanh.
55701         * math/auto-libm-test-out: Regenerated.
55702         * math/libm-test.inc (TEST_COND_x86_64): New macro.
55703         (TEST_COND_x86): Likewise.
55704         (ccos_test_data): Use AUTO_TESTS_c_c.
55705         (ccosh_test_data): Likewise.
55706         (cexp_test_data): Likewise.
55707         (clog_test_data): Likewise.
55708         (csqrt_test_data): Likewise.
55709         (ctan_test_data): Likewise.
55710         (ctan_tonearest_test_data): Likewise.
55711         (ctan_towardzero_test_data): Likewise.
55712         (ctan_downward_test_data): Likewise.
55713         (ctan_upward_test_data): Likewise.
55714         (ctanh_test_data): Likewise.
55715         (ctanh_tonearest_test_data): Likewise.
55716         (ctanh_towardzero_test_data): Likewise.
55717         (ctanh_downward_test_data): Likewise.
55718         (ctanh_upward_test_data): Likewise.
55719         * math/gen-auto-libm-tests.c (func_calc_method): Add value
55720         mpc_c_c.
55721         (func_calc_desc): Add mpc_c_c union field.
55722         (FUNC_mpc_c_c): New macro.
55723         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
55724         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
55725         ctanh.
55726         (special_fill_min_subnorm_p120): New function.
55727         (special_real_inputs): Add min_subnorm_p120.
55728         (calc_generic_results): Handle mpc_c_c.
55729         * sysdeps/i386/fpu/libm-test-ulps: Update.
55730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55732 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
55734         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
55735         (do_sin_slow): New functions.
55736         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
55737         (cslow2, csloww1, csloww2): Use the new functions.
55739         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
55740         Use M to change sign of result instead of X.  Assume X is
55741         positive.
55742         (csloww1): Likewise.
55743         (__sin): Adjust.
55744         (__cos): Adjust.
55746         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
55747         arguments A and DA.
55748         (__sin): Adjust.
55749         (__cos): Likewise.
55751         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
55752         (__cos): Likewise.
55753         (sloww1): Don't adjust sign of DX.
55754         (csloww1): Likewise.
55755         (sloww2): Use X directly and don't adjust sign of DX.
55756         (csloww2): Likewise.
55758 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
55760         * math/auto-libm-test-in: Add tests of cabs and carg.
55761         * math/auto-libm-test-out: Regenerated.
55762         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
55763         (carg_test_data): Likewise.
55764         * math/gen-auto-libm-tests.c (func_calc_method): Add value
55765         mpc_c_f.
55766         (func_calc_desc): Add mpc_c_f union field.
55767         (test_functions): Add cabs and carg.
55768         (calc_generic_results): Handle mpc_c_f.
55770         * sysdeps/powerpc/powerpc32/libgcc-compat.S
55771         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
55772         as a macro and a compat symbol.
55773         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
55774         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
55775         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
55776         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
55777         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
55778         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
55779         not use .hidden.
55780         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
55781         Likewise.
55782         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
55783         Likewise.
55784         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
55785         Likewise.
55786         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
55787         Likewise.
55788         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
55789         Likewise.
55790         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
55791         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
55792         from GLIBC_2.3.2.
55794 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55796         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55798 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
55800         * manual/texinfo.tex: Update to version 2013-11-26.10 with
55801         trailing whitespace removed.
55802         * scripts/config.guess: Update to version 2013-11-29.
55803         * scripts/config.sub: Update to version 2013-10-01.
55805         * math/auto-libm-test-in: Add tests of sincos.
55806         * math/auto-libm-test-out: Regenerated.
55807         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
55808         * math/gen-auto-libm-tests.c (func_calc_method): Add value
55809         mpfr_f_11.
55810         (func_calc_desc): Add mpfr_f_11 union field.
55811         (test_functions): Add sincos.
55812         (calc_generic_results): Handle mpfr_f_11.
55813         * sysdeps/i386/fpu/libm-test-ulps: Update.
55814         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55816 2013-12-19  Andreas Schwab  <schwab@suse.de>
55818         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
55819         CALL_MCOUNT.
55820         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
55821         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
55822         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
55824 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
55826         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
55827         * sysdeps/i386/fpu/libm-test-ulps: Update.
55828         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55830         [BZ #16293]
55831         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
55832         round-to-nearest mode when using frndint.
55833         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
55834         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
55835         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
55836         Likewise.
55837         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
55838         sinh test to fail.
55839         * math/auto-libm-test-out: Regenerated.
55840         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
55841         (TEST_COND_x86): Likewise.
55842         (expm1_tonearest_test_data): New array.
55843         (expm1_test_tonearest): New function.
55844         (expm1_towardzero_test_data): New array.
55845         (expm1_test_towardzero): New function.
55846         (expm1_downward_test_data): New array.
55847         (expm1_test_downward): New function.
55848         (expm1_upward_test_data): New array.
55849         (expm1_test_upward): New function.
55850         (main): Run the new test functions.
55851         * sysdeps/i386/fpu/libm-test-ulps: Update.
55852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55854         * include/features.h: Update comment documenting feature test
55855         macros.  Mention _DEFAULT_SOURCE in comment.
55856         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
55857         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
55858         _BSD_SOURCE and _SVID_SOURCE.
55859         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
55860         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
55861         !_SVID_SOURCE]: Likewise.
55862         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
55863         (__USE_POSIX_IMPLICITLY): Define.
55864         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
55865         (_POSIX_SOURCE): Undefine and redefine.
55866         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
55867         (_POSIX_C_SOURCE): Likewise.
55868         * manual/creature.texi (_DEFAULT_SOURCE): Document.
55869         (Feature Test Macros): Update documentation of default features.
55871 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
55873         * benchtests/Makefile: Add bench-strtok.
55874         * benchtests/bench-strtok.c: New file: strtok benchtest.
55876 2013-12-19  Allan McRae  <allan@archlinux.org>
55878         * manual/install.texi: Suppress menu for plain text output.
55879         * INSTALL: Regenerated.
55881 2013-12-18  Brooks Moses  <bmoses@google.com>
55883         [BZ #15846]
55884         * misc/getauxval.c: Include errno.h.
55885         (__getauxval): Set errno to ENOENT if the requested type is not
55886         found.
55887         * misc/sys/auxv.h (getauxval): Document that it may set errno;
55888         don't declare with __attribute_const__.
55889         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
55890         * manual/startup.texi: Document that getauxval sets errno.
55892 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
55894         * math/auto-libm-test-in: Add tests of jn and yn.
55895         * math/auto-libm-test-out: Regenerated.
55896         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
55897         (yn_test_data): Likewise.
55898         * math/gen-auto-libm-tests.c (func_calc_method): Add value
55899         mpfr_if_f.
55900         (func_calc_desc): Add mpfr_if_f union field.
55901         (FUNC_mpfr_if_f): New macro.
55902         (test_functions): Add jn and yn.
55903         (calc_generic_results): Assert type of second input for
55904         mpfr_ff_f.  Handle mpfr_if_f.
55905         (output_for_one_input_case): Disable all checking for arguments
55906         fitting floating-point types in case of an integer argument.
55907         * sysdeps/i386/fpu/libm-test-ulps: Update.
55908         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
55911         Don't expect fegetround reference in libm.so.
55913 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55915         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
55916         $(config-cflags-nofma).
55918 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
55920         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
55921         * math/auto-libm-test-out: Regenerated.
55923         [BZ #16338]
55924         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
55925         to determine exponent and adjust argument to have exponent of -1.
55926         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
55927         log2.
55928         * math/auto-libm-test-out: Regenerated.
55929         * sysdeps/i386/fpu/libm-test-ulps: Update.
55930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55932 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
55934         * manual/probes.texi: Remove cases when per-thread arenas are
55935         disabled.
55937 2013-12-18  Andreas Schwab  <schwab@suse.de>
55939         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
55940         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
55941         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
55942         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
55943         * sysdeps/i386/i686/multiarch/Makefile: Update.
55944         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
55946 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
55948         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
55949         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
55951 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
55953         [BZ #15968]
55954         Support TZ transition times < 00:00:00.
55955         This is needed for version-3 tz-format files; it supports time
55956         stamps past 2037 for America/Godthab (the only entry in the tz
55957         database for which this change is relevant).
55958         * manual/time.texi (TZ Variable): Document transition times
55959         from -167:59:59 through -00:00:01.
55960         * time/tzset.c (tz_rule): Time of day is now signed.
55961         (__tzset_parse_tz): Parse negative time of day.
55963         Document TZ transition times >= 25:00:00.
55964         * manual/time.texi (TZ Variable): Document transition times from
55965         25:00:00 through 167:59:59.  These are already supported, and this
55966         support will help with version-3 tz-format files.
55968         * manual/time.texi (TZ Variable): Modernize North America example
55969         to reflect current (i.e., 2007-and-later) daylight saving rules.
55971         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
55973 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
55975         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
55976         * sysdeps/unix/bsd/bits/stat.h: Likewise.
55977         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
55978         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
55979         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
55980         * sysdeps/unix/bsd/bsdstat.h: Likewise.
55981         * sysdeps/unix/bsd/clock.c: Likewise.
55982         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
55983         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
55984         * sysdeps/unix/bsd/init-posix.c: Likewise.
55985         * sysdeps/unix/bsd/poll.c: Likewise.
55986         * sysdeps/unix/bsd/ptsname.c: Likewise.
55987         * sysdeps/unix/bsd/seekdir.c: Likewise.
55988         * sysdeps/unix/bsd/setegid.c: Likewise.
55989         * sysdeps/unix/bsd/seteuid.c: Likewise.
55990         * sysdeps/unix/bsd/setgid.c: Likewise.
55991         * sysdeps/unix/bsd/setrgid.c: Likewise.
55992         * sysdeps/unix/bsd/setruid.c: Likewise.
55993         * sysdeps/unix/bsd/setsid.c: Likewise.
55994         * sysdeps/unix/bsd/setuid.c: Likewise.
55995         * sysdeps/unix/bsd/sigaction.c: Likewise.
55996         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
55997         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
55998         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
55999         * sysdeps/unix/bsd/telldir.c: Likewise.
56000         * sysdeps/unix/bsd/times.c: Likewise.
56001         * sysdeps/unix/bsd/usleep.c: Likewise.
56003         * misc/Makefile (install-lib): Remove libbsd-compat.a.
56004         ($(objpfx)libbsd-compat.a): Remove rule.
56006         * include/features.h (__FAVOR_BSD): Do not define.
56007         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
56008         features conflicting with POSIX.
56009         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
56010         (_BSD_SOURCE): Remove description of not being a subset of other
56011         feature test macros.
56012         * manual/job.texi (getpgrp): Do not document BSD version.
56013         (getpgid): Do not document by reference to BSD getpgrp.
56014         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
56015         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
56016         * signal/signal.h [__FAVOR_BSD]: Likewise.
56017         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
56018         instead of making contents conditional on [__FAVOR_BSD].
56019         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
56021 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56023         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56025 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
56027         [BZ #16314]
56028         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
56029         values below 2**-450, not 2**-500.
56030         * math/auto-libm-test-in: Don't allow spurious underflow from
56031         hypot.
56032         * math/auto-libm-test-out: Regenerated.
56034         [BZ #16316]
56035         [BZ #16330]
56036         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
56037         values of ha and hb and sort them after adjusting subnormal
56038         arguments.
56039         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
56040         Likewise.
56041         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
56042         values of ea and eb and sort them after adjusting subnormal
56043         arguments.
56044         * math/auto-libm-test-in: Do not expect some hypot tests of
56045         subnormals to fail.  Add more hypot tests.
56046         * math/auto-libm-test-out: Regenerated.
56048 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56050         [BZ #13304]
56051         * sysdeps/sh/s_fma.c: New file.
56052         * sysdeps/sh/s_fmaf.c: New file.
56053         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
56054         version.
56055         * sysdeps/sh/Implies: Add sh/soft-fp.
56057 2013-12-16  Roland McGrath  <roland@hack.frob.com>
56059         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
56060         level of indirection to members `objname', `errstring', `malloced'.
56061         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
56062         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
56063         it as the __longjmp argument (just pass 1 instead).
56064         (_dl_catch_error): Initialize C with argument pointers and address of
56065         volatile local ERRCODE rather than copying values out of C at return.
56067 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
56069         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
56070         * math/auto-libm-test-out: Regenerated.
56071         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
56072         (hypot_test_data): Likewise.
56073         (pow_test_data): Likewise.
56074         (pow_tonearest_test_data): Likewise.
56075         * math/gen-auto-libm-tests.c (func_calc_method): Add value
56076         mpfr_ff_f.
56077         (func_calc_desc): Add mpfr_ff_f union field.
56078         (FUNC_mpfr_ff_f): New macro.
56079         (test_functions): Add atan2, hypot and pow.
56080         (special_fill_min): New function.
56081         (special_fill_minus_min): Likewise.
56082         (special_fill_min_subnorm): Likewise.
56083         (special_fill_minus_min_subnorm): Likewise.
56084         (special_real_inputs): Add min, -min, min_subnorm and
56085         -min_subnorm.
56086         (calc_generic_results): Handle mpfr_ff_f.
56087         * sysdeps/i386/fpu/libm-test-ulps: Update.
56088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56090 2013-12-16  Will Newton  <will.newton@linaro.org>
56092         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
56093         (Aligned Memory Blocks): Add documentation for aligned_alloc
56094         and suggest it as an alternative to posix_memalign.
56095         (Hooks for Malloc): Document __memalign_hook is also called
56096         for aligned_alloc.  (Summary of Malloc): Add summary for
56097         aligned alloc.  Document __memalign_hook is also called
56098         for aligned_alloc.
56100 2013-12-16  Will Newton  <will.newton@linaro.org>
56102         * manual/memory.texi (Malloc Examples): Clarify default
56103         alignment documentation.  Suggest posix_memalign rather
56104         than memalign or valloc.
56105         (Aligned Memory Blocks): Remove suggestion to use memalign
56106         or valloc.  Remove obsolete comment about BSD.
56107         Document memalign errno values and mark the function obsolete.
56108         Document posix_memalign returned error codes.  Mark valloc
56109         as obsolete.  (Hooks for Malloc): __memalign_hook is also
56110         called for posix_memalign and valloc.
56111         (Summary of Malloc): Add posix_memalign to function summary.
56112         __memalign_hook is also called for posix_memalign and valloc.
56114 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
56116         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
56117         TAYLOR_SIN.
56118         (__sin): Adjust.
56119         (__cos): Likewise.
56120         (sloww): Use mynumber union.  Expand ternary operator into
56121         if-else statements.
56122         (cslow): use mynumber union.
56124 2013-12-16  Allan McRae  <allan@archlinux.org>
56126         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
56127         * configure: Regenerated.
56129         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
56131         [BZ #14120]
56132         * configure.ac: Added --enable-maintainer-mode. Check for
56133         autoconf when enabled.
56134         * configure: Regenerated.
56136         * nscd/nscd.service: New file.
56137         * nscd/nscd.tmpfiles: New file.
56139 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
56141         [BZ #12100]
56142         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
56143         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
56144         * sysdeps/x86_64/multiarch/strstr.c: ... here.
56145         (strstr): Add __strstr_sse2_unaligned ifunc.
56146         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
56147         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
56148         (strcasestr): Remove __strcasestr_sse42 ifunc.
56149         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
56150         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
56151         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
56153 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56155         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
56156         * sysdeps/sh/bits/fenv.h: ... here.
56157         * sysdeps/sh/sh4/fpu/bits: Remove directory.
56159 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56161         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
56163         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
56164         hypotf multiarch implementations.
56165         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
56166         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
56167         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
56168         multiarch hypot for PPC64.
56169         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
56170         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
56171         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
56172         multiarch hypotf for PPC64.
56174         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
56175         modff multiarch implementations.
56176         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
56177         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
56178         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
56179         multiarch modf for PPC64.
56180         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
56181         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
56182         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
56183         multiarch modff for PPC64.
56185         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
56186         and logl multiarch implementations.
56187         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
56188         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
56189         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
56190         multiarch logb for PPC64.
56191         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
56192         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
56193         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
56194         multiarch logb for PPC64.
56195         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
56196         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
56197         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
56198         multiarch logb for PPC64.
56200         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
56201         isinff multiarch implementation.
56202         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
56203         file.
56204         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
56205         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
56206         multiarch isinf for PPC64.
56207         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
56208         file.
56209         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
56210         multiarch isinff for PPC64.
56212         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
56213         finitef multiarch implementation.
56214         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
56215         file.
56216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
56217         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
56218         multiarch finite for PPC64.
56219         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
56220         file.
56221         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
56222         multiarch finitef for PPC64.
56224         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
56225         lrint multiarch implementation.
56226         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
56227         file.
56228         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
56229         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
56230         multiarch llrint for PPC64.
56231         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
56232         multiarch lrint for PPC64.
56234         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
56235         copysignf multiarch implementation.
56236         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
56237         file.
56238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
56239         file.
56240         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
56241         multiarch copysign for PPC64.
56242         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
56243         multiarch copysignf for PPC64.
56245         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
56246         multiarch implementation.
56247         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
56248         file.
56249         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
56250         file.
56251         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
56252         file.
56253         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
56254         file.
56255         multiarch llround for PPC64.
56256         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
56257         multiarch trunc for PPC64.
56258         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
56259         multiarch truncf for PPC64.
56261         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
56262         multiarch implementation.
56263         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
56264         file.
56265         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
56266         file.
56267         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
56268         file.
56269         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
56270         file.
56271         multiarch llround for PPC64.
56272         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
56273         multiarch round for PPC64.
56274         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
56275         multiarch roundf for PPC64.
56277         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
56278         multiarch implementation.
56279         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
56280         file.
56281         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
56282         file.
56283         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
56284         file.
56285         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
56286         file.
56287         multiarch llround for PPC64.
56288         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
56289         multiarch floor for PPC64.
56290         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
56291         multiarch floorf for PPC64.
56293         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
56294         multiarch implementation.
56295         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
56296         file.
56297         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
56298         file.
56299         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
56300         file.
56301         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
56302         file.
56303         multiarch llround for PPC64.
56304         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
56305         multiarch ceil for PPC64.
56306         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
56307         multiarch ceilf for PPC64.
56309         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
56310         multiarch implementation.
56311         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
56312         file.
56313         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
56314         file.
56315         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
56316         file.
56317         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
56318         multiarch llround for PPC64.
56319         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
56320         multiarch lround for PPC64.
56322         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
56323         multiarch implementation.
56324         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
56325         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
56326         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
56327         file.
56328         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
56329         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
56330         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
56331         multiarch isnan for PPC64.
56332         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
56333         multiarch isnanf for PPC64.
56335         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
56336         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
56337         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
56338         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
56339         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
56340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
56342         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
56343         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
56344         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
56345         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
56347         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
56348         multiarch implementations.
56349         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56350         (__libc_ifunc_impl_list): Likewise.
56351         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
56352         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
56353         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
56354         multiarch stpcpy for PPC64.
56356         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
56357         multiarch implementations.
56358         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56359         (__libc_ifunc_impl_list): Likewise.
56360         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
56361         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
56362         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
56363         multiarch strcpy for PPC64.
56365         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
56366         redefine function name.
56367         (_wordcopy_fwd_dest_aligned): Likewise.
56368         (_wordcopy_bwd_aligned): Likewise.
56369         (_wordcopy_bwd_dest_aligned): Likewise.
56370         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
56371         multiarch implementations.
56372         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56373         (__libc_ifunc_impl_list): Likewise.
56374         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
56375         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
56376         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
56377         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
56378         multiarch wcscpy for PPC64.
56380         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
56381         multiarch implementations.
56382         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56383         (__libc_ifunc_impl_list): Likewise.
56384         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
56385         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
56386         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
56387         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
56388         multiarch wcscpy for PPC64.
56390         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
56391         multiarch implementations.
56392         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56393         (__libc_ifunc_impl_list): Likewise.
56394         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
56395         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
56396         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
56397         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
56398         multiarch wcsrchr for PPC64.
56400         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
56401         multiarch implementations.
56402         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56403         (__libc_ifunc_impl_list): Likewise.
56404         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
56405         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
56406         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
56407         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
56408         multiarch wcschr for PPC64.
56410         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
56411         multiarch implementations.
56412         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56413         (__libc_ifunc_impl_list): Likewise.
56414         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
56415         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
56416         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
56417         multiarch strchrnul for PPC64.
56419         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
56420         implementations.
56421         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56422         (__libc_ifunc_impl_list): Likewise.
56423         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
56424         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
56425         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
56426         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
56427         strchr for PPC64.
56429         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
56430         implementations.
56431         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56432         (__libc_ifunc_impl_list): Likewise.
56433         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
56434         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
56435         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
56436         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
56437         strncmp for PPC64.
56439         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
56440         multiarch implementations.
56441         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56442         (__libc_ifunc_impl_list): Likewise.
56443         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
56444         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
56445         strncasecmp for PPC64.
56446         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
56447         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
56448         multiarch strncasecmp_l for PPC64.
56450         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
56451         multiarch implementations.
56452         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
56453         (__libc_ifunc_impl_list): Likewise.
56454         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
56455         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
56456         multiarch strcasecmp for PPC64.
56457         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
56458         file.
56459         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
56460         multiarch strcasecmp_l for PPC64.
56462         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
56463         implementations.
56464         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56465         (__libc_ifunc_impl_list): Likewise.
56466         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
56467         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
56468         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
56469         strnlen for PPC64.
56471         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
56472         implementations.
56473         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56474         (__libc_ifunc_impl_list): Likewise.
56475         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
56476         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
56477         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
56478         strlen for PPC64.
56480         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
56481         implementations.
56482         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56483         (__libc_ifunc_impl_list): Likewise.
56484         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
56485         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
56486         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
56487         rawmemrchr for PPC64.
56489         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
56490         implementation.
56491         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56492         (__libc_ifunc_impl_list): Likewise.
56493         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
56494         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
56495         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
56496         memrchr for PPC64.
56498         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
56499         implementation.
56500         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56501         (__libc_ifunc_impl_list): Likewise.
56502         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
56503         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
56504         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
56505         memchr for PPC64.
56507         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
56508         implementation.
56509         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56510         (__libc_ifunc_impl_list): Likewise.
56511         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
56512         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
56513         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
56514         mempcpy for PPC64.
56516         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
56517         avoid cretion of __bzero symbol.
56518         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
56519         Likewise.
56520         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
56521         Likewise.
56522         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
56523         Likewise.
56524         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
56525         multiarch implementations.
56526         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56527         (__libc_ifunc_impl_list): Likewise.
56528         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
56529         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
56530         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
56531         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
56532         bzero for PPC32.
56533         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
56534         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
56535         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
56536         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
56537         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
56538         memset for PPC64.
56539         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
56541         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
56542         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
56543         implementations.
56544         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56545         (__libc_ifunc_impl_list): Likewise.
56546         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
56547         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
56548         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
56549         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
56550         memcmp for PPC64.
56552         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
56553         multiarch for POWER/PPC64.
56554         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
56555         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
56556         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
56557         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
56558         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
56559         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
56560         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
56561         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
56562         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
56563         memcpy for PPC64.
56565         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
56566         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
56567         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
56568         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
56569         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
56570         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
56571         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
56572         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
56573         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
56574         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
56575         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
56576         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
56577         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
56578         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
56579         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
56580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
56581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
56582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
56583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
56584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
56585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
56586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
56588 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56590         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
56592 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
56594         * benchtests/Makefile (bench): Add exp2 and log2.
56595         (LDLIBS-bench-exp2): Add -lm.
56596         (LDLIBS-bench-log2): Likewise.
56597         * benchtests/exp2-inputs: New inputs file.
56598         * benchtests/log2-inputs: New inputs file.
56599         * benchtests/log-inputs: Add new inputs.
56600         * benchtests/tan-inputs: Likewise.
56602 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56604         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
56605         definition...
56606         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
56607         (csloww2): ... from here.
56609         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
56610         instead of structures.
56611         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
56612         (POLYNOMIAL): Likewise.
56613         (TAYLOR_SLOW): Likewise.
56614         (__sin): Likewise.
56615         (__cos): Likewise.
56616         (slow1): Likewise.
56617         (slow2): Likewise.
56618         (sloww): Likewise.
56619         (sloww1); Likewise.
56620         (sloww2): Likewise.
56621         (bsloww1): Likewise.
56622         (bsloww2): Likewise.
56623         (cslow2): Likewise.
56624         (csloww): Likewise.
56625         (csloww1): Likewise.
56626         (csloww2): Likewise.
56628 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
56630         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
56631         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
56632         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
56633         * malloc/hooks.c (realloc_check): Likewise.
56635         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
56636         * malloc/arena.c: Remove PER_THREAD conditional.
56637         [!PER_THREAD]: Remove code.
56638         (ptmalloc_unlock_all2): Likewise.
56639         (ptmalloc_init): Likewise.
56640         (_int_new_arena): Likewise.
56641         (arena_get2): Likewise.
56642         * malloc/hooks.c (__malloc_get_state): Likewise.
56643         (__malloc_set_state): Likewise.
56644         * malloc/malloc.c: Likewise.
56645         (struct malloc_state): Likewise.
56646         (struct malloc_par): Likewise.
56647         (__libc_realloc): Likewise.
56648         (__libc_mallopt): Likewise.
56650 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56652         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
56654 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
56656         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
56657         macro to a function.  Check for zero perturb_byte.
56658         (_int_malloc, _int_free): Remove zero perturb_byte checks.
56660         * malloc/malloc.c: (force_reg): Remove.
56661         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
56662         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
56663         force_reg by atomic_forced_read.
56664         * malloc/arena.c (ptmalloc_init): Likewise.
56665         * malloc/hooks.c (top_check): Likewise.
56667 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56669         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56671 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
56673         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56675 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
56677         * math/auto-libm-test-in: Add tests of lgamma.
56678         * math/auto-libm-test-out: Regenerated.
56679         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
56680         (M_LOG_2_SQRT_PIl): Likewise.
56681         (lgamma_test_data): Use AUTO_TESTS_f_f1.
56682         * math/gen-auto-libm-tests.c (func_calc_method): Add value
56683         mpfr_f_f1.
56684         (func_calc_desc): Add mpfr_f_f1 union field.
56685         (ARGS1): New macro.
56686         (ARGS2): Likewise.
56687         (ARGS3): Likewise.
56688         (ARGS4): Likewise.
56689         (RET1): Likewise.
56690         (RET2): Likewise.
56691         (CALC): Likewise.
56692         (FUNC): Likewise.
56693         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
56694         (test_functions): Add lgamma.
56695         (calc_generic_results): Handle mpfr_f_f1.
56696         * sysdeps/i386/fpu/libm-test-ulps: Update.
56697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56699 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56701         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
56702         __mpn_add_n for PowerPC64/POWER7.
56703         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
56704         __mpn_sub_n for PowerPC64/POWER7.
56706         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
56707         __mpn_addmul_1 for PowerPC64.
56708         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
56709         __mpn_submul_1 for PowerPC64.
56710         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
56711         for PowerPC64.
56712         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
56713         for PowerPC64.
56715 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
56717         [BZ #15089]
56718         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
56720 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56722         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
56724         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
56725         add multiarch folders.
56726         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
56727         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
56728         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
56729         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
56730         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
56731         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
56732         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
56733         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
56734         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
56735         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
56736         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
56737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
56738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
56739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
56740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
56741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
56742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
56744         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
56745         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
56746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
56747         New file.
56748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
56749         New file.
56750         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
56751         multiarch __ieee754_hypot for PowerPC32.
56752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
56753         New file.
56754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
56755         New file.
56756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
56757         multiarch __ieee754_hypotf for PowerPC32.
56759         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
56760         long_double_symbol only if __logbl is defined.
56761         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
56762         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
56763         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
56764         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
56765         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
56766         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
56767         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
56768         path for implementation.
56769         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
56770         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
56771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
56772         logb, and logbl multiarch implementations for PowerPC32.
56773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
56774         file.
56775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
56776         file.
56777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
56778         multiarch logb for PowerPC32.
56779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
56780         file.
56781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
56782         file.
56783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
56784         multiarch logbf for PowerPC32.
56785         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
56786         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
56787         file.
56788         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
56789         multiarch logbl implementation for PowerPC32.
56791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
56792         and modff multiarch implementations.
56793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
56794         New file.
56795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
56796         New file.
56797         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
56798         multiarch modf for PowerPC32.
56799         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
56800         New file.
56801         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
56802         New file.
56803         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
56804         multiarch modff for PowerPC32.
56806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
56807         and lrintf multiarch implementations.
56808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
56809         New file.
56810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
56811         New file.
56812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
56813         multiarch lrint for PowerPC32.
56814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
56815         file: multiarch lrintf for PowerPC32.
56817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
56818         and lroundf multiarch implementations.
56819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
56820         New file.
56821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
56822         New file.
56823         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
56824         New file.
56825         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
56826         multiarch lround for PowerPC32.
56827         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
56828         file: multiarch lroundf for PowerPC32.
56830         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
56831         copysign and copysignf multiarch implementations.
56832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
56833         New file.
56834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
56835         New file.
56836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
56837         file: multiarch copysign for PowerPC32.
56838         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
56839         file: multiarch copysignf for PowerPC32.
56841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
56842         and truncf multiarch implementations.
56843         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
56844         New file.
56845         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
56846         file.
56847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
56848         multiarch trunc for PowerPC32.
56849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
56850         New file.
56851         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
56852         New file.
56853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
56854         multiarch truncf for PowerPC32.
56856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
56857         and roundf multiarch implementations.
56858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
56859         New file.
56860         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
56861         file.
56862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
56863         multiarch round for PowerPC32.
56864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
56865         New file.
56866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
56867         New file.
56868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
56869         multiarch roundf for PowerPC32.
56871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
56872         and floorf multiarch implementations.
56873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
56874         New file.
56875         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
56876         file.
56877         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
56878         multiarch floor for PowerPC32.
56879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
56880         New file.
56881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
56882         New file.
56883         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
56884         multiarch floorf for PowerPC32.
56886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
56887         and ceilf multiarch implementations.
56888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
56889         New file.
56890         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
56891         file.
56892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
56893         multiarch ceil for PowerPC32.
56894         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
56895         New file.
56896         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
56897         file.
56898         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
56899         multiarch ceilf for PowerPC32.
56901         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
56902         is defined.
56903         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
56904         FINITEF is defined.
56905         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
56906         and finitef multiarch implementations.
56907         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
56908         New file.
56909         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
56910         file.
56911         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
56912         multiarch finite for PowerPC32.
56913         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
56914         New file.
56915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
56916         file: multiarch finitef for PowerPC32.
56918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
56919         and isinff multiarch implementations.
56920         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
56921         file.
56922         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
56923         file.
56924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
56925         multiarch isinf for PowerPC32.
56926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
56927         New file.
56928         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
56929         multiarch isinff for PowerPC32.
56931         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
56932         alias when __isnan is defined.
56933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
56934         and isnanf multiarch implementations.
56935         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
56936         file.
56937         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
56938         file.
56939         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
56940         file.
56941         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
56942         file.
56943         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
56944         multiarch isnan for PowerPC32.
56945         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
56946         New file.
56947         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
56948         New file.
56949         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
56950         multiarch isnanf for PowerPC32.
56952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
56953         and sqrtf multiarch implementations.
56954         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
56955         file.
56956         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
56957         file.
56958         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
56959         multiarch sqrt for PowerPC32.
56960         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
56961         file.
56962         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
56963         file.
56964         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
56965         multiarch sqrtf for PowerPC32.
56967         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
56968         and llroundf multiarch implementations.
56969         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
56970         New file.
56971         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
56972         New file.
56973         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
56974         New file.
56975         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
56976         file: multiarch llround for PowerPC32.
56977         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
56978         file: multiarch llroundf for PowerPC32.
56980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
56981         multiarch PowerPC32 fpu implementations.
56982         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
56983         New file.
56984         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
56985         New file.
56986         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
56987         multiarch llrint for PowerPC32.
56988         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
56989         New file.
56990         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
56991         New file.
56992         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
56993         file.
56995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
56997         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
56998         file.
56999         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
57000         file.
57001         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
57002         file.
57003         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
57004         multiarch wordcopy for PPC32.
57005         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
57006         wordcopy objects.
57007         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57008         (__libc_ifunc_impl_list): Likewise.
57009         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
57010         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
57011         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
57012         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
57013         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
57014         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
57016         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
57017         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
57018         file.
57019         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
57020         file.
57021         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
57022         file.
57023         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
57024         multiarch wcscpy for PPC32.
57025         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
57026         multiarch objects.
57027         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57028         (__libc_ifunc_impl_list): Likewise.
57029         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
57030         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
57031         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
57032         sysdeps/powerpc/power6/wcscpy.c.
57034         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
57035         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
57036         file.
57037         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
57038         file.
57039         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
57040         file.
57041         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
57042         multiarch wcsrchr for PPC32.
57043         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
57044         multiarch objects.
57045         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57046         (__libc_ifunc_impl_list): Likewise.
57047         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
57048         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
57049         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
57050         sysdeps/powerpc/power6/wcsrchr.c.
57052         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
57053         file.
57054         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
57055         file.
57056         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
57057         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
57058         multiarch wcschr for PPc32.
57059         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
57060         multiarch objects.
57061         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57062         (__libc_ifunc_impl_list): Likewise.
57063         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
57064         * sysdeps/powerpc/power6/wcschr.c: ... to here.
57065         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
57066         sysdeps/powerpc/power6/wcschr.c.
57068         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
57069         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
57070         file.
57071         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
57072         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
57073         file: multiarch strchr for PPC32.
57074         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
57075         multiarch objects.
57076         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57077         (__libc_ifunc_impl_list): Likewise.
57079         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
57080         name.
57081         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
57082         file.
57083         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
57084         file.
57085         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
57086         multiarch strchrnul for PPC32.
57087         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
57088         multiarch objects.
57089         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57090         (__libc_ifunc_impl_list): Likewise.
57092         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
57093         file.
57094         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
57095         multiarch strncasecmp for PPC32.
57096         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
57097         file.
57098         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
57099         multiarch strncasecmp_l for PPC32.
57100         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
57101         strncasecmp multiarch objects.
57102         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57103         (__libc_ifunc_impl_list): Likewise.
57105         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
57106         file.
57107         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
57108         multiarch strncasecmp for PPC32.
57109         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
57110         New file.
57111         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
57112         multiarch strcasecmp_l for PPC32.
57113         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
57114         multiarch objects.
57115         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57116         (__libc_ifunc_impl_list): Likewise.
57118         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
57119         file.
57120         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
57121         file.
57122         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
57123         multiarch strncmp for PPC32.
57124         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
57125         multiarch objects.
57126         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57127         (__libc_ifunc_impl_list): Likewise.
57129         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
57130         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
57131         file.
57132         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
57133         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
57134         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
57135         multiarch objects.
57136         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57137         (__libc_ifunc_impl_list): Likewise.
57139         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
57140         file.
57141         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
57142         file.
57143         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
57144         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
57145         multiarch objects.
57146         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57147         (__libc_ifunc_impl_list): Likewise.
57149         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
57150         file.
57151         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
57152         file.
57153         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
57154         multiarch rawmemchr for PPC32.
57155         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
57156         multiarch objects.
57157         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57158         (__libc_ifunc_impl_list): Likewise.
57160         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
57161         file.
57162         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
57163         file.
57164         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
57165         file: memrchr multiarch for PPC32.
57166         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
57167         multiarch objects.
57168         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57169         (__libc_ifunc_impl_list): Likewise.
57171         * string/memchr.c (__memchr): Using macro to redefine symbol name.
57172         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
57173         file.
57174         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
57175         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
57176         multiarch memchr for PPC32.
57177         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
57178         multiarch objects.
57179         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
57180         (__libc_ifunc_impl_list): Likewise.
57182         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
57183         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
57184         file.
57185         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
57186         file.
57187         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
57188         file: multiarch mempcpy for PPC32.
57189         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
57190         multiarch objects.
57191         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
57192         (__libc_ifunc_impl_list): Likewise.
57194         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
57195         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
57196         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
57197         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
57198         multiarch bzero for PPC32.
57199         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
57200         file.
57201         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
57202         file.
57203         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
57204         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
57205         file: multiarch memset for PPC32.
57206         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
57207         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
57208         memset multiarch objects.
57209         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
57210         (__libc_ifunc_impl_list): Likewise.
57212         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
57213         file.
57214         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
57215         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
57216         memcmp for PPC32.
57217         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
57218         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
57219         multiarch objects.
57220         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
57221         (__libc_ifunc_impl_list): Likewise.
57223         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
57224         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
57225         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
57226         file.
57227         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
57228         file.
57229         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
57230         file.
57231         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
57232         multiarch memcpy for PPC32.
57233         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
57234         multiarch objects.
57235         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
57236         (__libc_ifunc_impl_list): Likewise.
57238         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
57239         support multiarch for POWER/PPC32.
57240         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
57241         Likewise.
57242         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
57243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
57244         Implies file to make multiarch folder appers before the fpu and
57245         default folder for power4 configuration.
57247 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
57249         * scripts/bench.pl: Append volatile keyword to type.
57251 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57253         * sysdeps/sh/sotruss-lib.c: New file.
57254         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
57256 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57258         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57260 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
57262         [BZ #6810]
57263         * math/w_tgamma.c: Include <errno.h>.
57264         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
57265         * math/w_tgammaf.c: Include <errno.h>.
57266         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
57267         * math/w_tgammal.c: Include <errno.h>.
57268         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
57269         * math/auto-libm-test-in: Do not allow missing errno on tgamma
57270         underflow.  Add more tgamma tests.
57271         * math/auto-libm-test-out: Regenerated.
57272         * sysdeps/i386/fpu/libm-test-ulps: Update.
57273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57275         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
57276         sin, sinh, tan, tanh, tgamma, y0 and y1.
57277         * math/auto-libm-test-out: Regenerated.
57278         * math/libm-test.inc (TEST_COND_x86_64): New macro.
57279         (TEST_COND_x86): Likewise.
57280         (M_E2l): Remove macro.
57281         (M_E3l): Likewise.
57282         (M_2_SQRT_PIl): Likewise.
57283         (M_SQRT_PIl): Likewise.
57284         (M_1_DIV_El): Likewise.
57285         (log_test_data): Use AUTO_TESTS_f_f.
57286         (log10_test_data): Likewise.
57287         (log1p_test_data): Likewise.
57288         (log2_test_data): Likewise.
57289         (sin_test_data): Likewise.
57290         (sin_tonearest_test_data): Likewise.
57291         (sin_towardzero_test_data): Likewise.
57292         (sin_downward_test_data): Likewise.
57293         (sin_upward_test_data): Likewise.
57294         (sinh_test_data): Likewise.
57295         (sinh_tonearest_test_data): Likewise.
57296         (sinh_towardzero_test_data): Likewise.
57297         (sinh_downward_test_data): Likewise.
57298         (sinh_upward_test_data): Likewise.
57299         (tan_test_data): Likewise.
57300         (tan_tonearest_test_data): Likewise.
57301         (tan_towardzero_test_data): Likewise.
57302         (tan_downward_test_data): Likewise.
57303         (tan_upward_test_data): Likewise.
57304         (tanh_test_data): Likewise.
57305         (tgamma_test_data): Likewise.
57306         (y0_test_data): Likewise.
57307         (y1_test_data): Likewise.
57308         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
57309         (special_real_inputs): Add pi/4.
57310         * sysdeps/i386/fpu/libm-test-ulps: Update.
57311         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57313 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57315         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
57316         "longjmp_target" static probes.
57317         (__longjmp): Rename to __longjmp_symbol.
57318         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
57319         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
57320         on which longjmp to generate.
57321         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
57322         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
57323         probe.
57324         (__sigsetjmp): Rename to __sigsetjmp_symbol.
57325         (__sigjmp_save): Rename to __sigjmp_save_symbol.
57326         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
57327         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
57328         and __sigjmp_save_symbol based on which sigsetjmp to generated.
57329         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
57330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
57331         __longjmp_symbol based on which __longjmp to generate.
57332         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
57333         probe.
57334         (setjmp): Rename to setjmp_symbol.
57335         (__sigsetjmp): Rename to __sigsetjmp_symbol.
57336         (_setjmp): Rename to _setjmp_symbol.
57337         (__sigsetjmp): Rename to __sigsetjmp_symbol.
57338         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
57339         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
57340         which setjmp to generate.
57341         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
57342         "longjmp_target" static probes.
57344 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
57346         * benchtests/README: Add note about output arguments.
57347         * benchtests/bench-sincos.c: Remove file.
57348         * benchtests/sincos-inputs: New file.
57349         * scripts/bench.pl: Identify output arguments and define
57350         static variables for them.
57352         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
57354         [BZ #15941]
57355         * Makefile (INSTALL): Add install-plain.texi as the primary
57356         dependency.
57357         * manual/install-plain.texi: New file.
57358         * manual/install.texi: Include node directive only for
57359         non-plaintext output.
57361 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
57363         * stdlib/longlong.h: Update from GCC.
57365         [BZ #6807]
57366         [BZ #15901]
57367         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
57368         * math/w_j0f.c (y0f): Likewise.
57369         * math/w_j0l.c (__y0l): Likewise.
57370         * math/w_j1.c (y1): Likewise.
57371         * math/w_j1f.c (y1f): Likewise.
57372         * math/w_j1l.c (__y1l): Likewise.
57373         * math/w_jn.c (yn): Likewise.
57374         * math/w_jnf.c (ynf): Likewise.
57375         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
57376         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
57377         value for Bessel function domain errors outside _SVID_ mode.
57378         Adjust sign of return value for yn (negative integer, 0).
57379         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
57380         by zero in return for negative x and set sign appropriately for
57381         negative n.
57382         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
57383         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
57384         * math/libm-test.inc (y0_test_data): Add more tests and adjust
57385         expectations in error cases.
57386         (y1_test_data): Likewise.
57387         (yn_test_data): Likewise.
57388         * sysdeps/i386/fpu/libm-test-ulps: Update.
57389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57391 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
57393         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
57394         "64" to "64-v1".  Add "64-v2".
57395         (abi-64-options): Rename to ...
57396         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
57397         (abi-64-condition): Rename to ...
57398         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
57399         (abi-64-ld-soname): Rename to ...
57400         (abi-64-v1-ld-soname): ... this.
57401         (abi-64-v2-options): Define.
57402         (abi-64-v2-condition): Likewise.
57403         (abi-64-v2-ld-soname): Likewise.
57404         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
57405         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
57406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
57407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
57408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
57410 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
57411             Alan Modra  <amodra@gmail.com>
57413         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
57414         New versions for use with the ELFv2 ABI.
57415         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
57416         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
57417         declaration.
57418         (struct La_ppc64v2_retval): Likewise.
57419         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
57420         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
57421         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
57422         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
57423         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
57424         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
57425         Do not save or restore CR.
57426         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
57427         (_dl_profile_resolve): Do no save or restore CR.  Support extended
57428         return values for ELFv2 ABI.  Fix location of FPR return registers.
57429         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
57430         updated values for _CALL_ELF == 2.
57431         (La_regs, La_retval, int_retval): Likewise.
57433 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
57435         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
57436         (FRAME_MIN_SIZE_PARM): Likewise.
57437         (FRAME_BACKCHAIN): Likewise.
57438         (FRAME_CR_SAVE): Likewise.
57439         (FRAME_LR_SAVE): Likewise.
57440         (FRAME_TOC_SAVE): Likewise.
57441         (FRAME_PARM_SAVE): Likewise.
57442         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
57443         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
57444         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
57445         (call_mcount_parm_offset): New macro.
57446         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
57447         (PROF): Use symbolic stack frame offsets.
57448         (TAIL_CALL_SYSCALL_ERROR): Likewise.
57449         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
57450         Redefine in terms of FRAME_MIN_SIZE.
57451         (_dl_runtime_resolve): Use symbolic stack frame offsets.
57452         (_dl_profile_resolve): Likewise.  Update comment.
57453         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
57454         symbols stack frame offsets.
57455         (__sigsetjmp): Likewise.
57456         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
57457         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
57458         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
57459         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
57461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
57462         (FRAME_BACKCHAIN): Remove.
57463         (FRAME_CR_SAVE): Likewise.
57464         (FRAME_LR_SAVE): Likewise.
57465         (FRAME_COMPILER_DW): Likewise.
57466         (FRAME_LINKER_DW): Likewise.
57467         (FRAME_TOC_SAVE): Likewise.
57468         (FRAME_PARM_SAVE): Likewise.
57469         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
57470         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
57471         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
57472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
57473         (CHECK_SP): Use symbolic stack frame offsets.
57474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
57475         zone" instead of caller's parameter save area for temp storage.
57476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
57477         Likewise.  Also, use symbolic stack frame offsets.
57478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
57479         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
57480         our own stack frame instead of the caller's.
57481         (__socket): Use symbolic stack frame offsets.
57483 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
57484             Alan Modra  <amodra@gmail.com>
57486         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
57487         Define.
57488         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
57489         (PPC64_LOCAL_ENTRY_OFFSET): Define.
57490         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
57491         New function.
57492         (elf_machine_fixup_plt): Call it.
57493         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
57494         reloc arguments.
57495         (elf_machine_rela): Update call to elf_machine_plt_conflict.
57496         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
57497         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
57498         r2 before calling target.
57500 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
57501             Alan Modra  <amodra@gmail.com>
57503         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
57504         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
57505         versions of macros to support ELFv2 ABI.
57506         (LOCALENTRY): New macro.
57507         (ENTRY, EALIGN): Use it.
57508         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
57509         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
57510         fall through into ENTRY entry point.
57511         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
57512         Only define if _CALL_ELF != 2.
57514         (elf_machine_matches_host): Verify ABI version matches.
57515         (RTLD_START): Use LOCALENTRY.
57516         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
57517         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
57518         (PLT_ENTRY_WORDS): New macro.
57519         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
57520         (elf_machine_runtime_setup): Support ELFv2 ABI.
57521         (elf_machine_fixup_plt): Likewise.
57522         (elf_machine_plt_conflict): Likewise.
57523         (resolve_ifunc): Likewise.
57524         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
57525         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
57526         Likewise.
57527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
57528         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
57529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
57530         (makecontext): Support ELFv2 ABI.
57531         * elf/elf.h (EF_PPC64_ABI): Define.
57533 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
57535         * sysdeps/powerpc/powerpc64/sysdep.h
57536         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
57537         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
57538         (ENTRY) [ASSEMBLER]: ... but instead here ...
57539         (EALIGN) [ASSEMBLER]: ... and here.
57540         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
57541         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
57542         (ENTRY_2) [!ASSEMBLER]: Use it.
57543         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
57544         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
57545         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
57546         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
57547         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
57548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
57549         Use PPC64_LOAD_FUNCPTR.
57551         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
57553 2013-12-04  Alan Modra  <amodra@gmail.com>
57555         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
57556         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
57557         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
57558         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
57560         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
57561         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
57562         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
57563         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
57564         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
57565         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
57567 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
57569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
57570         (__makecontext): Fix incorrect CFI when backtracing out of
57571         context created via makecontext.
57572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
57573         (__setcontext): Fix incorrect CFI during switch to new context.
57574         (__novec_setcontext): Likewise.
57576 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
57578         [BZ #4772]
57579         * time/strptime_l.c (__strptime_internal): Allow modifiers
57580         in strptime.
57581         * time/tst-strptime.c (day_tests): Add testcase.
57583 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
57585         * scripts/bench.pl: Skip over blank lines.
57587 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
57589         [BZ #926]
57590         * manual/time.texi (Calendar Time): Clarify what timezone functions
57591         use.
57593 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57595         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57597 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
57599         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
57600         implementation.
57601         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
57602         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
57603         * debug/memset_chk.c (__memset_chk): Likewise.
57604         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
57605         * debug/strncpy_chk.c: Likewise.
57607 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
57609         [BZ #15268]
57610         [BZ #15425]
57611         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
57612         (__ieee754_exp): For possibly underflowing results, check size of
57613         result and force underflow exception if required.
57614         * math/auto-libm-test-in: Add more tests of exp.
57615         * math/auto-libm-test-out: Regenerated.
57616         * sysdeps/i386/fpu/libm-test-ulps: Update.
57617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57619         [BZ #16283]
57620         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
57621         * math/w_exp2f.c (__exp2f): Likewise.
57622         * math/w_exp2l.c (__exp2l): Likewise.
57623         * math/auto-libm-test-in: Do not allow missing errno on exp2
57624         underflow.
57625         * math/auto-libm-test-out: Regenerated.
57627 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
57629         [BZ #16274]
57630         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
57631         handle filename validation.
57632         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
57633         (do_open): Delete.
57635 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
57637         [BZ #6786]
57638         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
57639         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
57640         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
57641         <float.h>.
57642         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
57643         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
57644         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
57645         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
57646         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
57647         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
57648         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
57649         * math/auto-libm-test-in: Don't allow missing errno from erfc.
57650         Add more erfc tests.
57651         * math/auto-libm-test-out: Regenerated.
57652         * sysdeps/i386/fpu/libm-test-ulps: Update.
57653         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57655         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
57656         exp2, expm1, j0 and j1.
57657         * math/auto-libm-test-out: Regenerated.
57658         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
57659         (erfc_test_data): Likewise.
57660         (exp_test_data): Likewise.
57661         (exp_tonearest_test_data): Likewise.
57662         (exp_towardzero_test_data): Likewise.
57663         (exp_downward_test_data): Likewise.
57664         (exp_upward_test_data): Likewise.
57665         (exp10_test_data): Likewise.
57666         (exp2_test_data): Likewise.
57667         (expm1_test_data): Likewise.
57668         (j0_test_data): Likewise.
57669         (j1_test_data): Likewise.
57670         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
57671         (input_flag_type): Add flag_xfail_rounding.
57672         (input_flags): Add xfail-rounding.
57673         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
57674         (output_for_one_input_case): Handle flag_xfail_rounding.
57675         * sysdeps/i386/fpu/libm-test-ulps: Update.
57676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57678 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
57680         [BZ #16289]
57681         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
57682         division by 0.
57684 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
57686         [BZ #16195]
57687         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
57688         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
57689         (STAP_PROBE0): New macro.
57690         (STAP_PROBE1): Likewise.
57691         (STAP_PROBE2): Likewise.
57692         (STAP_PROBE3): Likewise.
57693         (STAP_PROBE4): Likewise.
57695 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
57697         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
57699 2013-12-02  Steve Ellcey  <sellcey@mips.com>
57701         * benchtests/Makefile (bench): Add sqrt.
57702         (LDLIBS-bench-sqrt): New.
57703         * benchtests/sqrt-input: New.
57705 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
57707         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
57708         (GAIH_EAI): Likewise.
57709         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
57710         (gaih_inet): Likewise.
57711         (getaddrinfo): Don't use GAIH_EAI.
57713         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
57714         (struct gaih): Remove definition.
57716 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
57718         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
57719         Use HERRNOP directly.
57721 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57723         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57725 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
57727         * math/gen-auto-libm-tests.c (test_functions): Add more
57728         single-argument functions.
57729         (special_fill_pi_2): New function.
57730         (special_fill_minus_pi_2): Likewise.
57731         (special_fill_pi_6): Likewise.
57732         (special_fill_minus_pi_6): Likewise.
57733         (special_fill_pi_3): Likewise.
57734         (special_fill_2pi_3): Likewise.
57735         (special_fill_e): Likewise.
57736         (special_fill_1_e): Likewise.
57737         (special_fill_e_minus_1): Likewise.
57738         (special_real_inputs): Add more special inputs.
57739         (output_for_one_input_case): Do not require ERANGE on underflow to
57740         zero if round-to-nearest result does not underflow to zero, unless
57741         exact results required.
57742         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
57743         atan, atanh, cbrt, cos and cosh.
57744         * math/auto-libm-test-out: Regenerated.
57745         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
57746         (acos_tonearest_test_data): Likewise.
57747         (acos_towardzero_test_data): Likewise.
57748         (acos_downward_test_data): Likewise.
57749         (acos_upward_test_data): Likewise.
57750         (acosh_test_data): Likewise.
57751         (asin_test_data): Likewise.
57752         (asin_tonearest_test_data): Likewise.
57753         (asin_towardzero_test_data): Likewise.
57754         (asin_upward_test_data): Likewise.
57755         (asinh_test_data): Likewise.
57756         (atan_test_data): Likewise.
57757         (atanh_test_data): Likewise.
57758         (cbrt_test_data): Likewise.
57759         (cos_test_data): Likewise.
57760         (cos_tonearest_test_data): Likewise.
57761         (cos_towardzero_test_data): Likewise.
57762         (cos_downward_test_data): Likewise.
57763         (cos_upward_test_data): Likewise.
57764         (cosh_test_data): Likewise.
57765         (cosh_tonearest_test_data): Likewise.
57766         (cosh_towardzero_test_data): Likewise.
57767         (cosh_downward_test_data): Likewise.
57768         (cosh_upward_test_data): Likewise.
57769         * sysdeps/i386/fpu/libm-test-ulps: Update.
57770         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57772 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
57774         [BZ #6787]
57775         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
57776         * math/w_exp10f.c (__exp10f): Likewise.
57777         * math/w_exp10l.c (__exp10l): Likewise.
57778         * math/libm-test.inc (exp10_test_data): Add more tests and expect
57779         errno settings in existing tests.
57781         [BZ #14032]
57782         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
57783         precision control set to double precision.
57784         * sysdeps/i386/fpu/w_sqrt.c: New file.
57785         * math/auto-libm-test-in: Add more tests.
57786         * math/auto-libm-test-out: Update.
57788         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
57789         (sqrt_test_tonearest): New function.
57790         (sqrt_towardzero_test_data): New variable.
57791         (sqrt_test_towardzero): New function.
57792         (sqrt_downward_test_data): New variable.
57793         (sqrt_test_downward): New function.
57794         (sqrt_upward_test_data): New variable.
57795         (sqrt_test_upward): New function.
57796         (main): Call the new functions.
57798         * math/gen-auto-libm-tests.c: New file.
57799         * math/auto-libm-test-in: Likewise.
57800         * math/auto-libm-test-out: New generated file.
57801         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
57802         variables.
57803         (%beautify): Add generated representations of zero.
57804         (top level): Set $auto_input and call parse_auto_input.
57805         (beautify): Remove trailing "f" from hex float constants.
57806         (parse_args): Handle XFAIL_TEST.
57807         (convert_condition): New function.
57808         (or_value): Likewise.
57809         (or_cond_value): Likewise.
57810         (generate_testfile): Handle AUTO_TESTS_* lines.
57811         (parse_auto_input): New function.
57812         * math/libm-test.inc (XFAIL_TEST): New macro.
57813         (ERRNO_UNCHANGED): Update value.
57814         (ERRNO_EDOM): Likewise.
57815         (ERRNO_ERANGE): Likewise.
57816         (IGNORE_RESULT): Likewise.
57817         (TEST_COND_flt_32): New macro.
57818         (TEST_COND_dbl_64): Likewise.
57819         (TEST_COND_ldbl_96_intel): Likewise.
57820         (TEST_COND_ldbl_96_m68k): Likewise.
57821         (TEST_COND_ldbl_128): Likewise.
57822         (TEST_COND_ldbl_128ibm): Likewise.
57823         (TEST_COND_long32): Likewise.
57824         (TEST_COND_long64): Likewise.
57825         (TEST_COND_before_rounding): Likewise.
57826         (TEST_COND_after_rounding): Likewise.
57827         (enable_test): Handle XFAIL_TEST flag.
57828         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
57829         with finite results.
57830         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
57831         auto-libm-test-out.
57833 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
57834             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57836         [BZ #16214]
57837         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
57838         __tls_get_addr_internal instead of __tls_get_offset in order to
57839         avoid GOT pointer dependency.  Make rtld export
57840         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
57841         __tls_get_addr since we are a __tls_get_offset platform.
57842         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
57843         GOT pointer being set up before.
57844         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
57846 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
57848         * manual/math.texi (Errors in Math Functions): Document accuracy
57849         goals.
57851         [BZ #15004]
57852         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
57853         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
57854         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
57855         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
57856         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
57857         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
57858         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
57859         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
57860         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
57861         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
57862         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
57863         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
57864         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
57865         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
57866         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
57867         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
57869         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
57870         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
57871         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
57872         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
57873         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
57874         Likewise.
57875         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
57876         Likewise.
57877         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
57878         Likewise.
57879         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
57880         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
57881         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
57882         atomic-feupdateenv and flt-rounds.
57883         * sysdeps/powerpc/nofpu/Versions (libc): Add
57884         __atomic_feholdexcept, __atomic_feclearexcept,
57885         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
57886         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
57887         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
57888         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
57889         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
57890         here.
57891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
57892         Update.
57894         * manual/arith.texi (FP Exceptions): Document that exceptions may
57895         not be raised when matherr is used.
57896         (Math Error Reporting): Document overflow in directed rounding
57897         modes.  Document that errno may not be set when finite values are
57898         returned on overflow.  Document intent to set errno on underflow
57899         only for underflow to zero.
57901         [BZ #16271]
57902         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
57903         round-to-nearest then adjust result for other rounding modes.
57904         * include/fenv.h (fegetround): Use libm_hidden_proto.
57905         * math/fegetround.c (fegetround): Use libm_hidden_def.
57906         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
57907         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
57908         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
57909         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
57910         Likewise.
57911         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
57912         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
57913         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
57914         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
57916 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57918         [BZ #16077]
57919         * nss/Versions (libnss_files): Add
57920         _nss_files_gethostbyname3_r.
57921         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
57922         New function.
57923         (HOST_DB_LOOKUP): Remove macro.
57924         (_nss_files_gethostbyname_r): Implement function without the
57925         HOST_DB_LOOKUP macro.
57926         (_nss_files_gethostbyname2_r): Likewise.
57928 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
57930         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
57932 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
57934         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
57935         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
57936         warning.
57938 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57940         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
57941         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
57942         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
57943         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
57944         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
57945         __fe_nomask_env_priv and attribute_hidden.
57946         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
57947         (libc_feupdateenv_test_ppc): Likewise.
57948         (libc_feresetround_ppc): Likewise.
57949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
57950         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
57951         compat_symbol macro.
57952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
57953         (__fe_nomask_env): Likewise.
57954         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
57956 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
57958         * string/Makefile: Remove ifunc tests.
57959         * string/test-string.h: Define TEST_IFUNC.
57960         * string/test-bcopy-ifunc.c: Remove.
57961         * string/test-bzero-ifunc.c: Likewise.
57962         * string/test-memccpy-ifunc.c: Likewise.
57963         * string/test-memchr-ifunc.c: Likewise.
57964         * string/test-memcmp-ifunc.c: Likewise.
57965         * string/test-memcpy-ifunc.c: Likewise.
57966         * string/test-memmem-ifunc.c: Likewise.
57967         * string/test-memmove-ifunc.c: Likewise.
57968         * string/test-mempcpy-ifunc.c: Likewise.
57969         * string/test-memrchr-ifunc.c: Likewise.
57970         * string/test-memset-ifunc.c: Likewise.
57971         * string/test-rawmemchr-ifunc.c: Likewise.
57972         * string/test-stpcpy-ifunc.c: Likewise.
57973         * string/test-stpncpy-ifunc.c: Likewise.
57974         * string/test-strcasecmp-ifunc.c: Likewise.
57975         * string/test-strcasestr-ifunc.c: Likewise.
57976         * string/test-strcat-ifunc.c: Likewise.
57977         * string/test-strchr-ifunc.c: Likewise.
57978         * string/test-strchrnul-ifunc.c: Likewise.
57979         * string/test-strcmp-ifunc.c: Likewise.
57980         * string/test-strcpy-ifunc.c: Likewise.
57981         * string/test-strcspn-ifunc.c: Likewise.
57982         * string/test-strlen-ifunc.c: Likewise.
57983         * string/test-strncasecmp-ifunc.c: Likewise.
57984         * string/test-strncat-ifunc.c: Likewise.
57985         * string/test-strncmp-ifunc.c: Likewise.
57986         * string/test-strncpy-ifunc.c: Likewise.
57987         * string/test-strnlen-ifunc.c: Likewise.
57988         * string/test-strpbrk-ifunc.c: Likewise.
57989         * string/test-strrchr-ifunc.c: Likewise.
57990         * string/test-strspn-ifunc.c: Likewise.
57991         * string/test-strstr-ifunc.c: Likewise.
57993 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
57995         * benchtests/Makefile: Remove ifunc tests.
57996         * benchtests/bench-string.h: Define TEST_IFUNC.
57997         * benchtests/bench-bcopy-ifunc.c: Remove.
57998         * benchtests/bench-bzero-ifunc.c: Likewise.
57999         * benchtests/bench-memccpy-ifunc.c: Likewise.
58000         * benchtests/bench-memchr-ifunc.c: Likewise.
58001         * benchtests/bench-memcmp-ifunc.c: Likewise.
58002         * benchtests/bench-memcpy-ifunc.c: Likewise.
58003         * benchtests/bench-memmem-ifunc.c: Likewise.
58004         * benchtests/bench-memmove-ifunc.c: Likewise.
58005         * benchtests/bench-mempcpy-ifunc.c: Likewise.
58006         * benchtests/bench-memrchr-ifunc.c: Likewise.
58007         * benchtests/bench-memset-ifunc.c: Likewise.
58008         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
58009         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
58010         * benchtests/bench-stpcpy-ifunc.c: Likewise.
58011         * benchtests/bench-stpncpy-ifunc.c: Likewise.
58012         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
58013         * benchtests/bench-strcasestr-ifunc.c: Likewise.
58014         * benchtests/bench-strcat-ifunc.c: Likewise.
58015         * benchtests/bench-strchr-ifunc.c: Likewise.
58016         * benchtests/bench-strchrnul-ifunc.c: Likewise.
58017         * benchtests/bench-strcmp-ifunc.c: Likewise.
58018         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
58019         * benchtests/bench-strcpy-ifunc.c: Likewise.
58020         * benchtests/bench-strcspn-ifunc.c: Likewise.
58021         * benchtests/bench-strlen-ifunc.c: Likewise.
58022         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
58023         * benchtests/bench-strncat-ifunc.c: Likewise.
58024         * benchtests/bench-strncmp-ifunc.c: Likewise.
58025         * benchtests/bench-strncpy-ifunc.c: Likewise.
58026         * benchtests/bench-strnlen-ifunc.c: Likewise.
58027         * benchtests/bench-strpbrk-ifunc.c: Likewise.
58028         * benchtests/bench-strrchr-ifunc.c: Likewise.
58029         * benchtests/bench-strsep-ifunc.c: Likewise.
58030         * benchtests/bench-strspn-ifunc.c: Likewise.
58031         * benchtests/bench-strstr-ifunc.c: Likewise.
58033 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
58035         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
58037 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
58039         * resolv/netdb.h: Use __glibc_reserved instead __unused.
58040         * rt/aio.h: Likewise.
58041         * sysdeps/gnu/bits/utmp.h: Likewise.
58042         * sysdeps/gnu/bits/utmpx.h: Likewise.
58043         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
58044         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
58045         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
58046         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
58047         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
58048         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
58049         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
58050         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
58051         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
58052         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
58053         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
58054         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
58055         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
58056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
58057         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
58058         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
58059         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
58060         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
58061         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
58062         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
58063         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
58064         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
58065         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
58066         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
58067         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
58068         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58069         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
58070         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
58071         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
58072         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
58073         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
58074         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
58075         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
58076         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
58077         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
58078         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
58079         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
58080         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
58081         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
58082         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
58083         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
58084         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
58086 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
58088         [BZ #16245]
58089         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
58090         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
58092 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
58094         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
58095         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
58096         Likewise.
58098 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58100         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
58101         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
58102         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
58103         (__fesetround): Remove define.
58104         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
58105         rounding and exceptions handling.
58106         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
58107         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
58108         (__fe_nomask_env): Likewise.
58109         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
58110         __fegetround instead of fegetround.
58111         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
58112         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
58114 2013-11-21  Roland McGrath  <roland@hack.frob.com>
58116         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
58117         it's there.
58119         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
58121 2013-11-21  Meador Inge  <meadori@codesourcery.com>
58123         [BZ #11157]
58124         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
58125         (encrypt_r): Likewise.
58126         * malloc/obstack.h (obstack_free): Likewise.
58127         * posix/unistd.h (encrypt): Likewise.
58129 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
58131         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
58132         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
58133         DL_CALL_DT_FINI() that call the functions directly.
58134         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
58135         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
58136         * elf/dl-fini.c: Likewise.
58138 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
58140         * malloc/hooks.c (memalign_check): Add alignment rounding.
58141         * malloc/malloc.c (_mid_memalign): New function.
58142         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
58143         Implement by calling _mid_memalign.
58144         * manual/probes.texi (Memory Allocation Probes): Remove
58145         memory_valloc_retry and memory_pvalloc_retry.
58147 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
58149         * locale/programs/locarchive.c (open_archive): Add const
58150         qualifier to ARCHIVEFNAME and copy default fname to
58151         DEFAULT_FNAME.
58153         [BZ #15601]
58154         * libio/tst-widetext.input: Rename Oriya to Odia.
58155         * locale/iso-639.def: Likewise.
58157         * manual/probes.texi (Mathematical Function Probes): Add
58158         documentation for sin, cos, asin and acos probes.
58159         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
58160         (__sin32): Add slowasin probe.
58161         (__cos32): Add slowacos probe.
58162         (__mpsin): Add slowsin probe.
58163         (__mpcos): Add slowcos probe.
58165 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
58167         [BZ #15483]
58168         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
58169         thread-local __sim_exceptions_thread and global
58170         __sim_exceptions_global.
58171         (__sim_disabled_exceptions): Change to thread-local
58172         __sim_disabled_exceptions_thread and global
58173         __sim_disabled_exceptions_global.
58174         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
58175         and global __sim_round_mode_global.
58176         (__simulate_exceptions): Use thread-local floating-point state and
58177         set global state from it as needed.
58178         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
58179         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
58180         __sim_round_mode_thread.
58181         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
58182         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
58183         and global __sim_exceptions_global.
58184         (__sim_disabled_exceptions): Change to thread-local
58185         __sim_disabled_exceptions_thread and global
58186         __sim_disabled_exceptions_global.
58187         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
58188         and global __sim_round_mode_global.
58189         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
58190         (SIM_SET_GLOBAL): Likewise.
58191         * sysdeps/powerpc/soft-fp/sfp-machine.h
58192         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
58193         __sim_round_mode_thread.
58194         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
58195         __sim_disabled_exceptions_thread.
58196         (__sim_exceptions): Change to __sim_exceptions_thread.
58197         (__sim_disabled_exceptions): Change to
58198         __sim_disabled_exceptions_thread.
58199         (__sim_round_mode): Change to __sim_round_mode_thread.
58200         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
58201         thread-local floating-point state and set global state from it as
58202         needed.
58203         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
58204         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
58205         (__sim_disabled_exceptions): Remove extern declaration.
58206         (feenableexcept): Use thread-local floating-point state and set
58207         global state from it as needed.
58208         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
58209         extern declaration.
58210         (__sim_disabled_exceptions): Likewise.
58211         (__sim_round_mode): Likewise.
58212         (__fegetenv): Use thread-local floating-point state.
58213         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
58214         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
58215         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
58216         floating-point state and set global state from it as needed.
58217         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
58218         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
58219         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
58220         Likewise.
58221         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
58222         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
58223         Likewise.
58224         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
58225         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
58226         Use __sim_round_mode_thread.
58227         * math/test-fenv-tls.c: New file.
58228         * math/Makefile (tests): Add test-fenv-tls.
58229         ($(objpfx)test-fenv-tls): Depend on
58230         $(common-objpfx)nptl/libpthread.so.
58232 2013-11-19  Andreas Schwab  <schwab@suse.de>
58234         * locale/programs/locale.c (show_info): Decode wordarray elements.
58235         * locale/categories.def (LC_MONETARY): Add element for
58236         _NL_MONETARY_CRNCYSTR.
58237         * locale/C-monetary.c (conversion_rate): New variable.
58238         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
58239         element.
58241 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
58243         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
58244         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
58246 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
58248         * elf/Makefile (tst-auxv): New test.
58249         * elf/tst-auxv.c: New
58250         * elf/rtld.c (dl_main): Adjust AT_EXECFN
58252 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
58254         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
58255         (hidden_proto): Caller changed.
58256         (hidden_tls_proto): New macro.
58257         (libc_hidden_tls_proto): Likewise.
58258         (rtld_hidden_tls_proto): Likewise.
58259         (libm_hidden_tls_proto): Likewise.
58260         (libresolv_hidden_tls_proto): Likewise.
58261         (librt_hidden_tls_proto): Likewise.
58262         (libdl_hidden_tls_proto): Likewise.
58263         (libnss_files_hidden_tls_proto): Likewise.
58264         (libnsl_hidden_tls_proto): Likewise.
58265         (libnss_nisplus_hidden_tls_proto): Likewise.
58266         (libutil_hidden_tls_proto): Likewise.
58268 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
58270         [BZ #10253]
58271         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
58272         (decompose_rpath): Defer expansion to fillin_rpath.
58273         (_dl_init_paths): Pass linkmap to fillin_rpath.
58275 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
58277         * benchtests/Makefile: Add strsep.
58278         * benchtests/bench-strsep.c: New file: strsep benchtest.
58279         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
58281 2013-11-18  Andreas Schwab  <schwab@suse.de>
58283         * locale/programs/locale.c (show_info) [case byte]: Check for
58284         '\377' instead of '\177'.
58285         * locale/C-monetary.c (not_available): Always use "\377".
58286         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
58287         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
58288         detect unavailable sign_posn locale elements.
58289         * locale/localeconv.c (__localeconv): For grouping and
58290         mon_grouping handle "\177" and "\377" like no grouping.
58291         (INT_ELEM): New macro.  Use it to set all numeric members.
58292         * locale/programs/ld-monetary.c (monetary_read)
58293         <tok_mon_grouping>: Normalize single -1 to the empty string.
58294         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
58295         Likewise.
58297 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
58299         [BZ #16055]
58300         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
58301         when we match (nil).
58302         * stdio-common/tst-sscanf.c (struct test): Add testcase.
58304 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
58306         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
58307         (NO_TEST_INLINE): Update value.
58308         (ERRNO_UNCHANGED): Likewise.
58309         (ERRNO_EDOM): Likewise.
58310         (ERRNO_ERANGE): Likewise.
58311         (IGNORE_RESULT): Likewise.
58312         (check_float_internal): Check signs of NaN results if
58313         TEST_NAN_SIGN used.
58314         (check_complex): Pass TEST_NAN_SIGN flag through to second
58315         check_float_internal call.
58316         (copysign_test_data): Add tests with quiet NaNs as second
58317         argument.  Use TEST_NAN_SIGN.
58318         (fabs_test_data): Add test of negative quiet NaN argument.  Use
58319         TEST_NAN_SIGN.
58320         (signbit_test_data): Add tests of quiet NaN argument.
58321         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
58323         * math/gen-libm-test.pl (show_exceptions): Take extra argument
58324         $ignore_result.
58325         (parse_args): Handle function results specified as IGNORE.
58326         * math/libm-test.inc (IGNORE_RESULT): New macro.
58327         (check_float_internal): Do not check numerical result if flag
58328         IGNORE_RESULT set.
58329         (check_complex): Pass through IGNORE_RESULT to second
58330         check_float_internal call.
58331         (check_int): Do not check numerical result if flag IGNORE_RESULT
58332         set.
58333         (check_long): Likewise.
58334         (check_bool): Likewise.
58335         (check_longlong): Likewise.
58336         (lrint_test_data): Add tests of infinite and NaN arguments.
58337         (lrint_tonearest_test_data): Likewise.
58338         (lrint_towardzero_test_data): Likewise.
58339         (lrint_downward_test_data): Likewise.
58340         (lrint_upward_test_data): Likewise.
58341         (llrint_test_data): Likewise.
58342         (llrint_tonearest_test_data): Likewise.
58343         (llrint_towardzero_test_data): Likewise.
58344         (llrint_downward_test_data): Likewise.
58345         (llrint_upward_test_data): Likewise.
58346         (lround_test_data): Likewise.
58347         (llround_test_data): Likewise.
58349         * math/libm-test.inc (NO_TEST_INLINE): New macro.
58350         (ERRNO_UNCHANGED): Update value.
58351         (ERRNO_EDOM): Likewise.
58352         (ERRNO_ERANGE): Likewise.
58353         (NO_TEST_INLINE_FLOAT): New macro.
58354         (NO_TEST_INLINE_DOUBLE): Likewise.
58355         (enable_test): New function.
58356         (RUN_TEST_f_f): Check enable_test before running test.
58357         (RUN_TEST_2_f): Likewise.
58358         (RUN_TEST_fff_f): Likewise.
58359         (RUN_TEST_c_f): Likewise.
58360         (RUN_TEST_f_f1): Likewise.
58361         (RUN_TEST_fF_f1): Likewise.
58362         (RUN_TEST_fI_f1): Likewise.
58363         (RUN_TEST_ffI_f1): Likewise.
58364         (RUN_TEST_c_c): Likewise.
58365         (RUN_TEST_cc_c): Likewise.
58366         (RUN_TEST_f_i): Likewise.
58367         (RUN_TEST_f_i_tg): Likewise.
58368         (RUN_TEST_ff_i_tg): Likewise.
58369         (RUN_TEST_f_b): Likewise.
58370         (RUN_TEST_f_b_tg): Likewise.
58371         (RUN_TEST_f_l): Likewise.
58372         (RUN_TEST_f_L): Likewise.
58373         (RUN_TEST_fFF_11): Likewise.
58374         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
58375         conditionals.
58376         (cosh_test_data): Likewise.
58377         (exp_test_data): Likewise.
58378         (expm1_test_data): Likewise.
58379         (hypot_test_data): Likewise.
58380         (pow_test_data): Likewise.
58381         (sinh_test_data): Likewise.
58382         (tanh_test_data): Likewise.
58383         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
58384         flags argument.
58386         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
58387         tests with quiet NaN input and output.
58388         (acosh_test_data): Likewise.
58389         (asin_test_data): Likewise.
58390         (asinh_test_data): Likewise.
58391         (atan_test_data): Likewise.
58392         (atanh_test_data): Likewise.
58393         (atan2_test_data): Likewise.
58394         (cbrt_test_data): Likewise.
58395         (cos_test_data): Likewise.
58396         (cosh_test_data): Likewise.
58397         (erf_test_data): Likewise.
58398         (erfc_test_data): Likewise.
58399         (exp_test_data): Likewise.
58400         (exp10_test_data): Likewise.
58401         (exp2_test_data): Likewise.
58402         (expm1_test_data): Likewise.
58403         (hypot_test_data): Likewise.
58404         (j0_test_data): Likewise.
58405         (j1_test_data): Likewise.
58406         (jn_test_data): Likewise.
58407         (lgamma_test_data): Likewise.
58408         (log_test_data): Likewise.
58409         (log10_test_data): Likewise.
58410         (log1p_test_data): Likewise.
58411         (log2_test_data): Likewise.
58412         (pow_test_data): Likewise.
58413         (scalb_test_data): Likewise.
58414         (sin_test_data): Likewise.
58415         (sincos_test_data): Likewise.
58416         (sinh_test_data): Likewise.
58417         (tan_test_data): Likewise.
58418         (tanh_test_data): Likewise.
58419         (tgamma_test_data): Likewise.
58420         (y0_test_data): Likewise.
58421         (y1_test_data): Likewise.
58422         (yn_test_data): Likewise.
58424         [BZ #16167]
58425         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
58426         argument being NaN and avoid computations with second argument in
58427         that case.
58428         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
58429         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
58430         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
58432 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
58434         * locale/iso-639.def: Add Chitwani Tharu (the).
58436 2013-11-14  Andreas Schwab  <schwab@suse.de>
58438         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
58439         word instead of empty string.
58441 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
58444         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
58445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
58446         (__fe_nomask_env): Likewise.
58448 2013-11-13  Steve Ellcey  <sellcey@mips.com>
58450         * benchtests/bench-timing.h: Include time.h.
58452 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
58454         [BZ #15997]
58455         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
58456         to 3.4.0 for x32.
58457         * sysdeps/unix/sysv/linux/configure: Regenerated.
58459 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
58461         [BZ #16151]
58462         * stdlib/strtod_l.c (round_and_return): Do not consider
58463         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
58464         exponent one less than half the least subnormal exponent.
58465         * stdlib/test-strtod-round-data: Add more tests.
58466         * stdlib/tst-strtod-round.c (tests): Regenerated.
58468 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58470         [BZ #14143]
58471         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
58472         (__fe_mask_env): Likewise.
58473         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
58474         libm_hidden_proto and add function prototype.
58475         (__fe_mask_env): Add function prototype.
58476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
58477         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
58478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
58479         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
58480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
58481         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
58483 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58485         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
58486         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
58488 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58490         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
58491         of htab_find_slot().
58493 2013-11-11  David S. Miller  <davem@davemloft.net>
58495         [BZ #16150]
58496         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
58497         symbol in the non-vis3 case in static builds.
58498         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
58499         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
58500         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
58501         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
58503 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
58505         [BZ #387]
58506         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
58507         it is empty.
58509 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58511         * benchtests/Makefile: Add bench-strtod.
58512         * benchtests/bench-strtod.c: New file: strtod benchtest
58514 2013-11-11  Andreas Schwab  <schwab@suse.de>
58516         [BZ #16153]
58517         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
58518         terminating NUL in key length.
58520 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58522         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
58523         Add artificial ODP entry for vDSO symbol for PPC64.
58524         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
58525         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
58527 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
58529         [BZ #15374]
58530         * nss/getent.c (services_keys): Recognize services starting with digit.
58532 2013-11-06  David S. Miller  <davem@davemloft.net>
58534         [BZ #15985]
58535         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
58536         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
58538 2013-11-06  Will Newton  <will.newton@linaro.org>
58540         * manual/memory.texi (Malloc Examples): Remove register
58541         keyword from examples.
58543 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
58545         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
58547 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
58549         [BZ #6981]
58550         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
58551         depending on [__GCC_IEC_559 > 0].
58552         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
58553         depending on [__GCC_IEC_559_COMPLEX > 0].
58555 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
58557         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
58558         to iso-639.def.
58560 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
58562         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
58564 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
58566         [BZ #16112]
58567         * malloc/malloc (malloc_info): Do not handle first bin as
58568         special case.
58570 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
58572         * locale/iso-639.def: Add Central Nahuatl (nhn).
58574 2013-11-01  Bruno Haible  <bruno@clisp.org>
58576         [BZ #7003]
58577         * manual/math.texi (BSD Random): Specify range upper bound as
58578         in POSIX.
58580 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
58582         * locale/iso-639.def: Add Meadow Mari (mhr).
58584 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
58586         [BZ #14752], [BZ #15763]
58587         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
58588         Validate name.
58589         * rt/tst_shm.c: Add test for escaping directory.
58591 2013-10-31  Andreas Schwab  <schwab@suse.de>
58593         [BZ #15917]
58594         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
58595         followed by 'x' as part of digit sequence.
58596         * stdio-common/tst-sscanf.c (double_tests2): New tests.
58598 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
58600         [BZ #16037]
58601         * configure.ac: allow GNU Make 4.0 and greater.
58602         * configure: Regenerated.
58604 2013-10-30  Will Newton  <will.newton@linaro.org>
58606         [BZ #16038]
58607         * malloc/hooks.c (memalign_check): Limit alignment to the
58608         maximum representable power of two.
58609         * malloc/malloc.c (__libc_memalign): Likewise.
58610         * malloc/tst-memalign.c (do_test): Add test for very
58611         large alignment values.
58612         * malloc/tst-posix_memalign.c (do_test): Likewise.
58614 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
58616         [BZ #11087]
58617         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
58618         (munmap_chunk): Likewise.
58619         (mremap_chunk): Likewise.
58621 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
58623         [BZ #15799]
58624         * stdlib/div.c (div): Remove obsolete code.
58625         * stdlib/ldiv.c (ldiv): Likewise.
58626         * stdlib/lldiv.c (lldiv): Likewise.
58628 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
58630         [BZ #16071]
58631         * nss/nss_files/files-XXX.c (get_contents_ret): New
58632         enumerator.
58633         (get_contents): New function.
58634         (internal_getent): Use it.  Expand size of LINEBUFLEN.
58636 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
58638         * configure.in: Moved to ...
58639         * configure.ac: ... here. Change reference to configure.in
58640         to configure.ac.
58641         * sysdeps/arm/preconfigure.ac: ... here.
58642         configure.in to configure.ac.
58643         * sysdeps/gnu/configure.in: Moved to ...
58644         * sysdeps/gnu/configure.ac: ... here.
58645         * sysdeps/i386/configure.in: Moved to ...
58646         * sysdeps/i386/configure.ac: ... here.
58647         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
58648         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
58649         * sysdeps/mach/configure.in: Moved to ...
58650         * sysdeps/mach/configure.ac: ... here.
58651         * sysdeps/mach/hurd/configure.in: Moved to ...
58652         * sysdeps/mach/hurd/configure.ac: ... here.
58653         * sysdeps/powerpc/configure.in: Moved to ...
58654         * sysdeps/powerpc/configure.ac: ... here.
58655         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
58656         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
58657         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
58658         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
58659         * sysdeps/s390/s390-32/configure.in: Moved to ...
58660         * sysdeps/s390/s390-32/configure.ac: ... here.
58661         * sysdeps/s390/s390-64/configure.in: Moved to ...
58662         * sysdeps/s390/s390-64/configure.ac: ... here.
58663         * sysdeps/sh/configure.in: Moved to ...
58664         * sysdeps/sh/configure.ac: ... here.
58665         * sysdeps/sparc/configure.in: Moved to ...
58666         * sysdeps/sparc/configure.ac: ... here.
58667         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
58668         * sysdeps/unix/sysv/linux/configure.ac: ... here.
58669         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
58670         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
58671         * sysdeps/x86_64/configure.in: Moved to ...
58672         * sysdeps/x86_64/configure.ac: ... here.
58673         * sysdeps/x86_64/preconfigure.in: Moved to ...
58674         * sysdeps/x86_64/preconfigure.ac: ... here.
58675         * aclocal.m4: Change reference to configure.in to configure.ac.
58676         * config.h.in: Likewise.
58677         * manual/install.texi: Likewise.
58678         * manual/maint.texi: Likewise.
58679         * Makefile: Likewise.
58680         * malloc/Makefile: Likewise.
58681         * nscd/Makefile: Likewise.
58682         * Makeconfig: Change reference to configure.in and
58683         preconfigure.in to configure.ac and preconfigure.ac
58684         respectively.
58685         * INSTALL: Regenerated.
58686         * configure: Likewise.
58687         * sysdeps/gnu/configure: Likewise.
58688         * sysdeps/i386/configure: Likewise.
58689         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
58690         * sysdeps/mach/configure: Likewise.
58691         * sysdeps/mach/hurd/configure: Likewise.
58692         * sysdeps/powerpc/configure: Likewise.
58693         * sysdeps/powerpc/powerpc32/configure: Likewise.
58694         * sysdeps/powerpc/powerpc64/configure: Likewise.
58695         * sysdeps/s390/s390-32/configure: Likewise.
58696         * sysdeps/s390/s390-64/configure: Likewise.
58697         * sysdeps/sh/configure: Likewise.
58698         * sysdeps/sparc/configure: Likewise.
58699         * sysdeps/unix/sysv/linux/configure: Likewise.
58700         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
58701         * sysdeps/x86_64/configure: Likewise.
58702         * sysdeps/x86_64/preconfigure: Likewise.
58704 2013-10-29  Andreas Schwab  <schwab@suse.de>
58706         * stdio-common/Makefile (tst-swscanf-ENV): Define.
58708 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58710         * benchtests/pow-inputs: Add new inputs.
58712         * benchtests/exp-inputs: Add new inputs.
58714         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
58715         conditional check for return value.
58716         (__cos32): Likewise.
58718 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58720         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
58721         to provide a boost for large inputs with word alignment.
58722         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
58723         implementation based on optimized PPC64 strcpy.
58724         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
58725         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
58726         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
58727         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
58729 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
58731         [BZ #2801]
58732         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
58734 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
58736         [BZ #14876]
58737         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
58738         * time/tst-strptime.c (day_tests): Add testcase.
58740 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
58742         [BZ #14029]
58743         * manual/pattern.texi: Acknowledge that fnmatch can fail.
58745 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
58747         [BZ #16074]
58748         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
58749         MAP_FAILED on error.
58751 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
58753         [BZ #16072]
58754         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
58755         heap for large requests.
58757 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
58759         [BZ #9954]
58760         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
58761         result if the result has no associated interface.
58762         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
58763         interface for all 127.X.Y.Z addresses.
58765 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
58767         * locale/iso-639.def: Add Ligurian (lij)
58769 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
58771         [BZ #15825]
58772         * sunrpc/rpc_main.c: Document rpcgen -5.
58774 2013-10-19  Michael Stahl  <mstahl@redhat.com>
58776         * elf/rtld.c (do_preload): Print the reason why preloading failed.
58778 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
58780         [BZ #10278]
58781         * posix/glob.c: Match only directories when trailing slash is present.
58782         * posix/tst-gnuglob.c (my_opendir): Do not open files.
58783         (main): Add testcase.
58785 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
58787         [BZ #15670]
58788         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
58790 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
58792         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
58793         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
58794         AUTH_DES and cindex for FIPS 140-2.
58795         (DES Encryption): Add cindex FIPS 46-3.
58797         * locale/locarchive.h (struct locarhandle): Add fname.
58798         * locale/programs/localedef.c (main): Pass ARGV[remaining]
58799         if an optional argument was specified to --list-archive,
58800         otherwise NULL.
58801         * locale/programs/locarchive.c (show_archive_content): Take new
58802         argument fname and pass it via ah.fname to open_archive.
58803         * locale/programs/localedef.h: Update decl.
58804         (open_archive): If AH->fname is non-null, open that file
58805         rather than the default file name, and don't ignore ENOENT.
58806         (create_archive): Set AH.fname to NULL.
58807         (delete_locales_from_archive): Likewise.
58808         (add_locales_to_archive): Likewise.
58809         * locale/programs/locfile.c (write_all_categories): Likewise.
58811 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
58812             Aldy Hernandez  <aldyh@redhat.com>
58814         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
58815         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
58816         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
58817         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
58818         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
58819         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
58820         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
58821         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
58822         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
58823         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
58824         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
58825         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
58826         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
58827         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
58828         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
58829         Likewise.
58830         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
58831         Likewise.
58832         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
58833         Likewise.
58834         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
58835         Likewise.
58836         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
58837         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
58838         Likewise.
58839         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
58840         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
58841         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
58842         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
58843         Likewise.
58844         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
58845         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
58846         * sysdeps/powerpc/preconfigure: Likewise.
58847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
58848         Likewise.
58849         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
58850         Replace contents of file by #include of <fenv_libc.h>.
58851         * sysdeps/powerpc/soft-fp/sfp-machine.h
58852         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
58853         and <sys/prctl.h>.
58854         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
58855         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
58856         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
58857         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
58858         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
58859         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
58860         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
58861         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
58862         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
58863         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
58864         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
58865         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
58866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
58867         Allow copysignl PLT reference to be missing.
58869 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
58870             Joseph Myers  <joseph@codesourcery.com
58872         [BZ #15948]
58873         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
58874         single character.
58875         (add_to_tablewc): Assert sequence of wide characters is nonempty.
58877 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
58879         * elf/tst-tls-dlinfo.c: Don't include tls.h.
58880         * elf/tst-tls1.c: Likewise.
58881         * elf/tst-tls10.h: Likewise.
58882         * elf/tst-tls14.c: Likewise.
58883         * elf/tst-tls2.c: Likewise.
58884         * elf/tst-tls3.c: Likewise.
58885         * elf/tst-tls4.c: Likewise.
58886         * elf/tst-tls5.c: Likewise.
58887         * elf/tst-tls6.c: Likewise.
58888         * elf/tst-tls7.c: Likewise.
58889         * elf/tst-tls8.c: Likewise.
58890         * elf/tst-tls9.c: Likewise.
58891         * elf/tst-tlsmod1.c: Likewise.
58892         * elf/tst-tlsmod13.c: Likewise.
58893         * elf/tst-tlsmod13a.c: Likewise.
58894         * elf/tst-tlsmod14a.c: Likewise.
58895         * elf/tst-tlsmod16a.c: Likewise.
58896         * elf/tst-tlsmod16b.c: Likewise.
58897         * elf/tst-tlsmod2.c: Likewise.
58898         * elf/tst-tlsmod3.c: Likewise.
58899         * elf/tst-tlsmod4.c: Likewise.
58900         * elf/tst-tlsmod5.c: Likewise.
58901         * elf/tst-tlsmod6.c: Likewise.
58903 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
58905         [BZ #12486]
58906         * malloc/malloc.c: remove checks for statistics.
58908 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
58910         [BZ #15277]
58911         * inet/inet_net.c (inet_network): Detect additional invalid strings.
58912         * inet/tst-network.c: Add testcase.
58914 2013-10-17  Andreas Schwab  <schwab@suse.de>
58916         [BZ #15218]
58917         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
58918         to determine canonical name.
58920 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
58922         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
58923         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
58924         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58925         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
58926         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58927         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
58928         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
58929         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
58930         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
58931         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
58932         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
58933         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
58934         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
58935         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
58936         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
58937         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
58938         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58939         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
58940         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
58941         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
58942         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
58943         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58944         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
58945         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
58946         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
58947         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
58948         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
58949         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
58950         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
58951         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
58952         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
58953         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58954         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
58955         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
58956         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
58957         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
58958         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
58959         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
58960         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
58961         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58962         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
58963         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
58964         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
58965         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
58966         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
58967         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
58968         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
58969         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
58970         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
58971         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
58972         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
58973         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
58974         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
58975         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
58976         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
58977         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
58978         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58979         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
58981 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
58983         [BZ #16041]
58984         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
58985         make result into a quiet NaN.
58987 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
58989         * soft-fp/adddf3.c: Fix horizontal whitespace.
58990         * soft-fp/addsf3.c: Likewise.
58991         * soft-fp/addtf3.c: Likewise.
58992         * soft-fp/divdf3.c: Likewise.
58993         * soft-fp/divsf3.c: Likewise.
58994         * soft-fp/divtf3.c: Likewise.
58995         * soft-fp/double.h: Likewise.
58996         * soft-fp/eqdf2.c: Likewise.
58997         * soft-fp/eqsf2.c: Likewise.
58998         * soft-fp/eqtf2.c: Likewise.
58999         * soft-fp/extenddftf2.c: Likewise.
59000         * soft-fp/extended.h: Likewise.
59001         * soft-fp/extendsfdf2.c: Likewise.
59002         * soft-fp/extendsftf2.c: Likewise.
59003         * soft-fp/extendxftf2.c: Likewise.
59004         * soft-fp/fixdfdi.c: Likewise.
59005         * soft-fp/fixdfsi.c: Likewise.
59006         * soft-fp/fixdfti.c: Likewise.
59007         * soft-fp/fixsfdi.c: Likewise.
59008         * soft-fp/fixsfsi.c: Likewise.
59009         * soft-fp/fixsfti.c: Likewise.
59010         * soft-fp/fixtfdi.c: Likewise.
59011         * soft-fp/fixtfsi.c: Likewise.
59012         * soft-fp/fixtfti.c: Likewise.
59013         * soft-fp/fixunsdfdi.c: Likewise.
59014         * soft-fp/fixunsdfsi.c: Likewise.
59015         * soft-fp/fixunsdfti.c: Likewise.
59016         * soft-fp/fixunssfdi.c: Likewise.
59017         * soft-fp/fixunssfsi.c: Likewise.
59018         * soft-fp/fixunssfti.c: Likewise.
59019         * soft-fp/fixunstfdi.c: Likewise.
59020         * soft-fp/fixunstfsi.c: Likewise.
59021         * soft-fp/fixunstfti.c: Likewise.
59022         * soft-fp/floatdidf.c: Likewise.
59023         * soft-fp/floatdisf.c: Likewise.
59024         * soft-fp/floatditf.c: Likewise.
59025         * soft-fp/floatsidf.c: Likewise.
59026         * soft-fp/floatsisf.c: Likewise.
59027         * soft-fp/floatsitf.c: Likewise.
59028         * soft-fp/floattidf.c: Likewise.
59029         * soft-fp/floattisf.c: Likewise.
59030         * soft-fp/floattitf.c: Likewise.
59031         * soft-fp/floatundidf.c: Likewise.
59032         * soft-fp/floatundisf.c: Likewise.
59033         * soft-fp/floatunditf.c: Likewise.
59034         * soft-fp/floatunsidf.c: Likewise.
59035         * soft-fp/floatunsisf.c: Likewise.
59036         * soft-fp/floatunsitf.c: Likewise.
59037         * soft-fp/floatuntidf.c: Likewise.
59038         * soft-fp/floatuntisf.c: Likewise.
59039         * soft-fp/floatuntitf.c: Likewise.
59040         * soft-fp/fmadf4.c: Likewise.
59041         * soft-fp/fmasf4.c: Likewise.
59042         * soft-fp/fmatf4.c: Likewise.
59043         * soft-fp/gedf2.c: Likewise.
59044         * soft-fp/gesf2.c: Likewise.
59045         * soft-fp/getf2.c: Likewise.
59046         * soft-fp/ledf2.c: Likewise.
59047         * soft-fp/lesf2.c: Likewise.
59048         * soft-fp/letf2.c: Likewise.
59049         * soft-fp/muldf3.c: Likewise.
59050         * soft-fp/mulsf3.c: Likewise.
59051         * soft-fp/multf3.c: Likewise.
59052         * soft-fp/negdf2.c: Likewise.
59053         * soft-fp/negsf2.c: Likewise.
59054         * soft-fp/negtf2.c: Likewise.
59055         * soft-fp/op-1.h: Likewise.
59056         * soft-fp/op-2.h: Likewise.
59057         * soft-fp/op-4.h: Likewise.
59058         * soft-fp/op-8.h: Likewise.
59059         * soft-fp/op-common.h: Likewise.
59060         * soft-fp/quad.h: Likewise.
59061         * soft-fp/single.h: Likewise.
59062         * soft-fp/soft-fp.h: Likewise.
59063         * soft-fp/sqrtdf2.c: Likewise.
59064         * soft-fp/sqrtsf2.c: Likewise.
59065         * soft-fp/sqrttf2.c: Likewise.
59066         * soft-fp/subdf3.c: Likewise.
59067         * soft-fp/subsf3.c: Likewise.
59068         * soft-fp/subtf3.c: Likewise.
59069         * soft-fp/truncdfsf2.c: Likewise.
59070         * soft-fp/trunctfdf2.c: Likewise.
59071         * soft-fp/trunctfsf2.c: Likewise.
59072         * soft-fp/trunctfxf2.c: Likewise.
59073         * soft-fp/unorddf2.c: Likewise.
59074         * soft-fp/unordsf2.c: Likewise.
59075         * soft-fp/unordtf2.c: Likewise.
59077 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
59079         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
59080         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
59082 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
59084         * elf/dl-libc.c: Clear initfini list after freeing.
59086 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
59088         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
59089         * soft-fp/addsf3.c: Likewise.
59090         * soft-fp/addtf3.c: Likewise.
59091         * soft-fp/divdf3.c: Likewise.
59092         * soft-fp/divsf3.c: Likewise.
59093         * soft-fp/divtf3.c: Likewise.
59094         * soft-fp/double.h: Likewise.
59095         * soft-fp/eqdf2.c: Likewise.
59096         * soft-fp/eqsf2.c: Likewise.
59097         * soft-fp/eqtf2.c: Likewise.
59098         * soft-fp/extenddftf2.c: Likewise.
59099         * soft-fp/extended.h: Likewise.
59100         * soft-fp/extendsfdf2.c: Likewise.
59101         * soft-fp/extendsftf2.c: Likewise.
59102         * soft-fp/extendxftf2.c: Likewise.
59103         * soft-fp/fixdfdi.c: Likewise.
59104         * soft-fp/fixdfsi.c: Likewise.
59105         * soft-fp/fixdfti.c: Likewise.
59106         * soft-fp/fixsfdi.c: Likewise.
59107         * soft-fp/fixsfsi.c: Likewise.
59108         * soft-fp/fixsfti.c: Likewise.
59109         * soft-fp/fixtfdi.c: Likewise.
59110         * soft-fp/fixtfsi.c: Likewise.
59111         * soft-fp/fixtfti.c: Likewise.
59112         * soft-fp/fixunsdfdi.c: Likewise.
59113         * soft-fp/fixunsdfsi.c: Likewise.
59114         * soft-fp/fixunsdfti.c: Likewise.
59115         * soft-fp/fixunssfdi.c: Likewise.
59116         * soft-fp/fixunssfsi.c: Likewise.
59117         * soft-fp/fixunssfti.c: Likewise.
59118         * soft-fp/fixunstfdi.c: Likewise.
59119         * soft-fp/fixunstfsi.c: Likewise.
59120         * soft-fp/fixunstfti.c: Likewise.
59121         * soft-fp/floatdidf.c: Likewise.
59122         * soft-fp/floatdisf.c: Likewise.
59123         * soft-fp/floatditf.c: Likewise.
59124         * soft-fp/floatsidf.c: Likewise.
59125         * soft-fp/floatsisf.c: Likewise.
59126         * soft-fp/floatsitf.c: Likewise.
59127         * soft-fp/floattidf.c: Likewise.
59128         * soft-fp/floattisf.c: Likewise.
59129         * soft-fp/floattitf.c: Likewise.
59130         * soft-fp/floatundidf.c: Likewise.
59131         * soft-fp/floatundisf.c: Likewise.
59132         * soft-fp/floatunsidf.c: Likewise.
59133         * soft-fp/floatunsisf.c: Likewise.
59134         * soft-fp/floatuntidf.c: Likewise.
59135         * soft-fp/floatuntisf.c: Likewise.
59136         * soft-fp/floatuntitf.c: Likewise.
59137         * soft-fp/fmadf4.c: Likewise.
59138         * soft-fp/fmasf4.c: Likewise.
59139         * soft-fp/fmatf4.c: Likewise.
59140         * soft-fp/gedf2.c: Likewise.
59141         * soft-fp/gesf2.c: Likewise.
59142         * soft-fp/getf2.c: Likewise.
59143         * soft-fp/ledf2.c: Likewise.
59144         * soft-fp/lesf2.c: Likewise.
59145         * soft-fp/letf2.c: Likewise.
59146         * soft-fp/muldf3.c: Likewise.
59147         * soft-fp/mulsf3.c: Likewise.
59148         * soft-fp/multf3.c: Likewise.
59149         * soft-fp/negdf2.c: Likewise.
59150         * soft-fp/negsf2.c: Likewise.
59151         * soft-fp/negtf2.c: Likewise.
59152         * soft-fp/op-1.h: Likewise.
59153         * soft-fp/op-2.h: Likewise.
59154         * soft-fp/op-4.h: Likewise.
59155         * soft-fp/op-8.h: Likewise.
59156         * soft-fp/op-common.h: Likewise.
59157         * soft-fp/quad.h: Likewise.
59158         * soft-fp/single.h: Likewise.
59159         * soft-fp/soft-fp.h: Likewise.
59160         * soft-fp/sqrtdf2.c: Likewise.
59161         * soft-fp/sqrtsf2.c: Likewise.
59162         * soft-fp/sqrttf2.c: Likewise.
59163         * soft-fp/subdf3.c: Likewise.
59164         * soft-fp/subsf3.c: Likewise.
59165         * soft-fp/subtf3.c: Likewise.
59166         * soft-fp/truncdfsf2.c: Likewise.
59167         * soft-fp/trunctfdf2.c: Likewise.
59168         * soft-fp/trunctfsf2.c: Likewise.
59169         * soft-fp/trunctfxf2.c: Likewise.
59170         * soft-fp/unorddf2.c: Likewise.
59171         * soft-fp/unordsf2.c: Likewise.
59172         * soft-fp/unordtf2.c: Likewise.
59174 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
59176         [BZ #15672]
59177         * misc/error.c (error_tail): Fix possible buffer overflow.
59179 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
59181         [BZ #13028]
59182         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
59183         address.
59185 2013-10-14  P. J. McDermott  <pj@pehjota.net>
59187         [BZ #832]
59188         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
59189         testing pipefail option.
59191 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
59193         * soft-fp/double.h: Indent preprocessor directives inside #if.
59194         * soft-fp/extended.h: Likewise.
59195         * soft-fp/op-2.h: Likewise.
59196         * soft-fp/op-4.h: Likewise.
59197         * soft-fp/op-common.h: Likewise.
59198         * soft-fp/quad.h: Likewise.
59199         * soft-fp/single.h: Likewise.
59200         * soft-fp/soft-fp.h: Likewise.
59202 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
59204         * iconv/iconv_prog.c: Fix typos.
59205         * stdio-common/psiginfo-data.h: Likewise.
59207 2013-10-12   Reuben Thomas <rrt@sc3d.org>
59209         [BZ #15764]
59210         * locale/setlocale.c: Fix typo.
59212 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
59214         [BZ #16036]
59215         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
59216         signaling NaN arguments.
59217         * soft-fp/unordsf2.c (__unordsf2): Likewise.
59218         * soft-fp/unordtf2.c (__unordtf2): Likewise.
59220         [BZ #14910]
59221         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
59222         unordered operands.
59223         * soft-fp/gesf2.c (__gesf2): Likewise.
59224         * soft-fp/getf2.c (__getf2): Likewise.
59225         * soft-fp/ledf2.c (__ledf2): Likewise.
59226         * soft-fp/lesf2.c (__lesf2): Likewise.
59227         * soft-fp/letf2.c (__letf2): Likewise.
59229         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
59230         * soft-fp/eqsf2.c (__eqsf2): Likewise.
59231         * soft-fp/eqtf2.c (__eqtf2): Likewise.
59232         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
59233         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
59234         * soft-fp/fixdfti.c (__fixdfti): Likewise.
59235         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
59236         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
59237         * soft-fp/fixsfti.c (__fixsfti): Likewise.
59238         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
59239         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
59240         * soft-fp/fixtfti.c (__fixtfti): Likewise.
59241         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
59242         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
59243         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
59244         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
59245         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
59246         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
59247         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
59248         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
59249         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
59250         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
59251         * soft-fp/floatdisf.c (__floatdisf): Likewise.
59252         * soft-fp/floatsisf.c (__floatsisf): Likewise.
59253         * soft-fp/floattidf.c (__floattidf): Likewise.
59254         * soft-fp/floattisf.c (__floattisf): Likewise.
59255         * soft-fp/floattitf.c (__floattitf): Likewise.
59256         * soft-fp/floatundidf.c (__floatundidf): Likewise.
59257         * soft-fp/floatundisf.c (__floatundisf): Likewise.
59258         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
59259         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
59260         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
59261         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
59262         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
59263         * soft-fp/gesf2.c (__gesf2): Likewise.
59264         * soft-fp/getf2.c (__getf2): Likewise.
59265         * soft-fp/ledf2.c (__ledf2): Likewise.
59266         * soft-fp/lesf2.c (__lesf2): Likewise.
59267         * soft-fp/letf2.c (__letf2): Likewise.
59269         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
59270         Undefine and redefine.
59271         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
59272         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
59273         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
59274         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
59275         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
59276         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
59277         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
59278         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
59279         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
59280         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
59281         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
59282         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
59283         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
59284         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
59285         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
59287         [BZ #16032]
59288         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
59289         without decrementing exponent if mantissa >= that for the
59290         denominator, not >.
59291         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
59292         denominator, not >.  Decrement exponent in < case instead of
59293         incrementing in >= case.
59294         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
59295         without decrementing exponent if mantissa >= that for the
59296         denominator, not >.
59298         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
59299         computing saturated result for unsigned overflow.
59301 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
59302             Jeff Law  <law@redhat.com>
59304         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
59305         (atan2Mp): Add systemtap probe marker.
59306         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
59307         (__ieee754_log): Add systemtap probe marker.
59308         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
59309         (atanMp): Add systemtap probe marker.
59310         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
59311         (tanMp): Add systemtap probe marker.
59312         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
59313         (__slowexp): Add systemtap probe marker.
59314         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
59315         (__slowpow): Add systemtap probe marker.
59316         * manual/probes.texi: Document probes.
59318 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
59320         [BZ #15362]
59321         * libio/fileops.c (_IO_new_file_write): Return count of bytes
59322         written.
59323         (_IO_new_file_xsputn): Don't return EOF if nothing has been
59324         written.
59325         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
59326         written to buffer but not flushed.
59327         * libio/iofwrite_u.c:  Likewise.
59328         * libio/iopadn.c:  Return bytes returned even if EOF was
59329         encountered.
59330         * libio/iowpadn.c:  Likewise.
59331         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
59332         if _IO_padn does not write the whole buffer.
59333         [!COMPILE_WPRINTF] (PAD): Likewise.
59335 2013-10-10  David S. Miller  <davem@davemloft.net>
59337         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
59338         directory block.
59340 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
59342         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
59343         instead of FSF address.
59344         * soft-fp/fixdfti.c: Likewise.
59345         * soft-fp/fixsfti.c: Likewise.
59346         * soft-fp/fixtfti.c: Likewise.
59347         * soft-fp/fixunsdfti.c: Likewise.
59348         * soft-fp/fixunssfti.c: Likewise.
59349         * soft-fp/fixunstfti.c: Likewise.
59350         * soft-fp/floattidf.c: Likewise.
59351         * soft-fp/floattisf.c: Likewise.
59352         * soft-fp/floattitf.c: Likewise.
59353         * soft-fp/floatuntidf.c: Likewise.
59354         * soft-fp/floatuntisf.c: Likewise.
59355         * soft-fp/floatuntitf.c: Likewise.
59356         * soft-fp/trunctfxf2.c: Likewise.
59358         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
59359         * soft-fp/fixdfti.c: Likewise.
59360         * soft-fp/fixsfti.c: Likewise.
59361         * soft-fp/fixtfti.c: Likewise.
59362         * soft-fp/fixunsdfti.c: Likewise.
59363         * soft-fp/fixunssfti.c: Likewise.
59364         * soft-fp/fixunstfti.c: Likewise.
59365         * soft-fp/floattidf.c: Likewise.
59366         * soft-fp/floattisf.c: Likewise.
59367         * soft-fp/floattitf.c: Likewise.
59368         * soft-fp/floatuntidf.c: Likewise.
59369         * soft-fp/floatuntisf.c: Likewise.
59370         * soft-fp/floatuntitf.c: Likewise.
59371         * soft-fp/trunctfxf2.c: Likewise.
59373 2013-10-10  David S. Miller  <davem@davemloft.net>
59375         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59377 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
59379         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
59380         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
59381         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
59382         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
59383         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
59384         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
59385         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
59387         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
59388         for NaNs before doing comparisons on argument.
59389         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
59390         Likewise.
59392 2013-10-10  Will Newton  <will.newton@linaro.org>
59394         * malloc/hooks.c (memalign_check): Ensure the value of bytes
59395         passed to _int_memalign does not overflow.
59397 2013-10-10  Torvald Riegel  <triegel@redhat.com>
59399         * scripts/bench.pl: Add include-sources directive.
59400         * benchtests/README: Update documentation.
59402 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
59404         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
59405         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
59406         instead of FP_INIT_ROUNDMODE.
59407         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
59408         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
59410         [BZ #16034]
59411         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
59412         copy class of input value.
59413         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
59414         not handle exceptions.
59415         * soft-fp/negsf2.c (__negsf2): Likewise.
59416         * soft-fp/negtf2.c (__negtf2): Likewise.
59417         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
59419 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
59421         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
59422         semicolon.  From Linux kernel.
59424 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
59426         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
59428 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
59430         [BZ #156]
59431         * manual/socket.texi: Added statement about buffer
59432         for gethostbyname2_r.
59434 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
59436         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
59437         Use .p2align directive instead, throughout.
59438         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
59439         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
59440         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
59441         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
59442         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
59443         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
59444         * sysdeps/x86_64/strchr.S: Likewise.
59445         * sysdeps/x86_64/strrchr.S: Likewise.
59447 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
59449         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
59451         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
59453         * sysdeps/generic/math_private.h (__mpsin1): Remove
59454         declaration.
59455         (__mpcos1): Likewise.
59456         (__mpsin): New argument __range_reduce.
59457         (__mpcos): Likewise.
59458         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
59459         (slow): Use __mpsin and __mpcos.
59460         (slow1): Likewise.
59461         (slow2): Likewise.
59462         (sloww): Likewise.
59463         (sloww1): Likewise.
59464         (sloww2): Likewise.
59465         (bsloww): Likewise.
59466         (bsloww1): Likewise.
59467         (bsloww2): Likewise.
59468         (cslow2): Likewise.
59469         (csloww): Likewise.
59470         (csloww1): Likewise.
59471         (csloww2): Likewise.
59472         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
59473         range_reduce.  Merge in __mpsin1.
59474         (__mpcos): Likewise.
59475         (__mpsin1): Remove.
59476         (__mpcos1): Likewise.
59478 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
59480         * locale/loadlocale.c (_nl_intern_locale_data): Use
59481         LOCFILE_ALIGNED_P.
59482         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
59483         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
59484         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
59485         obstack data is appropriately aligned.
59486         (obstack_int32_grow_fast): Likewise.
59487         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
59488         * locale/programs/locfile.c (add_locale_uint32): Likewise.
59489         (add_locale_uint32_array): Likewise.
59491 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
59493         * benchtests/Makefile: Remove ARGLIST and RET variables.
59494         ($(objpfx)bench-%.c): Pass only function name to the script.
59495         * benchtests/README: Update documentation.
59496         * benchtests/acos-inputs: Add new directives.
59497         * benchtests/acosh-inputs: Likewise.
59498         * benchtests/asin-inputs: Likewise.
59499         * benchtests/asinh-inputs: Likewise.
59500         * benchtests/atan-inputs: Likewise.
59501         * benchtests/atanh-inputs: Likewise.
59502         * benchtests/cos-inputs: Likewise.
59503         * benchtests/cosh-inputs: Likewise.
59504         * benchtests/exp-inputs: Likewise.
59505         * benchtests/log-inputs: Likewise.
59506         * benchtests/pow-inputs: Likewise.
59507         * benchtests/rint-inputs: Likewise.
59508         * benchtests/sin-inputs: Likewise.
59509         * benchtests/sinh-inputs: Likewise.
59510         * benchtests/tan-inputs: Likewise.
59511         * benchtests/tanh-inputs: Likewise.
59512         * scripts/bench.pl: Add support for new directives.
59514 2013-10-07  Alan Modra  <amodra@gmail.com>
59516         * README: Fix careless merge.
59518 2013-10-05  Alan Modra  <amodra@gmail.com>
59520         * NEWS: Mention powerpc64le support and bugs fixed.
59521         * README: Both big-endian and little-endian powerpc64 supported.
59523 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59525         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
59526         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
59527         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
59528         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
59530 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
59532         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
59533         match prototype.
59535 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
59537         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
59538         Move -mhard-float appending from
59539         ports/sysdeps/powerpc/powerpc32/Makefile.
59540         [$(with-fp) = yes] (ASFLAGS): Likewise.
59541         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
59542         * sysdeps/powerpc/nofpu: Move directory from
59543         ports/sysdeps/powerpc/nofpu.
59544         * sysdeps/powerpc/soft-fp: Move directory from
59545         ports/sysdeps/powerpc/soft-fp.
59546         * sysdeps/powerpc/powerpc32/405: Move directory from
59547         ports/sysdeps/powerpc/powerpc32/405.
59548         * sysdeps/powerpc/powerpc32/440: Move directory from
59549         ports/sysdeps/powerpc/powerpc32/440.
59550         * sysdeps/powerpc/powerpc32/464: Move directory from
59551         ports/sysdeps/powerpc/powerpc32/464.
59552         * sysdeps/powerpc/powerpc32/476: Move directory from
59553         ports/sysdeps/powerpc/powerpc32/476.
59554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
59555         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
59556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
59557         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
59558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
59559         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
59560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
59561         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
59562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
59563         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
59564         * README: Update for powerpc-*-linux-gnu software floating point
59565         support in libc.
59567         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
59568         case to powerpc/powerpc32*.
59569         * sysdeps/unix/sysv/linux/configure: Regenerated.
59571         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
59572         (_FPU_MASK_OM): Define as 0x04.
59573         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
59574         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
59575         0x00c10080.
59576         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
59577         0x0000003c.
59578         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
59580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
59581         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
59582         getcontext_e500.
59583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
59584         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
59585         setcontext_e500.
59586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
59587         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
59588         and setcontext_e500.
59590 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
59592         * locale/iso-3166.def: Update iso-1366.def and related occurrences
59594 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
59596         * manual/threads.texi (Default Thread Attributes): Fix typo.
59598 2013-10-04  Will Newton  <will.newton@linaro.org>
59600         * malloc/Makefile: Add tst-memalign.
59601         * malloc/tst-memalign.c: New file.
59603         * malloc/tst-posix_memalign.c: Add comments.
59604         (do_test): Add comments and call free on all potentially
59605         allocated pointers. Add space after cast.
59607         * malloc/tst-pvalloc.c: Add comments.
59608         (do_test): Add comments and call free on all potentially
59609         allocated pointers. Remove duplicate check for NULL pointer.
59610         Add space after cast.
59612         * malloc/tst-valloc.c: Add comments.
59613         (do_test): Add comments and call free on all potentially
59614         allocated pointers. Remove duplicate check for NULL pointer.
59615         Add space after cast.
59617 2013-10-04  Alan Modra  <amodra@gmail.com>
59619         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
59620         Use stdint types in rather than __attribute__((mode())).
59621         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
59623 2013-10-04  Alan Modra  <amodra@gmail.com>
59625         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
59626         Correct handling of unaligned relocs for little-endian.
59627         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
59629 2013-10-04  Alan Modra  <amodra@gmail.com>
59631         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
59632         * configure: Regenerate.
59633         * nptl/shlib-versions: Powerpc*le starts at 2.18.
59634         * shlib-versions: Likewise.
59636 2013-10-04  Alan Modra  <amodra@gmail.com>
59638         * string/tester.c (test_memrchr): Increment reported test cycle.
59640 2013-10-04  Alan Modra  <amodra@gmail.com>
59642         * string/test-memcpy.c (do_one_test): When reporting errors, print
59643         string address and don't overrun end of string.
59645 2013-10-04  Alan Modra  <amodra@gmail.com>
59647         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
59648         insrdi.  Make better use of reg selection to speed exit slightly.
59649         Schedule entry path a little better.  Remove useless "are we done"
59650         checks on entry to main loop.  Handle wrapping around zero address.
59651         Correct main loop count.  Handle single left-over word from main
59652         loop inline rather than by using loop_small.  Remove extra word
59653         case in loop_small caused by wrong loop count.  Add little-endian
59654         support.
59655         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
59656         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
59657         cache hint.
59658         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
59659         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
59660         support.  Avoid rlwimi.
59661         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
59663 2013-10-04  Alan Modra  <amodra@gmail.com>
59665         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
59666         insrdi.  Formatting.
59667         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
59668         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
59669         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
59670         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
59671         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
59672         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
59674 2013-10-04  Alan Modra  <amodra@gmail.com>
59676         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
59677         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
59678         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
59679         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
59680         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
59681         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
59682         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
59683         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
59684         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
59685         use of regs.  Use power7 mtocrf.  Tidy function tails.
59687 2013-10-04  Alan Modra  <amodra@gmail.com>
59689         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
59690         Formatting.  Consistently use rXXX register defines or rN defines.
59691         Use early exit labels that avoid restoring unused non-volatile regs.
59692         Make cr field use more consistent with rWORDn compares.  Rename
59693         regs used as shift registers for unaligned loop, using rN defines
59694         for short lifetime/multiple use regs.
59695         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
59696         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
59697         addi 1,1,64 to pop stack frame.  Simplify return value code.
59698         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
59700 2013-10-04  Alan Modra  <amodra@gmail.com>
59702         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
59703         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
59704         rather than rlwimi.
59705         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
59706         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
59707         little-endian support.  Correct typos.
59708         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
59709         rather than rlwimi.
59710         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
59711         in loop and entry code to keep "and." results.
59712         (strchr): Add little-endian support.  Comment.  Move cntlzd
59713         earlier in tail.
59714         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
59716 2013-10-04  Alan Modra  <amodra@gmail.com>
59718         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
59719         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
59720         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
59721         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
59723 2013-10-04  Alan Modra  <amodra@gmail.com>
59725         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
59726         (rTMP): Define as r11.
59727         (strcmp): Add little-endian support.  Optimise tail.
59728         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
59729         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
59730         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
59731         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
59732         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
59733         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
59734         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
59736 2013-10-04  Alan Modra  <amodra@gmail.com>
59738         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
59739         little-endian support.  Remove unnecessary "are we done" tests.
59740         Handle "s" wrapping around zero and extremely large "size".
59741         Correct main loop count.  Handle single left-over word from main
59742         loop inline rather than by using small_loop.  Correct comments.
59743         Delete "zero" tail, use "end_max" instead.
59744         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
59746 2013-10-04  Alan Modra  <amodra@gmail.com>
59748         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
59749         support.  Don't branch over align.
59750         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
59751         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
59752         support.  Rearrange tmp reg use to suit.  Comment.
59753         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
59755 2013-10-04  Alan Modra  <amodra@gmail.com>
59757         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
59759 2013-10-04  Alan Modra  <amodra@gmail.com>
59761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
59762         conditional form of branch and link when obtaining pc.
59763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
59765 2013-10-04  Alan Modra  <amodra@gmail.com>
59767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
59768         HIWORD/LOWORD.
59769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
59770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
59772 2013-10-04  Alan Modra  <amodra@gmail.com>
59774         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
59775         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
59776         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
59777         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
59778         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
59779         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
59780         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
59781         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
59782         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
59783         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
59785 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
59786             Alistair Popple <alistair@ozlabs.au.ibm.com>
59787             Alan Modra <amodra@gmail.com>
59789         [BZ #15723]
59790         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
59791         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
59792         _dl_hwcap access for little-endian.
59793         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
59794         destroy vmx regs when saving unaligned.
59795         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
59796         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
59797         destroy vmx regs when saving unaligned.
59799 2013-10-04  Alan Modra  <amodra@gmail.com>
59801         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
59802         Don't use a union to pack hi/low value.
59804 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
59806         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
59807         for little-endian.
59808         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
59809         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
59810         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
59811         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
59812         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
59814 2013-10-04  Alan Modra  <amodra@gmail.com>
59816         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
59817         constants to usual value for .cst8 section, and remove redundant
59818         high address load.
59819         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
59820         constant for 0x1p52.  Load little-endian words of double from
59821         correct stack offsets.
59823 2013-10-04  Alan Modra  <amodra@gmail.com>
59825         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
59826         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
59827         words of double from correct stack offsets.
59828         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
59829         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
59830         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
59831         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
59832         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
59833         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
59834         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
59835         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
59836         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
59837         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
59838         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
59839         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
59840         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
59841         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
59842         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
59843         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
59844         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
59846 2013-10-04  Alan Modra  <amodra@gmail.com>
59848         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
59849         64-bit int/double union.
59850         (_FPU_SETCW): Likewise.
59851         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
59852         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
59854 2013-10-04  Alan Modra  <amodra@gmail.com>
59856         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
59857         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
59859 2013-10-04  Alan Modra  <amodra@gmail.com>
59861         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
59862         use vector int constants.
59863         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
59865 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
59867         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
59868         array with long long.
59869         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
59870         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
59871         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
59872         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
59873         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
59874         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
59875         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
59876         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
59877         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
59878         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
59879         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
59880         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
59881         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
59883 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
59885         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
59886         (__signbit): Likewise.  Correct for little-endian.
59887         (__signbitl): Call __signbit.
59888         (lrint): Correct for little-endian.
59889         (lrintf): Call lrint.
59891 2013-10-04  Alan Modra  <amodra@gmail.com>
59893         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
59894         union 32-bit int array member with 64-bit int array.
59895         (t515, tm256): Double rather than long double.
59896         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
59898 2013-10-04  Alan Modra  <amodra@gmail.com>
59900         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
59901         Delete.
59902         (IEEE854_LONG_DOUBLE_BIAS): Delete.
59903         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
59904         version of math_ldbl.h.
59906 2013-10-04  Alan Modra  <amodra@gmail.com>
59908         [BZ #15734], [BZ #15735]
59909         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
59910         all uses of ieee875 long double macros and unions.  Simplify test
59911         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
59912         ldbl_extract_mantissa value for ix,iy exponents.  Properly
59913         normalize after ldbl_extract_mantissa, and don't add hidden bit
59914         already handled.  Don't treat low word of ieee854 mantissa like
59915         low word of IBM long double and mask off bit when testing for
59916         zero.
59917         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
59918         all uses of ieee875 long double macros and unions.  Simplify tests
59919         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
59920         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
59921         two1022, instead use their values.  Recognise that tests for large
59922         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
59923         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
59924         Rewrite all uses of ieee875 long double macros and unions.  Simplify
59925         test for 0.0L and nan.  Correct negation.
59926         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
59927         ieee875 long double macros and unions.  Correct output for large
59928         magnitude x.  Correct absolute value calculation.
59929         (__erfcl): Likewise.
59930         * math/libm-test.inc: Add tests for errors discovered in IBM long
59931         double versions of fmodl, remainderl, erfl and erfcl.
59933 2013-10-04  Alan Modra  <amodra@gmail.com>
59935         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
59936         all uses of ieee854 long double macros and unions.  Simplify tests
59937         for long doubles that are fully specified by the high double.
59938         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
59939         Likewise.
59940         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
59941         Remove dead code too.
59942         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
59943         (__ieee754_ynl): Likewise.
59944         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
59945         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
59946         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
59947         Remove dead code too.
59948         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
59949         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
59950         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
59951         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
59952         Simplify.
59953         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
59954         Simplify.
59955         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
59956         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
59957         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
59958         Comment on variable precision.
59959         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
59960         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
59961         Likewise.
59962         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
59963         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
59964         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
59965         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
59966         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
59968 2013-10-04  Alan Modra  <amodra@gmail.com>
59970         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
59971         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
59972         all uses of ieee854 long double macros and unions.
59973         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
59974         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
59975         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
59976         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
59977         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
59978         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
59979         Likewise.
59980         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
59981         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
59982         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
59983         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
59984         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
59985         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
59986         Simplify sign and nan test too.
59987         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
59988         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
59989         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
59990         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
59991         Likewise.
59992         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
59993         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
59994         Likewise.
59995         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
59996         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
59997         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
59998         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
59999         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
60000         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
60002 2013-10-04  Alan Modra  <amodra@gmail.com>
60004         * stdio-common/printf_size.c (__printf_size): Don't use
60005         union ieee854_long_double in fpnum union.
60006         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
60007         signbit macro to retrieve sign from long double.
60008         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
60009         retrieve sign from long double.
60010         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
60011         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
60012         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
60013         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
60014         * math/test-misc.c (main): Don't use union ieee854_long_double.
60016 2013-10-04  Alan Modra  <amodra@gmail.com>
60018         [BZ #15680]
60019         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
60020         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
60021         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
60022         calculation.  Remove unnecessary test for denormal exponent.
60023         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
60024         Correct handling of denormals.  Avoid undefined shift behaviour.
60025         Correct normalisation of low mantissa when low double is denormal.
60026         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
60027         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
60028         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
60029         Correct normalisation of low mantissa.  Test for overflow of high
60030         mantissa and normalise.
60031         (ldbl_nearbyint): Use more readable constant for two52.
60032         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
60033         (__mpn_construct_long_double): Fix test for overflow of high
60034         mantissa and correct normalisation.  Avoid undefined shift.
60036 2013-10-04  Alan Modra  <amodra@gmail.com>
60038         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
60039         (union ibm_extended_long_double): Define as an array of ieee754_double.
60040         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
60041         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
60042         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
60043         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
60044         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
60045         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
60046         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
60047         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
60048         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
60049         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
60050         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
60052 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
60054         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
60055         page size instead of calling getpagesize.
60057         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
60058         (LOCFILE_ALIGN_MASK): Likewise.
60059         (LOCFILE_ALIGN_UP): Likewise.
60060         (LOCFILE_ALIGNED_P): Likewise.
60061         * locale/programs/ld-collate.c (collate_output): Use the new
60062         macros instead of __alignof__ (int32_t).
60063         * locale/weight.h (findidx): Likewise.
60065 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
60067         [BZ #431]
60068         * manual/string.texi: Fix strncat and wcsncat.
60070 2013-10-03  Brooks Moses  <bmoses@google.com>
60072         [BZ #15915]
60073         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
60074         * Makerules: ...here, and adjust associated comments.
60076 2013-10-02  Will Newton  <will.newton@linaro.org>
60078         * malloc/Makefile: Add tst-pvalloc.
60079         * malloc/tst-pvalloc.c: New file.
60081 2013-10-02  Will Newton  <will.newton@linaro.org>
60083         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
60084         improve test coverage.
60086 2013-10-02  Will Newton  <will.newton@linaro.org>
60088         * malloc/Makefile: Add tst-posix_memalign.
60089         * malloc/tst-posix_memalign.c: New file.
60091 2013-10-01  Eric Blake  <eblake@redhat.com>
60093         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
60094         Use __THROWNL rather than __THROW on static functions.
60096 2013-09-30  Petr Machata  <pmachata@redhat.com>
60098         * elf/elf.h (R_AARCH64_ABS16): New macro.
60099         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
60100         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
60101         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
60102         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
60103         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
60104         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
60105         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
60106         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
60107         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
60108         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
60109         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
60110         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
60111         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
60112         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
60113         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
60114         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
60115         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
60116         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
60117         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
60118         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
60119         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
60120         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
60121         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
60122         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
60123         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
60124         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
60125         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
60126         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
60127         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
60128         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
60129         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
60130         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
60131         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
60132         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
60133         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
60134         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
60135         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
60136         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
60137         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
60138         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
60139         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
60140         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
60141         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
60142         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
60143         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
60144         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
60145         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
60146         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
60147         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
60148         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
60149         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
60150         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
60151         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
60152         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
60153         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
60154         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
60155         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
60156         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
60157         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
60158         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
60159         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
60160         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
60161         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
60162         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
60163         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
60164         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
60165         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
60166         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
60167         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
60168         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
60169         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
60170         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
60171         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
60172         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
60173         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
60174         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
60175         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
60176         (R_AARCH64_TLSDESC_LDR): Likewise.
60177         (R_AARCH64_TLSDESC_ADD): Likewise.
60178         (R_AARCH64_TLSDESC_CALL): Likewise.
60180 2013-09-30  Andreas Schwab  <schwab@suse.de>
60182         [BZ #15048]
60183         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
60184         the nss database lookup.
60185         * nscd/initgrcache.c (addinitgroupsX): Likewise.
60186         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
60188 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
60190         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
60192 2013-09-28  P. J. McDermott  <pj@pehjota.net>
60194         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
60195         ${Bash-specific parameter/pattern/string} parameter expansion.
60196         * sysdeps/unix/make-syscalls.sh: Likewise.
60198 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
60200         * sysdeps/sh/stackguard-macros.h: New file.
60202 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
60204         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
60205         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
60206         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
60207         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
60208         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
60209         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
60211 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60213         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
60214         Fix thread ID register.
60216 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
60218         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
60219         [POSIX || UNIX98]: Require rather than permitting all symbols from
60220         <time.h>.
60221         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
60222         element of struct sched_param.
60223         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
60224         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
60225         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
60226         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
60227         constant.
60229 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
60231         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
60232         argument calculation.
60234 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
60236         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
60237         Expect macro.
60238         [POSIX] (pthread_attr_t): Do not require type.
60239         [POSIX] (pthread_cond_t): Likewise.
60240         [POSIX] (pthread_condattr_t): Likewise.
60241         [POSIX] (pthread_key_t): Likewise.
60242         [POSIX] (pthread_mutex_t): Likewise.
60243         [POSIX] (pthread_mutexattr_t): Likewise.
60244         [POSIX] (pthread_once_t): Likewise.
60245         [POSIX] (pthread_t): Likewise.
60246         [POSIX-based standards] (pthread_atfork): Expect function.
60248 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
60249             Richard Sandiford  <richard@codesourcery.com>
60251         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
60252         (swap_endianness_p): New extern variable.
60253         (set_big_endian): New inline function.
60254         (maybe_swap_uint32): Likewise.
60255         (maybe_swap_uint32_array): Likewise.
60256         (maybe_swap_uint32_obstack): Likewise.
60257         * locale/programs/locfile.c: Include <stdbool.h>.
60258         (swap_endianness_p): New variable.
60259         (add_locale_uint32): Call maybe_swap_uint32.
60260         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
60261         (write_locale_data): Call maybe_swap_uint32_array.
60262         * locale/programs/ld-collate.c (obstack_int32_grow): Call
60263         maybe_swap_uint32.
60264         (obstack_int32_grow_fast): Likewise.
60265         (output_weightwc): Call maybe_swap_uint32_obstack.
60266         (collate_output): Likewise.
60267         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
60268         (OPT_LITTLE_ENDIAN): Likewise.
60269         (options): Add --little-endian and --big-endian options.
60270         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
60271         * locale/programs/locarchive.c: Include "locfile.h".
60272         (GET): New macro.
60273         (SET): Likewise.
60274         (INC): Likewise.
60275         (create_archive): Use the new macros to access fields of
60276         structures directly mapped from or written to locale archives.
60277         (oldlocrecentcmp): Likewise.
60278         (enlarge_archive): Likewise.
60279         (insert_name): Likewise.
60280         (add_alias): Likewise.
60281         (add_locale): Likewise.
60282         (delete_locales_from_archive): Likewise.
60283         (show_archive_content): Likewise.
60284         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
60285         locale data.
60287 2013-09-24  Roland McGrath  <roland@hack.frob.com>
60289         * manual/freemanuals.texi: Updated from (newly) canonical copy at
60290         http://www.gnu.org/doc/freemanuals.texi.
60291         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
60293 2013-09-24  Will Newton  <will.newton@linaro.org>
60295         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
60296         macro.
60298 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
60300         * locale/hashval.h (compute_hashval): Interpret bytes of key as
60301         unsigned char.
60303 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
60305         * manual/threads.texi (POSIX Threads): Fix a typo.
60307 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
60309         [BZ #14547]
60310         * string/tst-strcoll-overflow.c: New test case.
60311         * string/Makefile (xtests): Add tst-strcoll-overflow.
60312         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
60313         cache if string sizes may cause integer overflow.
60315         [BZ #14547]
60316         * string/strcoll_l.c (coll_seq): New members rule, idx,
60317         save_idx and back_us.
60318         (get_next_seq_nocache): New function.
60319         (do_compare_nocache): New function.
60320         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
60321         when malloc fails.
60323 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
60325         [BZ #15754]
60326         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
60327         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
60328         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
60330         [BZ #15754]
60331         * elf/Makefile (tests): Add tst-ptrguard1.
60332         (tests-static): Add tst-ptrguard1-static.
60333         (tst-ptrguard1-ARGS): Define.
60334         (tst-ptrguard1-static-ARGS): Define.
60335         * elf/tst-ptrguard1.c: New file.
60336         * elf/tst-ptrguard1-static.c: New file.
60337         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
60338         * sysdeps/i386/stackguard-macros.h: Likewise.
60339         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
60340         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
60341         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
60342         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
60343         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
60344         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
60346 2013-09-23  Hector Marco  <hecmargi@upv.es>
60347             Ismael Ripoll  <iripoll@disca.upv.es>
60348             Carlos O'Donell  <carlos@redhat.com>
60350         [BZ #15754]
60351         * sysdeps/generic/stackguard-macros.h: Define
60352         __pointer_chk_guard_local and POINTER_CHK_GUARD.
60353         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
60354         Define __pointer_chk_guard_local.
60355         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
60356         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
60358 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
60360         [BZ #15859]
60361         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
60363 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
60365         * include/string.h (__ffs): Declare as hidden.
60366         * string/ffs.c (__ffs): Define as hidden.
60367         * sysdeps/i386/ffs.c (__ffs): Likewise.
60368         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
60369         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
60370         * sysdeps/s390/ffs.c (__ffs): Likewise.
60371         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
60373 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
60375         * NEWS: Mention malloc probes.
60377         * malloc/arena.c (new_heap): New memory_heap_new probe.
60378         (grow_heap): New memory_heap_more probe.
60379         (shrink_heap): New memory_heap_less probe.
60380         (heap_trim): New memory_heap_free probe.
60381         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
60382         (systrim): New memory_sbrk_less probe.
60383         * manual/probes.texi: Document them.
60385         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
60386         * manual/probes.texi: Document it.
60388         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
60389         (__libc_realloc): Add memory_realloc_retry probe.
60390         (__libc_memalign): Add memory_memalign_retry probe.
60391         (__libc_valloc): Add memory_valloc_retry probe.
60392         (__libc_pvalloc): Add memory_pvalloc_retry probe.
60393         (__libc_calloc): Add memory_calloc_retry probe.
60394         * manual/probes.texi: Document them.
60396         * malloc/arena.c (get_free_list): Add probe
60397         memory_arena_reuse_free_list.
60398         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
60399         and memory_arena_reuse.
60400         (arena_get2) [!PER_THREAD]: Likewise.
60401         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
60402         memory_arena_reuse_realloc.
60403         * manual/probes.texi: Document them.
60405         * malloc/malloc.c (__libc_free): Add
60406         memory_mallopt_free_dyn_thresholds probe.
60407         (__libc_mallopt): Add multiple memory_mallopt probes.
60408         * manual/probes.texi: Document them.
60410         * malloc/malloc.c: Include stap-probe.h.
60411         (__libc_mallopt): Add memory_mallopt probe.
60412         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
60413         * manual/probes.texi: New.
60414         * manual/Makefile (chapters): Add probes.
60415         * manual/threads.texi: Set next node.
60417 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
60419         [BZ #15963, #13985]
60420         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
60421         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
60422         Add `Chinese' to `nan' entry name.
60424 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
60426         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
60427         (POLYNOMIAL): Likewise.
60428         (TAYLOR_SINCOS): Likewise.
60429         (TAYLOR_SLOW): Likewise.
60430         (__sin): Use TAYLOR_SINCOS.
60431         (__cos): Likewise.
60432         (slow): Use TAYLOR_SLOW.
60433         (sloww): Likewise.
60434         (bsloww): Likewise.
60435         (csloww): Likewise.
60437 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60439         * stdlib/strtod_l.c: Fix buffer overrun.
60441 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
60443         * benchtests/Makefile (bench): Add sincos.
60444         * benchtests/bench-sincos.c: New file.
60446         * math/libm-test.inc (cos_test_data): New test inputs.
60447         (sin_test_data): Likewise.
60449         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
60450         macro.
60451         (__sin): Use it.
60452         (__cos): Likewise.
60453         (slow1): Likewise.
60454         (slow2): Likewise.
60455         (sloww1): Likewise.
60456         (sloww2): Likewise.
60457         (bsloww1): Likewise.
60458         (bsloww2): Likewise.
60459         (cslow2): Likewise.
60460         (csloww1): Likewise.
60461         (csloww2): Likewise.
60463         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
60464         function.
60465         (__sin): Use it.
60466         (__cos): Likewise.
60468         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
60469         gotos.
60470         (__cos): Likewise.
60472 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
60474         * config.h.in (HAVE_MIPS_NAN2008): New macro.
60475         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
60476         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
60477         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
60478         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
60479         * elf/cache.c (print_entry): Handle the new cache flags.
60481 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
60482             Aldy Hernandez  <aldyh@redhat.com>
60484         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
60485         Change condition to [_SOFT_FLOAT].
60486         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
60487         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
60488         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
60489         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
60490         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
60491         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
60492         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
60493         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
60494         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
60495         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
60496         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
60497         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
60498         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
60499         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
60500         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
60501         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
60502         declaration.
60504 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
60506         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
60507         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
60508         (__longjmp): Use LOAD_GP to load saved GPRs.
60509         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
60510         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
60511         (__sigsetjmp): Use SAVE_GP to save GPRs.
60513         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
60514         Do not append -msoft-float.
60515         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
60517 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
60519         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
60521 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
60523         [BZ #15966]
60524         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
60525         (_FPU_GETCW): Use initial "__" on variable and field names but not
60526         on macro parameter name.
60527         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
60528         parentheses around reference to macro parameter.
60530 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
60532         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
60533         prototype.
60534         (ctype_startup): Use uint32_t in cast and sizeof for
60535         ctype->charnames.
60537 2013-09-11  Jia Liu  <proljc@gmail.com>
60539         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
60540         __daddr_t_defined.
60541         [__FreeBSD__]: Likewise.
60543 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
60545         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
60546         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
60547         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
60548         (strchr): Remove __strchr_sse42 ifunc selection.
60549         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
60550         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
60552 2013-09-11  Will Newton  <will.newton@linaro.org>
60554         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
60555         parameter to RES. Remove hardcoded 1000 value.
60556         * benchtests/bench-skeleton.c (main): Pass RES parameter
60557         to TIMING_INIT and multiply result by 1000.
60559 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60561         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60563 2013-09-11  Andreas Schwab  <schwab@suse.de>
60565         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
60566         if not defined.
60567         (O_TMPFILE) [__USE_GNU]: Define.
60568         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
60569         Define.
60571 2013-09-11  Will Newton  <will.newton@linaro.org>
60573         [BZ #15857]
60574         * malloc/malloc.c (__libc_memalign): Check the value of bytes
60575         does not overflow.
60577 2013-09-11  Will Newton  <will.newton@linaro.org>
60579         [BZ #15856]
60580         * malloc/malloc.c (__libc_valloc): Check the value of bytes
60581         does not overflow.
60583 2013-09-11  Will Newton  <will.newton@linaro.org>
60585         [BZ #15855]
60586         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
60587         does not overflow.
60589 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
60591         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
60592         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
60593         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
60594         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
60595         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
60597 2013-09-10  Allan McRae  <allan@archlinux.org>
60599         [BZ #15748]
60600         * manual/arith.texi (Parsing of Floats): Clarify
60601         cross-reference.
60603         [BZ #15849]
60604         * manual/install.texi (Running make install): Mention
60605         --enable-pt-chown.
60606         * INSTALL: Regenerated.
60608 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
60610         * csu/init-first.c (_init): Remove the !SHARED condition around
60611         FPU control word initialization.
60612         * elf/dl-support.c (_dl_fpu_control): New variable.
60613         (_dl_aux_init) <AT_FPUCW>: Initialize it.
60614         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
60615         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
60616         * math/test-fpucw-static.c: New file.
60617         * math/test-fpucw-ieee.c: New file.
60618         * math/test-fpucw-ieee-static.c: New file.
60619         * math/Makefile (tests): Add `test-fpucw-ieee' and
60620         `$(tests-static)'.
60621         (tests-static): New variable.
60622         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
60623         dependency to...
60624         [($(build-shared),yes)]
60625         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
60626         ... this.
60627         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
60628         New dependency.
60630 2013-09-09  Allan McRae  <allan@archlinux.org>
60632         [BZ #15939]
60633         * manual/string.texi (Collation Functions): Fix typo in
60634         strcoll example.
60635         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
60637         [BZ #15893]
60638         * stdlib/isomac.c (get_null_defines): Fix memory leak.
60640         [BZ #15892]
60641         * libio/memstream.c (open_memstream): Fix memory leak.
60642         * libio/wmemstream.c (open_wmemstream): Likewise.
60644         [BZ #15895]
60645         * nscd/netgroupcache.c: Fix nesting of ifdefs.
60647 2013-09-09  Will Newton  <will.newton@linaro.org>
60649         * malloc/Makefile: Add tst-realloc to tests.
60650         * malloc/tst-realloc.c: New file.
60652 2013-09-09  Allan McRae  <allan@archlinux.org>
60654         [BZ #15844]
60655         * COPYING: Update from GNU website to fix FSF address.
60656         * COPYING.LIB: Likewise.
60658 2013-09-06  David S. Miller  <davem@davemloft.net>
60660         * po/zh_TW.po: Update Chinese (traditional) translation from
60661         translation project.
60663 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
60664             Joseph Myers  <joseph@codesourcery.com>
60666         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
60667         "localeinfo.h".
60668         (obstack_chunk_alloc): New macro.
60669         (obstack_chunk_free): Likewise.
60670         (record_offset): New function.
60671         (init_locale_data): Likewise.
60672         (align_locale_data): Likewise.
60673         (add_locale_empty): Likewise.
60674         (add_locale_raw_data): Likewise.
60675         (add_locale_raw_obstack): Likewise.
60676         (add_locale_string): Likewise.
60677         (add_locale_wstring): Likewise.
60678         (add_locale_uint32): Likewise.
60679         (add_locale_uint32_array): Likewise.
60680         (add_locale_char): Likewise.
60681         (start_locale_structure): Likewise.
60682         (end_locale_structure): Likewise.
60683         (start_locale_prelude): Likewise.
60684         (end_locale_prelude): Likewise.
60685         (write_locale_data): Take locale_file structure rather than an
60686         iovec.
60687         * locale/programs/locfile.h: Include "obstack.h".
60688         (struct locale_file): Change to store locale file contents instead
60689         of header.
60690         (init_locale_data): New prototype.
60691         (align_locale_data): Likewise.
60692         (add_locale_empty): Likewise.
60693         (add_locale_raw_data): Likewise.
60694         (add_locale_raw_obstack): Likewise.
60695         (add_locale_string): Likewise.
60696         (add_locale_wstring): Likewise.
60697         (add_locale_uint32): Likewise.
60698         (add_locale_uint32_array): Likewise.
60699         (add_locale_char): Likewise.
60700         (start_locale_structure): Likewise.
60701         (end_locale_structure): Likewise.
60702         (start_locale_prelude): Likewise.
60703         (end_locale_prelude): Likewise.
60704         (write_locale_data): Update prototype.
60705         * locale/programs/3level.h (struct TABLE): Remove result field.
60706         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
60707         Use new locale_file interface.
60708         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
60709         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
60710         * locale/programs/ld-address.c (address_output): Use new
60711         locale_file interface.
60712         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
60713         NO_ADD_LOCALE.
60714         (collate_finish): Don't call collseq_table_finalize.
60715         (collate_output): Use new locale_file interface.
60716         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
60717         in file.
60718         (NO_FINALIZE): Change to NO_ADD_LOCALE.
60719         (TABLE): Move defines earlier in file.
60720         (ELEMENT): Likewise.
60721         (DEFAULT): Likewise.
60722         (wctrans_table_add): Move macro and inline function earlier in
60723         file.
60724         (struct wctype_table): Move type earlier in file.
60725         (add_locale_wctype_table): New static prototype.
60726         (struct locale_ctype_t): Use logical types instead of struct iovec
60727         pointers for members.
60728         (ctype_output): Use new locale_file interface.
60729         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
60730         new locale_file interface.
60731         (allocate_arrays): Update for use of new locale_file interface.
60732         * locale/programs/ld-identification.c (identification_output): Use
60733         new locale_file interface.
60734         * locale/programs/ld-measurement.c (measurement_output): Likewise.
60735         * locale/programs/ld-messages.c (messages_output): Likewise.
60736         * locale/programs/ld-monetary.c (monetary_output): Likewise.
60737         * locale/programs/ld-name.c (name_output): Likewise.
60738         * locale/programs/ld-numeric.c (numeric_output): Likewise.
60739         * locale/programs/ld-paper.c (paper_output): Likewise.
60740         * locale/programs/ld-telephone.c (telephone_output): Likewise.
60741         * locale/programs/ld-time.c (time_output): Likewise.
60743 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60745         * benchtests/Makefile: Add memrchr benchmark.
60746         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
60747         benchmark as memrchr.
60748         * benchtests/bench-memrchr-ifunc.c: New file.
60749         * benchtests/bench-memrchr.c: New file.
60751 2013-09-06   Will Newton  <will.newton@linaro.org>
60753         * benchtests/Makefile (string-bench): Add memcpy.
60755 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
60756             Cong Wang  <amwang@redhat.com>
60758         [BZ #15850]
60759         * sysdeps/unix/sysv/linux/bits/in.h
60760         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
60761         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
60762         before __USE_KERNEL_IPV6_DEFS uses.
60763         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
60764         IPPROTO_BEETPH.
60765         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
60766         sockaddr_in6, or ipv6_mreq.
60768 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60770         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
60771         memory access for final bytes in some large inputs.
60772         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
60774 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60776         * string/test-memrchr.c: New file.
60777         * string/test-memrchr-ifunc.c: New file.
60778         * string/Makefile: Add new memrchr testcase.
60780 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
60782         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
60783         fanotify_init returns EPERM.
60785 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
60787         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
60788         errors.
60789         (top level): Treat second token from macro or constant entries for
60790         allowed headers as allowed.
60791         * include/complex.h: Condition internal declarations on
60792         [!_ISOMAC].
60793         * include/fenv.h: Condition include of <stdbool.h> and internal
60794         declarations on [!_ISOMAC].
60796 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
60798         [BZ #15923]
60799         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
60801 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
60803         * configure.in (--enable-versioning): Remove configure option.
60804         (libc_cv_asm_symver_directive): Remove configure test.
60805         (libc_cv_ld_version_script_option): Likewise.
60806         (VERSIONING): Remove variable and AC_SUBST.
60807         (DO_VERSIONING): Remove AC_DEFINE.
60808         * configure: Regenerated.
60809         * config.h.in (DO_VERSIONING): Remove macro.
60810         * Makerules [$(versioning) = yes]: Change conditionals to
60811         [$(build-shared) = yes].
60812         * config.make.in (versioning): Remove variable.
60813         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
60814         [$(build-shared) = yes].
60815         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
60816         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
60817         * elf/Makefile [$(versioning) = yes]: Change conditionals to
60818         [$(build-shared) = yes].
60819         * extra-lib.mk [$(versioning) = yes]: Likewise.
60820         * hurd/Makefile [$(versioning) = yes]: Likewise.
60821         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
60822         [SHARED].
60823         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
60824         [SHARED].
60825         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
60826         [SHARED && !NO_HIDDEN].
60827         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
60828         [SHARED].
60829         [SHARED && DO_VERSIONING]: Likewise..
60830         * libio/Makefile [$(versioning) = yes]: Change conditionals to
60831         [$(build-shared) = yes].
60832         * manual/install.texi (--disable-versioning): Remove
60833         documentation.
60834         * INSTALL: Regenerated.
60835         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
60836         to [SHARED].
60837         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
60838         [$(build-shared) = yes].
60839         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
60840         * sysdeps/i386/i686/multiarch/strstr-c.c
60841         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
60842         [SHARED && !NO_HIDDEN].
60843         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
60844         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
60845         * sysdeps/powerpc/powerpc32/dl-machine.c
60846         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
60847         * sysdeps/powerpc/powerpc32/sysdep.h
60848         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
60849         to [SHARED && PIC && !NO_HIDDEN].
60850         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
60851         conditional to [SHARED].
60853 2013-09-04   Will Newton  <will.newton@linaro.org>
60855         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
60856         * benchtests/bench-string.h: Include bench-timing.h instead
60857         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
60858         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
60859         call to HP_TIMING_DIFF_INIT.
60860         * benchtests/bench-memccpy.c: Use bench-timing.h macros
60861         instead of hp-timing.h macros.
60862         * benchtests/bench-memchr.c: Likewise.
60863         * benchtests/bench-memcmp.c: Likewise.
60864         * benchtests/bench-memcpy.c: Likewise.
60865         * benchtests/bench-memmem.c: Likewise.
60866         * benchtests/bench-memmove.c: Likewise.
60867         * benchtests/bench-memset.c: Likewise.
60868         * benchtests/bench-rawmemchr.c: Likewise.
60869         * benchtests/bench-strcasecmp.c: Likewise.
60870         * benchtests/bench-strcasestr.c: Likewise.
60871         * benchtests/bench-strcat.c: Likewise.
60872         * benchtests/bench-strchr.c: Likewise.
60873         * benchtests/bench-strcmp.c: Likewise.
60874         * benchtests/bench-strcpy.c: Likewise.
60875         * benchtests/bench-strcpy_chk.c: Likewise.
60876         * benchtests/bench-strlen.c: Likewise.
60877         * benchtests/bench-strncasecmp.c: Likewise.
60878         * benchtests/bench-strncat.c: Likewise.
60879         * benchtests/bench-strncmp.c: Likewise.
60880         * benchtests/bench-strncpy.c: Likewise.
60881         * benchtests/bench-strnlen.c: Likewise.
60882         * benchtests/bench-strpbrk.c: Likewise.
60883         * benchtests/bench-strrchr.c: Likewise.
60884         * benchtests/bench-strspn.c: Likewise.
60885         * benchtests/bench-strstr.c: Likewise.
60887 2013-09-04  Will Newton  <will.newton@linaro.org>
60889         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
60891 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
60893         [BZ #15427]
60894         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
60895         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
60896         * math/libm-test.inc (lgamma_test_data): Add more tests.
60897         * sysdeps/i386/fpu/libm-test-ulps: Update.
60898         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60900 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
60902         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
60903         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
60904         Add ifunc.
60905         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
60906         Add strcmp-sse2-unaligned
60907         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
60909 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
60911         * Versions.def (libc): Add GLIBC_2.19.
60913 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
60915         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
60916         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
60918 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
60920         [BZ #14155]
60921         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
60922         intermediate calculations in recurrence.
60923         (__ieee754_ynf): Likewise.
60924         * math/libm-test.inc (jn_test_data): Do not allow spurious
60925         underflow exception.  Add more tests.
60926         (yn_test_data): Add more tests.
60927         * sysdeps/i386/fpu/libm-test-ulps: Update.
60928         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60930 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
60932         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
60934 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
60936         * csu/init-first.c: Fix then/than typos.
60937         * locale/programs/ld-collate.c: Likewise.
60938         * locale/programs/linereader.h: Likewise.
60939         * manual/charset.texi: Likewise.
60940         * manual/filesys.texi: Likewise.
60941         * manual/stdio.texi: Likewise.
60942         * manual/string.texi: Likewise.
60943         * stdlib/fmtmsg.c: Likewise.
60944         * sysdeps/i386/stpncpy.S: Likewise.
60945         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
60946         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
60947         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
60948         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
60950 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
60952         * elf/dl-open.c: Fix typos.
60953         * iconvdata/gbbig5.c: Likewise.
60954         * iconvdata/iso-2022-jp.c: Likewise.
60955         * iconv/gconv_int.h: Likewise.
60956         * iconv/loop.c: Likewise.
60957         * nis/rpcsvc/nis.h: Likewise.
60958         * resolv/ns_name.c: Likewise.
60959         * stdio-common/vfscanf.c: Likewise.
60960         * streams/stropts.h: Likewise.
60961         * sunrpc/rpc_thread.c: Likewise.
60962         * sysdeps/i386/strpbrk.S: Likewise.
60963         * sysdeps/ieee754/k_standard.c: Likewise.
60964         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
60965         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
60966         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
60967         * sysdeps/mach/hurd/profil.c: Likewise.
60968         * sysdeps/s390/dl-procinfo.h: Likewise.
60969         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
60970         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
60971         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
60972         * sysdeps/x86_64/dl-trampoline.S: Likewise.
60973         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
60975 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
60977         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
60978         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
60980 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
60982         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
60983         aix specific files.
60984         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
60985         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
60986         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
60987         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
60988         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
60989         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
60990         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
60991         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
60993 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
60994             Roland McGrath  <roland@hack.frob.com>
60996         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
60997         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
60999 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61001         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
61002         __executable_start symbol instead of _start.
61004 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
61006         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
61007         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
61008         Move macros to...
61009         * sysdeps/gnu/ldsodefs.h: ... this new file.
61011         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
61012         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
61013         instead of ELFOSABI_LINUX.
61015         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
61016         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
61017         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
61018         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
61019         Likewise.
61020         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
61021         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
61022         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
61023         Likewise.
61024         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
61025         (ibm_extended_long_double): Add ieee_nan member.
61026         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
61027         (do_test): New function.
61029         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
61030         TEST_TRUNC.
61031         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
61032         functions, renamed from truncdfsf_test, trunctfsf_test,
61033         trunctfdf_test.
61034         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
61035         functions.
61036         (do_test): Run all these.
61038 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
61040         * argp/argp-help.c: Fix typos.
61041         * argp/argp-parse.c: Likewise.
61042         * debug/backtracesyms.c: Likewise.
61043         * elf/elf.h: Likewise.
61044         * malloc/malloc.c: Likewise.
61045         * nis/nis_print.c: Likewise.
61046         * resolv/res_comp.c: Likewise.
61047         * stdlib/stdlib.h: Likewise.
61048         * sunrpc/clnt_tcp.c: Likewise.
61049         * sunrpc/clnt_udp.c: Likewise.
61050         * sunrpc/clnt_unix.c: Likewise.
61051         * sysdeps/unix/bsd/ptsname.c: Likewise.
61052         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
61053         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
61054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
61055         Likewise.
61056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
61057         Likewise.
61058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
61059         Likewise.
61060         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
61062 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61064         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
61065         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
61067 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
61069         [BZ #15897]
61070         * dlfcn/Makefile (tests): Add bug-dl-leaf.
61071         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
61072         ($(objpfx)bug-dl-leaf): New rule.
61073         ($(objpfx)bug-dl-leaf.so): Likewise.
61074         ($(objpfx)bug-dl-leaf.out): Likewise.
61075         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
61076         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
61077         * dlfcn/bug-dl-leaf.c: New test.
61078         * dlfcn/bug-dl-leaf-lib.c: Likewise.
61079         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
61080         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
61081         (dlclose): Likewise.
61082         (dlmopen): Likewise.
61084 2013-08-27  Roland McGrath  <roland@hack.frob.com>
61086         * include/netdb.h [!_ISOMAC]:
61087         Don't include <tls.h>.
61088         (h_errno, __libc_h_errno): Move declaration and macros out of
61089         [_LIBC_REENTRANT].
61091         * include/resolv.h [_RESOLV_H_]:
61092         Don't include <tls.h>.
61093         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
61094         * resolv/res_libc.c: Don't include <tls.h>.
61095         (_res): Use __attribute__ ((nocommon)) in place of
61096         __attribute__ ((section (".bss"))).
61098         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
61099         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
61101         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
61103         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
61104         only under [SIOCGIFCONF && SIOCGIFNETMASK].
61106         * resolv/res_mkquery.c: Include <sys/time.h>.
61108         * inet/ifreq.c: Moved to ...
61109         * sysdeps/unix/ifreq.c: ... here.
61110         * inet/ifreq.c: New file, true stub version.
61112         * socket/sa_len.c: New file.
61113         * socket/Makefile (aux): Add it.
61114         * sysdeps/unix/sysv/linux/Makefile
61115         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
61116         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
61117         and #include <socket/sa_len.c>.
61118         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
61119         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
61121         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
61122         * bits/socket.h: ... here.
61124         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
61125         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
61126         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
61128 2013-08-27  Andreas Schwab  <schwab@suse.de>
61130         [BZ #15736]
61131         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
61132         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
61133         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
61134         * string/test-strcasecmp.c (test_main): Run tests in several
61135         locales.
61136         * string/test-strncasecmp.c (test_main): Likewise.
61138         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
61139         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
61140         to __strcasecmp_nonascii and __strncasecmp_nonascii.
61141         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
61142         (__strncasecmp_ssse3) [PIC]: Likewise.
61144 2013-08-26  Roland McGrath  <roland@hack.frob.com>
61146         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
61148         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
61149         instead of explicitly declaring xdecrypt.
61150         * nis/nss_nis/nis-publickey.c: Likewise.
61152 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
61154         [BZ #15890]
61155         * nscd/aicache.c: Include res_hconf.h.
61156         (addhstaiX): Initialize res_hconf.
61158 2013-08-26  Andreas Schwab  <schwab@suse.de>
61160         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
61161         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
61163 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
61165         * nscd/aicache.c (addhstaiX): Fix indentation.
61167 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
61169         * configure.ac: Quote $build_pt_chown test.
61170         * configure: Regenerated.
61172 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
61174         [BZ #15532]
61175         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
61176         * math/s_cexpf.c (__cexpf): Likewise.
61177         * math/s_cexpl.c (__cexpl): Likewise.
61178         * math/libm-test.inc (cexp_test_data): Correct expected return
61179         value for NaN + i0.  Add another test.
61181 2013-08-22  David S. Miller  <davem@davemloft.net>
61183         * po/ca.po: Update Catalan translation from translation project.
61184         * po/uk.po: Add Ukrainian translations from translation project.
61186 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
61188         [BZ #15797]
61189         * math/s_fdim.c (__fdim): Check for infinite arguments if result
61190         is infinite, not alongside NaN test.
61191         * math/s_fdimf.c (__fdimf): Likewise.
61192         * math/s_fdiml.c (__fdiml): Likewise.
61193         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
61194         errno is unchanged.
61196 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
61198         * argp/argp-help.c: Fix typos.
61199         * crypt/speeds.c: Likewise.
61200         * csu/check_fds.c: Likewise.
61201         * elf/dl-load.c: Likewise.
61202         * elf/dl-open.c: Likewise.
61203         * elf/reldep3.c: Likewise.
61204         * elf/reldep.c: Likewise.
61205         * elf/sprof.c: Likewise.
61206         * iconv/iconv_charmap.c: Likewise.
61207         * iconv/skeleton.c: Likewise.
61208         * iconv/strtab.c: Likewise.
61209         * io/lockf64.c: Likewise.
61210         * libio/libioP.h: Likewise.
61211         * resolv/gai_notify.c: Likewise.
61212         * resolv/ns_name.c: Likewise.
61213         * resolv/ns_samedomain.c: Likewise.
61214         * resolv/res_send.c: Likewise.
61215         * stdlib/random.c: Likewise.
61216         * sunrpc/rpc/xdr.h: Likewise.
61217         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
61218         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
61219         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
61220         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
61221         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
61222         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
61223         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
61224         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
61225         * sysdeps/mach/hurd/check_fds.c: Likewise.
61226         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
61227         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
61228         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
61229         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
61230         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
61231         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
61232         * sysdeps/pthread/aio_notify.c: Likewise.
61233         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
61234         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
61235         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
61236         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
61237         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
61239 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
61241         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
61242         version if bit_Slow_SSE4_2 is set.
61243         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
61244         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
61246 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61248         [BZ #15867]
61249         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
61250         trampoline stack frame information.
61251         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
61252         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
61253         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
61254         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
61255         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
61256         * sysdeps/unix/sysv/linux/powerpc/init-first.c
61257         (_libc_vdso_platform_setup): Initialize the signal trampolines.
61258         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
61259         sa_flags value.
61260         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
61261         interrupting a syscall and set with option SA_SIGINFO.
61263 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
61265         [BZ #15531]
61266         * math/s_cproj.c (__cproj): Only return an infinity if one part of
61267         argument is infinite.
61268         * math/s_cprojf.c (__cprojf): Likewise.
61269         * math/s_cprojl.c (__cprojl): Likewise.
61270         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
61271         * math/libm-test.inc (cproj_test_data): Add more tests.
61273         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
61275         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
61276         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
61277         size.  Use __ffs to determine corresponding shift.
61279 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
61280             Roland McGrath  <roland@hack.frob.com>
61282         * Makefile (INSTALL): Remove trailing blank lines from output of
61283         makeinfo.
61285 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61287         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
61288         Align 32 bit compat elf_greg to 8 bytes.
61290 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
61292         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
61294 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
61296         * string/strcoll_l.c (coll_seq): New structure.
61297         (get_next_seq_cached): New function.
61298         (get_next_seq): New function.
61299         (do_compare): New function.
61300         (STRCOLL): Use GNU style definition.  Simplify implementation
61301         by using get_next_seq, get_next_seq_cached and do_compare.
61303 2013-08-16  Florian Weimer  <fweimer@redhat.com>
61305         [BZ #14699]
61306         CVE-2013-4237
61307         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
61308         member.
61309         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
61310         member.
61311         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
61312         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
61313         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
61314         conditional.
61315         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
61316         GETDENTS_64BIT_ALIGNED.
61317         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
61318         * manual/filesys.texi (Reading/Closing Directory): Document
61319         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
61320         strongly.
61321         * manual/conf.texi (Limits for Files): Add portability note to
61322         NAME_MAX, PATH_MAX.
61323         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
61325 2013-08-13  Andreas Schwab  <schwab@suse.de>
61327         [BZ #15749]
61328         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
61329         of fabs.
61330         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
61331         LDBL_MAX_EXP >= 16384]: Add tests for it.
61333 2013-08-12  David S. Miller  <davem@davemloft.net>
61335         * version.h (RELEASE): Set to "development".
61336         (VERSION): Set to "2.18.90".
61337         * NEWS: Add 2.19 section.
61339 2013-08-03  David S. Miller  <davem@davemloft.net>
61341         * po/ko.po: Update Korean translation from translation project.
61343 2013-08-01  David S. Miller  <davem@davemloft.net>
61345         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
61346         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
61347         Bilka.
61349 2013-07-30  David S. Miller  <davem@davemloft.net>
61351         * po/fr.po: Update French translation from translation project.
61353 2013-07-28  David S. Miller  <davem@davemloft.net>
61355         * po/cs.po: Update Czech translation from translation project.
61357         * po/sv.po: Update Swedish translation from translation project.
61359 2013-07-27  David S. Miller  <davem@davemloft.net>
61361         * po/eo.po: Update Esperanto translation from translation project.
61363         * po/vi.po: Update Vietnamese translation from translation project.
61365         * po/de.po: Update German translation from translation project.
61367 2013-07-26  David S. Miller  <davem@davemloft.net>
61369         * po/bg.po: Update Bulgarian translation from translation project.
61371         * po/nl.po: Update Dutch translation from translation project.
61372         * po/pl.po: Update Polish translation from translation project.
61373         * po/ru.po: Update Russian translation from translation project.
61375 2013-07-24  David S. Miller  <davem@davemloft.net>
61377         * po/libc.pot: Update.
61379 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61381         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
61382         variable page size.
61383         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
61384         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
61385         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
61387 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61389         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
61391 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
61392             Andreas Schwab  <schwab@suse.de>
61393             Roland McGrath  <roland@hack.frob.com>
61394             Joseph Myers  <joseph@codesourcery.com>
61395             Carlos O'Donell  <carlos@redhat.com>
61397         [BZ #15755]
61398         * config.h.in: Define HAVE_PT_CHOWN.
61399         * config.make.in (build-pt-chown): New variable.
61400         * configure.in (--enable-pt_chown): New configure option.
61401         * configure: Regenerate.
61402         * login/Makefile: Include Makeconfig.  Build pt_chown only if
61403         build-pt-chown is enabled.
61404         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
61405         pt_chown to fix pty ownership.
61406         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
61407         CLOSE_ALL_FDS.
61408         * manual/install.texi (Configuring and compiling): Mention
61409         --enable-pt_chown. Add @findex for grantpt.
61410         * INSTALL: Regenerate.
61412 2013-07-20  David S. Miller  <davem@davemloft.net>
61414         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
61415         difference between 32-bit and 64-bit.
61417 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
61419         [BZ #15711]
61420         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
61421         Avoid system header dependency with -ffreestanding.
61422         ($(objpfx)bits/syscall%d): Likewise.
61424 2013-07-13  David S. Miller  <davem@davemloft.net>
61426         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
61427         underflows from atanl/atan2l due to bug 15319.
61428         (casinh_test_data): Likewise.
61430 2013-07-07  David S. Miller  <davem@davemloft.net>
61432         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
61434 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
61436         * sysdeps/i386/fpu/libm-test-ulps: Update.
61437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61439 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
61441         * configure.in (--enable-lock-elision): Fix message text.
61442         * INSTALL: Regenerate.
61443         * configure: Regenerate.
61445 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61447         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61449 2013-07-03  Andreas Jaeger  <aj@suse.de>
61451         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
61452         define.
61453         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
61454         (ptrace_peeksiginfo_args): Add.
61455         (__ptrace_peeksiginfo_flags): Add.
61456         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
61457         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
61458         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
61460 2013-07-03  Allan McRae  <allan@archlinux.org>
61462         * sysdeps/i386/fpu/libm-test-ulps: Update.
61464 2013-07-02  David S. Miller  <davem@davemloft.net>
61466         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61468 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
61470         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61472 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
61474         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
61475         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61477 2013-07-02  Andi Kleen <ak@linux.intel.com>
61479         * config.h.in (ENABLE_LOCK_ELISION): Add.
61480         * configure.in (--enable-lock-elision): Add option.
61481         * manual/install.texi: Document --enable lock elision.
61482         * configure: Regenerate
61483         * INSTALL: Regenerate.
61485 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
61487         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
61488         SSE4.2 strcasecmp for libc.a.
61489         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
61491 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
61493         [BZ #13304]
61494         * soft-fp/op-common.h (_FP_FMA): New macro.
61495         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
61496         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
61497         (_FP_MUL_MEAT_1_imm): ... here.
61498         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
61499         (_FP_MUL_MEAT_1_wide): ... here.
61500         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
61501         (_FP_MUL_MEAT_1_hard): ... here.
61502         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
61503         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
61504         (_FP_MUL_MEAT_2_wide): ... here.
61505         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
61506         (_FP_MUL_MEAT_2_wide_3mul): ... here.
61507         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
61508         (_FP_MUL_MEAT_2_gmp): ... here.
61509         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
61510         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
61511         (_FP_MUL_MEAT_4_wide): ... here.
61512         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
61513         (_FP_MUL_MEAT_4_gmp): ... here.
61514         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
61515         (_FP_WFRACBITS_DW_S): Likewise.
61516         (_FP_WFRACXBITS_DW_S): Likewise.
61517         (_FP_HIGHBIT_DW_S): Likewise.
61518         (FP_FMA_S): Likewise.
61519         (_FP_FRAC_HIGH_DW_S): Likewise.
61520         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
61521         (_FP_WFRACBITS_DW_D): Likewise.
61522         (_FP_WFRACXBITS_DW_D): Likewise.
61523         (_FP_HIGHBIT_DW_D): Likewise.
61524         (FP_FMA_D): Likewise.
61525         (_FP_FRAC_HIGH_DW_D): Likewise.
61526         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
61527         (_FP_WFRACBITS_DW_E): Likewise.
61528         (_FP_WFRACXBITS_DW_E): Likewise.
61529         (_FP_HIGHBIT_DW_E): Likewise.
61530         (FP_FMA_E): Likewise.
61531         (_FP_FRAC_HIGH_DW_E): Likewise.
61532         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
61533         (_FP_WFRACBITS_DW_Q): Likewise.
61534         (_FP_WFRACXBITS_DW_Q): Likewise.
61535         (_FP_HIGHBIT_DW_Q): Likewise.
61536         (FP_FMA_Q): Likewise.
61537         (_FP_FRAC_HIGH_DW_Q): Likewise.
61538         * soft-fp/fmasf4.c: New file.
61539         * soft-fp/fmadf4.c: Likewise.
61540         * soft-fp/fmatf4.c: Likewise.
61542 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
61544         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
61545         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
61546         Silvermont.
61547         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
61548         macro.
61549         (index_Slow_SSE4_2): Likewise.
61550         (index_Prefer_PMINUB_for_stringop): Likewise.
61551         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
61552         bit_Slow_SSE4_2 is set.
61553         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
61554         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
61556 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
61558         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
61559         rtld_global._dl_hwcap2.
61560         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
61561         POWER8.
61562         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
61563         POWER8 feature descriptions defined in _dl_hwcap2.
61564         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
61565         string handling for POWER8 feature bits.
61566         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
61567         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
61568         _dl_powerpc_cap_flags.
61569         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
61570         * sysdeps/powerpc/rtld-global-offsets.sym
61571         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
61572         _dl_hwcap2 in the rtld_global_ro structure.
61574 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
61576         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
61577         hardware capabilities in support of AT_HWCAP2.
61578         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
61579         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
61580         GLRO(dl_hwcap2).
61581         (_dl_show_auxv): Add support for calling _dl_procinfo to display
61582         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
61583         explicitly the unknown a_type display mechanism is used.
61584         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
61585         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
61586         struct member.
61587         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
61588         to macro prototype for AT_HWCAP2 support.
61589         * sysdeps/i386/dl-procinfo.h: Likewise.
61590         * sysdeps/s390/dl-procinfo.h: Likewise.
61591         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
61592         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
61593         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
61594         return -1 for unknown a_type display fallback.
61595         * sysdeps/sparc/dl-procinfo.h: Likewise.
61596         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
61597         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
61599 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
61601         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
61602         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
61604 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
61606         [BZ #12492]
61607         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
61608         mprotect making __stack_prot writable.
61610 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
61611             Joseph Myers  <joseph@codesourcery.com>
61613         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
61614         as being properly aligned.
61616 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
61618         * dlfcn/modstatic5.c: New file.
61619         * dlfcn/tststatic5.c: New file.
61620         * dlfcn/Makefile (tests): Add tststatic5.
61621         (tests-static): Likewise.
61622         (modules-names): Add modstatic5.
61623         (tststatic5-ENV): New variable.
61624         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
61626         [BZ #15022]
61627         * elf/dl-support.c (_dl_main_map): New variable.
61628         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
61629         (_dl_nns, _dl_load_adds): Set to 1.
61630         (_dl_initial_searchlist): Refer to _dl_main_map.
61631         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
61632         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
61633         call to _dl_get_origin.
61634         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
61635         around call_map.
61636         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
61637         * dlfcn/modstatic3.c: New file.
61638         * dlfcn/tststatic3.c: New file.
61639         * dlfcn/tststatic4.c: New file.
61640         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
61641         (tests-static): Likewise.
61642         (modules-names): Add modstatic3.
61643         (tststatic3-ENV, tststatic4-ENV): New variables.
61644         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
61645         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
61647 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
61649         * configure.in (CC): Require GCC version 4.4 or later.
61650         * configure: Regenerated.
61651         * manual/install.texi (Tools for Compilation): Update GCC version
61652         requirement.
61653         * INSTALL: Regenerated.
61655 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
61657         [BZ #15674]
61658         * string/test-memcmp.c (check2): New.
61659         (main): Call check2.
61661         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
61663 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
61665         [BZ #15022]
61666         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
61667         over to...
61668         (dl_open_worker) [!SHARED]: ... here.
61670 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
61672         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
61674 2013-06-25  Richard Henderson  <rth@redhat.com>
61676         * locale/programs/locarchive.c: Include <libc-internal.h>
61678 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
61680         * manual/texinfo.tex: Update to version 2013-06-21.17, with
61681         trailing whitespace removed.
61683 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
61685         [BZ #10283]
61686         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
61687         * locale/programs/locarchive.c: Include libc-mmap.h.
61688         (prepare_address_space): Take two new outputs (the mmap base and len).
61689         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
61690         values.
61691         (create_archive): Declare new mmap base and len values for
61692         prepare_address_space, and store the result in ah.
61693         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
61694         (enlarge_archive): If ah->mmap_base is not NULL, use that and
61695         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
61696         Declare new mmap base and len values for
61697         prepare_address_space, and store the result in new_ah.
61698         (open_archive): Declare new mmap base and len values for
61699         prepare_address_space, and store the result in ah.
61700         (close_archive): If ah->mmap_base is not NULL, use that and
61701         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
61702         * sysdeps/generic/libc-mmap.h: New file.
61704 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
61706         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
61707         (ALIGN_UP): Likewise.
61708         (PTR_ALIGN_DOWN): Likewise.
61709         (PTR_ALIGN_UP): Likewise.
61711 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
61713         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
61714         entry mapped to PPC_PLATFORM_POWER8.
61715         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
61716         POWER8.
61717         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
61718         (_dl_string_platform): Add case for exporting platform position for
61719         POWER8.
61720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
61721         search path to sysdeps/powerpc/powerpc32/power8 directory.
61722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
61723         search path to sysdeps/powerpc/powerpc64/power8 directory.
61724         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
61725         power7 directories.
61726         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
61727         power7 directories.
61729 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
61731         * INSTALL: Regenerate.
61733         * nscd/connections.c (nscd_init): Fix comment.
61735 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
61737         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
61739         [BZ #15667]
61740         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
61741         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
61743 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
61745         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
61746         DL_DST_REQ_STATIC.
61747         (DL_DST_REQ_STATIC): Remove macro.
61749 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
61751         [BZ #7006]
61752         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
61753         with a shift of 0 bits.
61755 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
61757         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
61758         $(tststatic-ENV).
61760 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
61762         [BZ #15655]
61763         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
61765 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61767         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
61768         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
61769         accepts -fno-tree-loop-distribute-patterns.
61770         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
61771         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
61772         recursive call.
61773         * string/memset.c (memset): Likewise.
61774         * string/test-memmove.c (simple_memmove): Disable loop transformation
61775         to library calls.
61776         * string/test-memset.c (simple_memset): Likewise.
61777         * benchtests/bench-memmove.c (simple_memmove): Likewise.
61778         * benchtests/bench-memset.c (simple_memset): Likewise.
61779         * configure: Regenerated.
61781 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
61783         * math/test-misc.c (main): Ignore fesetround failure when failures
61784         of subsequent rounding tests would be ignored.
61786         [BZ #15654]
61787         * math/fedisblxcpt.c (fedisableexcept): Return 0.
61788         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
61789         * math/fegetenv.c (__fegetenv): Return 0.
61790         * math/fegetexcept.c (fegetexcept): Return 0.
61791         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
61792         FE_TONEAREST.
61793         * math/feholdexcpt.c (feholdexcept): Return 0.
61794         * math/fesetenv.c (__fesetenv): Return 0.
61795         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
61796         argument FE_TONEAREST.
61797         * math/feupdateenv.c (__feupdateenv): Return 0.
61798         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
61800 2013-06-18  Roland McGrath  <roland@hack.frob.com>
61802         * elf/rtld-Rules (rtld-compile-command.S): New variable.
61803         (rtld-compile-command.s, rtld-compile-command.c): New variables.
61804         ($(objpfx)rtld-%.os rules): Use them.
61806 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61808         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
61809         fields.
61811 2013-06-17  Roland McGrath  <roland@hack.frob.com>
61813         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
61814         length of target pattern, then descending length of dependency pattern.
61815         * configure.in (AWK): Require gawk 3.1.2 or newer.
61816         * manual/install.texi (Tools for Compilation): Say that we do.
61817         * configure: Regenerated.
61819         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
61820         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
61821         * scripts/sysd-rules.awk: ... this new script.
61822         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
61823         than a glob-style pattern.
61825 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
61827         * math/test-misc.c (main): Do not treat incorrectly rounded
61828         conversions as failure unless ROUNDING_TESTS passes.
61830 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
61832         [BZ #15631]
61833         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
61834         restore exception state around main square root computation, then
61835         check for inexactness explicitly.
61837         * math/libm-test.inc (fma_test_data): Add another test.
61839 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
61841         * manual/threads.texi (Non-POSIX Extensions): New document
61842         node.  Document pthread_getattr_default_np and
61843         pthread_setattr_default_np.
61845         * Versions.def (libpthread): Add GLIBC_2.18.
61846         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
61847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
61848         Likewise.
61849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
61850         Likewise.
61851         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
61852         Likewise.
61853         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
61854         Likewise.
61855         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
61856         Likewise.
61857         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
61858         Likewise.
61859         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
61860         Likewise.
61861         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
61862         Likewise.
61863         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
61864         Likewise.
61866 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
61868         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61869         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
61871 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
61872             H.J. Lu  <hjl.tools@gmail.com>
61874         [BZ #15627]
61875         * sysdeps/x86_64/rtld-memset.c: Remove file.
61876         * sysdeps/x86_64/rtld-memset.S: New file.
61878 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
61880         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
61881         (test_in_one_mode): Take arguments for whether the rounding mode
61882         is supported for each floating-point type.
61883         (do_test): Pass new arguments to test_in_one_mode using
61884         ROUNDING_TESTS.
61886 2013-06-13  Roland McGrath  <roland@hack.frob.com>
61888         * posix/tst-waitid.c (do_test): Distinguish different instances of
61889         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
61890         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
61891         before entering the kernel for waitpid.
61893 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
61895         * NEWS: Fix note on clock function precision.  Text by Roland
61896         McGrath.
61898 2013-06-13  Roland McGrath  <roland@hack.frob.com>
61900         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
61901         it into place only when and if the sanity check passes.
61903 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
61905         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
61906         output for whether conversion result is exact.  Take argument
61907         indicating whether type is IBM long double.
61908         (round_for_all): Change need_exact field to ibm_ld.
61909         * stdlib/tst-strtod-round.c (struct exactness): New type.
61910         (struct test): Change bool ld_ok field to struct exactness exact.
61911         (TEST): Update all definitions for change to field.
61912         (tests): Regenerate array contents.
61913         (test_in_one_mode): Take pointer to new field instead of old ld_ok
61914         field value.  Check for IBM long double here.
61915         (do_test): Update calls to test_in_one_mode.
61917 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
61919         [BZ #12515]
61920         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
61921         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
61923 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61925         [BZ #15605]
61926         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
61927         generated by the compiler on loop optimizations.
61928         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
61929         general definitions.
61931 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
61933         * math/bug-nextafter.c: Include <math-tests.h>.
61934         (main): Only test for exceptions if EXCEPTION_TESTS is true for
61935         the relevant type.
61936         * math/bug-nexttoward.c: Include <math-tests.h>.
61937         (main): Only test for exceptions if EXCEPTION_TESTS is true for
61938         the relevant type.
61939         * math/test-misc.c: Include <math-tests.h>.
61940         (main): Only test for exceptions if EXCEPTION_TESTS is true for
61941         the relevant type.
61943 2013-06-12  Andreas Jaeger  <aj@suse.de>
61945         * po/ia.po: Update Interlingua translation from translation
61946         project.
61948 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
61950         * include/fenv.h: Include stdbool.h.
61951         (struct rm_ctx): New structure.
61952         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
61953         Define macro.
61954         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
61955         (SET_RESTORE_ROUNDF): Likewise.
61956         (SET_RESTORE_ROUNDL): Likewise.
61957         (SET_RESTORE_ROUND_NOEX): Likewise.
61958         (SET_RESTORE_ROUND_NOEXF): Likewise.
61959         (SET_RESTORE_ROUND_NOEXL): Likewise.
61960         (SET_RESTORE_ROUND_53BIT): Likewise.
61961         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
61962         (libc_feresetround_noexf_ctx): Likewise.
61963         (libc_feresetround_noexl_ctx): Likewise.
61964         (libc_feholdsetround_53bit_ctx): Likewise.
61965         (libc_feresetround_53bit_ctx): Likewise.
61966         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
61967         (libc_feholdexcept_setround_sse_ctx): New function.
61968         (libc_fesetenv_sse_ctx): Likewise.
61969         (libc_feupdateenv_sse_ctx): Likewise.
61970         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
61971         (libc_feholdexcept_setround_387_ctx): Likewise.
61972         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
61973         (libc_feholdsetround_387_prec_ctx): Likewise.
61974         (libc_feholdsetround_387_ctx): Likewise.
61975         (libc_feholdsetround_387_53bit_ctx): Likewise.
61976         (libc_feholdsetround_sse_ctx): Likewise.
61977         (libc_feresetround_sse_ctx): Likewise.
61978         (libc_feresetround_387_ctx): Likewise.
61979         (libc_feupdateenv_387_ctx): Likewise.
61980         (libc_feholdexcept_setroundf_ctx): Define macro.
61981         (libc_fesetenvf_ctx): Likewise.
61982         (libc_feupdateenvf_ctx): Likewise.
61983         (libc_feholdsetroundf_ctx): Likewise.
61984         (libc_feresetroundf_ctx): Likewise.
61985         (libc_feholdexcept_setround_ctx): Likewise.
61986         (libc_fesetenv_ctx): Likewise.
61987         (libc_feupdateenv_ctx): Likewise.
61988         (libc_feholdsetround_ctx): Likewise.
61989         (libc_feresetround_ctx): Likewise.
61990         (libc_feholdexcept_setroundl_ctx): Likewise.
61991         (libc_feupdateenvl_ctx): Likewise.
61992         (libc_feholdsetroundl_ctx): Likewise.
61993         (libc_feresetroundl_ctx): Likewise.
61994         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
61995         (libc_feresetround_53bit_ctx): Likewise.
61997 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
61999         * locale/iso-639.def: Convert to UTF-8.
62001 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
62003         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
62004         (EXCEPTION_TESTS_double): Likewise.
62005         (EXCEPTION_TESTS_long_double): Likewise.
62006         (EXCEPTION_TESTS): Likewise.
62007         * math/libm-test.inc (test_exceptions): Only test exceptions if
62008         EXCEPTION_TESTS (FLOAT).
62010 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
62012         * benchtests/Makefile (string-bench): Add strcpy_chk and
62013         stpcpy_chk.
62014         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
62015         * benchtests/bench-stpcpy_chk.c: New file.
62016         * benchtests/bench-strcpy_chk-ifunc.c: New file.
62017         * benchtests/bench-strcpy_chk.c: New file.
62018         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
62019         code.
62020         (do_test): Likewise.
62022 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
62024         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
62025         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
62026         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
62027         with tabs where appropriate.
62028         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
62029         dl-procinfo.h.
62030         [PPC_PLATFORM_PPC440]: Likewise.
62031         [PPC_PLATFORM_PPC464]: Likewise.
62032         [PPC_PLATFORM_PPC476]: Likewise.
62033         (_dl_string_platform): Add support for detecting ppc405, ppc440,
62034         ppc464, and ppc476 platform strings merging from ports/
62035         dl-procinfo.h.
62037 2013-06-11  Andreas Schwab  <schwab@suse.de>
62039         [BZ #14991]
62040         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
62041         (from_ucs4_idx): Regenerate.
62042         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
62043         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
62044         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
62045         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
62046         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
62047         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
62048         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
62049         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
62050         from FROM_LOOP and TO_LOOP specific macros.
62051         (BODY): Handle combining characters.
62052         * iconvdata/BIG5HKSCS.irreversible: Update.
62053         * iconvdata/BIG5HKSCS.precomposed: New file.
62054         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
62055         characters.
62056         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
62058 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
62060         * include/sys/time.h: Fix indentation and add copyright header.
62062         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
62063         (do_test): Likewise.
62064         * string/test-memchr.c (do_one_test): Likewise.
62065         (do_test): Likewise.
62066         * string/test-memcmp.c (do_one_test): Likewise.
62067         (do_test): Likewise.
62068         * string/test-memcpy.c (do_one_test): Likewise.
62069         (do_test): Likewise.
62070         * string/test-memmem.c (do_one_test): Likewise.
62071         (do_test): Likewise.
62072         (do_random_tests): Likewise.
62073         * string/test-memmove.c (do_one_test): Likewise.
62074         (do_test): Likewise.
62075         * string/test-memset.c (do_one_test): Likewise.
62076         (do_test): Likewise.
62077         * string/test-rawmemchr.c (do_one_test): Likewise.
62078         (do_test): Likewise.
62079         * string/test-strcasecmp.c (do_one_test): Likewise.
62080         (do_test): Likewise.
62081         * string/test-strcasestr.c (do_one_test): Likewise.
62082         (do_test): Likewise.
62083         * string/test-strcat.c (do_one_test): Likewise.
62084         (do_test): Likewise.
62085         * string/test-strchr.c (do_one_test): Likewise.
62086         (do_test): Likewise.
62087         * string/test-strcmp.c (do_one_test): Likewise.
62088         (do_test): Likewise.
62089         * string/test-strcpy.c (do_one_test): Likewise.
62090         (do_test): Likewise.
62091         * string/test-string.h: Likewise.
62092         (test_init): Likewise.
62093         * string/test-strlen.c (do_one_test): Likewise.
62094         (do_test): Likewise.
62095         * string/test-strncasecmp.c (do_one_test): Likewise.
62096         (do_test): Likewise.
62097         * string/test-strncat.c (do_one_test): Likewise.
62098         (do_test): Likewise.
62099         * string/test-strncmp.c (do_one_test): Likewise.
62100         (do_test_limit): Likewise.
62101         (do_test): Likewise.
62102         * string/test-strncpy.c (do_one_test): Likewise.
62103         (do_test): Likewise.
62104         * string/test-strnlen.c (do_one_test): Likewise.
62105         (do_test): Likewise.
62106         * string/test-strpbrk.c (do_one_test): Likewise.
62107         (do_test): Likewise.
62108         * string/test-strrchr.c (do_one_test): Likewise.
62109         (do_test): Likewise.
62110         * string/test-strspn.c (do_one_test): Likewise.
62111         (do_test): Likewise.
62112         * string/test-strstr.c (do_one_test): Likewise.
62113         (do_test): Likewise.
62115         * benchtests/Makefile (string-bench): Add string benchmarks.
62116         * benchtests/bench-bcopy-ifunc.c: New file.
62117         * benchtests/bench-bcopy.c: New file.
62118         * benchtests/bench-bzero-ifunc.c: New file.
62119         * benchtests/bench-bzero.c: New file.
62120         * benchtests/bench-memccpy-ifunc.c: New file.
62121         * benchtests/bench-memccpy.c: New file.
62122         * benchtests/bench-memchr-ifunc.c: New file.
62123         * benchtests/bench-memchr.c: New file.
62124         * benchtests/bench-memcmp-ifunc.c: New file.
62125         * benchtests/bench-memcmp.c: New file.
62126         * benchtests/bench-memmem-ifunc.c: New file.
62127         * benchtests/bench-memmem.c: New file.
62128         * benchtests/bench-memmove-ifunc.c: New file.
62129         * benchtests/bench-memmove.c: New file.
62130         * benchtests/bench-mempcpy-ifunc.c: New file.
62131         * benchtests/bench-mempcpy.c: New file.
62132         * benchtests/bench-memset-ifunc.c: New file.
62133         * benchtests/bench-memset.c: New file.
62134         * benchtests/bench-rawmemchr-ifunc.c: New file.
62135         * benchtests/bench-rawmemchr.c: New file.
62136         * benchtests/bench-stpcpy-ifunc.c: New file.
62137         * benchtests/bench-stpcpy.c: New file.
62138         * benchtests/bench-stpncpy-ifunc.c: New file.
62139         * benchtests/bench-stpncpy.c: New file.
62140         * benchtests/bench-strcasecmp-ifunc.c: New file.
62141         * benchtests/bench-strcasecmp.c: New file.
62142         * benchtests/bench-strcasestr-ifunc.c: New file.
62143         * benchtests/bench-strcasestr.c: New file.
62144         * benchtests/bench-strcat-ifunc.c: New file.
62145         * benchtests/bench-strcat.c: New file.
62146         * benchtests/bench-strchr-ifunc.c: New file.
62147         * benchtests/bench-strchr.c: New file.
62148         * benchtests/bench-strchrnul-ifunc.c: New file.
62149         * benchtests/bench-strchrnul.c: New file.
62150         * benchtests/bench-strcmp-ifunc.c: New file.
62151         * benchtests/bench-strcmp.c: New file.
62152         * benchtests/bench-strcpy-ifunc.c: New file.
62153         * benchtests/bench-strcpy.c: New file.
62154         * benchtests/bench-strcspn-ifunc.c: New file.
62155         * benchtests/bench-strcspn.c: New file.
62156         * benchtests/bench-strlen-ifunc.c: New file.
62157         * benchtests/bench-strlen.c: New file.
62158         * benchtests/bench-strncasecmp-ifunc.c: New file.
62159         * benchtests/bench-strncasecmp.c: New file.
62160         * benchtests/bench-strncat-ifunc.c: New file.
62161         * benchtests/bench-strncat.c: New file.
62162         * benchtests/bench-strncmp-ifunc.c: New file.
62163         * benchtests/bench-strncmp.c: New file.
62164         * benchtests/bench-strncpy-ifunc.c: New file.
62165         * benchtests/bench-strncpy.c: New file.
62166         * benchtests/bench-strnlen-ifunc.c: New file.
62167         * benchtests/bench-strnlen.c: New file.
62168         * benchtests/bench-strpbrk-ifunc.c: New file.
62169         * benchtests/bench-strpbrk.c: New file.
62170         * benchtests/bench-strrchr-ifunc.c: New file.
62171         * benchtests/bench-strrchr.c: New file.
62172         * benchtests/bench-strspn-ifunc.c: New file.
62173         * benchtests/bench-strspn.c: New file.
62174         * benchtests/bench-strstr-ifunc.c: New file.
62175         * benchtests/bench-strstr.c: New file.
62177         * benchtests/Makefile: Disable parallel execution of targets.
62178         (string-bench): Add memcpy.
62179         (benchset): New variable to store a list of benchmark sets.
62180         (bench-func): Renamed from bench.
62181         (bench-set): New target.
62182         (bench): Depend on bench-func and bench-set.
62183         * benchtests/README: Add section on benchmark sets.
62184         * benchtests/bench-memcpy-ifunc.c: New file.
62185         * benchtests/bench-memcpy.c: New file.
62186         * benchtests/bench-string.h: New file.
62188 2013-06-11  Andreas Schwab  <schwab@suse.de>
62190         [BZ #15577]
62191         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
62192         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
62193         values in the triple.
62194         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
62195         terminator in the group key.
62197 2013-06-11  Andreas Jaeger  <aj@suse.de>
62199         * po/zh_TW.po: Update Chinese (traditional) translation from
62200         translation project.
62202 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
62204         * include/time.h (__clock_gettime): Add libc_hidden_proto.
62205         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
62206         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
62207         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
62208         (clock_getcpuclockid): Likewise.
62209         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
62210         Add weak_alias and libc_hidden_def.
62211         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
62212         * rt/clock_gettime.c (clock_gettime): Rename to
62213         __clock_gettime.  Add weak_alias and libc_hidden_def.
62214         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
62215         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
62216         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
62217         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
62218         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
62219         Likewise.
62220         * rt/clock_settime.c (clock_settime): Rename to
62221         __clock_settime.  Add weak_alias and libc_hidden_def.
62222         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
62224 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
62226         * mach/err_boot.sub: Remove trailing whitespace.
62227         * mach/err_ipc.sub: Likewise.
62228         * mach/err_mach.sub: Likewise.
62230         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
62231         (ROUNDING_TESTS_double): Likewise.
62232         (ROUNDING_TESTS_long_double): Likewise.
62233         (ROUNDING_TESTS): Likewise.
62234         * math/libm-test.inc: Include <math-tests.h>.
62235         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
62236         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
62237         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
62238         (IF_ROUND_INIT_FE_UPWARD): Likewise.
62240 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
62242         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
62243         of assigning.
62245 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
62247         * sysdeps/gnu/errlist.awk: Do not generate space at end of
62248         otherwise empty TRANS lines.
62249         * sysdeps/gnu/errlist.c: Regenerated.
62251         * catgets/gencat.c (error_print): Use (void) in function
62252         definition.
62253         * crypt/crypt_util.c (__init_des): Likewise.
62254         * crypt/speeds.c (Stop): Likewise.
62255         (main): Likewise.
62256         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
62257         * inet/ruserpass.c (token): Likewise.
62258         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
62259         * intl/localealias.c (extend_alias_table): Likewise.
62260         * intl/plural-exp.c (init_germanic_plural): Likewise.
62261         * libio/fcloseall.c (__fcloseall): Likewise.
62262         * libio/genops.c (_IO_flush_all): Likewise.
62263         (_IO_flush_all_linebuffered): Likewise.
62264         (_IO_cleanup): Likewise.
62265         (_IO_iter_begin): Likewise.
62266         (_IO_iter_end): Likewise.
62267         (_IO_list_lock): Likewise.
62268         (_IO_list_unlock): Likewise.
62269         (_IO_list_resetlock): Likewise.
62270         * libio/getchar.c (getchar): Likewise.
62271         * libio/getchar_u.c (getchar_unlocked): Likewise.
62272         * libio/getwchar.c (getwchar): Likewise.
62273         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
62274         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
62275         * login/getpt.c (__getpt): Likewise.
62276         * login/tst-utmp.c (main): Likewise.
62277         * malloc/hooks.c (__malloc_check_init): Likewise.
62278         * malloc/malloc.c (__malloc_stats): Likewise.
62279         * malloc/mtrace.c (tr_break): Likewise.
62280         (mtrace): Likewise.
62281         (muntrace): Likewise.
62282         * misc/fstab.c (endfsent): Likewise.
62283         * misc/getclktck.c (__getclktck): Likewise.
62284         * misc/getdtsz.c (__getdtablesize): Likewise.
62285         * misc/gethostid.c (gethostid): Likewise.
62286         * misc/getpagesize.c (__getpagesize): Likewise.
62287         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
62288         (__get_nprocs): Likewise.
62289         (__get_phys_pages): Likewise.
62290         (__get_avphys_pages): Likewise.
62291         * misc/getttyent.c (getttyent): Likewise.
62292         (setttyent): Likewise.
62293         (endttyent): Likewise.
62294         * misc/getusershell.c (getusershell): Likewise.
62295         (endusershell): Likewise.
62296         (setusershell): Likewise.
62297         (initshells): Likewise.
62298         * misc/hsearch.c (__hdestroy): Likewise.
62299         * misc/sync.c (sync): Likewise.
62300         * misc/syslog.c (closelog_internal): Likewise.
62301         (closelog): Likewise.
62302         * misc/ttyslot.c (ttyslot): Likewise.
62303         * misc/vhangup.c (vhangup): Likewise.
62304         * posix/fork.c (__fork): Likewise.
62305         * posix/getegid.c (__getegid): Likewise.
62306         * posix/geteuid.c (__geteuid): Likewise.
62307         * posix/getgid.c (__getgid): Likewise.
62308         * posix/getpid.c (__getpid): Likewise.
62309         * posix/getppid.c (__getppid): Likewise.
62310         * posix/getuid.c (__getuid): Likewise.
62311         * posix/pause.c (pause): Likewise.
62312         * posix/setpgrp.c (setpgrp): Likewise.
62313         * posix/setsid.c (__setsid): Likewise.
62314         * posix/test-vfork.c (noop): Likewise.
62315         * resolv/gethnamaddr.c (_endhtent): Likewise.
62316         (_gethtent): Likewise.
62317         (ht_endhostent): Likewise.
62318         (gethostent): Likewise.
62319         (dns_service): Likewise.
62320         * stdlib/drand48.c (drand48): Likewise.
62321         * stdlib/lrand48.c (lrand48): Likewise.
62322         * stdlib/mrand48.c (mrand48): Likewise.
62323         * stdlib/rand.c (rand): Likewise.
62324         * stdlib/random.c (__random): Likewise.
62325         * stdlib/setenv.c (clearenv): Likewise.
62326         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
62327         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
62328         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
62329         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
62330         (__get_nprocs): Likewise.
62331         (__get_phys_pages): Likewise.
62332         (__get_avphys_pages): Likewise.
62333         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
62334         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
62335         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
62336         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
62337         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
62338         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
62339         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
62340         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
62341         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
62342         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
62343         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
62344         * sysdeps/mach/hurd/sync.c (sync): Likewise.
62345         * sysdeps/posix/clock.c (clock): Likewise.
62346         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
62347         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
62348         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
62349         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
62350         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
62351         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
62352         (__get_nprocs_conf): Likewise.
62353         (__get_phys_pages): Likewise.
62354         (__get_avphys_pages): Likewise.
62355         * time/clock.c (clock): Likewise.
62356         * time/tzset.c (__tzname_max): Likewise.
62358 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
62360         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
62361         (__bswap_32): Do not use "register".
62362         * crypt/crypt.c (_ufc_doit_r): Likewise.
62363         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
62364         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
62365         * gmon/gmon.c (__monstartup): Likewise.
62366         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
62367         * hurd/hurdmalloc.c (more_memory): Likewise.
62368         (malloc): Likewise.
62369         (free): Likewise.
62370         (realloc): Likewise.
62371         (malloc_fork_prepare): Likewise.
62372         (malloc_fork_parent): Likewise.
62373         (malloc_fork_child): Likewise.
62374         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
62375         (_svcauth_des): Likewise.
62376         * inet/inet_lnaof.c (inet_lnaof): Likewise.
62377         * inet/inet_net.c (inet_network): Likewise.
62378         * inet/inet_netof.c (inet_netof): Likewise.
62379         * inet/rcmd.c (__validuser2_sa): Likewise.
62380         * io/fts.c (fts_open): Likewise.
62381         (fts_load): Likewise.
62382         (fts_close): Likewise.
62383         (fts_read): Likewise.
62384         (fts_children): Likewise.
62385         (fts_build): Likewise.
62386         (fts_stat): Likewise.
62387         (fts_sort): Likewise.
62388         (fts_alloc): Likewise.
62389         (fts_lfree): Likewise.
62390         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
62391         (_IO_file_xsgetn): Likewise.
62392         (_IO_file_xsgetn_mmap): Likewise.
62393         * libio/iofopncook.c (_IO_cookie_read): Likewise.
62394         (_IO_cookie_write): Likewise.
62395         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
62396         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
62397         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
62398         * malloc/obstack.c (_obstack_begin): Likewise.
62399         (_obstack_begin_1): Likewise.
62400         (_obstack_newchunk): Likewise.
62401         (_obstack_allocated_p): Likewise.
62402         (obstack_free): Likewise.
62403         (_obstack_memory_used): Likewise.
62404         * misc/getttyent.c (getttynam): Likewise.
62405         (getttyent): Likewise.
62406         (skip): Likewise.
62407         (value): Likewise.
62408         * misc/getusershell.c (initshells): Likewise.
62409         * misc/syslog.c (__vsyslog_chk): Likewise.
62410         * misc/ttyslot.c (ttyslot): Likewise.
62411         * nis/nis_hash.c (__nis_hash): Likewise.
62412         * posix/fnmatch_loop.c (FCT): Likewise.
62413         * posix/getconf.c (print_all): Likewise.
62414         (main): Likewise.
62415         * posix/getopt.c (exchange): Likewise.
62416         * posix/glob.c (globfree): Likewise.
62417         (prefix_array): Likewise.
62418         (__glob_pattern_type): Likewise.
62419         * resolv/arpa/nameser.h (NS_GET16): Likewise.
62420         (NS_GET32): Likewise.
62421         (NS_PUT16): Likewise.
62422         (NS_PUT32): Likewise.
62423         * resolv/gethnamaddr.c (getanswer): Likewise.
62424         (gethostbyname2): Likewise.
62425         (gethostbyaddr): Likewise.
62426         (_gethtent): Likewise.
62427         (_gethtbyname2): Likewise.
62428         (_gethtbyaddr): Likewise.
62429         * resolv/ns_print.c (dst_s_get_int16): Likewise.
62430         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
62431         * resolv/res_init.c (__res_vinit): Likewise.
62432         (net_mask): Likewise.
62433         * resolv/res_mkquery.c (outchar): Likewise.
62434         (PRINT): Likewise.
62435         * stdio-common/printf_fp.c (outchar): Likewise.
62436         (PRINT): Likewise.
62437         * stdio-common/printf_fphex.c (outchar): Likewise.
62438         (PRINT): Likewise.
62439         * stdio-common/printf_size.c (outchar): Likewise.
62440         (PRINT): Likewise.
62441         * stdio-common/test_rdwr.c (main): Likewise.
62442         * stdio-common/tfformat.c (matches): Likewise.
62443         * stdio-common/vfprintf.c (outchar): Likewise.
62444         (printf_unknown): Likewise.
62445         (buffered_vfprintf): Likewise.
62446         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
62447         * stdio-common/xbug.c (AppendToBuffer): Likewise.
62448         (ReadFile): Likewise.
62449         * stdlib/qsort.c (SWAP): Likewise.
62450         (_quicksort): Likewise.
62451         * stdlib/setenv.c (__add_to_environ): Likewise.
62452         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
62453         * stdlib/strtol_l.c (__strtol_l): Likewise.
62454         * stdlib/tst-strtod.c (main): Likewise.
62455         * stdlib/tst-strtol.c (main): Likewise.
62456         * stdlib/tst-strtoll.c (main): Likewise.
62457         * string/bits/string2.h (__strcmp_cc): Likewise.
62458         (__strcmp_cg): Likewise.
62459         (__strcspn_c1): Likewise.
62460         (__strcspn_c2): Likewise.
62461         (__strcspn_c3): Likewise.
62462         (__strspn_c1): Likewise.
62463         (__strspn_c2): Likewise.
62464         (__strspn_c3): Likewise.
62465         (__strsep_1c): Likewise.
62466         (__strsep_2c): Likewise.
62467         (__strsep_3c): Likewise.
62468         * string/memccpy.c (__memccpy): Likewise.
62469         * string/stpcpy.c (__stpcpy): Likewise.
62470         * string/strcmp.c (strcmp): Likewise.
62471         * string/strrchr.c (strrchr): Likewise.
62472         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
62473         Likewise.
62474         * sysdeps/mach/hurd/getcwd.c
62475         (_hurd_canonicalize_directory_name_internal): Likewise.
62476         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
62477         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
62478         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
62479         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
62480         Likewise, in both definitions.
62481         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
62482         definitions.
62483         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
62484         64] (__bswap_64): Likewise.
62485         * time/test_time.c (main): Likewise.
62486         * time/tzfile.c (__tzfile_read): Likewise.
62487         (__tzfile_compute): Likewise.
62488         * time/tzset.c (__tzset_parse_tz): Likewise.
62489         (tzset_internal): Likewise.
62490         (compute_change): Likewise.
62491         * wcsmbs/wcscat.c (__wcscat): Likewise.
62492         * wcsmbs/wcschr.c (wcschr): Likewise.
62493         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
62494         * wcsmbs/wcscspn.c (wcscspn): Likewise.
62495         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
62496         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
62497         * wcsmbs/wcsspn.c (wcsspn): Likewise.
62498         * wcsmbs/wcsstr.c (wcsstr): Likewise.
62499         * wcsmbs/wmemchr.c (wmemchr): Likewise.
62500         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
62501         * wcsmbs/wmemset.c (wmemset): Likewise.
62503 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
62505         * scripts/config.guess: Update to version 2013-05-16.
62506         * scripts/config.sub: Update to version 2013-04-24.
62507         * scripts/install-sh: Update to version 2011-11-20.07.
62508         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
62509         * scripts/move-if-change: Update to version 2012-01-06 07:23.
62511 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
62513         * debug/fgetws_u_chk.c: Fix leading whitespaces.
62514         * elf/sln.c: Likewise.
62515         * hurd/hurd/ioctl.h: Likewise.
62516         * hurd/hurdmalloc.c: Likewise.
62517         * hurd/xattr.c: Likewise.
62518         * include/shlib-compat.h: Likewise.
62519         * inet/ruserpass.c: Likewise.
62520         * libio/iofgets_u.c: Likewise.
62521         * libio/iofgetws_u.c: Likewise.
62522         * locale/programs/ld-identification.c: Likewise.
62523         * locale/programs/ld-time.c: Likewise.
62524         * mach/msg-destroy.c: Likewise.
62525         * nss/nss_files/files-netgrp.c: Likewise.
62526         * resolv/res_data.c: Likewise.
62527         * soft-fp/op-1.h: Likewise.
62528         * soft-fp/op-2.h: Likewise.
62529         * soft-fp/op-4.h: Likewise.
62530         * soft-fp/op-common.h: Likewise.
62531         * stdio-common/printf_fphex.c: Likewise.
62532         * stdlib/strtod_l.c: Likewise.
62533         * sunrpc/rpc/clnt.h: Likewise.
62534         * sysdeps/generic/framestate.c: Likewise.
62535         * sysdeps/i386/bsd-_setjmp.S: Likewise.
62536         * sysdeps/i386/bsd-setjmp.S: Likewise.
62537         * sysdeps/i386/__longjmp.S: Likewise.
62538         * sysdeps/i386/setjmp.S: Likewise.
62539         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
62540         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
62541         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
62542         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
62543         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
62544         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
62545         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
62546         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
62547         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
62548         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
62549         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
62550         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
62551         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
62552         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
62553         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
62554         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
62555         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
62556         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
62557         * sysdeps/ieee754/support.c: Likewise.
62558         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
62559         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
62560         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
62561         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
62562         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
62563         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
62564         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
62565         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
62566         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
62567         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
62568         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
62569         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
62570         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
62571         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
62572         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
62573         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
62574         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
62575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
62577 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
62579         * posix/transbug.c: Remove executable mode.
62581 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
62583         * crypt/speeds.c: Remove trailing whitespace.
62584         * dlfcn/default.c: Likewise.
62585         * elf/ifuncdep2.c: Likewise.
62586         * elf/ifuncmain1.c: Likewise.
62587         * elf/ifuncmain1vis.c: Likewise.
62588         * elf/testobj.h: Likewise.
62589         * elf/tst-stackguard1.c: Likewise.
62590         * gmon/sys/gmon.h: Likewise.
62591         * hurd/hurdmsg.c: Likewise.
62592         * hurd/new-fd.c: Likewise.
62593         * hurd/ports-get.c: Likewise.
62594         * iconvdata/ibm1008_420.c: Likewise.
62595         * inet/tst-getni1.c: Likewise.
62596         * inet/tst-getni2.c: Likewise.
62597         * libio/ioungetc.c: Likewise.
62598         * libio/wfiledoalloc.c: Likewise.
62599         * manual/libm-err-tab.pl: Likewise.
62600         * math/w_dremf.c: Likewise.
62601         * misc/ftruncate.c: Likewise.
62602         * posix/bug-glob2.c: Likewise.
62603         * posix/tst-pcre.c: Likewise.
62604         * posix/wait4.c: Likewise.
62605         * resolv/README: Likewise.
62606         * resolv/res_debug.h: Likewise.
62607         * resolv/tst-inet_ntop.c: Likewise.
62608         * setjmp/bug269-setjmp.c: Likewise.
62609         * soft-fp/extended.h: Likewise.
62610         * soft-fp/op-1.h: Likewise.
62611         * soft-fp/op-2.h: Likewise.
62612         * soft-fp/op-4.h: Likewise.
62613         * soft-fp/op-8.h: Likewise.
62614         * soft-fp/testit.c: Likewise.
62615         * stdio-common/bug16.c: Likewise.
62616         * stdlib/random.c: Likewise.
62617         * sunrpc/rpcsvc/rquota.x: Likewise.
62618         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
62619         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
62620         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
62621         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
62622         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
62623         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
62624         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
62625         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
62626         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
62627         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
62628         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
62629         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
62630         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
62631         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
62632         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
62633         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
62634         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
62635         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
62636         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
62637         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
62638         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
62639         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
62640         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
62641         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
62642         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
62643         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
62644         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
62645         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
62646         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
62647         * sysdeps/ieee754/s_lib_version.c: Likewise.
62648         * sysdeps/mach/hurd/check_fds.c: Likewise.
62649         * sysdeps/mach/hurd/getsockname.c: Likewise.
62650         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
62651         * sysdeps/mach/hurd/recvfrom.c: Likewise.
62652         * sysdeps/powerpc/bits/link.h: Likewise.
62653         * sysdeps/powerpc/dl-procinfo.c: Likewise.
62654         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
62655         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
62656         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
62657         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
62658         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
62659         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
62660         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
62661         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
62662         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
62663         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
62664         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
62665         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
62666         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
62667         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
62668         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
62669         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
62670         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
62671         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
62672         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
62673         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
62674         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
62675         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
62676         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
62677         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
62678         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
62679         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
62680         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
62681         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
62682         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
62683         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
62684         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
62685         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
62686         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
62687         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
62688         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
62689         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
62690         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
62691         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
62692         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
62693         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
62694         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
62695         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
62696         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
62697         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
62698         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
62699         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
62700         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
62701         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
62702         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
62703         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
62704         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
62705         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
62706         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
62707         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
62708         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
62709         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
62710         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
62711         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
62712         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
62713         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
62714         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
62715         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
62716         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
62717         * sysdeps/powerpc/sysdep.h: Likewise.
62718         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
62719         * sysdeps/s390/s390-64/sub_n.S: Likewise.
62720         * sysdeps/sh/dl-trampoline.S: Likewise.
62721         * sysdeps/sh/memset.S: Likewise.
62722         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
62723         * sysdeps/sh/strlen.S: Likewise.
62724         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
62725         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
62726         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
62727         * sysdeps/sparc/sparc32/rem.S: Likewise.
62728         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
62729         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
62730         * sysdeps/sparc/sparc32/strchr.S: Likewise.
62731         * sysdeps/sparc/sparc32/udiv.S: Likewise.
62732         * sysdeps/sparc/sparc32/urem.S: Likewise.
62733         * sysdeps/sparc/sparc64/add_n.S: Likewise.
62734         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
62735         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
62736         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
62737         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
62738         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
62739         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
62740         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
62741         * sysdeps/unix/bsd/times.c: Likewise.
62742         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
62743         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
62744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
62745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
62746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
62747         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
62748         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
62749         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
62750         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
62751         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
62752         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
62753         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
62754         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
62755         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
62756         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
62757         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
62758         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
62759         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
62760         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
62761         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
62762         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
62763         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
62764         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
62765         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
62766         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
62767         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
62768         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
62769         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
62770         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
62771         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
62772         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
62773         * sysdeps/x86_64/strcspn.S: Likewise.
62775 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
62777         * locale/C-translit.h: Revert #include <stdint.h> because this is a
62778         generated file.  Regenerate properly from gen-translit.pl.
62779         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
62780         locale/C-translit.h.
62782 2013-06-05  Andreas Schwab  <schwab@suse.de>
62784         [BZ #15100]
62785         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
62786         week as 6 instead of -1.
62787         * time/tst-strptime.c (day_tests): Add test case.
62789 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
62791         * sysdeps/generic/math_private.h
62792         (libc_feholdexcept_setround_53bit): Replace with
62793         libc_feholdsetround_53bit.
62794         (libc_feupdateenv_53bit): Replace with
62795         libc_feresetround_53bit.
62796         (SET_RESTORE_ROUND_53BIT): Adjust.
62798 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
62800         * string/test-strchrnul.c: Add copyright header.
62802         * posix/tst-getaddrinfo4.c: Increase test timeout.
62804 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
62806         [BZ #15536]
62807         * math/libm-test.inc (MAX_EXP): Remove
62808         (MIN_EXP): Define.
62809         (ulp): Use MIN_EXP - MANT_DIG.
62810         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
62812 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
62814         * po/be.po: Revert last change.
62815         * po/zh_CN.po: Likewise.
62816         * po/header.pot: Likewise.
62818 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
62820         * Makefile ($(common-objpfx)linkobj/libc.so): Define
62821         link-libc-deps to empty as target-specific variable.
62822         * Makerules (link-libc-args): New variable.
62823         (libc-for-link): Likewise.
62824         (link-libc-deps): Likewise.
62825         (lib%.so): Depend on $(link-libc-deps).  Link with
62826         $(link-libc-args).
62827         (build-module): Link with $(link-libc-args).
62828         (build-module-asneeded): Likewise.
62829         (build-module-helper-objlist): Filter out $(link-libc-deps) from
62830         list of objects.
62831         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
62832         target-specific variable.
62833         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
62834         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
62835         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
62836         libc.
62837         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
62838         libc and ld.so.
62839         ($(objpfx)libpcprofile.so): Likewise.
62840         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
62841         libc_nonshared.a.
62842         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
62843         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
62844         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
62845         $(link-libc-deps).
62846         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
62847         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
62848         * login/Makefile ($(objpfx)libutil.so): Likewise.
62849         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
62850         * math/Makefile ($(objpfx)libm.so): Likewise.
62851         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
62852         $(objpfx)libnsl.so): Define libc-for-link as target-specific
62853         variable instead of depending directly on libc.
62854         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
62855         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
62856         $(link-libc-deps).
62857         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
62858         libc.
62859         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
62860         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
62861         ($(objpfx)libanl.so): Likewise.
62862         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
62863         ld.so.
62864         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
62865         $(link-libc-deps).
62866         * sysdeps/i386/fpu/Makefile: Remove file.
62867         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
62868         ($(objpfx)libm.so): Remove dependency on ld.so.
62870 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
62872         [BZ # 15553]
62873         * nis/yp_xdr.c (XDRMAXNAME): Define.
62874         (XDRMAXRECORD): Define.
62875         (xdr_domainname): Use XDRMAXNAME.
62876         (xdr_mapname): Likewise.
62877         (xdr_peername): Likewise.
62878         (xdr_keydat): Use XDRMAXRECORD.
62879         (xdr_valdat): Likewise.
62881 2013-05-30  Jeff Law  <law@redhat.com>
62883         [BZ #14256]
62884         * manual/errno.texi (ESTALE): Update to account for more than
62885         just NFS file systems.
62886         * sysdeps/gnu/errlist.c: Regenerated.
62888 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
62890         [BZ #15465]
62891         * elf/Makefile (tests): Add tst-null-argv.
62892         (modules-names):  Add tst-null-argv-lib.
62893         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
62894         (tst-null-argv-ENV): Set environment for tst-null-argv.
62895         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
62896         (RTLD_PROGNAME): New macro.
62897         * elf/tst-null-argv.c: New test case.
62898         * elf/tst-null-argv-lib.c: Library for test case.
62899         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
62900         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
62901         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
62902         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
62903         * elf/dl-init.c (call_init): Likewise.
62904         (_dl_init): Likewise.
62905         * elf/dl-load.c (print_search_path): Likewise.
62906         (_dl_map_object): Likewise.
62907         * elf/dl-lookup.c (do_lookup_x): Likewise.
62908         (add_dependency): Likewise.
62909         (_dl_lookup_symbol_x): Likewise.
62910         (_dl_debug_bindings): Likewise.
62911         * elf/dl-open.c (_dl_show_scope): Likewise.
62912         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
62913         * elf/dl-version.c (match_symbol): Likewise.
62914         (_dl_check_map_versions): Likewise.
62915         * elf/rtld.c (dl_main): Likewise.
62916         (print_unresolved): Use RTLD_PROGNAME.
62917         (print_missing_version): Likewise.
62918         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
62919         (elf_machine_rela): Likewise.
62920         * sysdeps/powerpc/powerpc32/dl-machine.c
62921         (__process_machine_rela): Likewise.
62922         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
62923         Likewise.
62924         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
62925         Likewise.
62926         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
62927         Likewise.
62928         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
62929         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
62930         Likewise.
62931         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
62932         Likewise.
62933         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
62935 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
62937         * po/be.po: Add descriptive title.
62938         * po/zh_CN.po: Likewise.
62939         * po/header.pot: Likewise.
62941 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
62943         * locale/programs/locarchive.c (create_archive): Inlucde fname in
62944         error message.
62945         (enlarge_archive): Likewise.
62947 2013-05-28  Ben North  <ben@redfrontdoor.org>
62949         * manual/arith.texi (frexp): It is the magnitude of the return
62950         value which lies in [0.5, 1), not the return value itself.
62952 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62954         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62956 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
62958         * stdio-common/bug26.c (main): Correct fscanf template.
62960         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
62961         declare _dl_skip_args.
62963         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
62964         Don't declare.
62966         * manual/platform.texi: Add missing @end deftypefun.
62968 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
62970         [BZ #15529]
62971         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
62972         bit of mantissa of 2^16382.
62973         * math/libm-test.inc (hypot_test_data): Add more tests.
62975         * math/libm-test.inc: Add drem and pow10 to list of tested
62976         functions.
62977         (pow10_test): New function.
62978         (drem_test): Likewise.
62979         (drem_test_tonearest): Likewise.
62980         (drem_test_towardzero): Likewise.
62981         (drem_test_downward): Likewise.
62982         (drem_test_upward): Likewise.
62983         (main): Call the new functions.
62985         * math/libm-test.inc (finite_test_data): Remove.
62986         (finite_test): Run tests from isfinite_test_data.
62987         (gamma_test_data): Remove.
62988         (gamma_test): Run tests from lgamma_test_data.
62989         * sysdeps/i386/fpu/libm-test-ulps: Update.
62990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62992 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62994         * manual/platform.texi: Add PowerPC PPR function set documentation.
62995         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
62996         implementation.
62998 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
63000         * math/libm-test.inc (MAX_EXP): Define.
63001         (ULPDIFF): Define.
63002         (ulp): New function.
63003         (check_float_internal): Use ULPDIFF.
63004         (cpow_test): Disable failing test.
63005         (check_ulp): Test ulp() implementation.
63006         (main): Call check_ulp before starting tests.
63008 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
63010         * math/gen-libm-test.pl (generate_testfile): Do not handle
63011         START_DATA and END_DATA.
63012         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
63013         END_DATA.
63014         (acos_tonearest_test_data): Likewise.
63015         (acos_towardzero_test_data): Likewise.
63016         (acos_downward_test_data): Likewise.
63017         (acos_upward_test_data): Likewise.
63018         (acosh_test_data): Likewise.
63019         (asin_test_data): Likewise.
63020         (asin_tonearest_test_data): Likewise.
63021         (asin_towardzero_test_data): Likewise.
63022         (asin_downward_test_data): Likewise.
63023         (asin_upward_test_data): Likewise.
63024         (asinh_test_data): Likewise.
63025         (atan_test_data): Likewise.
63026         (atanh_test_data): Likewise.
63027         (atan2_test_data): Likewise.
63028         (cabs_test_data): Likewise.
63029         (cacos_test_data): Likewise.
63030         (cacosh_test_data): Likewise.
63031         (carg_test_data): Likewise.
63032         (casin_test_data): Likewise.
63033         (casinh_test_data): Likewise.
63034         (catan_test_data): Likewise.
63035         (catanh_test_data): Likewise.
63036         (cbrt_test_data): Likewise.
63037         (ccos_test_data): Likewise.
63038         (ccosh_test_data): Likewise.
63039         (ceil_test_data): Likewise.
63040         (cexp_test_data): Likewise.
63041         (cimag_test_data): Likewise.
63042         (clog_test_data): Likewise.
63043         (clog10_test_data): Likewise.
63044         (conj_test_data): Likewise.
63045         (copysign_test_data): Likewise.
63046         (cos_test_data): Likewise.
63047         (cos_tonearest_test_data): Likewise.
63048         (cos_towardzero_test_data): Likewise.
63049         (cos_downward_test_data): Likewise.
63050         (cos_upward_test_data): Likewise.
63051         (cosh_test_data): Likewise.
63052         (cosh_tonearest_test_data): Likewise.
63053         (cosh_towardzero_test_data): Likewise.
63054         (cosh_downward_test_data): Likewise.
63055         (cosh_upward_test_data): Likewise.
63056         (cpow_test_data): Likewise.
63057         (cproj_test_data): Likewise.
63058         (creal_test_data): Likewise.
63059         (csin_test_data): Likewise.
63060         (csinh_test_data): Likewise.
63061         (csqrt_test_data): Likewise.
63062         (ctan_test_data): Likewise.
63063         (ctan_tonearest_test_data): Likewise.
63064         (ctan_towardzero_test_data): Likewise.
63065         (ctan_downward_test_data): Likewise.
63066         (ctan_upward_test_data): Likewise.
63067         (ctanh_test_data): Likewise.
63068         (ctanh_tonearest_test_data): Likewise.
63069         (ctanh_towardzero_test_data): Likewise.
63070         (ctanh_downward_test_data): Likewise.
63071         (ctanh_upward_test_data): Likewise.
63072         (erf_test_data): Likewise.
63073         (erfc_test_data): Likewise.
63074         (exp_test_data): Likewise.
63075         (exp_tonearest_test_data): Likewise.
63076         (exp_towardzero_test_data): Likewise.
63077         (exp_downward_test_data): Likewise.
63078         (exp_upward_test_data): Likewise.
63079         (exp10_test_data): Likewise.
63080         (exp2_test_data): Likewise.
63081         (expm1_test_data): Likewise.
63082         (fabs_test_data): Likewise.
63083         (fdim_test_data): Likewise.
63084         (finite_test_data): Likewise.
63085         (floor_test_data): Likewise.
63086         (fma_test_data): Likewise.
63087         (fma_towardzero_test_data): Likewise.
63088         (fma_downward_test_data): Likewise.
63089         (fma_upward_test_data): Likewise.
63090         (fmax_test_data): Likewise.
63091         (fmin_test_data): Likewise.
63092         (fmod_test_data): Likewise.
63093         (fpclassify_test_data): Likewise.
63094         (frexp_test_data): Likewise.
63095         (gamma_test_data): Likewise.
63096         (hypot_test_data): Likewise.
63097         (ilogb_test_data): Likewise.
63098         (isfinite_test_data): Likewise.
63099         (isgreater_test_data): Likewise.
63100         (isgreaterequal_test_data): Likewise.
63101         (isinf_test_data): Likewise.
63102         (isless_test_data): Likewise.
63103         (islessequal_test_data): Likewise.
63104         (islessgreater_test_data): Likewise.
63105         (isnan_test_data): Likewise.
63106         (isnormal_test_data): Likewise.
63107         (issignaling_test_data): Likewise.
63108         (isunordered_test_data): Likewise.
63109         (j0_test_data): Likewise.
63110         (j1_test_data): Likewise.
63111         (jn_test_data): Likewise.
63112         (ldexp_test_data): Likewise.
63113         (lgamma_test_data): Likewise.
63114         (lrint_test_data): Likewise.
63115         (lrint_tonearest_test_data): Likewise.
63116         (lrint_towardzero_test_data): Likewise.
63117         (lrint_downward_test_data): Likewise.
63118         (lrint_upward_test_data): Likewise.
63119         (llrint_test_data): Likewise.
63120         (llrint_tonearest_test_data): Likewise.
63121         (llrint_towardzero_test_data): Likewise.
63122         (llrint_downward_test_data): Likewise.
63123         (llrint_upward_test_data): Likewise.
63124         (log_test_data): Likewise.
63125         (log10_test_data): Likewise.
63126         (log1p_test_data): Likewise.
63127         (log2_test_data): Likewise.
63128         (logb_test_data): Likewise.
63129         (logb_downward_test_data): Likewise.
63130         (lround_test_data): Likewise.
63131         (llround_test_data): Likewise.
63132         (modf_test_data): Likewise.
63133         (nearbyint_test_data): Likewise.
63134         (nextafter_test_data): Likewise.
63135         (nexttoward_test_data): Likewise.
63136         (pow_test_data): Likewise.
63137         (pow_tonearest_test_data): Likewise.
63138         (pow_towardzero_test_data): Likewise.
63139         (pow_downward_test_data): Likewise.
63140         (pow_upward_test_data): Likewise.
63141         (remainder_test_data): Likewise.
63142         (remainder_tonearest_test_data): Likewise.
63143         (remainder_towardzero_test_data): Likewise.
63144         (remainder_downward_test_data): Likewise.
63145         (remainder_upward_test_data): Likewise.
63146         (remquo_test_data): Likewise.
63147         (rint_test_data): Likewise.
63148         (rint_tonearest_test_data): Likewise.
63149         (rint_towardzero_test_data): Likewise.
63150         (rint_downward_test_data): Likewise.
63151         (rint_upward_test_data): Likewise.
63152         (round_test_data): Likewise.
63153         (scalb_test_data): Likewise.
63154         (scalbn_test_data): Likewise.
63155         (scalbln_test_data): Likewise.
63156         (signbit_test_data): Likewise.
63157         (sin_test_data): Likewise.
63158         (sin_tonearest_test_data): Likewise.
63159         (sin_towardzero_test_data): Likewise.
63160         (sin_downward_test_data): Likewise.
63161         (sin_upward_test_data): Likewise.
63162         (sincos_test_data): Likewise.
63163         (sinh_test_data): Likewise.
63164         (sinh_tonearest_test_data): Likewise.
63165         (sinh_towardzero_test_data): Likewise.
63166         (sinh_downward_test_data): Likewise.
63167         (sinh_upward_test_data): Likewise.
63168         (sqrt_test_data): Likewise.
63169         (tan_test_data): Likewise.
63170         (tan_tonearest_test_data): Likewise.
63171         (tan_towardzero_test_data): Likewise.
63172         (tan_downward_test_data): Likewise.
63173         (tan_upward_test_data): Likewise.
63174         (tanh_test_data): Likewise.
63175         (tgamma_test_data): Likewise.
63176         (trunc_test_data): Likewise.
63177         (y0_test_data): Likewise.
63178         (y1_test_data): Likewise.
63179         (yn_test_data): Likewise.
63180         (significand_test_data): Likewise.
63182         * math/gen-libm-test.pl (@functions): Remove variable.
63183         (generate_testfile): Don't handle START and END lines.
63184         * math/libm-test.inc (START): New macro.
63185         (END): Likewise.
63186         (END_COMPLEX): Likewise.
63187         (acos_test): Use END macro without arguments.
63188         (acos_test_tonearest): Likewise.
63189         (acos_test_towardzero): Likewise.
63190         (acos_test_downward): Likewise.
63191         (acos_test_upward): Likewise.
63192         (acosh_test): Likewise.
63193         (asin_test): Likewise.
63194         (asin_test_tonearest): Likewise.
63195         (asin_test_towardzero): Likewise.
63196         (asin_test_downward): Likewise.
63197         (asin_test_upward): Likewise.
63198         (asinh_test): Likewise.
63199         (atan_test): Likewise.
63200         (atanh_test): Likewise.
63201         (atan2_test): Likewise.
63202         (cabs_test): Likewise.
63203         (cacos_test): Use END_COMPLEX macro without arguments.
63204         (cacosh_test): Likewise.
63205         (carg_test): Use END macro without arguments.
63206         (casin_test): Use END_COMPLEX macro without arguments.
63207         (casinh_test): Likewise.
63208         (catan_test): Likewise.
63209         (catanh_test): Likewise.
63210         (cbrt_test): Use END macro without arguments.
63211         (ccos_test): Use END_COMPLEX macro without arguments.
63212         (ccosh_test): Likewise.
63213         (ceil_test): Use END macro without arguments.
63214         (cexp_test): Use END_COMPLEX macro without arguments.
63215         (cimag_test): Use END macro without arguments.
63216         (clog_test): Use END_COMPLEX macro without arguments.
63217         (clog10_test): Likewise.
63218         (conj_test): Likewise.
63219         (copysign_test): Use END macro without arguments.
63220         (cos_test): Likewise.
63221         (cos_test_tonearest): Likewise.
63222         (cos_test_towardzero): Likewise.
63223         (cos_test_downward): Likewise.
63224         (cos_test_upward): Likewise.
63225         (cosh_test): Likewise.
63226         (cosh_test_tonearest): Likewise.
63227         (cosh_test_towardzero): Likewise.
63228         (cosh_test_downward): Likewise.
63229         (cosh_test_upward): Likewise.
63230         (cpow_test): Use END_COMPLEX macro without arguments.
63231         (cproj_test): Likewise.
63232         (creal_test): Use END macro without arguments.
63233         (csin_test): Use END_COMPLEX macro without arguments.
63234         (csinh_test): Likewise.
63235         (csqrt_test): Likewise.
63236         (ctan_test): Likewise.
63237         (ctan_test_tonearest): Likewise.
63238         (ctan_test_towardzero): Likewise.
63239         (ctan_test_downward): Likewise.
63240         (ctan_test_upward): Likewise.
63241         (ctanh_test): Likewise.
63242         (ctanh_test_tonearest): Likewise.
63243         (ctanh_test_towardzero): Likewise.
63244         (ctanh_test_downward): Likewise.
63245         (ctanh_test_upward): Likewise.
63246         (erf_test): Use END macro without arguments.
63247         (erfc_test): Likewise.
63248         (exp_test): Likewise.
63249         (exp_test_tonearest): Likewise.
63250         (exp_test_towardzero): Likewise.
63251         (exp_test_downward): Likewise.
63252         (exp_test_upward): Likewise.
63253         (exp10_test): Likewise.
63254         (exp2_test): Likewise.
63255         (expm1_test): Likewise.
63256         (fabs_test): Likewise.
63257         (fdim_test): Likewise.
63258         (finite_test): Likewise.
63259         (floor_test): Likewise.
63260         (fma_test): Likewise.
63261         (fma_test_towardzero): Likewise.
63262         (fma_test_downward): Likewise.
63263         (fma_test_upward): Likewise.
63264         (fmax_test): Likewise.
63265         (fmin_test): Likewise.
63266         (fmod_test): Likewise.
63267         (fpclassify_test): Likewise.
63268         (frexp_test): Likewise.
63269         (gamma_test): Likewise.
63270         (hypot_test): Likewise.
63271         (ilogb_test): Likewise.
63272         (isfinite_test): Likewise.
63273         (isgreater_test): Likewise.
63274         (isgreaterequal_test): Likewise.
63275         (isinf_test): Likewise.
63276         (isless_test): Likewise.
63277         (islessequal_test): Likewise.
63278         (islessgreater_test): Likewise.
63279         (isnan_test): Likewise.
63280         (isnormal_test): Likewise.
63281         (issignaling_test): Likewise.
63282         (isunordered_test): Likewise.
63283         (j0_test): Likewise.
63284         (j1_test): Likewise.
63285         (jn_test): Likewise.
63286         (ldexp_test): Likewise.
63287         (lgamma_test): Likewise.
63288         (lrint_test): Likewise.
63289         (lrint_test_tonearest): Likewise.
63290         (lrint_test_towardzero): Likewise.
63291         (lrint_test_downward): Likewise.
63292         (lrint_test_upward): Likewise.
63293         (llrint_test): Likewise.
63294         (llrint_test_tonearest): Likewise.
63295         (llrint_test_towardzero): Likewise.
63296         (llrint_test_downward): Likewise.
63297         (llrint_test_upward): Likewise.
63298         (log_test): Likewise.
63299         (log10_test): Likewise.
63300         (log1p_test): Likewise.
63301         (log2_test): Likewise.
63302         (logb_test): Likewise.
63303         (logb_test_downward): Likewise.
63304         (lround_test): Likewise.
63305         (llround_test): Likewise.
63306         (modf_test): Likewise.
63307         (nearbyint_test): Likewise.
63308         (nextafter_test): Likewise.
63309         (nexttoward_test): Likewise.
63310         (pow_test): Likewise.
63311         (pow_test_tonearest): Likewise.
63312         (pow_test_towardzero): Likewise.
63313         (pow_test_downward): Likewise.
63314         (pow_test_upward): Likewise.
63315         (remainder_test): Likewise.
63316         (remainder_test_tonearest): Likewise.
63317         (remainder_test_towardzero): Likewise.
63318         (remainder_test_downward): Likewise.
63319         (remainder_test_upward): Likewise.
63320         (remquo_test): Likewise.
63321         (rint_test): Likewise.
63322         (rint_test_tonearest): Likewise.
63323         (rint_test_towardzero): Likewise.
63324         (rint_test_downward): Likewise.
63325         (rint_test_upward): Likewise.
63326         (round_test): Likewise.
63327         (scalb_test): Likewise.
63328         (scalbn_test): Likewise.
63329         (scalbln_test): Likewise.
63330         (signbit_test): Likewise.
63331         (sin_test): Likewise.
63332         (sin_test_tonearest): Likewise.
63333         (sin_test_towardzero): Likewise.
63334         (sin_test_downward): Likewise.
63335         (sin_test_upward): Likewise.
63336         (sincos_test): Likewise.
63337         (sinh_test): Likewise.
63338         (sinh_test_tonearest): Likewise.
63339         (sinh_test_towardzero): Likewise.
63340         (sinh_test_downward): Likewise.
63341         (sinh_test_upward): Likewise.
63342         (sqrt_test): Likewise.
63343         (tan_test): Likewise.
63344         (tan_test_tonearest): Likewise.
63345         (tan_test_towardzero): Likewise.
63346         (tan_test_downward): Likewise.
63347         (tan_test_upward): Likewise.
63348         (tanh_test): Likewise.
63349         (tgamma_test): Likewise.
63350         (trunc_test): Likewise.
63351         (y0_test): Likewise.
63352         (y1_test): Likewise.
63353         (yn_test): Likewise.
63354         (significand_test): Likewise.
63356 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
63358         [BZ #15381]
63359         * libio/genops.c (_IO_no_init): Initialize wide struct info.
63361 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
63363         [BZ #14894]
63364         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
63365         __ppc_mdoio and __ppc_mdoom.
63366         * manual/platform.texi: Document new functions __ppc_yield,
63367         __ppc_mdoio and __ppc_mdoom.
63369 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
63371         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
63372         (main): Mention "tls" pseudo-hwcap is legacy.
63373         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
63375 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
63377         * math/gen-libm-test.pl (parse_args): Output only string of
63378         arguments as text for test name, not full call or descriptions of
63379         tests for extra outputs.
63380         (generate_testfile): Do not pass function name to parse_args.
63381         Generate this_func variable from START.
63382         * math/libm-test.inc (struct test_f_f_data): Rename test_name
63383         field to arg_str.
63384         (struct test_ff_f_data): Likewise.
63385         (test_ff_f_data_nexttoward): Likewise.
63386         (struct test_fi_f_data): Likewise.
63387         (struct test_fl_f_data): Likewise.
63388         (struct test_if_f_data): Likewise.
63389         (struct test_fff_f_data): Likewise.
63390         (struct test_c_f_data): Likewise.
63391         (struct test_f_f1_data): Likewise.  Remove field extra_name.
63392         (struct test_fF_f1_data): Likewise.
63393         (struct test_ffI_f1_data): Likewise.
63394         (struct test_c_c_data): Rename test_name field to arg_str.
63395         (struct test_cc_c_data): Likewise.
63396         (struct test_f_i_data): Likewise.
63397         (struct test_ff_i_data): Likewise.
63398         (struct test_f_l_data): Likewise.
63399         (struct test_f_L_data): Likewise.
63400         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
63401         and extra2_name.
63402         (COMMON_TEST_SETUP): New macro.
63403         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
63404         (COMMON_TEST_CLEANUP): Likewise.
63405         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
63406         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
63407         macros.
63408         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
63409         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
63410         macros.
63411         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
63412         (RUN_TEST_fff_f): Take argument string.  Call new setup and
63413         cleanup macros.
63414         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
63415         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
63416         macros.
63417         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
63418         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
63419         macros.
63420         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
63421         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
63422         cleanup macros.
63423         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
63424         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
63425         cleanup macros.
63426         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
63427         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
63428         cleanup macros.
63429         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
63430         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
63431         macros.
63432         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
63433         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
63434         macros.
63435         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
63436         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
63437         macros.
63438         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
63439         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
63440         cleanup macros.
63441         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
63442         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
63443         cleanup macros.
63444         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
63445         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
63446         macros.
63447         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
63448         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
63449         cleanup macros.
63450         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
63451         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
63452         macros.
63453         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
63454         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
63455         macros.
63456         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
63457         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
63458         cleanup macros.
63459         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
63461 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
63463         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
63464         to _sifields.sigfault.
63465         (si_addr_lsb): Define new macro.
63466         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
63467         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
63468         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
63470 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
63472         [BZ #15441]
63473         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
63474         returns -1.
63475         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
63476         null return -1.
63477         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
63478         loading the domain.
63480 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
63482         * math/gen-libm-test.pl (parse_args): Do not include expected
63483         result in test name.
63484         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
63485         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
63486         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
63487         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
63488         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
63489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63491 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
63493         * benchtests/Makefile: Sort function entries.
63495         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
63496         tanh, asinh, acosh, atanh.
63497         * benchtests/acos-inputs: New file.
63498         * benchtests/acosh-inputs: New file.
63499         * benchtests/asin-inputs: New file.
63500         * benchtests/asinh-inputs: New file.
63501         * benchtests/atanh-inputs: New file.
63502         * benchtests/cosh-inputs: New file.
63503         * benchtests/log-inputs: New file.
63504         * benchtests/sinh-inputs: New file.
63505         * benchtests/tanh-inputs: New file.
63507 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
63509         [BZ #15339]
63510         * posix/tst-getaddrinfo4.c: New test.
63511         * posix/Makefile (tests): Add it.
63513 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
63515         [BZ #15339]
63516         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
63517         when no services were used.
63518         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
63519         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
63521 2013-05-21  Andreas Schwab  <schwab@suse.de>
63523         [BZ #15014]
63524         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
63525         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
63526         successful.
63527         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
63528         redundant variable declarations and reallocation of buffer when
63529         parsing as IPv6 address.  Always set NSS status when called from
63530         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
63531         buffer too small.  Correct computation of needed size.
63532         * nss/Makefile (tests): Add test-digits-dots.
63533         * nss/test-digits-dots.c: New test.
63535 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
63537         * benchtests/Makefile: Remove instructions for adding
63538         benchmark tests.
63539         * benchtests/README: New file to explain how to execute and
63540         enhance the benchmark tests.
63542 2013-05-21  Andreas Schwab  <schwab@suse.de>
63544         [BZ #15493]
63545         * setjmp/Makefile (tests): Add tst-sigsetjmp.
63546         * setjmp/tst-sigsetjmp.c: New test.
63548 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
63550         * sysdeps/x86_64/memset.S (memset): New implementation.
63551         (__bzero): Likewise.
63552         (__memset_tail): New function.
63554 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
63556         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
63557         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
63558         __memcpy_sse2_unaligned ifunc selection.
63559         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
63560         Add memcpy-sse2-unaligned.S.
63561         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
63562         Add: __memcpy_sse2_unaligned.
63564 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
63566         [BZ #15490]
63567         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
63568         math_force_eval before restoring floating-point envrionment.
63569         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
63570         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
63571         Likewise.
63572         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
63573         <math_private.h>.
63574         (__nearbyintl): Use math_force_eval before restoring
63575         floating-point environment.
63576         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
63578         * math/gen-libm-test.pl (special_functions): Remove.
63579         (parse_args): Don't handle TEST_extra.  Handle functions with no
63580         return value.
63581         * math/libm-test.inc (struct test_sincos_data): Replace with
63582         struct test_fFF_11_data.
63583         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
63584         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
63585         (sincos_test_data): Change element type to struct
63586         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
63587         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
63588         RUN_TEST_LOOP_sincos.
63589         * math/README.libm-test: Don't mention special handling of
63590         individual functions.
63591         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
63592         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
63593         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
63594         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
63595         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
63596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63598         * math/gen-libm-test.pl (get_variable): Remove function.
63599         (parse_args): Don't show pointer parameters to call in test
63600         names.  Use "extra output N" in test names for extra outputs
63601         rather than naming variables.
63603 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
63605         [BZ #15488]
63606         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
63607         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
63608         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
63609         double tests.
63610         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
63611         disable.
63612         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
63613         check_long_double.
63615         * math/gen-libm-test.pl (@tests): Remove variable.
63616         ($count): Likewise.
63617         (new_test): Remove function.
63618         (show_exceptions): New function.
63619         (special_functions): Use show_exceptions instead of new_test.
63620         (parse_args): Likewise.
63621         (generate_testfile): Pass only function name in generated call to
63622         print_max_error or print_complex_max_error.
63623         (get_ulps): Do not handle complex tests specially.
63624         (output_test): Rename to ...
63625         (get_all_ulps_for_test): ... this.  Return a string rather than
63626         printing to a file.  Require ulps to be present.
63627         (output_ulps): Generate arrays rather than #defines.
63628         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
63629         (struct ulp_data): New type.
63630         (BUILD_COMPLEX_ULP): Remove macro.
63631         (compare_ulp_data): New function.
63632         (find_ulps): Likewise.
63633         (find_test_ulps): Likewise.
63634         (find_function_ulps): Likewise.
63635         (find_complex_function_ulps): Likewise.
63636         (print_max_error): Determine allowed ulps using
63637         find_function_ulps.
63638         (print_complex_max_error): Determine allowed ulps using
63639         find_complex_function_ulps.
63640         (check_float_internal): Determine max ulps using find_test_ulps.
63641         (check_float): Do not take max_ulp parameter.  Update call to
63642         check_float_internal.
63643         (check_complex): Likewise.
63644         (check_int): Do not take max_ulp parameter.
63645         (check_long): Likewise.
63646         (check_bool): Likewise.
63647         (check_longlong): Likewise.
63648         (struct test_f_f_data): Remove max_ulp field.
63649         (struct test_ff_f_data): Likewise.
63650         (struct test_ff_f_data_nexttoward): Likewise.
63651         (struct test_fi_f_data): Likewise.
63652         (struct test_fl_f_data): Likewise.
63653         (struct test_if_f_data): Likewise.
63654         (struct test_fff_f_data): Likewise.
63655         (struct test_c_f_data): Likewise.
63656         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
63657         (struct test_fF_f1_data): Likewise.
63658         (struct test_ffI_f1_data): Likewise.
63659         (struct test_c_c_data): Remove max_ulp field.
63660         (struct test_cc_c_data): Likewise.
63661         (struct test_f_i_data): Likewise.
63662         (struct test_ff_i_data): Likewise.
63663         (struct test_f_l_data): Likewise.
63664         (struct test_f_L_data): Likewise.
63665         (struct test_sincos_data): Likewise.
63666         (RUN_TEST_f_f): Do not handle ulps.
63667         (RUN_TEST_LOOP_f_f): Likewise.
63668         (RUN_TEST_2_f): Likewise.
63669         (RUN_TEST_LOOP_2_f): Likewise.
63670         (RUN_TEST_fff_f): Likewise.
63671         (RUN_TEST_LOOP_fff_f): Likewise.
63672         (RUN_TEST_c_f): Likewise.
63673         (RUN_TEST_LOOP_c_f): Likewise.
63674         (RUN_TEST_f_f1): Likewise.
63675         (RUN_TEST_LOOP_f_f1): Likewise.
63676         (RUN_TEST_fF_f1): Likewise.
63677         (RUN_TEST_LOOP_fF_f1): Likewise.
63678         (RUN_TEST_fI_f1): Likewise.
63679         (RUN_TEST_LOOP_fI_f1): Likewise.
63680         (RUN_TEST_ffI_f1): Likewise.
63681         (RUN_TEST_LOOP_ffI_f1): Likewise.
63682         (RUN_TEST_c_c): Likewise.
63683         (RUN_TEST_LOOP_c_c): Likewise.
63684         (RUN_TEST_cc_c): Likewise.
63685         (RUN_TEST_LOOP_cc_c): Likewise.
63686         (RUN_TEST_f_i): Likewise.
63687         (RUN_TEST_LOOP_f_i): Likewise.
63688         (RUN_TEST_f_i_tg): Likewise.
63689         (RUN_TEST_LOOP_f_i_tg): Likewise.
63690         (RUN_TEST_ff_i_tg): Likewise.
63691         (RUN_TEST_LOOP_ff_i_tg): Likewise.
63692         (RUN_TEST_f_b): Likewise.
63693         (RUN_TEST_LOOP_f_b): Likewise.
63694         (RUN_TEST_f_b_tg): Likewise.
63695         (RUN_TEST_LOOP_f_b_tg): Likewise.
63696         (RUN_TEST_f_l): Likewise.
63697         (RUN_TEST_LOOP_f_l): Likewise.
63698         (RUN_TEST_f_L): Likewise.
63699         (RUN_TEST_LOOP_f_L): Likewise.
63700         (RUN_TEST_sincos): Likewise.
63701         (RUN_TEST_LOOP_sincos): Likewise.
63703 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
63705         [BZ #15480]
63706         [BZ #15485]
63707         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
63708         main case of finite arguments, set rounding mode to FE_TONEAREST
63709         and discard exceptions.
63710         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
63711         exceptions.
63712         (remainder_tonearest_test_data): New variable.
63713         (remainder_test_tonearest): New function.
63714         (remainder_towardzero_test_data): New variable.
63715         (remainder_test_towardzero): New function.
63716         (remainder_downward_test_data): New variable.
63717         (remainder_test_downward): New function.
63718         (remainder_upward_test_data): New variable.
63719         (remainder_test_upward): New function.
63720         (main): Call the new test functions.
63722         * math/libm-test.inc (struct test_f_f1_data): Remove field
63723         extra_init.
63724         (struct test_fF_f1_data): Likewise.
63725         (struct test_ffI_f1_data): Likewise.
63726         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
63727         based on value of EXTRA_EXPECTED.
63728         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
63729         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
63730         EXTRA_VAR based on value of EXTRA_EXPECTED.
63731         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
63732         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
63733         EXTRA_VAR based on value of EXTRA_EXPECTED.
63734         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
63735         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
63736         EXTRA_VAR based on value of EXTRA_EXPECTED.
63737         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
63738         * math/gen-libm-test.pl (parse_args): Don't output initializers
63739         for extra output values.
63741         * math/libm-test.inc (check_int): Expect result to be exactly
63742         equal to expected value and do not handle ulps.
63743         (check_long): Likewise.
63744         (check_longlong): Likewise.
63746         * math/libm-test.inc (ceil_test_data): Test for "inexact"
63747         exceptions.
63748         (cimag_test_data): Likewise.
63749         (conj_test_data): Likewise.
63750         (copysign_test_data): Likewise.
63751         (cproj_test_data): Likewise.
63752         (creal_test_data): Likewise.
63753         (fabs_test_data): Likewise.
63754         (fdim_test_data): Likewise.
63755         (finite_test_data): Likewise.
63756         (floor_test_data): Likewise.
63757         (fmax_test_data): Likewise.
63758         (fmin_test_data): Likewise.
63759         (fmod_test_data): Likewise.
63760         (fpclassify_test_data): Likewise.
63761         (frexp_test_data): Likewise.
63762         (ilogb_test_data): Likewise.
63763         (isfinite_test_data): Likewise.
63764         (isgreater_test_data): Likewise.
63765         (isgreaterequal_test_data): Likewise.
63766         (isinf_test_data): Likewise.
63767         (isless_test_data): Likewise.
63768         (islessequal_test_data): Likewise.
63769         (islessgreater_test_data): Likewise.
63770         (isnan_test_data): Likewise.
63771         (isnormal_test_data): Likewise.
63772         (issignaling_test_data): Likewise.
63773         (isunordered_test_data): Likewise.
63774         (ldexp_test_data): Likewise.
63775         (lrint_test_data): Likewise.
63776         (lrint_test_data) [TEST_FLOAT]: Disable one test.
63777         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
63778         (lrint_tonearest_test_data): Test for "inexact" exceptions.
63779         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
63780         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
63781         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
63782         test input.
63783         (lrint_towardzero_test_data): Test for "inexact" exceptions.
63784         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
63785         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
63786         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
63787         that test input.
63788         (lrint_downward_test_data): Test for "inexact" exceptions.
63789         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
63790         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
63791         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
63792         test input.
63793         (lrint_upward_test_data): Test for "inexact" exceptions.
63794         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
63795         test input.
63796         (llrint_test_data): Test for "inexact" exceptions.
63797         (llrint_test_data) [TEST_FLOAT]: Disable one test.
63798         (llrint_tonearest_test_data): Test for "inexact" exceptions.
63799         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
63800         (llrint_towardzero_test_data): Test for "inexact" exceptions.
63801         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
63802         (llrint_downward_test_data): Test for "inexact" exceptions.
63803         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
63804         (llrint_upward_test_data): Test for "inexact" exceptions.
63805         (logb_test_data): Likewise.
63806         (logb_downward_test_data): Likewise.
63807         (nextafter_test_data): Likewise.
63808         (nexttoward_test_data): Likewise.
63809         (remainder_test_data): Likewise.
63810         (remquo_test_data): Likewise.
63811         (scalbn_test_data): Likewise.
63812         (scalbln_test_data): Likewise.
63813         (signbit_test_data): Likewise.
63814         (sqrt_test_data): Likewise.
63815         (significand_test_data): Likewise.
63817 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
63819         [BZ #15424]
63820         * benchtests/bench-modf.c (struct args): Mark arg0 as
63821         volatile.
63822         * scripts/bench.pl: Mark members of struct args as volatile.
63824 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63826         [BZ # 15497]
63827         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
63828         negative infinity on POWER6 or lower.
63829         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
63831 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
63833         [BZ #15442]
63834         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
63835         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
63836         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
63837         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
63838         (_FP_SETQNAN): New macro.
63839         (_FP_SETQNAN_SEMIRAW): Likewise.
63840         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
63841         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
63842         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
63843         (FP_EXTEND): Use _FP_FRAC_SNANP.
63844         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
63845         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
63846         into account.
63847         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
63848         New macro.
63849         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
63850         Likewise.
63852 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
63854         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
63855         with DIVIDE_BY_ZERO_EXCEPTION.
63856         (gamma_test_data): Likewise.
63857         (lgamma_test_data): Likewise.
63858         (log_test_data): Likewise.
63859         (log10_test_data): Likewise.
63860         (log2_test_data): Likewise.
63861         (tgamma_test_data): Likewise.
63863         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
63864         (acos_test_tonearest): Likewise.
63865         (acos_test_towardzero): Likewise.
63866         (acos_test_downward): Likewise.
63867         (acos_test_upward): Likewise.
63868         (acosh_test): Likewise.
63869         (asin_test): Likewise.
63870         (asin_test_tonearest): Likewise.
63871         (asin_test_towardzero): Likewise.
63872         (asin_test_downward): Likewise.
63873         (asin_test_upward): Likewise.
63874         (asinh_test): Likewise.
63875         (atan_test): Likewise.
63876         (atanh_test): Likewise.
63877         (atan2_test): Likewise.
63878         (cabs_test): Likewise.
63879         (cacos_test): Likewise.
63880         (cacosh_test): Likewise.
63881         (casin_test): Likewise.
63882         (casinh_test): Likewise.
63883         (catan_test): Likewise.
63884         (catanh_test): Likewise.
63885         (cbrt_test): Likewise.
63886         (ccos_test): Likewise.
63887         (ccosh_test): Likewise.
63888         (cexp_test): Likewise.
63889         (clog_test): Likewise.
63890         (clog10_test): Likewise.
63891         (cos_test): Likewise.
63892         (cos_test_tonearest): Likewise.
63893         (cos_test_towardzero): Likewise.
63894         (cos_test_downward): Likewise.
63895         (cos_test_upward): Likewise.
63896         (cosh_test): Likewise.
63897         (cosh_test_tonearest): Likewise.
63898         (cosh_test_towardzero): Likewise.
63899         (cosh_test_downward): Likewise.
63900         (cosh_test_upward): Likewise.
63901         (cpow_test): Likewise.
63902         (csin_test): Likewise.
63903         (csinh_test): Likewise.
63904         (csqrt_test): Likewise.
63905         (ctan_test): Likewise.
63906         (ctan_test_tonearest): Likewise.
63907         (ctan_test_towardzero): Likewise.
63908         (ctan_test_downward): Likewise.
63909         (ctan_test_upward): Likewise.
63910         (ctanh_test): Likewise.
63911         (ctanh_test_tonearest): Likewise.
63912         (ctanh_test_towardzero): Likewise.
63913         (ctanh_test_downward): Likewise.
63914         (ctanh_test_upward): Likewise.
63915         (erf_test): Likewise.
63916         (erfc_test): Likewise.
63917         (exp_test): Likewise.
63918         (exp_test_tonearest): Likewise.
63919         (exp_test_towardzero): Likewise.
63920         (exp_test_downward): Likewise.
63921         (exp_test_upward): Likewise.
63922         (exp10_test): Likewise.
63923         (exp2_test): Likewise.
63924         (expm1_test): Likewise.
63925         (fmod_test): Likewise.
63926         (gamma_test): Likewise.
63927         (hypot_test): Likewise.
63928         (j0_test): Likewise.
63929         (j1_test): Likewise.
63930         (jn_test): Likewise.
63931         (lgamma_test): Likewise.
63932         (log_test): Likewise.
63933         (log10_test): Likewise.
63934         (log1p_test): Likewise.
63935         (log2_test): Likewise.
63936         (logb_test_downward): Likewise.
63937         (pow_test): Likewise.
63938         (pow_test_tonearest): Likewise.
63939         (pow_test_towardzero): Likewise.
63940         (pow_test_downward): Likewise.
63941         (pow_test_upward): Likewise.
63942         (remainder_test): Likewise.
63943         (remquo_test): Likewise.
63944         (sin_test): Likewise.
63945         (sin_test_tonearest): Likewise.
63946         (sin_test_towardzero): Likewise.
63947         (sin_test_downward): Likewise.
63948         (sin_test_upward): Likewise.
63949         (sincos_test): Likewise.
63950         (sinh_test): Likewise.
63951         (sinh_test_tonearest): Likewise.
63952         (sinh_test_towardzero): Likewise.
63953         (sinh_test_downward): Likewise.
63954         (sinh_test_upward): Likewise.
63955         (sqrt_test): Likewise.
63956         (tan_test): Likewise.
63957         (tan_test_tonearest): Likewise.
63958         (tan_test_towardzero): Likewise.
63959         (tan_test_downward): Likewise.
63960         (tan_test_upward): Likewise.
63961         (tanh_test): Likewise.
63962         (tgamma_test): Likewise.
63963         (y0_test): Likewise.
63964         (y1_test): Likewise.
63965         (yn_test): Likewise.
63967         * math/gen-libm-test.pl (adjust_arg): Remove function.
63968         (special_function): Remove argument $in_func.  Only handle
63969         generating output for tables of tests, not inside functions.
63970         (parse_args): Likewise.
63971         (generate_testfile): Remove variable $in_func.  Update call to
63972         parse_args.
63973         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
63974         (MINUS_ZERO_INIT): Rename macro to minus_zero.
63975         (PLUS_INFTY_INIT): Rename macro to plus_infty.
63976         (MINUS_INFTY_INIT): Rename macro to minus_infty.
63977         (QNAN_VALUE_INIT): Rename macro to qnan_value.
63978         (MAX_VALUE_INIT): Rename macro to max_value.
63979         (MIN_VALUE_INIT): Rename macro to min_value.
63980         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
63981         (plus_zero): Remove variable.
63982         (minus_zero): Likewise.
63983         (plus_infty): Likewise.
63984         (minus_infty): Likewise.
63985         (qnan_value): Likewise.
63986         (max_value): Likewise.
63987         (min_value): Likewise.
63988         (min_subnorm_value): Likewise.
63990 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
63992         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
63993         uint64_t or uint32_t usage.
63994         * crypt/sha256-block.c: Likewise.
63995         * crypt/sha256-crypt.c: Likewise.
63996         * crypt/sha256.c: Likewise.
63997         * crypt/sha512-block.c: Likewise.
63998         * crypt/sha512-crypt.c: Likewise.
63999         * crypt/sha512.c: Likewise.
64000         * debug/backtrace-tst.c: Likewise.
64001         * debug/pcprofiledump.c: Likewise.
64002         * elf/cache.c: Likewise.
64003         * elf/dl-cache.c: Likewise.
64004         * elf/dl-misc.c: Likewise.
64005         * elf/dl-profile.c: Likewise.
64006         * elf/dl-support.c: Likewise.
64007         * elf/ldconfig.c: Likewise.
64008         * elf/sprof.c: Likewise.
64009         * iconv/dummy-repertoire.c: Likewise.
64010         * iconv/iconv_charmap.c: Likewise.
64011         * iconv/skeleton.c: Likewise.
64012         * iconvdata/8bit-generic.c: Likewise.
64013         * iconvdata/cp737.h: Likewise.
64014         * iconvdata/cp775.h: Likewise.
64015         * iconvdata/ibm1008.h: Likewise.
64016         * iconvdata/ibm1025.h: Likewise.
64017         * iconvdata/ibm1046.h: Likewise.
64018         * iconvdata/ibm1097.h: Likewise.
64019         * iconvdata/ibm1112.h: Likewise.
64020         * iconvdata/ibm1122.h: Likewise.
64021         * iconvdata/ibm1123.h: Likewise.
64022         * iconvdata/ibm1124.h: Likewise.
64023         * iconvdata/ibm1129.h: Likewise.
64024         * iconvdata/ibm1130.h: Likewise.
64025         * iconvdata/ibm1132.h: Likewise.
64026         * iconvdata/ibm1133.h: Likewise.
64027         * iconvdata/ibm1137.h: Likewise.
64028         * iconvdata/ibm1140.h: Likewise.
64029         * iconvdata/ibm1141.h: Likewise.
64030         * iconvdata/ibm1142.h: Likewise.
64031         * iconvdata/ibm1143.h: Likewise.
64032         * iconvdata/ibm1144.h: Likewise.
64033         * iconvdata/ibm1145.h: Likewise.
64034         * iconvdata/ibm1146.h: Likewise.
64035         * iconvdata/ibm1147.h: Likewise.
64036         * iconvdata/ibm1148.h: Likewise.
64037         * iconvdata/ibm1149.h: Likewise.
64038         * iconvdata/ibm1153.h: Likewise.
64039         * iconvdata/ibm1154.h: Likewise.
64040         * iconvdata/ibm1155.h: Likewise.
64041         * iconvdata/ibm1156.h: Likewise.
64042         * iconvdata/ibm1157.h: Likewise.
64043         * iconvdata/ibm1158.h: Likewise.
64044         * iconvdata/ibm1160.h: Likewise.
64045         * iconvdata/ibm1161.h: Likewise.
64046         * iconvdata/ibm1162.h: Likewise.
64047         * iconvdata/ibm1163.h: Likewise.
64048         * iconvdata/ibm1164.h: Likewise.
64049         * iconvdata/ibm1166.h: Likewise.
64050         * iconvdata/ibm1167.h: Likewise.
64051         * iconvdata/ibm12712.h: Likewise.
64052         * iconvdata/ibm1390.h: Likewise.
64053         * iconvdata/ibm1399.h: Likewise.
64054         * iconvdata/ibm16804.h: Likewise.
64055         * iconvdata/ibm4517.h: Likewise.
64056         * iconvdata/ibm4899.h: Likewise.
64057         * iconvdata/ibm4909.h: Likewise.
64058         * iconvdata/ibm4971.h: Likewise.
64059         * iconvdata/ibm5347.h: Likewise.
64060         * iconvdata/ibm803.h: Likewise.
64061         * iconvdata/ibm856.h: Likewise.
64062         * iconvdata/ibm901.h: Likewise.
64063         * iconvdata/ibm902.h: Likewise.
64064         * iconvdata/ibm9030.h: Likewise.
64065         * iconvdata/ibm9066.h: Likewise.
64066         * iconvdata/ibm921.h: Likewise.
64067         * iconvdata/ibm922.h: Likewise.
64068         * iconvdata/ibm9448.h: Likewise.
64069         * iconvdata/isiri-3342.h: Likewise.
64070         * iconvdata/jis0201.h: Likewise.
64071         * include/link.h: Likewise.
64072         * include/netdb.h: Likewise.
64073         * inet/check_native.c: Likewise.
64074         * inet/check_pf.c: Likewise.
64075         * inet/getipv4sourcefilter.c: Likewise.
64076         * inet/getnameinfo.c: Likewise.
64077         * inet/getsourcefilter.c: Likewise.
64078         * inet/htonl.c: Likewise.
64079         * inet/setipv4sourcefilter.c: Likewise.
64080         * inet/setsourcefilter.c: Likewise.
64081         * inet/test-inet6_opt.c: Likewise.
64082         * inet/tst-network.c: Likewise.
64083         * locale/C-collate.c: Likewise.
64084         * locale/C-ctype.c: Likewise.
64085         * locale/C-time.c: Likewise.
64086         * locale/C-translit.h: Likewise.
64087         * locale/loadarchive.c: Likewise.
64088         * locale/programs/3level.h: Likewise.
64089         * locale/programs/charmap.c: Likewise.
64090         * locale/programs/charmap.h: Likewise.
64091         * locale/programs/ld-address.c: Likewise.
64092         * locale/programs/ld-collate.c: Likewise.
64093         * locale/programs/ld-ctype.c: Likewise.
64094         * locale/programs/ld-identification.c: Likewise.
64095         * locale/programs/ld-measurement.c: Likewise.
64096         * locale/programs/ld-messages.c: Likewise.
64097         * locale/programs/ld-monetary.c: Likewise.
64098         * locale/programs/ld-name.c: Likewise.
64099         * locale/programs/ld-numeric.c: Likewise.
64100         * locale/programs/ld-paper.c: Likewise.
64101         * locale/programs/ld-telephone.c: Likewise.
64102         * locale/programs/ld-time.c: Likewise.
64103         * locale/programs/linereader.c: Likewise.
64104         * locale/programs/locale.c: Likewise.
64105         * locale/programs/locarchive.c: Likewise.
64106         * locale/programs/locfile.h: Likewise.
64107         * locale/programs/repertoire.c: Likewise.
64108         * locale/programs/simple-hash.c: Likewise.
64109         * locale/programs/simple-hash.h: Likewise.
64110         * malloc/memusage.c: Likewise.
64111         * malloc/memusagestat.c: Likewise.
64112         * nis/nis_defaults.c: Likewise.
64113         * nis/nis_hash.c: Likewise.
64114         * nis/nis_print.c: Likewise.
64115         * nis/nis_xdr.c: Likewise.
64116         * nscd/connections.c: Likewise.
64117         * nscd/hstcache.c: Likewise.
64118         * nscd/nscd_gethst_r.c: Likewise.
64119         * nscd/nscd_getserv_r.c: Likewise.
64120         * nscd/nscd_helper.c: Likewise.
64121         * nscd/servicescache.c: Likewise.
64122         * nss/makedb.c: Likewise.
64123         * nss/nss_db/db-XXX.c: Likewise.
64124         * nss/nss_db/db-initgroups.c: Likewise.
64125         * nss/nss_db/db-netgrp.c: Likewise.
64126         * nss/nss_files/files-network.c: Likewise.
64127         * nss/nss_files/files-parse.c: Likewise.
64128         * posix/bug-regex5.c: Likewise.
64129         * posix/fnmatch_loop.c: Likewise.
64130         * posix/regcomp.c: Likewise.
64131         * posix/regexec.c: Likewise.
64132         * posix/tst-rfc3484-2.c: Likewise.
64133         * posix/tst-rfc3484-3.c: Likewise.
64134         * posix/tst-rfc3484.c: Likewise.
64135         * resolv/nss_dns/dns-canon.c: Likewise.
64136         * resolv/nss_dns/dns-network.c: Likewise.
64137         * resolv/res_init.c: Likewise.
64138         * resolv/res_mkquery.c: Likewise.
64139         * resolv/tst-aton.c: Likewise.
64140         * stdlib/cxa_atexit.c: Likewise.
64141         * stdlib/cxa_finalize.c: Likewise.
64142         * stdlib/gen-fpioconst.c: Likewise.
64143         * stdlib/strtol_l.c: Likewise.
64144         * string/tst-endian.c: Likewise.
64145         * sunrpc/auth_des.c: Likewise.
64146         * sunrpc/clnt_udp.c: Likewise.
64147         * sunrpc/rtime.c: Likewise.
64148         * sunrpc/svcauth_des.c: Likewise.
64149         * sunrpc/xdr.c: Likewise.
64150         * sunrpc/xdr_intXX_t.c: Likewise.
64151         * sunrpc/xdr_rec.c: Likewise.
64152         * sysdeps/generic/ldconfig.h: Likewise.
64153         * sysdeps/generic/ldsodefs.h: Likewise.
64154         * sysdeps/generic/memusage.h: Likewise.
64155         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
64156         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
64157         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
64158         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
64159         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
64160         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
64161         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
64162         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
64163         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
64164         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
64165         * sysdeps/posix/getaddrinfo.c: Likewise.
64166         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
64167         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
64168         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
64169         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
64170         * sysdeps/powerpc/test-gettimebase.c: Likewise.
64171         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
64172         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
64173         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
64174         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
64175         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
64176         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
64177         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
64178         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
64179         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
64180         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
64181         * sysdeps/x86_64/dl-tls.h: Likewise.
64182         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
64183         * time/alt_digit.c: Likewise.
64184         * time/era.c: Likewise.
64185         * wcsmbs/tst-c16c32-1.c: Likewise.
64187 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
64189         * math/libm-test.inc (struct test_sincos_data): New type.
64190         (RUN_TEST_LOOP_sincos): New macro.
64191         (sincos_test_data): New variable.
64192         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
64194 2013-05-16  Richard Henderson  <rth@redhat.com>
64196         * math/atest-exp2.c (LIMB64): New macro.
64197         (CONSTSZ): New macro.
64198         (mp_exp1, mp_exp_m1, mp_log2): New variables.
64199         (hexdig): Move ...
64200         (print_mpn_fp): ... to function scope.
64201         (read_mpn_hex): Remove.
64202         (get_log2): Remove.
64203         (exp2_mpn): Use mp_log2.
64204         (main): Use mp_exp1.
64206 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
64208         * math/libm-test.inc: Remove comment about not testing "inexact"
64209         exceptions.
64210         (INEXACT_EXCEPTION): New macro.
64211         (NO_INEXACT_EXCEPTION): Likewise.
64212         (INVALID_EXCEPTION_OK): Update value.
64213         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
64214         (OVERFLOW_EXCEPTION_OK): Likewise.
64215         (UNDERFLOW_EXCEPTION_OK): Likewise.
64216         (IGNORE_ZERO_INF_SIGN): Likewise.
64217         (ERRNO_UNCHANGED): Likewise.
64218         (ERRNO_EDOM): Likewise.
64219         (ERRNO_ERANGE): Likewise.
64220         (test_exceptions): Handle testing "inexact" exceptions.
64221         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
64222         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
64223         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
64224         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
64225         INEXACT_EXCEPTION.
64226         (rint_towardzero_test_data): Likewise.
64227         (rint_downward_test_data): Likewise.
64228         (rint_upward_test_data): Likewise.
64230         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
64231         with OVERFLOW_EXCEPTION.
64232         (exp10_test_data): Likewise.
64233         (exp2_test_data): Likewise.
64234         (expm1_test_data): Likewise.
64235         (lgamma_test_data): Likewise.
64236         (pow_test_data): Likewise.
64237         (tgamma_test_data): Likewise.
64238         (yn_test_data): Remove duplicate test of overflow.
64240         * math/libm-test.inc (struct test_cc_c_data): New type.
64241         (RUN_TEST_LOOP_cc_c): New macro.
64242         (cpow_test_data): New variable.
64243         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
64245         * math/libm-test.inc (struct test_f_L_data): New type.
64246         (RUN_TEST_LOOP_f_L): New macro.
64247         (llrint_test_data): New variable.
64248         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
64249         (llrint_tonearest_test_data): New variable.
64250         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
64251         (llrint_towardzero_test_data): New variable.
64252         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
64253         (llrint_downward_test_data): New variable.
64254         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
64255         (llrint_upward_test_data): New variable.
64256         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
64257         (llround_test_data): New variable.
64258         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
64260 2013-05-13  Peter Collingbourne  <pcc@google.com>
64262         * math/atest-exp2.c (get_log2): Remove const attribute.
64264 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
64266         * math/libm-test.inc (struct test_f_l_data): New type.
64267         (RUN_TEST_LOOP_f_l): New macro.
64268         (lrint_test_data): New variable.
64269         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
64270         (lrint_tonearest_test_data): New variable.
64271         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
64272         (lrint_towardzero_test_data): New variable.
64273         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
64274         (lrint_downward_test_data): New variable.
64275         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
64276         (lrint_upward_test_data): New variable.
64277         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
64278         (lround_test_data): New variable.
64279         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
64281 2013-05-15  Peter Collingbourne  <pcc@google.com>
64283         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
64284         (EXTRACT_WORDS64) Use where appropriate.
64285         (INSERT_WORDS64) Likewise.
64287         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
64288         constraints with x constraints.
64289         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
64291         * malloc/obstack.c (_obstack_compat): Add initializer.
64293 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
64295         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
64296         si_trapno and add si_addr_lsb to _sifields.sigfault.
64297         (si_trapno): Remove macro.
64298         (si_addr_lsb): Define new macro.
64299         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
64301 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
64303         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
64304         instead of TEST_f_l.
64305         (llrint_test_tonearest): Likewise.
64306         (llrint_test_towardzero): Likewise.
64307         (llrint_test_downward): Likewise.
64308         (llrint_test_upward): Likewise.
64309         (llround_test): Likewise.
64311         * math/libm-test.inc (struct test_f_i_data): Add comment.
64312         (RUN_TEST_LOOP_f_b): New macro.
64313         (RUN_TEST_LOOP_f_b_tg): Likewise.
64314         (finite_test_data): New variable.
64315         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
64316         (isfinite_test_data): New variable.
64317         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
64318         (isinf_test_data): New variable.
64319         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
64320         (isnan_test_data): New variable.
64321         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
64322         (isnormal_test_data): New variable.
64323         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
64324         (issignaling_test_data): New variable.
64325         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
64326         (signbit_test_data): New variable.
64327         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
64329         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
64330         with INVALID_EXCEPTION.
64331         (acosh_test_data): Likewise.
64332         (asin_test_data): Likewise.
64333         (atanh_test_data): Likewise.
64334         (fmod_test_data): Likewise.
64335         (log_test_data): Likewise.
64336         (log10_test_data): Likewise.
64337         (log2_test_data): Likewise.
64338         (pow_test_data): Likewise.
64339         (sqrt_test_data): Likewise.
64340         (y0_test_data): Likewise.
64341         (y1_test_data): Likewise.
64342         (yn_test_data): Likewise.
64344         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
64345         function contents.
64347         * math/libm-test.inc (struct test_ff_i_data): New type.
64348         (RUN_TEST_LOOP_ff_i_tg): New macro.
64349         (isgreater_test_data): New variable.
64350         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
64351         (isgreaterequal_test_data): New variable.
64352         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
64353         (isless_test_data): New variable.
64354         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
64355         (islessequal_test_data): New variable.
64356         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
64357         (islessgreater_test_data): New variable.
64358         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
64359         (isunordered_test_data): New variable.
64360         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
64362 2013-05-14  David S. Miller  <davem@davemloft.net>
64364         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64366 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
64368         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
64370         * math/libm-test.inc (struct test_fF_f1_data): Change type of
64371         extra_test to int.
64372         (struct test_f_i_data): Change type of max_ulp to int.
64374         * math/libm-test.inc (test_ffI_f1_data): New type.
64375         (RUN_TEST_LOOP_ffI_f1): New macro.
64376         (remquo_test_data): New variable.
64377         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
64379         * setjmp/tst-setjmp-fp.c: New file.
64380         * setjmp/Makefile (tests): Add tst-setjmp-fp.
64381         (link-libm): New variable.
64382         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
64384         * math/libm-test.inc (struct test_f_i_data): New type.
64385         (RUN_TEST_LOOP_f_i): New macro.
64386         (RUN_TEST_LOOP_f_i_tg): Likewise.
64387         (fpclassify_test_data): New variable.
64388         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
64389         (ilogb_test_data): New variable.
64390         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
64392         * math/libm-test.inc (scalbln_test): Correct function name in END
64393         call.
64395         * math/libm-test.inc (struct test_f_f1_data): Add comment.
64396         (RUN_TEST_LOOP_fI_f1): New macro.
64397         (frexp_test_data): New variable.
64398         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
64400         * math/libm-test.inc (struct test_fF_f1_data): New type.
64401         (RUN_TEST_LOOP_fF_f1): New macro.
64402         (modf_test_data): New variable.
64403         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
64405         * math/libm-test.inc (struct test_f_f1_data): New type.
64406         (RUN_TEST_LOOP_f_f1): New macro.
64407         (gamma_test_data): New variable.
64408         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
64409         (lgamma_test_data): New variable.
64410         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
64412 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
64414         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
64415         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
64416         (main): Comment "tls" pseudo-hwcap.
64418 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
64420         * math/libm-test.inc (struct test_fl_f_data): New type.
64421         (RUN_TEST_LOOP_fl_f): New variable.
64422         (scalbln_test_data): New variable.
64423         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
64425         * math/libm-test.inc (struct test_fi_f_data): New type.
64426         (RUN_TEST_LOOP_fi_f): New macro.
64427         (ldexp_test_data): New variable.
64428         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
64429         (scalbn_test_data): New variable.
64430         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
64432         * math/libm-test.inc (struct test_c_f_data): New type.
64433         (RUN_TEST_LOOP_c_f): New macro.
64434         (cabs_test_data): New variable.
64435         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
64436         (carg_test_data): New variable.
64437         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
64438         (cimag_test_data): New variable.
64439         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
64440         (creal_test_data): New variable.
64441         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
64443         * math/libm-test.inc (struct test_if_f_data): New type.
64444         (RUN_TEST_LOOP_if_f): New macro.
64445         (jn_test_data): New variable.
64446         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
64447         (yn_test_data): New variable.
64448         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
64450         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
64452 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64454         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
64455         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
64457 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
64459         * benchtests/Makefile (CPPFLAGS-nonlib): Add
64460         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
64461         (bench-deps): Add bench-timing.h.
64462         * benchtests-bench-skeleton.c: Include bench-timing.h.
64463         (main): Use TIMING_* macros instead of clock_gettime.
64464         * benchtests/bench-timing.h: New file.
64466         [BZ #14582]
64467         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
64468         Renamed from _LIB_VERSION.
64469         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
64471 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
64473         * math/libm-test.inc (struct test_fff_f_data): New type.
64474         (RUN_TEST_LOOP_fff_f): New macro.
64475         (fma_test_data): New variable.
64476         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
64477         (fma_towardzero_test_data): New variable.
64478         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
64479         (fma_downward_test_data): New variable.
64480         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
64481         (fma_upward_test_data): New variable.
64482         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
64484         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
64485         (struct test_c_c_data): New type.
64486         (RUN_TEST_LOOP_c_c): New macro.
64487         (cacos_test_data): New variable.
64488         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
64489         (cacosh_test_data): New variable.
64490         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
64491         (casin_test_data): New variable.
64492         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
64493         (casinh_test_data): New variable.
64494         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
64495         (catan_test_data): New variable.
64496         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
64497         (catanh_test_data): New variable.
64498         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
64499         (ccos_test_data): New variable.
64500         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
64501         (ccosh_test_data): New variable.
64502         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
64503         (cexp_test_data): New variable.
64504         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
64505         (clog_test_data): New variable.
64506         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
64507         (clog10_test_data): New variable.
64508         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
64509         (conj_test_data): New variable.
64510         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
64511         (cproj_test_data): New variable.
64512         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
64513         (csin_test_data): New variable.
64514         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
64515         (csinh_test_data): New variable.
64516         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
64517         (csqrt_test_data): New variable.
64518         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
64519         (ctan_test_data): New variable.
64520         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
64521         (ctan_tonearest_test_data): New variable.
64522         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
64523         (ctan_towardzero_test_data): New variable.
64524         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
64525         (ctan_downward_test_data): New variable.
64526         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
64527         (ctan_upward_test_data): New variable.
64528         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
64529         (ctanh_test_data): New variable.
64530         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
64531         (ctanh_tonearest_test_data): New variable.
64532         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
64533         (ctanh_towardzero_test_data): New variable.
64534         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
64535         (ctanh_downward_test_data): New variable.
64536         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
64537         (ctanh_upward_test_data): New variable.
64538         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
64539         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
64540         of BUILD_COMPLEX.
64542         * math/libm-test.inc (struct test_ff_f_data): New type.
64543         (struct test_ff_f_data_nexttoward): Likewise.
64544         (RUN_TEST_LOOP_2_f): New macro.
64545         (RUN_TEST_LOOP_ff_f): Likewise.
64546         (atan2_test_data): New variable.
64547         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
64548         (copysign_test_data): New variable.
64549         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
64550         (fdim_test_data): New variable.
64551         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
64552         (fmax_test_data): New variable.
64553         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
64554         (fmin_test_data): New variable.
64555         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
64556         (fmod_test_data): New variable.
64557         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
64558         (hypot_test_data): New variable.
64559         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
64560         (nextafter_test_data): New variable.
64561         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
64562         (nexttoward_test_data): New variable.
64563         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
64564         (pow_test_data): New variable.
64565         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
64566         (pow_tonearest_test_data): New variable.
64567         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
64568         (pow_towardzero_test_data): New variable.
64569         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
64570         (pow_downward_test_data): New variable.
64571         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
64572         (pow_upward_test_data): New variable.
64573         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
64574         (remainder_test_data): New variable.
64575         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
64576         (scalb_test_data): New variable.
64577         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
64578         * sysdeps/i386/fpu/libm-test-ulps: Update.
64580 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
64582         * math/libm-test.inc (fma_test): Use max_value instead of local
64583         variable fltmax.
64584         (nextafter_test): Likewise.
64586         * math/libm-test.inc (acos_towardzero_test_data): New variable.
64587         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64588         (acos_downward_test_data): New variable.
64589         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64590         (acos_upward_test_data): New variable.
64591         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64592         (acosh_test_data): New variable.
64593         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
64594         (asin_test_data): New variable.
64595         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
64596         (asin_tonearest_test_data): New variable.
64597         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64598         (asin_towardzero_test_data): New variable.
64599         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64600         (asin_downward_test_data): New variable.
64601         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64602         (asin_upward_test_data): New variable.
64603         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64604         (asinh_test_data): New variable.
64605         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
64606         (atan_test_data): New variable.
64607         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
64608         (atanh_test_data): New variable.
64609         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
64610         (cbrt_test_data): New variable.
64611         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
64612         (ceil_test_data): New variable.
64613         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
64614         (cos_test_data): New variable.
64615         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
64616         (cos_tonearest_test_data): New variable.
64617         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64618         (cos_towardzero_test_data): New variable.
64619         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64620         (cos_downward_test_data): New variable.
64621         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64622         (cos_upward_test_data): New variable.
64623         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64624         (cosh_test_data): New variable.
64625         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
64626         (cosh_tonearest_test_data): New variable.
64627         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64628         (cosh_towardzero_test_data): New variable.
64629         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64630         (cosh_downward_test_data): New variable.
64631         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64632         (cosh_upward_test_data): New variable.
64633         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64634         (erf_test_data): New variable.
64635         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
64636         (erfc_test_data): New variable.
64637         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
64638         (exp_test_data): New variable.
64639         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
64640         (exp_tonearest_test_data): New variable.
64641         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64642         (exp_towardzero_test_data): New variable.
64643         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64644         (exp_downward_test_data): New variable.
64645         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64646         (exp_upward_test_data): New variable.
64647         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64648         (exp10_test_data): New variable.
64649         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
64650         (exp2_test_data): New variable.
64651         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
64652         (expm1_test_data): New variable.
64653         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
64654         (fabs_test_data): New variable.
64655         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
64656         (floor_test_data): New variable.
64657         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
64658         (j0_test_data): New variable.
64659         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
64660         (j1_test_data): New variable.
64661         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
64662         (log_test_data): New variable.
64663         (log_test): Run tests with RUN_TEST_LOOP_f_f.
64664         (log10_test_data): New variable.
64665         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
64666         (log1p_test_data): New variable.
64667         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
64668         (log2_test_data): New variable.
64669         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
64670         (logb_test_data): New variable.
64671         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
64672         (logb_downward_test_data): New variable.
64673         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64674         (nearbyint_test_data): New variable.
64675         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
64676         (rint_test_data): New variable.
64677         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
64678         (rint_tonearest_test_data): New variable.
64679         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64680         (rint_towardzero_test_data): New variable.
64681         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64682         (rint_downward_test_data): New variable.
64683         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64684         (rint_upward_test_data): New variable.
64685         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64686         (round_test_data): New variable.
64687         (round_test): Run tests with RUN_TEST_LOOP_f_f.
64688         (sin_test_data): New variable.
64689         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
64690         (sin_tonearest_test_data): New variable.
64691         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64692         (sin_towardzero_test_data): New variable.
64693         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64694         (sin_downward_test_data): New variable.
64695         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64696         (sin_upward_test_data): New variable.
64697         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64698         (sinh_test_data): New variable.
64699         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
64700         (sinh_tonearest_test_data): New variable.
64701         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64702         (sinh_towardzero_test_data): New variable.
64703         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64704         (sinh_downward_test_data): New variable.
64705         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64706         (sinh_upward_test_data): New variable.
64707         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64708         (sqrt_test_data): New variable.
64709         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
64710         (tan_test_data): New variable.
64711         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
64712         (tan_tonearest_test_data): New variable.
64713         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64714         (tan_towardzero_test_data): New variable.
64715         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64716         (tan_downward_test_data): New variable.
64717         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64718         (tan_upward_test_data): New variable.
64719         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64720         (tanh_test_data): New variable.
64721         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
64722         (tgamma_test_data): New variable.
64723         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
64724         (trunc_test_data): New variable.
64725         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
64726         (y0_test_data): New variable.
64727         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
64728         (y1_test_data): New variable.
64729         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
64730         (significand_test_data): New variable.
64731         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
64733 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
64735         [BZ #12387]
64736         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
64738 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
64740         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
64742 2013-05-10  Andreas Jaeger  <aj@suse.de>
64744         [BZ #15448]
64745         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
64746         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
64748 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
64750         * math/gen-libm-test.pl (adjust_arg): New function.
64751         (special_functions): Handle generating output in both functions
64752         and arrays.
64753         (parse_args): Likewise.
64754         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
64755         $in_func argument to parse_args.
64756         * math/libm-test.inc (struct test_f_f_data): New type.
64757         (IF_ROUND_INIT_): New macro.
64758         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
64759         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
64760         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
64761         (IF_ROUND_INIT_FE_UPWARD): Likewise.
64762         (ROUND_RESTORE_): Likewise.
64763         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
64764         (ROUND_RESTORE_FE_TONEAREST): Likewise.
64765         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
64766         (ROUND_RESTORE_FE_UPWARD): Likewise.
64767         (RUN_TEST_LOOP_f_f): New macro.
64768         (acos_test_data): New variable.
64769         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
64770         (acos_tonearest_test_data): New variable.
64771         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64773 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
64775         * benchtests/bench-skeleton.c (startup): Fix coding style.
64777 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
64779         [BZ #6809]
64780         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
64781         negative infinity argument.
64782         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
64783         negative infinity argument.
64784         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
64785         negative infinity argument.
64786         * math/libm-test.inc (tgamma_test): Expect errno to be set for
64787         domain errors.
64789 2013-05-10  Florian Weimer  <fweimer@redhat.com>
64791         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
64792         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
64793         * iconv/iconv_prog.c (main): Likewise.
64794         * locale/programs/charmap-dir.c (charmap_readdir)
64795         (fopen_uncompressed): Likewise.
64796         * locale/programs/locfile.c (siblings_uncached)
64797         (write_locale_data): Use lstat64 instead of lstat.
64798         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
64799         stat.
64801 2013-05-10  Andreas Jaeger  <aj@suse.de>
64803         [BZ #15395]
64804         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
64805         localization.
64806         Include <locale.h>.
64808 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
64810         * elf/dl-close.c (_dl_close_worker): Add comments.
64812 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
64814         [BZ #15359]
64815         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
64816         high part of pi/2.
64817         (__ieee754_rem_pio2l): Update comments.
64819         [BZ #15429]
64820         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
64821         high part of pi/2.
64822         (__ieee754_rem_pio2l): Update comments.
64824         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
64825         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
64827         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
64828         M_PI_4l.
64830         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
64831         (M_PI_34_LOG10El): Likewise.
64832         (M_PI2_LOG10El): Likewise.
64833         (M_PI4_LOG10El): Likewise.
64834         (M_PI_LOG10El): Likewise.
64836 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64838         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64840 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
64842         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
64843         (MINUS_ZERO_INIT): Likewise.
64844         (PLUS_INFTY_INIT): Likewise.
64845         (MINUS_INFTY_INIT): Likewise.
64846         (QNAN_VALUE_INIT): Likewise.
64847         (MAX_VALUE_INIT): Likewise.
64848         (MIN_VALUE_INIT): Likewise.
64849         (MIN_SUBNORM_VALUE_INIT): Likewise.
64850         (plus_zero): Initialize with PLUS_ZERO_INIT.
64851         (minus_zero): Initialize with MINUS_ZERO_INIT.
64852         (plus_infty): Initialize with PLUS_INFTY_INIT.
64853         (minus_infty): Initialize with MINUS_INFTY_INIT.
64854         (qnan_value): Initialize with QNAN_VALUE_INIT.
64855         (max_value): Initialize with MAX_VALUE_INIT.
64856         (min_value): Initialize with MIN_VALUE_INIT.
64857         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
64859         * math/libm-test.inc (RUN_TEST_if_f): New macro.
64860         (jn_test): Use TEST_if_f instead of TEST_ff_f.
64861         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
64862         (yn_test): Use TEST_if_f instead of TEST_ff_f.
64864         * math/libm-test.inc (RUN_TEST_f_f): New macro.
64865         (RUN_TEST_2_f): Likewise.
64866         (RUN_TEST_ff_f): Likewise.
64867         (RUN_TEST_fi_f): Likewise.
64868         (RUN_TEST_fl_f): Likewise.
64869         (RUN_TEST_fff_f): Likewise.
64870         (RUN_TEST_c_f): Likewise.
64871         (RUN_TEST_f_f1): Likewise.
64872         (RUN_TEST_fF_f1): Likewise.
64873         (RUN_TEST_fI_f1): Likewise.
64874         (RUN_TEST_ffI_f1): Likewise.
64875         (RUN_TEST_c_c): Likewise.
64876         (RUN_TEST_cc_c): Likewise.
64877         (RUN_TEST_f_i): Likewise.
64878         (RUN_TEST_f_i_tg): Likewise.
64879         (RUN_TEST_ff_i_tg): Likewise.
64880         (RUN_TEST_f_b): Likewise.
64881         (RUN_TEST_f_b_tg): Likewise.
64882         (RUN_TEST_f_l): Likewise.
64883         (RUN_TEST_f_L): Likewise.
64884         (RUN_TEST_sincos): Likewise.
64885         * math/gen-libm-test.pl (new_test): Take new argument to indicate
64886         whether to show exceptions.  Do not include ");\n" in return
64887         value.
64888         (special_functions): Output call to RUN_TEST_sincos instead of
64889         check_float calls.  Update calls to new_test.
64890         (parse_args): Output call to single RUN_TEST_* macro instead of
64891         check_* calls and other assignments.  Update calls to new_test.
64893         [BZ #2546]
64894         [BZ #2560]
64895         [BZ #5159]
64896         [BZ #15426]
64897         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
64898         input to result for tgamma overflow.
64899         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
64900         (gamma_coeff): New variable.
64901         (NCOEFF): New macro.
64902         (gamma_positive): New function.
64903         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
64904         underflow here.  Use gamma_positive instead of exp (lgamma) for
64905         other arguments.
64906         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
64907         (gamma_coeff): New variable.
64908         (NCOEFF): New macro.
64909         (gammaf_positive): New function.
64910         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
64911         underflow here.  Use gamma_positive instead of exp (lgamma) for
64912         other arguments.
64913         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
64914         (gamma_coeff): New variable.
64915         (NCOEFF): New macro.
64916         (gammal_positive): New function.
64917         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
64918         underflow here.  Use gamma_positive instead of exp (lgamma) for
64919         other arguments.
64920         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
64921         (gamma_coeff): New variable.
64922         (NCOEFF): New macro.
64923         (gammal_positive): New function.
64924         (__ieee754_gammal_r): Handle positive infinity, overflow and
64925         underflow here.  Handle NaN the same as positive infinity.  Remove
64926         check x < 0xffffffff for negative integers.  Use gamma_positive
64927         instead of exp (lgamma) for other arguments.
64928         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
64929         (gamma_coeff): New variable.
64930         (NCOEFF): New macro.
64931         (gammal_positive): New function.
64932         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
64933         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
64934         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
64935         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
64936         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
64937         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
64938         * sysdeps/generic/math_private.h (__gamma_productf): New
64939         prototype.
64940         (__gamma_product): Likewise.
64941         (__gamma_productl): Likewise.
64942         * math/Makefile (libm-calls): Add gamma_product.
64943         * math/libm-test.inc (tgamma_test): Add more tests.
64944         * sysdeps/i386/fpu/libm-test-ulps: Update.
64945         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64947 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
64949         * benchtests/bench-skeleton.c (main): Preheat CPU.
64951 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
64953         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
64955 2013-05-07  Roland McGrath  <roland@hack.frob.com>
64957         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
64958         and _dl_skip_args_internal.
64960 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
64962         * manual/message.texi (Message Translation): Talk about users.
64963         Message to key mapping impacts design.
64965 2013-05-06  Roland McGrath  <roland@hack.frob.com>
64967         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
64969         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
64971         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
64972         * sysdeps/wordsize-64/glob64.c: ... here.
64974         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
64975         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
64976         New macros.
64978         * debug/getlogin_r_chk.c: Moved to ...
64979         * login/getlogin_r_chk.c: ... here.
64980         * debug/Makefile (routines): Move getlogin_r_chk to ...
64981         * login/Makefile (routines): ... here.
64982         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
64983         * login/Versions (libc: GLIBC_2.4): ... here.
64985         * io/poll.c (__poll): Renamed from poll.
64986         Add libc_hidden_def.
64987         (poll): Define as weak alias.
64989         * debug/ptsname_r_chk.c: Moved to ...
64990         * login/ptsname_r_chk.c: ... here.
64991         * debug/Makefile (routines): Move ptsname_r_chk to ...
64992         * login/Makefile (routines): ... here.
64993         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
64994         * login/Versions (libc: GLIBC_2.4): ... here.
64996         * posix/getlogin.c: Moved to ...
64997         * login/getlogin.c: ... here.
64998         * posix/getlogin_r.c: Moved to ...
64999         * login/getlogin_r.c: ... here.
65000         * posix/getlogin_r.c: Moved to ...
65001         * login/getlogin_r.c: ... here.
65002         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
65003         * login/Makefile (routines): ... here.
65004         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
65005         * login/Versions (libc: GLIBC_2.0): ... here.
65007         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
65008         (setrlimit): Define as weak alias.
65010         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
65011         Call __ names for open, ftruncate, and close.
65012         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
65013         (truncate): Define as weak alias.
65015 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
65017         * math/gen-libm-test.pl (parse_args): Initialize x before each
65018         test of frexp, modf and remquo.
65020         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
65021         test signgam value.
65023 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65025         [BZ #15418]
65026         [BZ #15419]
65027         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
65028         internal tests.
65029         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
65031 2013-05-06  Roland McGrath  <roland@hack.frob.com>
65033         * elf/dl-writev.h: New file.
65034         * elf/dl-misc.c: Include it.
65035         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
65036         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
65038 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
65040         * math/libm-test.inc (noXFails): Remove variable.
65041         (noXPasses): Likewise.
65042         (BUILD_COMPLEX_INT): Remove macro.
65043         (print_screen): Remove xfail argument.
65044         (print_screen_max_error): Likewise.
65045         (update_stats): Likewise.
65046         (print_max_error): Likewise.  Update calls to other affected
65047         functions.
65048         (print_complex_max_error): Likewise.
65049         (test_single_exception): Update calls to print_screen.
65050         (test_single_errno): Likewise.
65051         (check_float_internal): Remove xfail argument.  Update calls to
65052         other affected functions.
65053         (check_float): Likewise.
65054         (check_complex): Likewise.
65055         (check_int): Likewise.
65056         (check_long): Likewise.
65057         (check_bool): Likewise.
65058         (check_longlong): Likewise.
65059         (main): Don't print noXFails and noXPasses.
65060         * math/gen-libm-test.pl (top level): Don't mention expected
65061         failure handling in comment.
65062         (new_test): Don't handle expected failures.
65063         (parse_args): Don't mention expected failure handling in comment.
65064         (generate_testfile): Don't handle expected failures.
65065         (parse_ulps): Likewise.
65066         (print_ulps_file): Likewise.
65067         (get_failure): Remove function.
65068         (output_test): Don't handle expected failures.
65069         * make/README.libm-test: Don't mention expected failure handling.
65071         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
65072         (minus_zero): Likewise.
65073         (plus_infty): Likewise.
65074         (minus_infty): Likewise.
65075         (qnan_value): Likewise.
65076         (max_value): Likewise.
65077         (min_value): Likewise.
65078         (min_subnorm_value): Likewise.
65079         (initialize): Do not initialize those variables dynamically.
65081 2013-05-03  Roland McGrath  <roland@hack.frob.com>
65083         * io/open.c (__open_2): Moved to ...
65084         * io/open_2.c: ... this new file.
65085         * io/open64.c (__open64_2): Moved to ...
65086         * io/open64_2.c: ... this new file.
65087         * io/openat.c (__openat_2): Moved to ...
65088         * io/openat_2.c: ... this new file.
65089         * io/openat64.c (__openat64_2): Moved to ...
65090         * io/openat64_2.c: ... this new file.
65091         * io/Makefile (routines): Add them.
65092         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
65093         * sysdeps/unix/sysv/linux/open_2.c: File removed.
65094         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
65095         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
65096         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
65097         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
65098         (__openat64): Add hidden_ver.
65099         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
65100         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
65102         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
65103         Separately conditionalize setting of GLRO(dl_sysinfo) so
65104         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
65105         as well, but the actual setting is only under [NEED_DL_SYSINFO].
65107 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65109         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
65110         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
65111         definition.
65112         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
65113         * sysdeps/unix/sysv/linux/powerpc/init-first.c
65114         (_libc_vdso_platform_setup): Add __vdso_time initialization.
65115         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
65116         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
65118 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
65120         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
65121         test signgam value.
65123         * math/libm-test.inc (hypot_test): Do not use
65124         IGNORE_ZERO_INF_SIGN.
65126 2013-05-03  Andreas Jaeger  <aj@suse.de>
65128         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
65129         Linux 3.9.
65130         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
65131         (PF_MAX): Adjust for VSOCK change.
65133 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65135         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65137 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
65139         [BZ #15264]
65140         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
65141         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
65142         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
65144 2013-05-02  David S. Miller  <davem@davemloft.net>
65146         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65148 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
65150         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
65152 2013-05-01  Roland McGrath  <roland@hack.frob.com>
65154         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
65156 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
65158         [BZ #14952]
65159         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
65160         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
65161         Use __attribute__ ((__gnu_inline__)).
65162         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
65163         Don't use __attribute__ ((__gnu_inline__)).
65165 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
65167         [BZ #15423]
65168         * math/s_catan.c (__catan): Handle small real or imaginary part of
65169         input specially to avoid spurious underflow.
65170         * math/s_catanf.c (__catanf): Likewise.
65171         * math/s_catanh.c (__catanh): Likewise.
65172         * math/s_catanhf.c (__catanhf): Likewise.
65173         * math/s_catanhl.c (__catanhl): Likewise.
65174         * math/s_catanl.c (__catanl): Likewise.
65175         * math/libm-test.inc (catan_test): Add more tests.
65176         (catanh_test): Likewise.
65177         * sysdeps/i386/fpu/libm-test-ulps: Update.
65178         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65180 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65182         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65184 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
65186         [BZ #15416]
65187         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
65188         accurately for denominator in atan2.
65189         * math/s_catanf.c (__catanf): Likewise.
65190         * math/s_catanh.c (__catanh): Likewise.
65191         * math/s_catanhf.c (__catanhf): Likewise.
65192         * math/s_catanhl.c (__catanhl): Likewise.
65193         * math/s_catanl.c (__catanl): Likewise.
65194         * math/libm-test.inc (catan_test): Add more tests.
65195         (catanh_test): Likewise.
65196         * sysdeps/i386/fpu/libm-test-ulps: Update.
65197         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65199 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
65201         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
65203         * benchtests/Makefile (bench): Remove slow benchmarks.
65204         * benchtests/atan-inputs: Add slow benchmark inputs.
65205         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
65206         (BENCH_FUNC): Accept variant offset.
65207         (VARIANT): Define.
65208         * benchtests/bench-skeleton.c (main): Run benchmark for each
65209         variant.
65210         * benchtests/cos-inputs: Add slow benchmark inputs.
65211         * benchtests/exp-inputs: Likewise.
65212         * benchtests/pow-inputs: Likewise.
65213         * benchtests/sin-inputs: Likewise.
65214         * benchtests/slowatan-inputs: Remove.
65215         * benchtests/slowatan.c: Remove.
65216         * benchtests/slowcos-inputs: Remove.
65217         * benchtests/slowcos.c: Remove.
65218         * benchtests/slowexp-inputs: Remove.
65219         * benchtests/slowexp.c: Remove.
65220         * benchtests/slowpow-inputs: Remove.
65221         * benchtests/slowpow.c: Remove.
65222         * benchtests/slowsin-inputs: Remove.
65223         * benchtests/slowsin.c: Remove.
65224         * benchtests/slowtan-inputs: Remove.
65225         * benchtests/slowtan.c: Remove.
65226         * benchtests/tan-inputs: Add slow benchmark inputs.
65227         * scripts/bench.pl: Parse comments and directives.
65229         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
65230         in CPPFLAGS.
65231         ($(objpfx)bench-%.c): Remove *-ITER.
65232         * benchtests/bench-modf.c: Remove definition of ITER.
65233         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
65234         (main): Loop for DURATION seconds instead of fixed number of
65235         iterations.
65236         * scripts/bench.pl: Don't expect iterations in parameters.
65238 2013-04-29  Roland McGrath  <roland@hack.frob.com>
65240         * io/fchdir.c (__fchdir): Renamed from fchdir.
65241         (fchdir): Define as weak alias.
65243 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
65245         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
65246         (ERRNO_EDOM): Likewise.
65247         (ERRNO_ERANGE): Likewise.
65248         (noErrnoTests): New variable.
65249         (init_max_error): Set errno to 0.
65250         (test_single_errno): New function.
65251         (test_errno): Likewise.
65252         (check_float_internal): Call test_errno.  Set errno to 0.
65253         (check_complex): Refer to errno tests in comment.
65254         (check_int): Call test_errno.  Set errno to 0.
65255         (check_long): Likewise.
65256         (check_bool): Likewise.
65257         (check_longlong): Likewise.
65258         (cos_test): Use ERRNO_* flags for errno tests instead of
65259         check_int.
65260         (expm1_test): Likewise.
65261         (fmod_test): Likewise.
65262         (ilogb_test): Likewise.
65263         (lgamma_test): Likewise.
65264         (pow_test): Likewise.
65265         (remainder_test): Likewise.
65266         (sin_test): Likewise.
65267         (tan_test): Likewise.
65268         (yn_test): Likewise.
65269         (initialize): Set errno to 0.
65270         (main): Print number of errno tests.
65271         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
65273 2013-04-29  Andreas Jaeger  <aj@suse.de>
65275         [BZ #15084]
65276         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
65277         and RES_USEVC.
65279         [BZ #15085]
65280         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
65281         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
65282         unimplemented.
65284         [BZ #15380]
65285         * stdlib/random.c (__initstate): Return NULL if
65286         __initstate fails.
65288         [BZ #15086]
65289         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
65290         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
65291         RES_SNGLKUPREOP.
65293 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65295         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65297 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
65299         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
65300         of individual tests.
65301         (casin_test): Likewise.
65302         (casinh_test): Likewise.
65304 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
65306         [BZ #15409]
65307         * math/s_catan.c (__catan): Handle arguments with large real or
65308         imaginary part separately without squaring.
65309         * math/s_catanf.c (__catanf): Likewise.
65310         * math/s_catanh.c (__catanh): Likewise.
65311         * math/s_catanhf.c (__catanhf): Likewise.
65312         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
65313         and redefine.
65314         (__catanhl): Handle arguments with large real or imaginary part
65315         separately without squaring.
65316         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
65317         and redefine.
65318         (__catanl): Handle arguments with large real or imaginary part
65319         separately without squaring.
65320         * math/libm-test.inc (catan_test): Add more tests.
65321         (catanh_test): Likewise.
65322         * sysdeps/i386/fpu/libm-test-ulps: Update.
65323         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65325 2013-04-27  Andreas Jaeger  <aj@suse.de>
65327         [BZ #15007]
65328         * stdlib/stdlib.h: Update guards for qecvt.
65329         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
65330         <stdlib.h>.
65332 2013-04-27  Allan McRae  <allan@archlinux.org>
65334         * sysdeps/i386/fpu/libm-test-ulps: Update.
65336 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
65338         [BZ #15406]
65339         * math/s_catan.c: Include <float.h>.
65340         (__catan): Ensure underflow exception occurs for underflowed
65341         result.
65342         * math/s_catanf.c: Include <float.h>.
65343         (__catanf): Ensure underflow exception occurs for underflowed
65344         result.
65345         * math/s_catanh.c: Include <float.h>.
65346         (__catanh): Ensure underflow exception occurs for underflowed
65347         result.
65348         * math/s_catanhf.c: Include <float.h>.
65349         (__catanhf): Ensure underflow exception occurs for underflowed
65350         result.
65351         * math/s_catanhl.c: Include <float.h>.
65352         (__catanhl): Ensure underflow exception occurs for underflowed
65353         result.
65354         * math/s_catanl.c: Include <float.h>.
65355         (__catanl): Ensure underflow exception occurs for underflowed
65356         result.
65357         * math/libm-test.inc (catan_test): Add more tests.
65358         (catanh_test): Likewise.
65360         [BZ #15405]
65361         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
65362         underflowed result.
65363         * math/s_ccoshf.c (__ccoshf): Likewise.
65364         * math/s_ccoshl.c (__ccoshl): Likewise.
65365         * math/s_csin.c (__csin): Likewise.
65366         * math/s_csinf.c (__csinf): Likewise.
65367         * math/s_csinh.c (__csinh): Likewise.
65368         * math/s_csinhf.c (__csinhf): Likewise.
65369         * math/s_csinhl.c (__csinhl): Likewise.
65370         * math/s_csinl.c (__csinl): Likewise.
65371         * math/libm-test.inc (ccos_test): Add more tests.
65372         (ccosh_test): Likewise.
65373         (csin_test): Likewise.
65374         (csinh_test): Likewise.
65376 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65378         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
65379         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
65380         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
65381         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
65382         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
65383         powerpc/power5+/fpu folders.
65384         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
65387 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
65389         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65391 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
65393         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
65394         additions to variable.
65395         [$(config-machine) = x86_64] (modules-names): Likewise.
65396         ($(objpfx)tst-audit3): Remove dependency.
65397         ($(objpfx)tst-audit3.out): Likewise.
65398         ($(objpfx)tst-audit4): Likewise.
65399         ($(objpfx)tst-audit4.out): Likewise.
65400         ($(objpfx)tst-audit5): Likewise.
65401         ($(objpfx)tst-audit5.out): Likewise.
65402         ($(objpfx)tst-audit6): Likewise.
65403         ($(objpfx)tst-audit6.out): Likewise.
65404         ($(objpfx)tst-audit7): Likewise.
65405         ($(objpfx)tst-audit7.out): Likewise.
65406         (tst-audit3-ENV): Remove variable.
65407         (tst-audit4-ENV): Likewise.
65408         (tst-audit5-ENV): Likewise.
65409         (tst-audit6-ENV): Likewise.
65410         (tst-audit7-ENV): Likewise.
65411         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
65412         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
65413         addition to variable.
65414         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
65415         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
65416         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
65417         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
65418         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
65419         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
65420         tst-audit3, tst-audit4 and tst-audit5.
65421         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
65422         tst-audit6 and tst-audit7.
65423         [$(subdir) = elf] (modules-names): Add audit modules for those
65424         tests.
65425         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
65426         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
65427         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
65428         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
65429         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
65430         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
65431         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
65432         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
65433         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
65434         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
65435         [$(subdir) = elf] (tst-audit3-ENV): New variable.
65436         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
65437         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
65438         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
65439         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
65440         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
65441         Likewise.
65442         [$(subdir) = elf && $(config-cflags-avx) = yes]
65443         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
65444         [$(subdir) = elf && $(config-cflags-avx) = yes]
65445         (CFLAGS-tst-auditmod4a.c): Likewise.
65446         [$(subdir) = elf && $(config-cflags-avx) = yes]
65447         (CFLAGS-tst-auditmod4b.c): Likewise.
65448         [$(subdir) = elf && $(config-cflags-avx) = yes]
65449         (CFLAGS-tst-auditmod6b.c): Likewise.
65450         [$(subdir) = elf && $(config-cflags-avx) = yes]
65451         (CFLAGS-tst-auditmod6c.c): Likewise.
65452         [$(subdir) = elf && $(config-cflags-avx) = yes]
65453         (CFLAGS-tst-auditmod7b.c): Likewise.
65454         * elf/tst-audit3.c: Move to ...
65455         * sysdeps/x86_64/tst-audit3.c: ... here.
65456         * elf/tst-audit4.c: Move to ...
65457         * sysdeps/x86_64/tst-audit4.c: ... here.
65458         * elf/tst-audit5.c: Move to ...
65459         * sysdeps/x86_64/tst-audit5.c: ... here.
65460         * elf/tst-audit6.c: Move to ...
65461         * sysdeps/x86_64/tst-audit6.c: ... here.
65462         * elf/tst-audit7.c: Move to ...
65463         * sysdeps/x86_64/tst-audit7.c: ... here.
65464         * elf/tst-auditmod3a.c: Move to ...
65465         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
65466         * elf/tst-auditmod3b.c: Move to ...
65467         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
65468         * elf/tst-auditmod4a.c: Move to ...
65469         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
65470         * elf/tst-auditmod4b.c: Move to ...
65471         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
65472         * elf/tst-auditmod5a.c: Move to ...
65473         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
65474         * elf/tst-auditmod5b.c: Move to ...
65475         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
65476         * elf/tst-auditmod6a.c: Move to ...
65477         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
65478         * elf/tst-auditmod6b.c: Move to ...
65479         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
65480         * elf/tst-auditmod6c.c: Move to ...
65481         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
65482         * elf/tst-auditmod7a.c: Move to ...
65483         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
65484         * elf/tst-auditmod7b.c: Move to ...
65485         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
65487 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
65489         [BZ #15366]
65490         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
65491         define unconditionally.
65492         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
65493         define unconditionally.
65494         (INT8_C, INT16_C, etc.): Likewise.
65496 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
65498         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
65499         __ehdr_start with hidden visibility.
65501         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
65503 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
65505         * math/libm-test.inc (cos_test): Use accurate hex constants.
65506         (sincost_test): Likewise.
65508 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
65510         * math/libm-test.inc (catan_test): Add more tests.
65511         (catanh_test): Likewise.
65513         * math/s_catanf.c (__catanf): Use suffixed floating-point
65514         constants.
65515         * math/s_catanhf.c (__catanhf): Likewise.
65516         * math/s_catanhl.c (__catanhl): Likewise.
65517         * math/s_catanl.c (__catanl): Likewise.
65519         [BZ #15394]
65520         * math/s_catan.c (__catan): Calculate imaginary part of result
65521         with log1p not log unless computing log of number close to 0.
65522         * math/s_catanf.c (__catanf): Likewise.
65523         * math/s_catanl.c (__catanl): Likewise.
65524         * math/s_catanh.c (__catanh): Calculate real part of result with
65525         log1p not log unless computing log of number close to 0.
65526         * math/s_catanhf.c (__catanhf): Likewise.
65527         * math/s_catanhl.c (__catanhl): Likewise.
65528         * math/libm-test.inc (catan_test): Add more tests.
65529         (catanh_test): Likewise.
65530         * sysdeps/i386/fpu/libm-test-ulps: Update.
65531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65533 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
65535         * benchtests/Makefile: Mention files in which fast and slow
65536         paths of math functions are implemented.
65538 2013-04-23  Roland McGrath  <roland@hack.frob.com>
65540         * sysdeps/posix/timespec_get.c: New file.
65542 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65544         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
65545         POWER.
65546         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
65547         for POWER.
65548         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
65549         powerpc/power5/fpu folders.
65550         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
65551         * benchtests/Makefile: Add modf testcase.
65552         * benchtests/bench-modf.c: New file: Benchmark test for mo
65554 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
65556         [BZ #14888]
65557         * time/Makefile (tests): Add tst-strptime-whitespace.
65558         * time/strptime_l.c (get_number): Use ISSPACE.
65559         (__strptime_internal): Likewise.
65560         * time/tst-strptime-whitespace.c: New test case.
65562 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
65564         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
65565         member.
65566         (_nss_files_init): Set it here.
65568 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
65570         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
65571         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
65572         unsigned.
65574 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
65576         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
65578 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
65580         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
65581         size just once.
65583 2013-04-21  David S. Miller  <davem@davemloft.net>
65585         * po/ru.po: Update Russion translation from translation project.
65587 2013-04-17  Adam Conrad  <adconrad@0c3.net>
65589         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
65590         and setfsgid.
65592 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
65594         * configure.in: Remove i386 configure warning. Remove i386 case.
65595         * configure: Regenerate.
65596         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
65597         Add example to error message.
65598         * sysdeps/i386/configure: Regenerate.
65600 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
65602         * benchtests/Makefile (bench): Add cos, tan, slowcos and
65603         slowtan.
65604         * benchtests/cos-inputs: New file.
65605         * benchtests/slowcos-inputs: New file.
65606         * benchtests/slowcos.c: New file.
65607         * benchtests/slowtan-inputs: New file.
65608         * benchtests/slowtan.c: New file.
65609         * benchtests/tan-inputs: New file.
65611 2013-04-16  Roland McGrath  <roland@hack.frob.com>
65613         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
65614         considered kosher.
65616 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
65618         * benchtests/Makefile: Include cppflags-iterator.mk to add
65619         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
65621         * Makefile.in (bench-clean): New target.
65622         * benchtests/Makefile (bench-clean): Likewise.
65624 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
65626         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
65628 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
65630         * stdio-common/tstdiomisc.c: Fix coding-style violation.
65632 2013-04-15  Andreas Schwab  <schwab@suse.de>
65634         * nscd/grpcache.c (cache_addgr): Properly check for short write.
65635         * nscd/initgrcache.c (addinitgroupsX): Likewise.
65636         * nscd/pwdcache.c (cache_addpw): Likewise.
65637         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
65638         more than recsize.
65640 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
65642         * benchtests/Makefile (bench): Write all output to
65643         bench-out.tmp together.
65645 2013-04-15  Andreas Schwab  <schwab@suse.de>
65647         * nscd/nscd.c (main): Don't fork again after closing files.
65649 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
65651         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
65653         * benchtests/Rules (bench-deps): Collect dependencies into a
65654         single variable.  Add Makefile to dependencies.
65655         ($(objpfx)bench-%.c): Depend on bench-deps.
65657 2013-04-12  Roland McGrath  <roland@hack.frob.com>
65658             Xavier Roche  <roche+kml2@exalead.com>
65660         [BZ #15361]
65661         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
65662         just that it's a file descriptor.
65663         * manual/llio.texi (Synchronizing AIO Operations): Update description
65664         for EBADF error from aio_fsync.
65666 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
65668         * Rules (bench): Move target definition...
65669         * benchtests/Makefile: ... here.
65671 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
65673         * math/libm-test.inc (cos_test): Fix PI/2 test.
65674         (sincos_test): Likewise.
65675         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
65676         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
65678 2013-04-11  Andreas Schwab  <schwab@suse.de>
65680         [BZ #13988]
65681         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
65682         accept exponent character only when digits were seen.
65683         * stdio-common/Makefile (tests): Add bug26.
65684         * stdio-common/bug26.c: New file.
65686         [BZ #14293]
65687         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
65688         non-freeable.
65690 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
65692         * Makeconfig (rtld-prefix): Define built linker prefix.
65693         * Rules (run-bench): Use it.
65694         * math/Makefile (run-regen-ulps): Likewise.
65696         * Rules (bench): Remove eval.
65698 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
65699             Roland McGrath  <roland@hack.frob.com>
65700             Ondrej Bilka  <neleai@seznam.cz>
65702         [BZ #15346]
65703         * time/getdate.c: Include ctype.h and alloca.h.
65704         (__getdate_r): Trim leading and trailing spaces of input.
65705         * time/tst-getdate.c (tests): Add tests with leading and
65706         trailing spaces.
65708 2013-04-08  Roland McGrath  <roland@hack.frob.com>
65710         [BZ #14280]
65711         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
65712         when computing value.
65714 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
65716         * math/README.libm-test (How can I generate "libm-test-ulps"?):
65717         Use testrun.sh to run libm tests.
65719         [BZ #15309]
65720         * elf/dl-open.c (dl_open_worker): memset all of seen array.
65722 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
65724         [BZ #15264]
65725         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
65727 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
65729         * Makefile.in (regen-ulps): New target.
65730         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
65731         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
65732         [ifneq (no,$(PERL)] (regen-ulps): New target.
65733         [ifeq (no,$(PERL)] (regen-ulps): New target.
65734         * math/libm-test.inc (ulps_file_name): Define.
65735         (output_dir): New variable.
65736         (options): Add "output-dir" option.
65737         (parse_opt): Handle 'o' case.
65738         (main): If output_dir is non-NULL use it as a prefix
65739         otherwise use "".
65740         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
65742 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
65744         [BZ #10060, #10062]
65745         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
65746         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
65747         fail configure if __sync_val_compare_and_swap is not inlined.
65748         * sysdeps/i386/configure: Regenerate.
65749         * configure.in: Build for i686 when configured for i386.
65750         * configure: Regenerate.
65751         * README: Remove i386 reference.
65753 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
65755         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
65756         * sysdeps/s390/s390-64/sysdep.h: Likewise.
65758 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
65760         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
65761         (lmsnanval): New variables.
65762         (F): Add conversion tests.
65763         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
65764         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
65766         * stdio-common/tstdiomisc.c (F): Properly collect individual
65767         tests' results.
65769         [BZ #14686, #15336]
65770         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
65771         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
65772         Instead, use input NaN values or generate a qNaN by arithmetic
65773         operation.  Also fix bugs to comply with the standard.
65774         * math/libm-test.inc (remainder_test): Add more tests.
65776         [BZ #15335, #15342]
65777         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
65778         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
65779         input NaN values or generate a qNaN by arithmetic operation.
65781         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
65782         unreachable code.
65784         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
65785         definitions.
65787 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
65789         [BZ #14478]
65790         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
65791         underflowed result.
65792         * math/s_cexpf.c (__cexpf): Likewise.
65793         * math/s_cexpl.c (__cexpl): Likewise.
65794         * math/libm-test.inc (cexp_test): Add more tests.
65796 2013-04-03  Andreas Schwab  <schwab@suse.de>
65798         [BZ #15330]
65799         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
65800         order arrays from heap if bigger than alloca cutoff.
65802 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
65804         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
65805         (SNAN_TESTS_double): Refer to GCC PR56831.
65806         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
65807         GCC PR56828.
65809 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
65811         * Rules (bench): Move bench.out after the run is complete.
65813         * Rules (bench): Echo currently running benchmark.
65815         * benchtests/Makefile (bench): Add atan and slowatan.
65816         * benchtests/atan-inputs: New file.
65817         * benchtests/slowatan-inputs: New file.
65818         * benchtests/slowatan.c: New file.
65820         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
65821         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
65822         its value.
65824         [BZ #15305]
65825         * sysdeps/unix/sysv/linux/kernel-features.h
65826         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
65827         __ASSUME_XFS_RESTRICTED_CHOWN.
65828         * sysdeps/unix/sysv/linux/pathconf.c
65829         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
65830         Save and restore errno.
65832 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
65834         [BZ #15327]
65835         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
65836         arguments using __kernel_casinh.
65837         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
65838         arguments using __kernel_casinhf.
65839         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
65840         arguments using __kernel_casinhl.
65841         * math/libm-test.inc (cacosh_test): Add more tests.
65842         * sysdeps/i386/fpu/libm-test-ulps: Update.
65843         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65845 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
65847         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
65848         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
65850         * bench/Makefile (bench): Add sin and slowsin.
65851         * benchtests/sin-inputs: New file.
65852         * benchtests/slowsin-inputs: New file.
65853         * benchtests/slowsin.c: New file.
65855         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
65856         (bench): Add slowexp and slowpow.
65857         (exp-ITER): Increase iterations.
65858         (pow-ITER): Likewise.
65859         * benchtests/exp-inputs: Change input.
65860         * benchtests/pow-inputs: Likewise.
65861         * benchtests/slowexp-inputs: New file.
65862         * benchtests/slowexp.c: New file.
65863         * benchtests/slowpow-inputs: New file.
65864         * benchtests/slowpow.c: New file.
65866 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65868         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
65869         instructions.
65870         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
65871         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
65872         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
65873         * benchtests/Makefile: Add rint benchtest.
65874         * benchtests/rint-inputs: Input for rint benchtest.
65876 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
65878         * Versions.def (libm): Add GLIBC_2.18.
65879         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
65880         hidden libm prototypes.
65881         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
65882         * math/Makefile (libm-calls): Add s_issignaling.
65883         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
65884         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
65885         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
65886         declaration.
65887         * math/math.h [__USE_GNU] (issignaling): New macro.
65888         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
65889         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
65890         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
65891         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
65892         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
65893         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
65894         * manual/arith.texi (issignaling): New section.
65895         * manual/libm-err-tab.pl (@all_functions): Update comment.
65896         * math/gen-libm-test.pl (parse_args): Apply special handling for
65897         issignaling.
65898         * math/libm-test.inc (print_float, issignaling_test): New
65899         functions.
65900         (check_float_internal): Add issignaling checks.
65901         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
65902         default definition.
65903         * sysdeps/powerpc/math-tests.h: New file.
65904         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
65905         tests.
65906         * math/test-snan.c (TEST_FUNC): Likewise.
65908 2013-03-30  David S. Miller  <davem@davemloft.net>
65910         * po/de.po: Update from translation team.
65912 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
65914         [BZ #10357]
65915         * math/k_casinh.c (__kernel_casinh): Handle arguments with
65916         imaginary part less than 1.0 and real part less than 0.5
65917         specially.
65918         * math/k_casinhf.c (__kernel_casinhf): Likewise.
65919         * math/k_casinhl.c (__kernel_casinhl): Likewise.
65920         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
65921         (cacos_test): Add more tests.
65922         (casin_test): Likewise.
65923         (casinh_test): Likewise.
65924         * sysdeps/i386/fpu/libm-test-ulps: Update.
65925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65927 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
65929         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
65930         ONE with its value.
65932         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
65933         (__pow_mp): Replace ONE and MONE with their values.
65934         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
65935         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
65936         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
65937         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
65938         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
65939         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
65941         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
65943         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
65944         (__pow_mp): Replace ZERO and MZERO with their values.
65945         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
65946         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
65947         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
65948         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
65949         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
65950         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
65951         (__sqr): Likewise.
65953         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
65955         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
65957 2013-03-28  Roland McGrath  <roland@hack.frob.com>
65959         * include/stdlib.h [!SHARED] (__call_tls_dtors):
65960         Declare with __attribute__ ((weak)).
65961         * stdlib/exit.c (__libc_atexit) [!SHARED]:
65962         Call __call_tls_dtors only if it's not NULL.
65964 2013-03-28  Roland McGrath  <roland@hack.frob.com>
65966         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
65967         didn't do it already, then set _dl_phdr and _dl_phnum based on the
65968         magic __ehdr_start linker symbol if it's defined.
65969         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
65970         them up here if it was already done.
65972         * elf/dl-support.c (_dl_phdr): Make pointer to const.
65973         (_dl_aux_init): Use const in cast when setting it.
65974         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
65975         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
65976         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
65978         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
65979         Declare them here.
65980         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
65981         * csu/libc-tls.c: Nor here.
65982         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
65984         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
65985         (__libc_message): Never call vsyslog.
65987 2013-03-28  Alan Modra  <amodra@gmail.com>
65989         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
65990         Define as empty.
65991         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
65992         Likewise.
65994 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65996         [BZ #15214]
65997         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
65998         underflow.
65999         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66001 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
66003         [BZ #15304]
66004         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
66005         Don't add gid passed as argument.
66007         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
66009 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
66011         [BZ #15307]
66012         * math/k_casinh.c (__kernel_casinh): Handle arguments with
66013         imaginary part between 1.0 and 1.5 and real part less than 0.5
66014         specially.
66015         * math/k_casinhf.c (__kernel_casinhf): Likewise.
66016         * math/k_casinhl.c (__kernel_casinhl): Likewise.
66017         * math/libm-test.inc (cacos_test): Add more tests.
66018         (casin_test): Likewise.
66019         (casinh_test): Likewise.
66020         * sysdeps/i386/fpu/libm-test-ulps: Update.
66021         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66023 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
66025         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
66026         constants.
66027         (norm): Likewise.
66028         (denorm): Likewise.
66029         (__dbl_mp): Likewise.
66030         (add_magnitudes): Likewise.
66031         (sub_magnitudes): Likewise.
66032         (__add): Likewise.
66033         (__sub): Likewise.
66034         (__mul): Likewise.
66035         (__sqr): Likewise.
66036         (__inv): Likewise.
66037         (__dvd): Likewise.
66039         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
66040         commented code.
66041         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
66042         (__dubcos): Likewise.
66043         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
66044         (__ieee754_acos): Likewise.
66045         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
66046         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
66047         (__exp1): Likewise.
66048         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
66049         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
66050         (log1): Likewise.
66051         (my_log2): Likewise.
66052         (checkint): Likewise.
66053         * sysdeps/ieee754/dbl-64/e_remainder.c
66054         (__ieee754_remainder): Likewise.
66055         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
66056         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
66057         (bsloww): Likewise.
66058         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
66060         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
66061         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
66062         MANTISSA_STORE_T to store computations on mantissa.  Use
66063         macros for rounding and division.
66064         (denorm): Likewise.
66065         (__dbl_mp): Likewise.
66066         (add_magnitudes): Likewise.
66067         (sub_magnitudes): Likewise.
66068         (__mul): Likewise.
66069         (__sqr): Likewise.
66070         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
66071         powers of two in terms of TWOPOW macro.
66072         (mp_no): Make type of mantissa as MANTISSA_T.
66073         [!RADIXI]: Define RADIXI.
66074         [!TWO52]: Define TWO52.
66075         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
66077 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66079         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
66080         llroundl symbol when building for PPC32.
66082 2013-03-24  Mark H Weaver  <mhw@netris.org>
66084         * manual/arith.texi (Normalization Functions): Fix prototypes for
66085         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
66087 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66089         [BZ #13889]
66090         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
66091         high value to check if expl overflow.
66092         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
66093         to check for underflow and overflow.
66094         * math/libm-test.inc: Add exp test.
66096 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
66098         [BZ #11120]
66099         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
66100         with NOT_IN_libc.
66102 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66104         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
66105         symbol.
66107 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
66109         * math/gen-libm-test.pl (parse_args, special_functions): Properly
66110         wrap blocks consisting of several statements.
66112         * sysdeps/generic/math-tests.h: New file.
66113         * sysdeps/i386/fpu/math-tests.h: Likewise.
66114         * math/test-snan.c: Include it.
66115         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
66117 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
66119         [BZ #15285]
66120         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
66121         (__ieee754_j0l): Do not improve calculations using cos of twice
66122         input for inputs above LDBL_MAX / 2.0L.
66123         (__ieee754_y0l): Likewise.
66124         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
66125         (__ieee754_j1l): Do not improve calculations using cos of twice
66126         input for inputs above LDBL_MAX / 2.0L.
66127         (__ieee754_y1l): Likewise.
66128         * math/libm-test.inc (j0_test): Add another test.
66129         (j1_test): Likewise.
66130         (y0_test): Likewise.
66131         (y1_test): Likewise.
66132         * sysdeps/i386/fpu/libm-test-ulps: Update.
66134 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
66136         * Rules ($(objpfx)bench-%.c): Include code from a C source
66137         file.
66139 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
66141         [BZ #15287]
66142         * math/k_casinh.c (__kernel_casinh): Handle arguments with
66143         imaginary part 1.0 and real part less than 0.5 specially.
66144         * math/k_casinhf.c (__kernel_casinhf): Likewise.
66145         * math/k_casinhl.c (__kernel_casinhl): Likewise.
66146         * math/libm-test.inc (cacos_test): Add more tests.
66147         (casin_test): Likewise.
66148         (casinh_test): Likewise.
66149         * sysdeps/i386/fpu/libm-test-ulps: Update.
66150         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66152 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
66154         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
66155         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
66157 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
66159         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
66160         * config.make.in (config-cflags-sse4): Remove variable.
66161         (config-cflags-avx): Likewise.
66162         (config-cflags-sse2avx): Likewise.
66163         (config-cflags-novzeroupper): Likewise.
66164         (config-asflags-i686): Likewise.
66165         (have-mfma4): Likewise.
66166         (have-as-vis3): Likewise.
66167         (MIG): Likewise.
66168         * configure.in (MIG): Do not AC_SUBST.
66169         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
66170         (libc_cv_cc_sse4): Do not AC_SUBST.
66171         (libc_cv_cc_avx): Likewise.
66172         (libc_cv_cc_sse2avx): Likewise.
66173         (libc_cv_cc_novzeroupper): Likewise.
66174         (libc_cv_cc_fma4): Likewise.
66175         (libc_cv_as_i686): Likewise.
66176         (libc_cv_sparc_as_vis3): Likewise.
66177         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
66178         LIBC_CONFIG_VAR.
66179         (config-asflags-i686): Likewise.
66180         (config-cflags-avx): Likewise.
66181         (config-cflags-sse2avx): Likewise.
66182         (have-mfma4): Likewise.
66183         (config-cflags-novzeroupper): Likewise.
66184         * sysdeps/mach/configure.in (MIG): Likewise.
66185         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
66186         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
66187         LIBC_CONFIG_VAR.
66188         (config-cflags-avx): Likewise.
66189         (config-cflags-sse2avx): Likewise.
66190         (have-mfma4): Likewise.
66191         (config-cflags-novzeroupper): Likewise.
66192         * configure: Regenerated.
66193         * sysdeps/i386/configure: Likewise.
66194         * sysdeps/mach/configure: Likewise.
66195         * sysdeps/sparc/configure: Likewise.
66196         * sysdeps/x86_64/configure: Likewise.
66198 2013-03-20  Roland McGrath  <roland@hack.frob.com>
66200         [BZ #14812]
66201         * locale/programs/localedef.c (options): Put N_ translation marker
66202         on argument names, not just descriptions.
66204 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
66206         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
66208 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
66210         [BZ #14176]
66211         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
66213 2013-03-19  Roland McGrath  <roland@hack.frob.com>
66215         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
66216         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
66217         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
66218         [!BEFORE_ABORT] (before_abort): New function.
66219         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
66220         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
66221         (writev_for_fatal): New function.
66222         (WRITEV_FOR_FATAL): New macro; call that.
66223         (backtrace_and_maps): New function.
66224         (BEFORE_ABORT): New macro; call that.
66225         (struct str_list): Type removed.
66226         (__libc_message, __libc_fatal): Functions removed.
66227         Include <sysdeps/posix/libc_fatal.c> instead.
66229 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
66231         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
66232         constants.
66233         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
66234         double constants.
66236 2013-03-19  Andreas Schwab  <schwab@suse.de>
66238         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
66239         * sysdeps/gnu/configure: Regenerate.
66241         * configure.in: Substitute libc_cv_rtlddir.
66242         * configure: Regenerate.
66243         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
66244         * Makeconfig (rtlddir, inst_rtlddir): New variables.
66245         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
66246         * elf/Makefile (install-others, CFLAGS-interp.c)
66247         (ldso_install, common-ldd-rewrite): Likewise.
66248         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
66249         $(inst_slibdir)/$(rtld-installed-name).
66250         * scripts/rellns-sh: Add -p option.
66251         * Makerules (make-shlib-link): Use rellns-sh to get relative name
66252         for source.
66254 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
66256         * manual/nptl.texi: Renamed to ...
66257         * manual/threads.texi: ... this.
66258         * manual/Makefile (chapters): Update.
66260 2013-03-18  Roland McGrath  <roland@hack.frob.com>
66262         [BZ #14812]
66263         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
66264         on argument names, not just descriptions.
66265         * malloc/memusagestat.c (options): Likewise.
66266         * nss/getent.c (options): Likewise.
66268 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
66270         [BZ #14812]
66271         * iconv/iconv_prog.c (options): Put N_ translation marker
66272         on argument names, not just descriptions.
66273         * iconv/iconvconfig.c (options): Likewise.
66275 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
66277         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
66278         implementation which is faster on all x86_64 architectures.
66279         Tested on AMD, Intel Nehalem, SNB, IVB.
66280         * sysdeps/x86_64/strnlen.S: Likewise.
66282         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
66283         Remove all multiarch strlen and strnlen versions.
66284         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
66285         Remove strlen and strnlen related parts.
66287         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
66288         Inline strlen part.
66289         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
66291         * sysdeps/x86_64/multiarch/strlen.S: Remove.
66292         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
66293         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
66294         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
66295         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
66296         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
66298 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
66300         * manual/memory.texi (Malloc Tunable Parameters):
66301         Sort parameters alphabetically. Add comments for missing entries.
66303 2013-03-17  David S. Miller  <davem@davemloft.net>
66305         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66307 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
66309         [BZ #15283]
66310         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
66311         for arguments at most half maximum finite value.
66312         * math/libm-test.inc (j0_test): Add more tests.
66313         (j1_test): Likewise.
66314         (y0_test): Likewise.
66315         (y1_test): Likewise.
66316         * sysdeps/i386/fpu/libm-test-ulps: Update.
66317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66319         [BZ #14155]
66320         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
66321         1 / x and functions P and Q for arguments above 0x1p256L.
66322         (__ieee754_y0l): Likewise.
66323         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
66324         (__ieee754_y1l): Likewise.
66325         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
66326         (j1_test): Likewise.
66327         (y0_test): Likewise.
66328         (y1_test): Likewise.
66330 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
66332         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
66333         variable.
66335 2013-03-15  Roland McGrath  <roland@hack.frob.com>
66337         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
66338         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
66339         zero since it's initialized to EXEC_PAGESIZE.
66341         * sysdeps/unix/sysv/linux/ldsodefs.h
66342         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
66343         * sysdeps/generic/ldsodefs.h: ... here.
66345 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
66347         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
66349         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
66350         math/test-snan.c.
66351         * math/test-snan.c: Renamed from
66352         sysdeps/powerpc/fpu/test-powerpc-snan.c.
66353         * math/Makefile (tests): Add test-snan.
66354         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
66355         test-powerpc-snan.
66357         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
66358         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
66359         functions.
66360         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
66361         __builtin_nan family of functions.
66362         * math/libm-test.inc (initialize): Initialize qnan_value with
66363         __builtin_nan family of functions.
66364         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
66365         Remove variables.
66366         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
66367         Remove functions.
66368         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
66369         storage class.  Initialize qNaN_var and sNaN_var with
66370         __builtin_nan and __builtin_nans families of functions,
66371         respectively.
66373         * math/libm-test.inc (acosh_test): Also test with qNaN input.
66374         (sqrt_test): Remove duplicate test with qNaN input.
66375         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
66376         (round_test, signbit_test, significand_test): Note missing +/-Inf
66377         as well as qNaN tests.
66379         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
66380         qNaN_var.  Fix a few strings, too.
66381         * math/libm-test.inc (nan_value): Rename to qnan_value.
66382         * math/gen-libm-test.pl (%beautify): Adjust to that.
66383         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
66384         * math/test-misc.c (main): Likewise.
66385         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
66386         to __qnan_bytes, and __qnan_union, respectively.
66387         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
66388         Likewise.
66389         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
66390         and lqnanval, respectively.
66391         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
66392         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
66393         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
66394         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
66396         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
66397         * math/test-misc.c (main) [__x86_64__]: Enable test for long
66398         doubles.
66400         * math/test-misc.c (main): Fix copy'n'pastos.
66401         * misc/tst-efgcvt.c (special): Likewise.
66403         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
66404         Remove declarations.
66406 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
66408         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
66409         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
66410         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
66411         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
66413 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66415         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
66416         macro to return vdso values correctly in IFUNC implementations.
66417         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
66418         Optimization by using IFUNC.
66420 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
66421             Richard Henderson  <rth@redhat.com>
66422             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66424         * Makefile.in (bench): New target.
66425         * NEWS: Mention the benchmark framework.
66426         * Rules (bench): Likewise.
66427         (binaries-bench): Generate binaries for functions to
66428         benchmark.
66429         * benchtests/Makefile: New makefile for benchmark tests.
66430         * benchtests/bench-skeleton.c: New skeleton file for benchmark
66431         programs.
66432         * benchtests/exp-inputs: New input file for EXP function.
66433         * benchtests/pow-inputs: New input file for POW function.
66434         * scripts/bench.pl: New script to generate source files for
66435         benchmark programs.
66437 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
66439         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
66440         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
66441         computations on mantissa.  Use macros for rounding and
66442         division.
66443         (denorm): Likewise.
66444         (__dbl_mp): Likewise.
66445         (add_magnitudes): Likewise.
66446         (sub_magnitudes): Likewise.
66447         (__mul): Likewise.
66448         (__sqr): Likewise.
66449         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
66450         powers of two in terms of TWOPOW macro.
66451         (mp_no): Make type of mantissa as MANTISSA_T.
66452         [!RADIXI]: Define RADIXI.
66453         [!TWO52]: Define TWO52.
66454         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
66456         * manual/nptl.texi (cindex): Modify threads to pthreads.
66458 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
66460         * sysdeps/x86_64/preconfigure: Regenerated.
66462 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
66464         [BZ #14155]
66465         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
66466         0x1p28 and above.
66467         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
66468         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
66469         0x1p28 and above.
66470         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
66471         * math/libm-test.inc (j0_test): Do not allow one spurious
66472         underflow exception.
66473         (y1_test): Likewise.
66475 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
66477         * manual/Makefile (chapters): Add nptl.
66478         * manual/debug.texi (Debugging Support): Add link to Threads
66479         chapter.
66480         * manual/nptl.texi: New file.
66482         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
66484 2013-03-14  Petr Baudis  <pasky@ucw.cz>
66486         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
66487         for non-NULL pointer before the memory validity test. Pointed
66488         out by Holger Brunck <holger.brunck@keymile.com>.
66490 2013-03-13  Andreas Schwab  <schwab@suse.de>
66492         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
66493         instead of .os.
66495 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
66497         * timezone/zic.c: Update from tzcode 2013b.
66499 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
66501         * manual/install.texi (Configuring and compiling):
66502         Mention i686 and i586.
66503         * INSTALL: Regenerate.
66505 2013-03-12  Roland McGrath  <roland@hack.frob.com>
66507         * sysdeps/init_array/elf-init.c: New file.
66508         * csu/elf-init.c
66509         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
66510         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
66512         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
66513         __gmon_start__ as global, but as static with a .preinit_array pointer.
66514         * sysdeps/init_array/gmon-start.c: New file.  Use that.
66515         * sysdeps/init_array/crti.S: New file, empty except for comments.
66516         * sysdeps/init_array/crtn.S: Likewise.
66518 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
66520         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
66521         definining bcopy.
66522         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66523         Remove Prefer_SSE_for_memop.
66524         * sysdeps/x86_64/multiarch/init-arch.h: Remove
66525         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
66526         HAS_PREFER_SSE_FOR_MEMOP.
66527         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
66528         memset-x86-64.
66529         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
66530         Remove bzero, memset ifunc support.
66531         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
66532         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
66533         * sysdeps/x86_64/multiarch/memset.S: Likewise.
66534         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
66536 2013-03-11  Andreas Schwab  <schwab@suse.de>
66538         [BZ #15234]
66539         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
66540         by SHLIB_COMPAT.
66541         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
66542         (GLIBC_2.16): Remove pthread_atfork.
66544 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
66546         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
66547         (ptestcases.h): Likewise.
66549 2013-03-08  Roland McGrath  <roland@hack.frob.com>
66551         * Makeconfig ($(common-objpfx)config.status): Depend on
66552         sysdeps/*/preconfigure{,.in} too.
66554 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
66556         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
66557         (__free_hook): Use void * instead of __malloc_ptr_t.
66558         (__malloc_hook): Likewise.
66559         (__realloc_hook): Likewise.
66560         (__memalign_hook): Likewise.
66561         (__after_morecore_hook): Likewise.
66562         * malloc/arena.c (save_malloc_hook): Likewise.
66563         (save_free_hook): Likewise.
66564         * malloc/hooks.c (malloc_hook_ini): Likewise.
66565         (realloc_hook_ini): Likewise.
66566         (memalign_hook_ini): Likewise.
66567         * malloc/malloc.c (malloc_hook_ini): Likewise.
66568         (realloc_hook_ini): Likewise.
66569         (memalign_hook_ini): Likewise.
66570         (__free_hook): Likewise.
66571         (__malloc_hook): Likewise.
66572         (__realloc_hook): Likewise.
66573         (__memalign_hook): Likewise.
66574         (__libc_malloc): Likewise.
66575         (__libc_free): Likewise.
66576         (__libc_realloc): Likewise.
66577         (__libc_memalign): Likewise.
66578         (__libc_valloc): Likewise.
66579         (__libc_pvalloc): Likewise.
66580         (__libc_calloc): Likewise.
66581         (__posix_memalign): Likewise.
66582         * malloc/morecore.c (__sbrk): Likewise.
66583         (__default_morecore): Likewise.
66585         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
66587         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
66588         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
66589         __malloc_ptrdiff_t.
66591         * malloc/malloc.h (__malloc_size_t): Remove macro.
66592         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
66593         __malloc_size_t.
66594         (old_memalign_hook): Likewise.
66595         (old_realloc_hook): Likewise.
66596         (struct hdr): Likewise.
66597         (flood): Likewise.
66598         (mallochook): Likewise.
66599         (memalignhook): Likewise.
66600         (reallochook): Likewise.
66601         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
66602         (tr_old_realloc_hook): Likewise.
66603         (tr_old_memalign_hook): Likewise.
66604         (tr_mallochook): Likewise.
66605         (tr_reallochook): Likewise.
66606         (tr_memalignhook): Likewise.
66608 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66610         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
66611         default_ldbl_pack and using as default implementation.
66612         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
66613         implementation.
66614         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
66615         redundant definition.
66616         (ldbl_insert_mantissa): Likewise.
66617         (ldbl_canonicalize): Likewise.
66618         (ldbl_nearbyint): Likewise.
66619         (ldbl_pack): Rename to ldbl_pack_ppc.
66620         (ldbl_unpack): Rename to ldbl_unpack_ppc.
66621         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
66622         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
66624 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
66626         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
66627         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
66628         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
66629         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
66630         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
66631         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
66632         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
66633         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
66635 2013-03-07  Andreas Jaeger  <aj@suse.de>
66637         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66638         bits/mman-linux.h.
66640 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
66642         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
66643         Include mpa.h and declare __MPEXP.
66644         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
66645         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
66646         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
66647         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
66648         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
66649         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
66650         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
66652         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
66653         (__slowpow): Use long double EXPL and LOGL functions to
66654         compute POW.
66655         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
66656         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
66657         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
66658         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
66659         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
66660         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
66662         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
66663         intermediate variable to calculate exponent.
66664         (__sqr): Likewise.
66665         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
66666         Likewise.
66667         (__sqr): Likewise.
66669         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
66670         [!NO__SQR]: Define __sqr.
66671         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
66672         and NO__SQR.  Remove all code except __mul and __sqr.  Include
66673         sysdeps/ieee754/dbl-64/mpa.c.
66674         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
66676         [BZ #12723]
66677         * posix/Makefile (tests): Add tst-pathconf.
66678         * posix/tst-pathconf.c: New test case.
66679         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
66680         _PC_PIPE_BUF.
66681         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
66683 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
66685         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
66687 2013-03-06  Andreas Jaeger  <aj@suse.de>
66689         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
66690         definition via __MAP_ANONYMOUS.
66692         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
66693         it's not part of Linux headers.
66695         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
66696         (MAP_HUGE_MASK): Define.
66698         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
66699         Define.
66700         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
66701         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
66702         Define.
66703         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
66704         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
66705         Define.
66706         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
66707         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
66708         Define.
66709         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
66711         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
66712         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
66713         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
66714         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
66715         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
66716         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
66718         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
66719         Handle f2fs.
66721         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
66722         Handle f2fs and efivarfs.
66724         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
66725         f2fs.
66727         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
66728         (EFIVARFS_MAGIC): Add.
66729         (F2FS_LINK_MAX): Add.
66731 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
66733         * stdio-common/vfprintf.c: Replace __builtin_expect with
66734         __glibc_unlikely.
66736 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
66738         [BZ #13550]
66739         * sysdeps/generic/bp-sym.h: Remove file.
66740         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
66741         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
66742         <bp-sym.h> and <bp-asm.h>.
66743         (__longjmp): Don't use BP_SYM.
66744         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
66745         and <bp-asm.h>.
66746         (memcpy): Don't use BP_SYM.
66747         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
66748         <bp-sym.h> and <bp-asm.h>.
66749         (memcpy): Don't use BP_SYM.
66750         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
66751         <bp-asm.h>.
66752         (memcpy): Don't use BP_SYM.
66753         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
66754         <bp-asm.h>.
66755         (memset): Don't use BP_SYM.
66756         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
66757         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
66758         (__bzero): Don't use BP_SYM.
66759         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
66760         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
66761         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
66762         <bp-sym.h> and <bp-asm.h>.
66763         (memcmp): Don't use BP_SYM.  Remove comment about bounded
66764         pointers.
66765         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
66766         <bp-sym.h> and <bp-asm.h>.
66767         (memcpy): Don't use BP_SYM.
66768         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
66769         <bp-sym.h> and <bp-asm.h>.
66770         (memset): Don't use BP_SYM.
66771         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
66772         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
66773         (__bzero): Don't use BP_SYM.
66774         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
66775         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
66776         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
66777         <bp-sym.h> and <bp-asm.h>.
66778         (strncmp): Don't use BP_SYM.  Remove comment about bounded
66779         pointers.
66780         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
66781         <bp-sym.h> and <bp-asm.h>.
66782         (memcpy): Don't use BP_SYM.
66783         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
66784         <bp-sym.h> and <bp-asm.h>.
66785         (memset): Don't use BP_SYM.
66786         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
66787         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
66788         (__bzero): Don't use BP_SYM.
66789         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
66790         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
66791         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
66792         <bp-sym.h> and <bp-asm.h>.
66793         (__memchr): Don't use BP_SYM.
66794         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
66795         <bp-sym.h> and <bp-asm.h>.
66796         (memcmp): Don't use BP_SYM.  Remove comment about bounded
66797         pointers.
66798         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
66799         <bp-sym.h> and <bp-asm.h>.
66800         (memcpy): Don't use BP_SYM.
66801         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
66802         <bp-sym.h> and <bp-asm.h>.
66803         (__mempcpy): Don't use BP_SYM.
66804         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
66805         <bp-sym.h> and <bp-asm.h>.
66806         (__memrchr): Don't use BP_SYM.
66807         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
66808         <bp-sym.h> and <bp-asm.h>.
66809         (memset): Don't use BP_SYM.
66810         (__bzero): Likewise.
66811         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
66812         <bp-sym.h> and <bp-asm.h>.
66813         (__rawmemchr): Don't use BP_SYM.
66814         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
66815         <bp-sym.h> and <bp-asm.h>.
66816         (__STRCMP): Don't use BP_SYM.
66817         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
66818         <bp-sym.h> and <bp-asm.h>.
66819         (strchr): Don't use BP_SYM.
66820         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
66821         <bp-sym.h> and <bp-asm.h>.
66822         (__strchrnul): Don't use BP_SYM.
66823         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
66824         <bp-sym.h> and <bp-asm.h>.
66825         (strlen): Don't use BP_SYM.
66826         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
66827         <bp-sym.h> and <bp-asm.h>.
66828         (strncmp): Don't use BP_SYM.  Remove comment about bounded
66829         pointers.
66830         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
66831         <bp-sym.h> and <bp-asm.h>.
66832         (__strnlen): Don't use BP_SYM.
66833         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
66834         <bp-sym.h> and <bp-asm.h>.
66835         (__GI__setjmp): Don't use BP_SYM.
66836         (_setjmp): Likewise.
66837         (__sigsetjmp): Likewise.
66838         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
66839         (L(start_addresses)): Don't use BP_SYM.
66840         (_start): Likewise.
66841         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
66842         <bp-asm.h>.
66843         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
66844         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
66845         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
66846         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
66847         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
66848         <bp-asm.h>.
66849         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
66850         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
66851         about bounded pointers.
66852         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
66853         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
66854         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
66855         <bp-asm.h>.
66856         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
66857         about bounded pointers.  Remove GKM FIXME comments.
66858         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
66859         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
66860         <bp-asm.h>.
66861         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
66862         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
66863         Remove GKM FIXME comments.
66864         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
66865         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
66866         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
66867         <bp-asm.h>.
66868         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
66869         about bounded pointers.  Remove GKM FIXME comment.
66870         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
66871         and <bp-asm.h>.
66872         (strncmp): Don't use BP_SYM.  Remove comment about bounded
66873         pointers.
66874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
66875         <bp-sym.h> and <bp-asm.h>.
66876         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
66877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
66878         <bp-sym.h> and <bp-asm.h>.
66879         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
66880         comment.
66882 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
66884         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
66885         call free(NULL).
66887 2013-03-05  David S. Miller  <davem@davemloft.net>
66889         * po/es.po: Update from translation team.
66891 2013-03-05  Andreas Jaeger  <aj@suse.de>
66893         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
66894         <bits/mman-linux.h>.
66895         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
66896         is fine.
66897         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
66898         <bits/mman-linux.h> to end of file.
66899         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
66900         is fine.
66901         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
66902         <bits/mman-linux.h> to end of file.
66903         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
66904         is fine.
66905         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
66906         <bits/mman-linux.h> to end of file.
66908         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
66909         (MCL_CURRENT, MCL_FUTURE): Define here.
66911 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66913         [BZ #15232]
66914         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
66915         attribute_hidden.
66916         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
66918 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66920         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
66921         fourth parameter needed for rt_sigprocmask syscall.
66922         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
66923         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
66924         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
66925         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
66926         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
66927         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
66929 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
66931         [BZ #13550]
66932         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
66933         comment about bounded pointers.
66934         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
66935         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
66937 2013-03-04  Andreas Jaeger  <aj@suse.de>
66939         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
66940         common definitions.
66942         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
66943         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
66944         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
66945         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
66946         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
66947         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
66949 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66951         [BZ #15055]
66952         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
66953         __ieee754_sqrl instead of __sqrl.
66955 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
66957         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
66958         * sysdeps/powerpc/fpu_control.h: ... here.
66959         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
66960         * sysdeps/powerpc/bits/fenvinline.h: ... here.
66961         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
66962         * sysdeps/powerpc/bits/mathinline.h: ... here.
66964 2013-03-01  Roland McGrath  <roland@hack.frob.com>
66966         * elf/dl-hwcaps.c (_dl_important_hwcaps):
66967         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
66968         to just [NEED_DL_SYSINFO_DSO].
66969         * elf/dl-support.c: Likewise.
66970         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
66971         * elf/rtld.c (dl_main): Likewise.
66972         * elf/setup-vdso.h (setup_vdso): Likewise.
66973         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
66974         * sysdeps/unix/sysv/linux/dl-sysdep.c
66975         (_dl_discover_osversion): Likewise.
66977 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
66979         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
66980         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
66982 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
66984         * NEWS: Mention libm performance improvements and non-x86 PI
66985         futex support.
66987         * csu/libc-start.c (__pthread_initialize_minimal): Change
66988         function arguments.
66989         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
66991 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
66993         [BZ #13550]
66994         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
66995         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
66996         <bp-sym.h> and <bp-asm.h>.
66997         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
66998         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
66999         and <bp-asm.h>.
67000         (memcpy): Don't use BP_SYM.
67001         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
67002         <bp-asm.h>.
67003         (__mpn_add_n): Don't use BP_SYM.
67004         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
67005         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
67006         and <bp-asm.h>.
67007         (__mpn_addmul_1): Don't use BP_SYM.
67008         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67009         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
67010         <bp-sym.h>.
67011         (_setjmp): Don't use BP_SYM.
67012         (__novmx_setjmp): Likewise.
67013         (__GI__setjmp): Likewise.
67014         (__vmx_setjmp): Likewise.
67015         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
67016         <bp-sym.h>.
67017         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
67018         (__bzero): Don't use BP_SYM.
67019         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
67020         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
67021         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
67022         <bp-sym.h> and <bp-asm.h>.
67023         (memcpy): Don't use BP_SYM.
67024         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
67025         <bp-sym.h> and <bp-asm.h>.
67026         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
67027         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
67028         <bp-sym.h> and <bp-asm.h>.
67029         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
67030         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
67031         <bp-asm.h>.
67032         (__mpn_lshift): Don't use BP_SYM.
67033         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
67034         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
67035         <bp-asm.h>.
67036         (memset): Don't use BP_SYM.
67037         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
67038         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
67039         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
67040         <bp-asm.h>.
67041         (__mpn_mul_1): Don't use BP_SYM.
67042         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67043         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
67044         <bp-sym.h> and <bp-asm.h>.
67045         (memcmp): Don't use BP_SYM.
67046         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
67047         <bp-sym.h> and <bp-asm.h>.
67048         (memcpy): Don't use BP_SYM.
67049         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
67050         <bp-sym.h> and <bp-asm.h>.
67051         (memset): Don't use BP_SYM.
67052         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
67053         <bp-sym.h> and <bp-asm.h>.
67054         (strncmp): Don't use BP_SYM.
67055         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
67056         <bp-sym.h> and <bp-asm.h>.
67057         (memcpy): Don't use BP_SYM.
67058         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
67059         <bp-sym.h> and <bp-asm.h>.
67060         (memset): Don't use BP_SYM.
67061         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
67062         <bp-sym.h> and <bp-asm.h>.
67063         (__memchr): Don't use BP_SYM.
67064         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
67065         <bp-sym.h> and <bp-asm.h>.
67066         (memcmp): Don't use BP_SYM.
67067         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
67068         <bp-sym.h> and <bp-asm.h>.
67069         (memcpy): Don't use BP_SYM.
67070         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
67071         <bp-sym.h> and <bp-asm.h>.
67072         (__mempcpy): Don't use BP_SYM.
67073         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
67074         <bp-sym.h> and <bp-asm.h>.
67075         (__memrchr): Don't use BP_SYM.
67076         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
67077         <bp-sym.h> and <bp-asm.h>.
67078         (memset): Don't use BP_SYM.
67079         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
67080         <bp-sym.h> and <bp-asm.h>.
67081         (__rawmemchr): Don't use BP_SYM.
67082         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
67083         <bp-sym.h> and <bp-asm.h>.
67084         (__STRCMP): Don't use BP_SYM.
67085         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
67086         <bp-sym.h> and <bp-asm.h>.
67087         (strchr): Don't use BP_SYM.
67088         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
67089         <bp-sym.h> and <bp-asm.h>.
67090         (__strchrnul): Don't use BP_SYM.
67091         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
67092         <bp-sym.h> and <bp-asm.h>.
67093         (strlen): Don't use BP_SYM.
67094         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
67095         <bp-sym.h> and <bp-asm.h>.
67096         (strncmp): Don't use BP_SYM.
67097         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
67098         <bp-sym.h> and <bp-asm.h>.
67099         (__strnlen): Don't use BP_SYM.
67100         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
67101         <bp-asm.h>.
67102         (__mpn_rshift): Don't use BP_SYM.
67103         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
67104         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
67105         <bp-sym.h> and <bp-asm.h>.
67106         (__sigsetjmp): Don't use BP_SYM.
67107         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
67108         (L(start_addresses)): Don't use BP_SYM.
67109         (_start): Likewise.
67110         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
67111         <bp-asm.h>.
67112         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
67113         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
67114         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
67115         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
67116         <bp-asm.h>.
67117         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
67118         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
67119         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
67120         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
67121         <bp-asm.h>.
67122         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
67123         comments.
67124         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
67125         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
67126         <bp-asm.h>.
67127         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
67128         FIXME comments.
67129         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
67130         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
67131         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
67132         <bp-asm.h>.
67133         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
67134         comment.
67135         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
67136         and <bp-asm.h>.
67137         (strncmp): Don't use BP_SYM,
67138         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
67139         <bp-asm.h>.
67140         (__mpn_sub_n): Don't use BP_SYM.
67141         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
67142         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
67143         and <bp-asm.h>.
67144         (__mpn_submul_1): Don't use BP_SYM.
67145         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
67147         <bp-sym.h> and <bp-asm.h>.
67148         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
67149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
67150         <bp-sym.h> and <bp-asm.h>.
67151         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
67152         comment.
67154 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
67156         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
67157         Use ZK to minimize writes to Z.
67158         (sub_magnitudes): Simplify code a bit.
67159         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
67160         Use ZK to minimize writes to Z.
67161         (sub_magnitudes): Simplify code a bit.
67163 2013-02-27  Roland McGrath  <roland@hack.frob.com>
67165         * csu/gmon-start.c: Add special exception to license text.
67167 2013-02-27  Richard Henderson  <rth@redhat.com>
67169         * scripts/config.guess: Update from config.git.
67170         * scripts/config.sub: Likewise.
67172 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
67174         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
67176         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
67178         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
67180         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
67182         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
67184 2013-02-26  Roland McGrath  <roland@hack.frob.com>
67186         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
67187         [$(build-shared = yes].
67189 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
67191         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
67192         (__mul): Reduce iterations for calculating mantissa.
67194         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
67195         MPTWO.
67196         (__mpranred): Likewise.
67198         [BZ #15160]
67199         * malloc/memusagestat.c (main): Draw graphs for heap and stack
67200         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
67202 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
67204         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
67205         Define __attribute__.
67207 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
67209         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
67210         unused.
67211         * posix/regex_internal.h (__attribute): Remove.
67212         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
67213         (re_string_context_at): Likewise.
67214         (bitset_not): Use __attribute__ and mark function as possibly
67215         unused.
67216         (bitset_merge): Likewise.
67217         (bitset_mask): Likewise.
67218         (re_string_char_size_at): Likewise.
67219         (re_string_wchar_at): Likewise.
67220         (re_string_elem_size_at): Likewise.
67222 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
67224         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
67225         code.
67226         (cc32): Likewise.
67228         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
67229         (__acr): Likewise.
67230         (__cpy): Likewise.
67231         (norm): Likewise.
67232         (denorm): Likewise.
67233         (__dbl_mp): Likewise.
67234         (add_magnitudes): Likewise.
67235         (sub_magnitudes): Likewise.
67236         (__mul): Likewise.
67237         (__inv): Likewise.
67239         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
67240         style.
67242         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
67243         style.
67245         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
67246         code.
67248         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
67249         up changes with default code.
67250         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
67251         Likewise.
67253 2013-02-24  Allan McRae  <allan@archlinux.org>
67255         * manual/socket.texi (The Internet Namespace): Order menu items
67256         to match that in the file.
67258         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
67259         node listing of the info page menu.
67261 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
67263         [BZ #13550]
67264         * sysdeps/i386/bp-asm.h: Remove file.
67265         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
67266         (PARMS): Do not use macros from bp-asm.h.
67267         (S1): Likewise.
67268         (S2): Likewise.
67269         (SIZE): Likewise.
67270         (__mpn_add_n): Do not use BP_SYM
67271         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
67272         "bp-asm.h".
67273         (PARMS): Do not use macros from bp-asm.h.
67274         (S1): Likewise.
67275         (SIZE): Likewise.
67276         (__mpn_addmul_1): Do not use BP_SYM
67277         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
67278         "bp-asm.h".
67279         (PARMS): Do not use macros from bp-asm.h.
67280         (SIGMSK): Likewise.
67281         (_setjmp): Likewise.  Do not use BP_SYM.
67282         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
67283         "bp-asm.h".
67284         (PARMS): Do not use macros from bp-asm.h.
67285         (SIGMSK): Likewise.
67286         (setjmp): Likewise.  Do not use BP_SYM.
67287         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
67288         "bp-asm.h".
67289         (PARMS): Do not use macros from bp-asm.h.
67290         (__frexp): Do not use BP_SYM.
67291         (frexp): Likewise.
67292         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
67293         "bp-asm.h".
67294         (PARMS): Do not use macros from bp-asm.h.
67295         (__frexpf): Do not use BP_SYM.
67296         (frexpf): Likewise.
67297         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
67298         "bp-asm.h".
67299         (PARMS): Do not use macros from bp-asm.h.
67300         (__frexpl): Do not use BP_SYM.
67301         (frexpl): Likewise.
67302         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
67303         "bp-asm.h".
67304         (PARMS): Do not use macros from bp-asm.h.
67305         (__remquo): Do not use BP_SYM.
67306         (remquo): Likewise.
67307         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
67308         "bp-asm.h".
67309         (PARMS): Do not use macros from bp-asm.h.
67310         (__remquof): Do not use BP_SYM.
67311         (remquof): Likewise.
67312         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
67313         "bp-asm.h".
67314         (PARMS): Do not use macros from bp-asm.h.
67315         (__remquol): Do not use BP_SYM.
67316         (remquol): Likewise.
67317         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
67318         "bp-asm.h".
67319         (PARMS): Do not use macros from bp-asm.h.
67320         (DEST): Likewise.
67321         (SRC): Likewise.
67322         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
67323         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
67324         "bp-asm.h".
67325         (PARMS): Do not use macros from bp-asm.h.
67326         (strlen): Do not use BP_SYM.
67327         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
67328         "bp-asm.h".
67329         (PARMS): Do not use macros from bp-asm.h.
67330         (S1): Likewise.
67331         (S2): Likewise.
67332         (SIZE): Likewise.
67333         (__mpn_add_n): Do not use BP_SYM.
67334         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
67335         "bp-asm.h".
67336         (PARMS): Do not use macros from bp-asm.h.
67337         (S1): Likewise.
67338         (SIZE): Likewise.
67339         (__mpn_addmul_1): Do not use BP_SYM.
67340         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
67341         weak_alias.
67342         (bzero): Likewise.
67343         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
67344         "bp-asm.h".
67345         (PARMS): Do not use macros from bp-asm.h.
67346         (S): Likewise.
67347         (SIZE): Likewise.
67348         (__mpn_lshift): Do not use BP_SYM.
67349         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
67350         "bp-asm.h".
67351         (PARMS): Do not use macros from bp-asm.h.
67352         (DEST): Likewise.
67353         (SRC): Likewise.
67354         (LEN): Likewise.
67355         (memcpy): Likewise.  Do not use BP_SYM.
67356         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
67357         libc_hidden_def and weak_alias.
67358         (mempcpy): Do not use BP_SYM in weak_alias.
67359         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
67360         "bp-asm.h".
67361         (PARMS): Do not use macros from bp-asm.h.
67362         (DEST): Likewise.
67363         (LEN): Likewise.
67364         [!BZERO_P] (CHR): Likewise.
67365         (memset): Likewise.  Do not use BP_SYM.
67366         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
67367         "bp-asm.h".
67368         (PARMS): Do not use macros from bp-asm.h.
67369         (S1): Likewise.
67370         (SIZE): Likewise.
67371         (__mpn_mul_1): Do not use BP_SYM.
67372         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
67373         "bp-asm.h".
67374         (PARMS): Do not use macros from bp-asm.h.
67375         (S): Likewise.
67376         (SIZE): Likewise.
67377         (__mpn_rshift): Do not use BP_SYM.
67378         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
67379         "bp-asm.h".
67380         (PARMS): Do not use macros from bp-asm.h.
67381         (STR): Likewise.
67382         (CHR): Likewise.
67383         (strchr): Likewise.  Do not use BP_SYM.
67384         (index): Do not use BP_SYM in weak_alias.
67385         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
67386         "bp-asm.h".
67387         (PARMS): Do not use macros from bp-asm.h.
67388         (DEST): Likewise.
67389         (SRC): Likewise.
67390         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
67391         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
67392         "bp-asm.h".
67393         (PARMS): Do not use macros from bp-asm.h.
67394         (strlen): Do not use BP_SYM.
67395         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
67396         "bp-asm.h".
67397         (PARMS): Do not use macros from bp-asm.h.
67398         (S1): Likewise.
67399         (S2): Likewise.
67400         (SIZE): Likewise.
67401         (__mpn_sub_n): Do not use BP_SYM.
67402         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
67403         "bp-asm.h".
67404         (PARMS): Do not use macros from bp-asm.h.
67405         (S1): Likewise.
67406         (SIZE): Likewise.
67407         (__mpn_submul_1): Do not use BP_SYM.
67408         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
67409         "bp-asm.h".
67410         (PARMS): Do not use macros from bp-asm.h.
67411         (S1): Likewise.
67412         (S2): Likewise.
67413         (SIZE): Likewise.
67414         (__mpn_add_n): Do not use BP_SYM.
67415         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
67416         weak_alias.
67417         (bzero): Likewise.
67418         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
67419         "bp-asm.h".
67420         (PARMS): Do not use macros from bp-asm.h.
67421         (BLK2): Likewise.
67422         (LEN): Likewise.
67423         (memcmp): Do not use BP_SYM.
67424         (bcmp): Do not use BP_SYM in weak_alias.
67425         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
67426         "bp-asm.h".
67427         (PARMS): Do not use macros from bp-asm.h.
67428         (DEST): Likewise.
67429         (SRC): Likewise.
67430         (LEN): Likewise.
67431         (memcpy): Likewise.  Do not use BP_SYM.
67432         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
67433         "bp-asm.h".
67434         (PARMS): Do not use macros from bp-asm.h.
67435         (DEST): Likewise.
67436         (SRC): Likewise.
67437         (LEN): Likewise.
67438         (memmove): Likewise.  Do not use BP_SYM.
67439         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
67440         "bp-asm.h".
67441         (PARMS): Do not use macros from bp-asm.h.
67442         (DEST): Likewise.
67443         (SRC): Likewise.
67444         (LEN): Likewise.
67445         (__mempcpy): Likewise.  Do not use BP_SYM.
67446         (mempcpy): Do not use BP_SYM in weak_alias.
67447         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
67448         "bp-asm.h".
67449         (PARMS): Do not use macros from bp-asm.h.
67450         (DEST): Likewise.
67451         (LEN): Likewise.
67452         [!BZERO_P] (CHR): Likewise.
67453         (memset): Likewise.  Do not use BP_SYM.
67454         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
67455         "bp-asm.h".
67456         (PARMS): Do not use macros from bp-asm.h.
67457         (STR2): Likewise.
67458         (strcmp): Do not use BP_SYM.
67459         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
67460         "bp-asm.h".
67461         (PARMS): Do not use macros from bp-asm.h.
67462         (STR): Likewise.
67463         (DELIM): Likewise.
67464         [USE_AS_STRTOK_R] (SAVE): Likewise.
67465         (FUNCTION): Likewise.  Do not use BP_SYM.
67466         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
67467         aliases.
67468         (strtok_r): Likewise.
67469         (__GI___strtok_r): Likewise.
67470         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
67471         (PARMS): Do not use macros from bp-asm.h.
67472         (S): Likewise.
67473         (SIZE): Likewise.
67474         (__mpn_lshift): Do not use BP_SYM.
67475         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
67476         (PARMS): Do not use macros from bp-asm.h.
67477         (STR): Likewise.
67478         (CHR): Likewise.
67479         (__memchr): Do not use BP_SYM.
67480         (memchr): Do not use BP_SYM in weak_alias.
67481         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
67482         (PARMS): Do not use macros from bp-asm.h.
67483         (BLK2): Likewise.
67484         (LEN): Likewise.
67485         (memcmp): Do not use BP_SYM.
67486         (bcmp): Do not use BP_SYM in weak_alias.
67487         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
67488         (PARMS): Do not use macros from bp-asm.h.
67489         (S1): Likewise.
67490         (SIZE): Likewise.
67491         (__mpn_mul_1): Do not use BP_SYM.
67492         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
67493         "bp-asm.h".
67494         (PARMS): Do not use macros from bp-asm.h.
67495         (STR): Likewise.
67496         (CHR): Likewise.
67497         (__rawmemchr): Do not use BP_SYM.
67498         (rawmemchr): Do not use BP_SYM in weak_alias.
67499         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
67500         (PARMS): Do not use macros from bp-asm.h.
67501         (S): Likewise.
67502         (SIZE): Likewise.
67503         (__mpn_rshift): Do not use BP_SYM.
67504         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
67505         (PARMS): Do not use macros from bp-asm.h.
67506         (SIGMSK): Likewise.
67507         (__sigsetjmp): Likewise.  Do not use BP_SYM.
67508         * sysdeps/i386/start.S: Do not include "bp-sym.h".
67509         (_start): Do not use BP_SYM.
67510         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
67511         (PARMS): Do not use macros from bp-asm.h.
67512         (DEST): Likewise.
67513         (SRC): Likewise.
67514         (__stpcpy): Likewise.  Do not use BP_SYM.
67515         (stpcpy): Do not use BP_SYM in weak_alias.
67516         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
67517         "bp-asm.h".
67518         (PARMS): Do not use macros from bp-asm.h.
67519         (DEST): Likewise.
67520         (SRC): Likewise.
67521         (LEN): Likewise.
67522         (__stpncpy): Likewise.  Do not use BP_SYM.
67523         (stpncpy): Do not use BP_SYM in weak_alias.
67524         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
67525         (PARMS): Do not use macros from bp-asm.h.
67526         (STR): Likewise.
67527         (CHR): Likewise.
67528         (strchr): Likewise.  Do not use BP_SYM.
67529         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
67530         "bp-asm.h".
67531         (PARMS): Do not use macros from bp-asm.h.
67532         (STR): Likewise.
67533         (CHR): Likewise.
67534         (__strchrnul): Likewise.  Do not use BP_SYM.
67535         (strchrnul): Do not use BP_SYM in weak_alias.
67536         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
67537         "bp-asm.h".
67538         (PARMS): Do not use macros from bp-asm.h.
67539         (STOP): Likewise.
67540         (strcspn): Do not use BP_SYM.
67541         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
67542         "bp-asm.h".
67543         (PARMS): Do not use macros from bp-asm.h.
67544         (STR): Likewise.
67545         (STOP): Likewise.
67546         (strpbrk): Likewise.  Do not use BP_SYM.
67547         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
67548         "bp-asm.h".
67549         (PARMS): Do not use macros from bp-asm.h.
67550         (STR): Likewise.
67551         (CHR): Likewise.
67552         (strrchr): Likewise.  Do not use BP_SYM.
67553         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
67554         (PARMS): Do not use macros from bp-asm.h.
67555         (SKIP): Likewise.
67556         (strspn): Do not use BP_SYM.
67557         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
67558         (PARMS): Do not use macros from bp-asm.h.
67559         (STR): Likewise.
67560         (DELIM): Likewise.
67561         (SAVE): Likewise.
67562         (FUNCTION): Likewise.  Do not use BP_SYM.
67563         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
67564         aliases.
67565         (strtok_r): Likewise.
67566         (__GI___strtok_r): Likewise.
67567         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
67568         (PARMS): Do not use macros from bp-asm.h.
67569         (S1): Likewise.
67570         (S2): Likewise.
67571         (SIZE): Likewise.
67572         (__mpn_sub_n): Do not use BP_SYM.
67573         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
67574         "bp-asm.h".
67575         (PARMS): Do not use macros from bp-asm.h.
67576         (S1): Likewise.
67577         (SIZE): Likewise.
67578         (__mpn_submul_1): Do not use BP_SYM.
67579         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
67580         <bp-sym.h>.
67581         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
67582         and <bp-asm.h>.
67583         (PARMS): Do not use macros from bp-asm.h.
67584         (FLAGS): Likewise.
67585         (PTID): Likewise.
67586         (TLS): Likewise.
67587         (CTID): Likewise.
67588         (__clone): Do not use BP_SYM.
67589         (clone): Do not use BP_SYM in weak_alias.
67590         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
67591         and <bp-asm.h>.
67592         (PARMS): Do not use macros from bp-asm.h.
67593         (LEN): Likewise.
67594         (__mmap64): Do not use BP_SYM.
67595         (mmap64): Do not use BP_SYM in weak_alias.
67596         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
67597         <bp-sym.h> and <bp-asm.h>.
67598         (PARMS): Do not use macros from bp-asm.h.
67599         (__posix_fadvise64_l64): Do not use BP_SYM.
67600         * sysdeps/unix/sysv/linux/i386/semtimedop.S
67601         (PARMS): Do not use macros from bp-asm.h.
67602         (NSOPS): Likewise.
67603         (semtimedop): Do not use BP_SYM.
67604         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
67605         and <bp-asm.h>.
67607 2013-02-21  Allan McRae  <allan@archlinux.org>
67609         * manual/message.texi (Charset conversion in gettext):
67610         Move @end statement to beginning of line.
67612 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
67614         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
67615         static.
67616         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
67617         Likewise.
67619         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
67620         (denorm): Likewise.
67621         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
67622         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
67624 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67626         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
67627         tail-call to the resolved function if pltexit isn't needed.
67629 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
67631         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
67632         or Y being zero as being unlikely.
67633         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
67634         Likewise.
67636 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
67638         * manual/nss.texi (System Databases and Name Service Switch):
67639         Remove frobnicate @pxref.
67641 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
67643         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
67644         __attribute__ ((unused)) to __attribute__ ((__unused__)).
67646 2013-02-20  Petr Machata  <pmachata@redhat.com>
67648         * elf/elf.h (R_ARM_TARGET1): New macro.
67649         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
67650         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
67651         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
67652         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
67653         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
67654         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
67655         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
67656         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
67657         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
67658         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
67659         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
67660         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
67661         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
67662         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
67663         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
67664         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
67665         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
67666         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
67667         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
67668         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
67669         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
67670         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
67671         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
67672         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
67673         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
67674         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
67675         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
67676         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
67677         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
67678         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
67679         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
67680         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
67681         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
67682         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
67683         (R_ARM_THM_GOT_BREL12): Likewise.
67684         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
67685         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
67686         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
67687         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
67688         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
67689         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
67690         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
67691         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
67692         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
67694 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
67696         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
67697         __attribute_used__ to __attribute__ ((unused)).
67699 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
67701         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
67702         powerpc mpa.c.
67703         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
67704         comment formatting.
67705         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
67707 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
67709         [BZ #13550]
67710         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
67711         Remove macro.
67712         (ENTER): Remove both macro definitions.
67713         (LEAVE): Likewise.
67714         (CHECK_BOUNDS_LOW): Likewise.
67715         (CHECK_BOUNDS_HIGH): Likewise.
67716         (CHECK_BOUNDS_BOTH): Likewise.
67717         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
67718         (RETURN_BOUNDED_POINTER): Likewise.
67719         (RETURN_NULL_BOUNDED_POINTER): Likewise.
67720         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
67721         (POP_ERRNO_LOCATION_RETURN): Likewise.
67722         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
67723         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
67724         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
67725         macros.
67726         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67727         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
67728         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
67729         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
67730         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
67731         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
67732         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
67733         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
67734         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
67735         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
67736         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
67737         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
67738         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
67739         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
67740         removed macros.
67741         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67742         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
67743         macros.
67744         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
67745         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
67746         * sysdeps/i386/i586/memset.S (memset): Likewise.
67747         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
67748         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67749         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
67750         macros.
67751         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
67752         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
67753         Change uses of L(2) to L(out).
67754         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
67755         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
67756         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
67757         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
67758         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
67759         removed macros.
67760         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67761         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
67762         macros.
67763         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
67764         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
67765         (RETURN): Do not use macro LEAVE.
67766         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
67767         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
67768         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
67769         * sysdeps/i386/i686/memset.S (memset): Likewise.
67770         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
67771         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
67772         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
67773         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
67774         Likewise.
67775         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
67776         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
67777         L(1_2) and L(1_3) into L(1).
67778         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
67779         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
67780         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
67781         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
67782         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
67783         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
67784         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
67785         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67786         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
67787         macros.
67788         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
67789         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
67790         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
67791         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
67792         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
67793         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
67794         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
67795         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
67796         * sysdeps/i386/strcspn.S (strcspn): Likewise.
67797         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
67798         * sysdeps/i386/strrchr.S (strrchr): Likewise.
67799         * sysdeps/i386/strspn.S (strspn): Likewise.
67800         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
67801         conditional code.
67802         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
67803         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
67804         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
67805         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
67806         L(1_3) into L(1_1).
67807         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
67808         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
67809         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
67810         macros.
67811         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67813 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
67815         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
67816         macro.
67818 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
67820         * math/atest-exp.c (exp_mpn): Remove ROUND.
67821         * math/atest-exp2.c (exp_mpn): Likewise.
67822         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
67824         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
67825         * stdlib/tst-tls-atexit-lib.c: Likewise.
67826         * stdlib/tst-tls-atexit.c: Likewise.
67828 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
67830         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
67831         and __attribute_alloc_size__.
67833 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
67835         * include/programs/xmalloc.h: Change __attribute_alloc_size to
67836         __attribute_alloc_size__.
67837         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
67838         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
67840 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
67842         * include/programs/xmalloc.h: New file.
67843         * catgets/gencat.c: Include it.
67844         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
67845         * elf/pldd.c: Likewise.
67846         * iconv/iconv_charmap.c: Likewise.
67847         * iconv/iconvconfig.c: Likewise.
67848         * iconv/strtab.c: Likewise.
67849         * locale/programs/locale.c: Likewise.
67850         * locale/programs/localedef.h: Likewise.
67851         * locale/programs/simple-hash.c: Likewise.
67852         * nscd/nscd.h: Likewise.
67853         * nss/makedb.c: Likewise.
67854         * sysdeps/generic/ldconfig.h: Likewise.
67856 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
67858         * Versions.def: Add GLIBC_2.18.
67859         * include/link.h (struct link_map): New member l_tls_dtor_count.
67860         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
67861         (__call_tls_dtors): Likewise.
67862         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
67863         __cxa_thread_atexit_impl.
67864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
67865         Likewise.
67866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
67867         Likewise.
67868         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
67869         Likewise.
67870         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
67871         Likewise.
67872         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
67873         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
67874         Likewise.
67875         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
67876         Likewise.
67877         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
67878         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
67879         Likewise.
67880         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
67881         (tests): Add test case tst-tls-atexit.
67882         (modules-names): Add shared library for tst-tls-atexit.
67883         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
67884         (GLIBC_PRIVATE): Add __call_tls_dtors.
67885         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
67886         for libstdc++.
67887         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
67888         * stdlib/tst-tls-atexit.c: New test case.
67889         * stdlib/tst-tls-atexit-lib.c: New test case.
67891         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
67893         * elf/Versions (ld): Add _dl_find_dso_for_object.
67894         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
67895         * elf/dl-open.c (_dl_find_dso_for_object): New function.
67896         (dl_open_worker): Use _dl_find_dso_for_object.
67897         * elf/dl-sym.c (do_sym): Likewise.
67898         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
67900 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67902         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
67903         Syntactic changes only.
67904         (_dl_runtime_profile): Do a tail-call to the resolved function.
67906 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
67908         [BZ #13550]
67909         * sysdeps/x86_64/bp-asm.h: Remove file.
67910         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
67911         <bp-sym.h> and <bp-asm.h>.
67912         (__clone): Do not use BP_SYM.
67913         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
67914         <bp-sym.h> and <bp-asm.h>.
67915         * sysdeps/unix/x86_64/sysdep.S: Likewise.
67916         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
67917         "bp-asm.h".
67918         (_setjmp): Do not use BP_SYM.
67919         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
67920         "bp-asm.h".
67921         (setjmp): Do not use BP_SYM.
67922         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
67923         libc_hidden_def.
67924         (mempcpy): Do not use BP_SYM in weak_alias.
67925         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
67926         "bp-asm.h".
67927         (strchr): Do not use BP_SYM.
67928         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
67929         "bp-asm.h".
67930         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
67931         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
67932         (_start): Do not use BP_SYM.
67933         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
67934         "bp-asm.h".
67935         (strcat): Do not use BP_SYM.
67936         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
67937         "bp-asm.h".
67938         (STRCMP): Do not use BP_SYM.
67939         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
67940         "bp-asm.h".
67941         (STRCPY): Do not use BP_SYM.
67942         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
67943         "bp-asm.h".
67944         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
67945         "bp-asm.h".
67946         (FUNCTION): Do not use BP_SYM.
67947         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
67948         weak_alias.
67949         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
67951 2013-02-17  Andreas Jaeger  <aj@suse.de>
67953         * time/Versions: Sort entries.
67954         * string/Versions: Likewise.
67955         * resolv/Versions: Likewise.
67956         * posix/Versions: Likewise.
67957         * iconv/Versions: Likewise.
67958         * elf/Versions: Likewise.
67959         * wcsmbs/Versions: Likewise.
67961 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
67963         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
67964         loop termination condition.
67966         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
67967         variable to calculate EZ.
67968         (__sqr): Likewise.
67970         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
67971         the lower precision input.
67973 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
67975         [BZ #13550]
67976         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
67977         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
67978         (run-via-rtld-prefix): Do not handle %-bp tests.
67979         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
67980         (all-object-suffixes): Remove .ob.
67981         (bppfx): Remove variable.
67982         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
67983         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
67984         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
67985         [$(build-bounded) = yes] (libtype.ob): Likewise.
67986         * Makerules (elide-routines.ob): Remove variable.
67987         (do-tests-clean): Do not handle *-bp.out.
67988         (common-mostlyclean): Do not handle *-bp and *-bp.out.
67989         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
67990         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
67991         (tests): Do not include $(tests-bp.out).
67992         (xtests): Do not include $(xtests-bp.out).
67993         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
67994         [$(build-bounded) = yes] ($(addprefix
67995         $(objpfx),$(binaries-bounded))): Remove rule.
67996         ($(objpfx)%-bp.out): Remove rule.
67997         * config.make.in (build-bounded): Remove variable.
67998         * crypt/Makefile [$(build-bounded) = yes]
67999         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
68000         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
68001         append to variable.
68002         [$(build-bounded) = yes] (install-lib): Likewise.
68003         [$(build-bounded) = yes] (generated): Likewise.
68004         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
68005         Remove rule.
68006         * intl/Makefile [$(build-bounded) = yes]
68007         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
68008         * math/Makefile [$(build-bounded) = yes]
68009         ($(tests:%=$(objpfx)%-bp): Likewise.
68010         * misc/Makefile [$(build-bounded) = yes]
68011         ($(objpfx)tst-tsearch-bp): Likewise.
68012         * nptl/Makeconfig (bounded-thread-library): Remove variable.
68013         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
68014         Remove dependency.
68015         * string/Makefile (o-objects.ob): Remove variable.
68016         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
68017         (CFLAGS-.ob): Remove variable.
68018         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
68019         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
68020         both definitions of variable.
68021         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
68022         (ASFLAGS-.ob): Remove variable.
68024 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
68026         [BZ #13550]
68027         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
68028         Remove __BOUNDED_POINTERS__ from condition.
68029         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
68030         * string/bits/string2.h [!__NO_STRING_INLINES &&
68031         !__BOUNDED_POINTERS__]: Likewise.
68032         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
68033         Likewise.
68034         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
68035         Remove conditional code.
68036         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
68037         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
68038         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
68039         condition.
68041         [BZ #13550]
68042         * csu/libc-start.c: Do not include <bp-sym.h>.
68043         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
68044         * elf/dl-open.c: Do not include <bp-sym.h>.
68045         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
68046         * math/fegetenv.c: Do not include <bp-sym.h>.
68047         (fegetenv): Do not use BP_SYM in versioned symbols.
68048         * nptl/sysdeps/pthread/bits/libc-lockP.h
68049         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
68050         <bp-sym.h>.
68051         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68052         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
68053         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68054         (__pthread_mutex_destroy): Likewise.
68055         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68056         (__pthread_mutex_lock): Likewise.
68057         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68058         (__pthread_mutex_trylock): Likewise.
68059         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68060         (__pthread_mutex_unlock): Likewise.
68061         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68062         (__pthread_mutexattr_init): Likewise.
68063         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68064         (__pthread_mutexattr_destroy): Likewise.
68065         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68066         (__pthread_mutexattr_settype): Likewise.
68067         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68068         (__pthread_rwlock_init): Likewise.
68069         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68070         (__pthread_rwlock_destroy): Likewise.
68071         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68072         (__pthread_rwlock_rdlock): Likewise.
68073         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68074         (__pthread_rwlock_tryrdlock): Likewise.
68075         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68076         (__pthread_rwlock_wrlock): Likewise.
68077         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68078         (__pthread_rwlock_trywrlock): Likewise.
68079         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68080         (__pthread_rwlock_unlock): Likewise.
68081         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68082         (__pthread_key_create): Likewise.
68083         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68084         (__pthread_setspecific): Likewise.
68085         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68086         (__pthread_getspecific): Likewise.
68087         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
68088         Likewise.
68089         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68090         (_pthread_cleanup_push_defer): Likewise.
68091         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68092         (_pthread_cleanup_pop_restore): Likewise.
68093         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68094         (pthread_setcancelstate): Likewise.
68095         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
68096         <bp-sym.h>.
68097         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
68098         (memchr): Do not use BP_SYM in weak_alias.
68099         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
68100         (fegetenv): Do not use BP_SYM in versioned symbols.
68101         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
68102         (fesetenv): Do not use BP_SYM in versioned symbols.
68103         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
68104         (feupdateenv): Do not use BP_SYM in versioned symbols.
68105         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
68106         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
68107         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
68108         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
68109         (open64): Do not use BP_SYM in weak_alias.
68110         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
68111         (fegetenv): Do not use BP_SYM in versioned symbols.
68112         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
68113         (fesetenv): Do not use BP_SYM in versioned symbols.
68114         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
68115         (feupdateenv): Do not use BP_SYM in versioned symbols.
68116         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
68117         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
68118         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
68119         (feraiseexcept): Do not use BP_SYM in versioned symbols.
68120         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
68121         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
68122         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
68123         <bp-sym.h>.
68124         (__libc_start_main): Do not use BP_SYM.
68126 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
68128         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
68129         redundant return line.
68130         (norm): Likewise.
68131         (denorm): Likewise.
68132         (dbl_mp): Likewise.
68133         (sub_magnitudes): Likewise.
68134         (__add): Likewise.
68135         (__sub): Likewise.
68136         (__mul): Likewise.
68137         (__inv): Likewise.
68138         (__dvd): Likewise.
68139         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
68140         (norm): Likewise.
68141         (denorm): Likewise.
68142         (dbl_mp): Likewise.
68143         (sub_magnitudes): Likewise.
68144         (__add): Likewise.
68145         (__sub): Likewise.
68146         (__mul): Likewise.
68147         (__inv): Likewise.
68148         (__dvd): Likewise.
68150         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
68151         instead of __mul.
68152         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
68153         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
68154         (cc32): Likewise.
68156         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
68157         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
68158         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
68159         of __mul for squares.
68160         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
68161         function
68162         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
68163         Likewise.
68164         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
68165         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
68167 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
68169         [BZ #13550]
68170         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
68171         code.
68172         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
68173         prototype or function definition.  Rename ubp_* variables and
68174         parameters.  Remove argv definitions conditional on
68175         [__BOUNDED_POINTERS__].
68176         * debug/backtrace.c (__backtrace): Do not use __unbounded.
68177         * elf/dl-runtime.c (_dl_fixup): Likewise.
68178         * include/set-hooks.h (RUN_HOOK): Likewise.
68179         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
68180         definition.
68181         * string/strcpy.c (strcpy): Do not use __unbounded.
68182         * sysdeps/generic/frame.h (struct layout): Likewise.
68183         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
68184         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
68185         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
68186         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
68187         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
68188         (__backtrace): Likewise.
68189         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
68190         use __ptrvalue.
68191         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
68192         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
68193         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
68194         Likewise.
68195         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
68196         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
68197         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
68198         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
68199         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
68200         Do not use __unbounded.
68201         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
68202         Rename __unboundedrlimits parameter to rlimits in prototype.
68203         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
68204         Do not use __unbounded.
68205         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
68206         not use __ptrvalue.
68207         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
68208         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
68209         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
68210         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
68211         __ptrvalue or __unbounded.
68212         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
68213         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
68214         use __unbounded.
68215         (__new_msgctl): Do not use __ptrvalue.
68216         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
68217         __unbounded.
68218         (__libc_msgrcv): Do not use __ptrvalue.
68219         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
68220         startup_info): Do not use __unbounded.
68221         (__libc_start_main): Likewise.  Rename ubp_* variables and
68222         parameters.  Remove argv definitions conditional on
68223         [__BOUNDED_POINTERS__].
68224         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
68225         __ptrvalue.
68226         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
68227         use __unbounded.
68228         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
68229         or __ptrvalue.
68230         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
68231         use __unbounded.
68232         (__new_shmctl): Do not use __ptrvalue.
68233         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
68234         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
68235         Likewise.
68236         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
68237         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
68238         (__libc_sigaction): Likewise.
68239         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
68240         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
68241         Likewise.
68242         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
68244 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
68246         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
68248         * string/mempcpy.c: Implement by calling memcpy.
68250 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
68252         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
68254         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
68255         evaluation.
68257         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
68258         values in the mantissa.
68260         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
68261         minimize writes to Z.
68262         (sub_magnitudes): Simplify code a bit.
68264 2013-02-12  Roland McGrath  <roland@hack.frob.com>
68266         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
68267         from the message.  The linker prefixes all warnings with that already.
68269 2013-02-12  Andreas Schwab  <schwab@suse.de>
68271         [BZ #15078]
68272         * posix/regexec.c (extend_buffers): Add parameter min_len.
68273         (check_matching): Pass minimum needed length.
68274         (clean_state_log_if_needed): Likewise.
68275         (get_subexp): Likewise.
68276         * posix/Makefile (tests): Add bug-regex34.
68277         (bug-regex34-ENV): Define.
68278         * posix/bug-regex34.c: New file.
68280         [BZ #11561]
68281         * posix/regcomp.c (parse_bracket_exp): When looking up collating
68282         elements compare against the byte sequence of it, not its name.
68283         * posix/Makefile (tests): Add bug-regex35.
68284         (bug-regex35-ENV): Define.
68285         * posix/bug-regex35.c: New file.
68287 2013-02-11  Tom de Vries  <tom@codesourcery.com>
68289         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
68290         comment.
68291         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
68292         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
68293         (CHECK_EOL): Add undef.
68295 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
68297         * bits/stdlib-bsearch.h: New file.
68298         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
68299         * stdlib/stdlib.h: Likewise.
68301 2013-02-11  Roland McGrath  <roland@hack.frob.com>
68303         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
68304         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
68305         declaration.
68306         * manual/search.texi (Array Search Function): Add missing const in
68307         lfind prototype.
68308         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
68309         declaration to use rlim_t.
68310         (Basic Scheduling Functions): Remove erroneous const from
68311         sched_getparam prototype.  Remove erroneous * from
68312         sched_get_priority_max and sched_get_priority_min prototypes.
68313         (Resource Usage): Fix summary @comment on vtimes to refer to
68314         sys/vtimes.h rather than vtimes.h.
68315         Add missing *s in vtimes prototype.
68316         (Limits on Resources): Fix ulimit prototype to return long int.
68317         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
68318         prototypes to use long int rather than double.
68319         (BSD Random): Fix initstate and setstate to use char *, not void *.
68320         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
68321         prototype to make second argument 'struct aiocb64 *const[]'.
68322         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
68323         (Status of AIO Operations): Remove erroneous const in aio_return and
68324         aio_return64 prototypes.
68325         (Synchronizing I/O): Fix sync prototype to return void.
68326         * manual/startup.texi (Suboptions): Remove an erroneous const in
68327         getsubopt prototype.
68328         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
68329         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
68330         use size_t rather than int.
68331         (Scanning All Users): Likewise for getpwent_r.
68332         (Setting Groups): Add missing const to setgroups prototype.
68333         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
68334         * manual/socket.texi (Host Names): Fix gethostbyaddr and
68335         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
68336         'const void *' rather than 'const char *'.
68337         (Host Address Functions): Likewise for inet_ntop.
68338         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
68339         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
68340         ssize_t for return value.
68341         (Sending Data): Likewise for send, sendto, sendmsg.
68342         (Socket Option Functions): Add a missing const in setsockopt prototype.
68343         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
68344         use wchar_t for the argument.
68345         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
68346         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
68347         take no arguments.
68348         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
68349         double/float/long double for second argument.
68350         Fix return types of significand, significandf, significandl.
68351         * manual/filesys.texi (Setting Permissions): Use mode_t for second
68352         argument in fchmod prototype.
68353         (File Owner): Use uid_t and gid_t in fchown prototype.
68354         (File Times): Add const to utimes, futimes, and lutimes prototypes.
68355         (Making Special Files): Use mode_t and dev_t in mknod prototype.
68356         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
68357         use 'const struct dirent **' as argument types to CMP function pointer
68358         argument.
68359         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
68360         (File Times): Fix summary magic @comment for struct utimbuf and utime
68361         to refer to utime.h, not time.h.
68362         * manual/string.texi (Argz Functions): Add missing const in
68363         argz_extract and argz_next prototypes.
68364         (Finding Tokens in a String): Likewise for basename.
68365         (String/Array Comparison): Fix typo in wcscasecmp prototype.
68366         (Copying and Concatenation): Fix typo in wmemmove prototype.
68367         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
68368         (Signal Stack): Remove erroneous const in sigstack prototype.
68369         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
68370         prototype.
68371         (Simple Calendar Time): Likewise for stime.
68372         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
68373         prototype.
68374         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
68375         say sys/sysctl.h instead.
68376         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
68377         and vsyslog prototypes.
68379 2013-02-11  Tom de Vries  <tom@codesourcery.com>
68381         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
68382         Remove.
68384 2013-02-11  Roland McGrath  <roland@hack.frob.com>
68386         * misc/sys/mman.h: Fix typo in mremap comment.
68388 2013-02-08  Roland McGrath  <roland@hack.frob.com>
68390         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
68391         the '\0' terminator.
68393 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
68395         [BZ #13550]
68396         * debug/segfault.c: Don't include <bp-checks.h>.
68397         * sysdeps/generic/bp-checks.h: Remove file.
68398         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
68399         (__GETDENTS): Don't use CHECK_N.
68400         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
68401         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
68402         (__getgroups): Don't use CHECK_N.
68403         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
68404         (setgroups): Don't use CHECK_N.
68405         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
68406         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
68407         (__libc_msgrcv): Don't use CHECK_N.
68408         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
68409         (__libc_msgsnd): Don't use CHECK_N.
68410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
68411         <bp-checks.h>.
68412         (__libc_pread): Don't use CHECK_N.
68413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
68414         include <bp-checks.h>.
68415         (__libc_pread64): Don't use CHECK_N.
68416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
68417         include <bp-checks.h>.
68418         (__libc_pwrite): Don't use CHECK_N.
68419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
68420         include <bp-checks.h>.
68421         (__libc_pwrite64): Don't use CHECK_N.
68422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
68423         <bp-checks.h>.
68424         (__libc_pread): Don't use CHECK_N.
68425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
68426         include <bp-checks.h>.
68427         (__libc_pread64): Don't use CHECK_N.
68428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
68429         include <bp-checks.h>.
68430         (__libc_pwrite): Don't use CHECK_N.
68431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
68432         include <bp-checks.h>.
68433         (__libc_pwrite64): Don't use CHECK_N.
68434         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
68435         (do_pread): Don't use CHECK_N.
68436         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
68437         (do_pread64): Don't use CHECK_N.
68438         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
68439         (do_pwrite): Don't use CHECK_N.
68440         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
68441         (do_pwrite64): Don't use CHECK_N.
68442         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
68443         (__libc_readv): Don't use CHECK_N.
68444         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
68445         (semop): Don't use CHECK_N.
68446         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
68447         <bp-checks.h>.
68448         (semtimedop): Don't use CHECK_N.
68449         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
68450         (__libc_pread): Don't use CHECK_N.
68451         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
68452         <bp-checks.h>.
68453         (__libc_pread64): Don't use CHECK_N.
68454         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
68455         <bp-checks.h>.
68456         (__libc_pwrite): Don't use CHECK_N.
68457         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
68458         <bp-checks.h>.
68459         (__libc_pwrite64): Don't use CHECK_N.
68460         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
68461         <bp-checks.h>.
68462         (__libc_msgrcv): Don't use CHECK_N.
68463         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
68464         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
68465         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
68466         (__libc_writev): Don't use CHECK_N.
68468 2013-02-08  Roland McGrath  <roland@hack.frob.com>
68470         * string/strcpy.c: Removed unused variable.
68472         * Makeconfig (+sysdep-includes): Define with := rather than =.
68473         Use an existing include/ subdir of each sysdeps dir before it.
68475 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
68477         * nscd/connection.c (register_traced_file): Comment function.
68478         [HAVE_INOTIFY] (union __inev): Define.
68479         [HAVE_INOTIFY] (inotify_check_files): New function.
68480         [HAVE_INOTIFY] (clear_db_cache): Likewise.
68481         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
68482         clear_db_cache.
68483         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
68485 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
68487         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
68488         loaded if not already and that a failure is permanent.
68490 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
68492         [BZ #15006]
68493         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
68494         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
68496 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
68498         [BZ #13550]
68499         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
68500         (CHECK_1_NULL_OK): Likewise.
68501         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
68502         (__fxstat): Do not use CHECK_1.
68503         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
68504         <bp-checks.h>.
68505         (___fxstat64): Do not use CHECK_1.
68506         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
68507         <bp-checks.h>.
68508         (__fxstatat): Do not use CHECK_1.
68509         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
68510         <bp-checks.h>.
68511         (__fxstatat64): Do not use CHECK_1.
68512         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
68513         <bp-checks.h>.
68514         (__fxstat): Do not use CHECK_1.
68515         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
68516         <bp-checks.h>.
68517         (__fxstatat): Do not use CHECK_1.
68518         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
68519         <bp-checks.h>.
68520         (__getresgid): Do not use CHECK_1.
68521         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
68522         <bp-checks.h>.
68523         (__getresuid): Do not use CHECK_1.
68524         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
68525         <bp-checks.h>.
68526         (__lxstat): Do not use CHECK_1.
68527         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
68528         <bp-checks.h>.
68529         (__old_msgctl): Do not use CHECK_1.
68530         (__new_msgctl): Likewise.
68531         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
68532         <bp-checks.h>.
68533         (__new_setrlimit): Do not use CHECK_1.
68534         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
68535         <bp-checks.h>.
68536         (__old_shmctl): Do not use CHECK_1.
68537         (__new_shmctl): Likewise.
68538         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
68539         <bp-checks.h>.
68540         (__xstat): Do not use CHECK_1.
68541         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
68542         (__lxstat): Do not use CHECK_1.
68543         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
68544         <bp-checks.h>.
68545         (___lxstat64): Do not use CHECK_1.
68546         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
68547         (__old_msgctl): Do not use CHECK_1.
68548         (__new_msgctl): Likewise.
68549         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
68550         <bp-checks.h>.
68551         (__gettimeofday): Do not use CHECK_1.
68552         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
68553         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
68554         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
68555         <bp-checks.h>.
68556         (__gettimeofday): Do not use CHECK_1.
68557         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
68558         (__old_shmctl): Do not use CHECK_1_NULL_OK.
68559         (__new_shmctl): Do not use CHECK_1.
68560         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
68561         <bp-checks.h>.
68562         (do_sigtimedwait): Do not use CHECK_1.
68563         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
68564         <bp-checks.h>.
68565         (do_sigwaitinfo): Do not use CHECK_1.
68566         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
68567         <bp-checks.h>.
68568         (msgctl): Do not use CHECK_1.
68569         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
68570         <bp-checks.h>.
68571         (shmctl): Do not use CHECK_1.
68572         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
68573         (ustat): Do not use CHECK_1.
68574         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
68575         <bp-checks.h>.
68576         (__fxstat): Do not use CHECK_1.
68577         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
68578         <bp-checks.h>.
68579         (__fxstatat): Do not use CHECK_1.
68580         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
68581         <bp-checks.h>.
68582         (__lxstat): Do not use CHECK_1.
68583         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
68584         <bp-checks.h>.
68585         (__xstat): Do not use CHECK_1.
68586         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
68587         (__xstat): Do not use CHECK_1.
68588         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
68589         (___xstat64): Do not use CHECK_1.
68591         [BZ #13550]
68592         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
68593         definitions.
68594         (CHECK_BOUNDS_HIGH): Likewise.
68595         * string/strcpy.c: Do not include <bp-checks.h>.
68596         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
68598 2013-02-07  Roland McGrath  <roland@hack.frob.com>
68600         * nscd/nscd-client.h (__nscd_drop_map_ref):
68601         Add __attribute__ ((unused)).
68602         * nis/nss-nisplus.h (niserr2nss): Likewise.
68604         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
68605         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
68607         * csu/libc-tls.c (init_static_tls, init_slotinfo):
68608         Remove inline keyword.
68609         * include/rounding-mode.h (round_away): Likewise.
68610         * libio/wfileops.c (adjust_wide_data): Likewise.
68611         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
68612         (__m128i_strloadu_tolower): Likewise.
68613         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
68614         (__m128i_strloadu_tolower): Likewise.
68615         * time/mktime.c (ydhms_diff): Likewise.
68616         * locale/elem-hash.h (elem_hash): Likewise.
68617         * locale/setlocale.c (setdata): Likewise.
68618         * posix/regex_internal.h (re_string_char_size_at): Likewise.
68619         (re_string_wchar_at): Likewise.
68620         (bitset_not, bitset_merge, bitset_mask): Likewise.
68621         [!(__GNUC__ > 3)] (inline): Remove macro.
68622         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
68623         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
68624         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
68625         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
68626         * string/memcmp.c (memcmp_bytes): Likewise.
68627         * locale/programs/locarchive.c (compute_hashval): Likewise.
68628         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
68629         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
68630         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
68631         * nss/getent.c (print_rpc, print_protocols): Likewise.
68632         (print_passwd, print_group, print_aliases): Likewise.
68633         * nis/nss-nisplus.h (niserr2nss): Likewise.
68634         * nscd/connections.c (restart_p): Likewise.
68635         Change return type to bool.
68637 2013-02-05  Roland McGrath  <roland@hack.frob.com>
68639         * Makeconfig (all-Depend-files): Add existing
68640         $(sorted-subdirs:=/Depend) files.
68641         (all-subdirs): Remove nss.
68642         * sysdeps/unix/inet/Subdirs: Add it here instead.
68643         * hesiod/Depend: New file.
68645         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
68646         instead of calling alloca.
68648         * io/lseek.c (__lseek): Rename to __libc_lseek.
68649         Define __lseek as an alias.
68651         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
68653 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
68655         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
68656         else clause and remove check for non-standard endianness.
68658 2013-02-04  David S. Miller  <davem@davemloft.net>
68660         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68662 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
68664         [BZ #13550]
68665         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
68666         (__ubp_memchr): Remove prototype.
68667         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
68668         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
68669         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
68670         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
68671         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
68672         Remove alias.
68673         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
68674         (__ubp_memchr): Likewise.
68675         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
68676         (__ubp_memchr): Likewise.
68677         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
68678         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
68679         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
68680         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
68681         CHECK_STRING.
68682         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
68683         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
68684         (__getcwd): Do not use CHECK_STRING.
68685         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
68686         <bp-checks.h>.
68687         (__real_chown): Do not use CHECK_STRING.
68688         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
68689         <bp-checks.h>.
68690         (fchownat): Do not use CHECK_STRING.
68691         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
68692         CHECK_STRING.
68693         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
68694         <bp-checks.h>.
68695         (__lchown): Do not use CHECK_STRING.
68696         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
68697         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
68698         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
68699         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
68700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
68701         include <bp-checks.h>.
68702         (truncate64): Do not use CHECK_STRING.
68703         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
68704         <bp-checks.h>.
68705         (__real_chown): Do not use CHECK_STRING.
68706         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
68707         <bp-checks.h>.
68708         (__lchown): Do not use CHECK_STRING.
68709         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
68710         <bp-checks.h>.
68711         (__chown): Do not use CHECK_STRING.
68712         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
68713         <bp-checks.h>.
68714         (truncate64): Do not use CHECK_STRING.
68715         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
68716         Likewise.
68717         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
68718         (__xmknod): Do not use CHECK_STRING.
68719         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
68720         <bp-checks.h>.
68721         (__xmknodat): Do not use CHECK_STRING.
68722         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
68723         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
68725 2013-02-04  Andreas Schwab  <schwab@suse.de>
68727         [BZ #14142]
68728         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
68729         * include/netdb.h: Likewise for h_errno.
68730         * elf/tst-stackguard1.c: Include <tls.h>.
68732 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
68734         * elf/link.h (struct link_map): Extend the l_addr comment.
68735         * include/link.h (struct link_map): Likewise.
68737 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
68739         [BZ #13550]
68740         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
68741         (BOUNDED_1): Remove macro.
68742         * debug/backtrace.c: Don't include <bp-checks.h>.
68743         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
68744         (__backtrace): Likewise.
68745         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
68746         <bp-checks.h>.
68747         (__backtrace): Don't use BOUNDED_1.
68748         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
68749         <bp-checks.h>.
68750         (__backtrace): Don't use BOUNDED_1.
68751         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
68752         (__backtrace): Don't use BOUNDED_1.
68753         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
68754         (shmat): Don't use BOUNDED_N.
68756 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
68758         [BZ #13550]
68759         * sysdeps/generic/bp-start.h: Remove file.
68760         * csu/libc-start.c: Don't include <bp-start.h>.
68761         (LIBC_START_MAIN): Set up __environ directly instead of using
68762         INIT_ARGV_and_ENVIRON.
68763         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
68764         <bp-start.h>.
68766         [BZ #13550]
68767         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
68768         definitions.
68769         (CHECK_FCNTL): Likewise.
68770         (CHECK_N_PAGES): Likewise.
68772         [BZ #13550]
68773         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
68774         definitions.
68775         (CHECK_SIGSET_NULL_OK): Likewise.
68776         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
68777         <bp-checks.h>.
68778         (sigpending): Don't use CHECK_SIGSET.
68779         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
68780         <bp-checks.h>.
68781         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
68782         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
68783         <bp-checks.h>.
68784         (do_sigsuspend): Don't use CHECK_SIGSET.
68785         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
68786         use CHECK_SIGSET.
68787         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
68788         (do_sigwait): Don't use CHECK_SIGSET.
68789         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
68790         use CHECK_SIGSET.
68791         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
68792         include <bp-checks.h>.
68793         (sigpending): Don't use CHECK_SIGSET.
68794         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
68795         include <bp-checks.h>.
68796         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
68797         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
68798         <bp-checks.h>.
68799         (sigpending): Don't use CHECK_SIGSET.
68800         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
68801         <bp-checks.h>.
68802         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
68804         [BZ #13550]
68805         * sysdeps/generic/bp-semctl.h: Remove file.
68806         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
68807         <bp-checks.h> and <bp-semctl.h>.
68808         (__old_semctl): Don't use CHECK_SEMCTL.
68809         (__new_semctl): Likewise.
68810         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
68811         and <bp-semctl.h>.
68812         (__old_semctl): Don't use CHECK_SEMCTL.
68813         (__new_semctl): Likewise.
68814         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
68815         <bp-checks.h> and <bp-semctl.h>.
68816         (__old_semctl): Don't use CHECK_SEMCTL.
68817         (__new_semctl): Likewise.
68818         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
68819         <bp-checks.h> and <bp-semctl.h>.
68820         (semctl): Don't use CHECK_SEMCTL.
68822         [BZ #13550]
68823         * Makerules (elide-bp-thunks): Remove variable.
68824         (elide-routines.oS): Don't use $(elide-bp-thunks).
68825         (elide-routines.os): Likewise.
68826         (elide-routines.o): Likewise.
68827         (elide-routines.op): Likewise.
68828         (elide-routines.og): Likewise.
68829         (objects): Don't use $(bp-thunks).
68830         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
68831         include.
68832         (common-generated): Do not add s-proto-bp.d.
68833         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
68834         (int): Likewise.
68835         (typ): Likewise.
68836         Do not generate makefile rules for bounded-pointer thunks.
68837         * sysdeps/generic/bp-thunks.h: Remove file.
68838         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
68839         * sysdeps/unix/s-proto-bp.S: Likewise.
68841         [BZ #15062]
68842         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
68843         parts of result separately when argument is not close to line from
68844         -i to i and one part of argument is small.
68845         * math/k_casinhf.c (__kernel_casinhf): Likewise.
68846         * math/k_casinhl.c (__kernel_casinhl): Likewise.
68847         * math/libm-test.inc (cacos_test): Add more tests.
68848         (casin_test): Likewise.
68849         (casinh_test): Likewise.
68850         * sysdeps/i386/fpu/libm-test-ulps: Update.
68851         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68853 2013-01-31  David S. Miller  <davem@davemloft.net>
68855         * po/de.po: Update from translation team.
68857 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
68859         * time/tzfile.c: Include stdint.h for SIZE_MAX.
68861 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
68863         * configure.in (_AC_PROG_CC_C89): New definition.
68864         * configure: Regenerate.
68866         * configure.in (AC_PROG_CPP): New definition.
68867         * configure: Regenerate.
68869 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
68871         * debug/tst-backtrace.h: New file.
68872         * debug/tst-backtrace2.c: Include tst-backtrace.h.
68873         (ret): Remove variable.
68874         (x): Likewise.
68875         (FAIL): Remove macro.
68876         (NO_INLINE): Likewise.
68877         (fn1): Use match function instead of strstr.
68878         * debug/tst-backtrace3.c: Include tst-backtrace.h.
68879         (ret): Remove variable.
68880         (x): Likewise.
68881         (FAIL): Remove macro.
68882         (NO_INLINE): Likewise.
68883         (fn): Use match function instead of strstr.
68884         * debug/tst-backtrace4.c: Include tst-backtrace.h.
68885         (ret): Remove variable.
68886         (x): Likewise.
68887         (FAIL): Remove macro.
68888         (NO_INLINE): Likewise.
68889         (handle_signal): Use match function instead of strstr.
68890         * debug/tst-backtrace5.c: Include tst-backtrace.h.
68891         (ret): Remove variable.
68892         (x): Likewise.
68893         (FAIL): Remove macro.
68894         (NO_INLINE): Likewise.
68895         (handle_signal): Use match function instead of strstr.
68897 2013-01-23  Roland McGrath  <roland@hack.frob.com>
68899         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
68901 2013-01-23  David S. Miller  <davem@davemloft.net>
68903         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
68904         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
68905         argument of CAS if possible.
68906         * sysdeps/sparc/sparc64/bits/atomic.h
68907         (__arch_compare_and_exchange_val_32_acq): Likewise.
68908         (__arch_compare_and_exchange_val_64_acq): Likewise.
68910 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
68912         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
68913         * sysdeps/posix/ulimit.c: ... this.
68914         Include <limits.h>.
68915         * sysdeps/unix/bsd/ulimit.c: Remove file.
68917 2013-01-23  Adam Conrad  <adconrad@0c3.net>
68919         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
68920         (LDFLAGS-tst-array5): Likewise.
68922 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
68924         [BZ #15036]
68925         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
68926         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
68927         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
68928         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
68930 2013-01-21  David S. Miller  <davem@davemloft.net>
68932         * sysdeps/sparc/backtrace.c: New file.
68933         * sysdeps/sparc/sparc32/backtrace.h: New file.
68934         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
68935         * sysdeps/sparc/sparc64/backtrace.h: New file.
68936         * sysdeps/sparc/sparc64/backtrace.c: Delete.
68937         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
68938         -funwind-tables.
68940 2013-01-21  Andreas Schwab  <schwab@suse.de>
68942         [BZ #15020]
68943         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
68944         closed its stdout.
68946 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
68948         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
68949         "mpa2.h".
68950         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
68952 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
68953             Mark Mitchell  <mark@codesourcery.com>
68954             Tom de Vries  <tom@codesourcery.com>
68955             Paul Pluzhnikov  <ppluzhnikov@google.com>
68957         * debug/tst-backtrace2.c: New file.
68958         * debug/tst-backtrace3.c: Likewise.
68959         * debug/tst-backtrace4.c: Likewise.
68960         * debug/tst-backtrace5.c: Likewise.
68961         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
68962         (CFLAGS-tst-backtrace3.c): Likewise.
68963         (CFLAGS-tst-backtrace4.c): Likewise.
68964         (CFLAGS-tst-backtrace5.c): Likewise.
68965         (LDFLAGS-tst-backtrace2): Likewise.
68966         (LDFLAGS-tst-backtrace3): Likewise.
68967         (LDFLAGS-tst-backtrace4): Likewise.
68968         (LDFLAGS-tst-backtrace5): Likewise.
68969         (tests): Add new tests tst-backtrace2, tst-backtrace3,
68970         tst-backtrace4 and tst-backtrace5.
68972 2013-01-18  Anton Blanchard  <anton@samba.org>
68973             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
68975         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
68976         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
68977         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
68978         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
68979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
68980         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
68981         "+r" and remove output regs list as redundant.  Add explicit inline
68982         asm to specify register of return val to work around compiler codegen
68983         bug.  Remove (int) cast on return value.  Add return type parameter to
68984         use in macro so that this macro does not truncate return value for
68985         64-bit values.
68986         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
68987         pass to INTERNAL_VSYSCALL_NCS.
68988         (INLINE_VSYSCALL): Add 'long int' as return type to
68989         INTERNAL_VSYSCALL_NCS macro invocation.
68990         (INTERNAL_VSYSCALL): Add 'long int' as return type to
68991         INTERNAL_VSYSCALL_NCS macro invocation.
68992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
68994 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
68996         [BZ #14496]
68997         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
68998         Fix application of SIMD FP exception mask.
69000         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
69001         mp_no from a power of two.
69002         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
69003         __mpexp_twomm1.  Use __pow_mp.
69005         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
69006         multiplication.
69008 2013-01-17  David S. Miller  <davem@davemloft.net>
69010         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69012 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
69014         [BZ #15023]
69015         * include/complex.h: Condition contents on [!_COMPLEX_H].
69016         (__kernel_casinhf): New prototype.
69017         (__kernel_casinh): Likewise.
69018         (__kernel_casinhl): Likewise.
69019         * math/Makefile (libm_calls): Add k_casinh.
69020         * math/k_casinh.c: New file.
69021         * math/k_casinhf.c: Likewise.
69022         * math/k_casinhl.c: Likewise.
69023         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
69024         finite nonzero arguments.
69025         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
69026         finite nonzero arguments.
69027         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
69028         finite nonzero arguments.
69029         * math/s_casinh.c: Do not include <float.h>.
69030         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
69031         * math/s_casinhf.c: Do not include <float.h>.
69032         (__casinhf): Move code for finite nonzero arguments to
69033         k_casinhf.c.
69034         * math/s_casinhl.c: Do not include <float.h>.
69035         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
69036         redefine.
69037         (__casinhl): Move code for finite nonzero arguments to
69038         k_casinhl.c.
69039         * math/libm-test.inc (cacos_test): Add more tests.
69040         * sysdeps/i386/fpu/libm-test-ulps: Update.
69041         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69043 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
69045         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
69046         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
69047         [!HAVE_MREMAP]: Remove [defined linux] case.
69048         * malloc/arena.c: Do not include <malloc-sysdep.h>.
69050 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
69052         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
69054 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
69056         * elf/elf.h (R_386_SIZE32): New relocation.
69057         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
69058         R_386_SIZE32.
69059         (elf_machine_rela): Likewise.
69060         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
69061         R_X86_64_SIZE64 and R_X86_64_SIZE32.
69063 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
69065         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
69066         (FP_FAST_FMA): Do not define.
69067         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
69068         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
69069         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
69070         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
69071         !_SOFT_FLOAT]: Likewise.
69072         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
69073         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
69074         value.
69075         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
69076         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
69077         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
69078         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
69079         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
69080         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
69081         file.
69083 2013-01-16  Andreas Schwab  <schwab@suse.de>
69085         [BZ #14327]
69086         * include/stdlib.h (__mktemp): Add declaration.
69087         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
69088         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
69090 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
69092         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
69093         definitions.
69094         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
69095         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
69096         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
69097         definitions here.
69098         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
69099         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
69100         definitions.
69101         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
69102         and ONE.
69103         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
69104         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
69105         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
69106         definitions.
69107         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
69108         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
69109         definitions.
69110         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
69112         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
69114 2013-01-15  David S. Miller  <davem@davemloft.net>
69116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
69117         trunc{,f} to libm-sysdep_routes.
69118         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
69119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
69120         file.
69121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
69122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
69123         file.
69124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
69125         file.
69126         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
69127         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
69128         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
69129         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
69130         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
69131         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
69132         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
69133         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
69135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
69136         nearbyint{,f} to libm-sysdep_routes.
69137         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
69138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
69139         New file.
69140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
69141         file.
69142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
69143         New file.
69144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
69145         file.
69146         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
69147         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
69148         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
69149         file.
69150         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
69151         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
69152         file.
69153         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
69154         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
69155         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
69157         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
69158         libc_feholdexcept and libc_fesetenv.
69160 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
69162         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
69164 2013-01-14  David S. Miller  <davem@davemloft.net>
69166         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
69167         (SPARC_ASM_VIS2_IFUNC): Likewise.
69168         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
69169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
69170         use of 'siam' instruction.
69171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
69172         Likewise.
69173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
69174         Likewise.
69175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
69176         Likewise.
69177         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
69178         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
69179         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
69180         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
69181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
69182         file.
69183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
69184         file.
69185         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
69186         file.
69187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
69188         file.
69189         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
69190         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
69191         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
69192         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
69193         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
69194         new VIS2 routines.
69195         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
69196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
69197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
69198         Likewise.
69199         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
69200         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
69201         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
69202         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
69203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
69204         routines to libm-sysdep_routines.
69205         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
69207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
69208         fdim/fdimf to libm-sysdep_routines.
69209         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
69210         file.
69211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
69212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
69213         file.
69214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
69215         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
69216         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
69217         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
69218         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
69219         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
69220         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
69222 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
69224         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
69225         to optimize copies.
69227         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
69228         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
69229         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
69231         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
69232         local variable MPTWO.
69233         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
69234         Likewise.
69236 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
69238         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
69239         GLOB_NOESCAPE.
69241 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
69243         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
69245 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
69247         * manual/pattern.texi (glob_t): Document gl_flags.
69248         (glob64_t): Likewise.
69250 2013-01-11  David S. Miller  <davem@davemloft.net>
69252         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
69253         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
69254         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
69255         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
69256         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
69257         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
69258         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
69259         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
69260         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
69261         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
69262         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
69263         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
69264         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
69266         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
69267         sparc V9 rather than using V8 code.
69268         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
69269         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
69271         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
69272         Move to...
69273         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
69274         Here.
69276 2013-01-11  Roland McGrath  <roland@hack.frob.com>
69278         [BZ #14941]
69279         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
69280         not in the main loop.
69281         * configure: Regenerated.
69283 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
69285         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
69286         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
69287         to just #else.
69288         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
69289         [!__GLIBC_HAVE_LONG_LONG] case.
69290         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
69291         condition to just #else.
69292         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
69293         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
69294         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
69295         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
69296         unconditional.
69297         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
69298         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
69299         #elif condition to just #else.
69300         * sysdeps/unix/sysv/linux/sys/sysmacros.h
69301         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
69302         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
69303         #elif condition to just #else.
69305 2013-01-11  Steve Ellcey  <sellcey@mips.com>
69307         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
69308         (EF_MIPS_ARCH_64): Fix value.
69309         (EF_MIPS_ARCH_32R2): New.
69310         (EF_MIPS_ARCH_64R2): New.
69312 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
69314         * Makeconfig (+link-pie-before-libc): New.
69315         (+link-pie-after-libc): Likewise.
69316         (+link-pie-tests): Likewise.
69317         (+link-pie): Rewritten.
69318         (link-before-libc): Remove $(config-LDFLAGS).
69319         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
69320         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
69321         (config-LDFLAGS): Renamed to ...
69322         (rtld-LDFLAGS): This.
69323         (rtld-tests-LDFLAGS): New macro.
69324         (link-libc-rpath-link): Likewise.
69325         (link-libc-tests-rpath-link): Likewise.
69326         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
69327         (link-libc): Prepand $(link-libc-rpath-link).
69328         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
69329         (test-program-prefix): New macro.
69330         (test-via-rtld-prefix): Likewise.
69331         (test-program-cmd): Likewise.
69332         (host-test-program-cmd): Likewise.
69333         * Makefile ($(common-objpfx)testrun.sh): Replace
69334         $(run-program-prefix) with $(test-program-prefix).
69335         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
69336         $(rtld-LDFLAGS).
69337         ($(common-objpfx)shlib.lds): Likewise.
69338         (build-module-helper): Likewise.
69339         ($(common-objpfx)format.lds): Likewise.
69340         * Rules (binaries-pie-tests): New.
69341         (binaries-pie-notests): Likewise.
69342         (binaries-pie): Rewritten.
69343         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
69344         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
69345         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
69346         (make-test-out): Replace $(host-built-program-cmd) with
69347         $(host-test-program-cmd).
69348         * config.make.in (build-hardcoded-path-in-tests): New variable.
69349         * configure.in (--enable-hardcoded-path-in-tests): New configure
69350         option.
69351         (hardcoded_path_in_tests): New AC_SUBST.
69352         * configure: Regenerated.
69353         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
69354         $(built-program-cmd) with $(test-program-cmd).
69355         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
69356         (test_program_cmd): This.
69357         * elf/Makefile ($(objpfx)order.out): Run test with
69358         $(test-program-prefix).
69359         ($(objpfx)order2.out): Likewise.
69360         ($(objpfx)tst-initorder.out): Likewise.
69361         ($(objpfx)tst-initorder2.out): Likewise.
69362         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
69363         $(test-program-cmd).
69364         ($(objpfx)tst-array1-static.out): Likewise.
69365         ($(objpfx)tst-array2.out): Likewise.
69366         ($(objpfx)tst-array3.out): Likewise.
69367         ($(objpfx)tst-array4.out): Likewise.
69368         ($(objpfx)tst-array5.out): Likewise.
69369         ($(objpfx)tst-array5-static.out): Likewise.
69370         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
69371         $(test-program-cmd).
69372         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
69373         $(run-program-prefix) with $(test-program-prefix).
69374         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
69375         (test_program_prefix): This.
69376         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
69377         $(run-program-prefix) with $(test-program-prefix).
69378         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
69379         (test_program_prefix): This.
69380         * iconvdata/tst-tables.sh: Likewise.
69381         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
69382         $(run-program-prefix) with $(test-program-prefix).
69383         ($(objpfx)tst-translit.out): Likewise.
69384         ($(objpfx)tst-gettext2.out): Likewise.
69385         ($(objpfx)tst-gettext4.out): Likewise.
69386         ($(objpfx)tst-gettext6.out): Likewise.
69387         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
69388         (test_program_prefix): This.
69389         * intl/tst-gettext2.sh: Likewise.
69390         * intl/tst-gettext4.sh  Likewise.
69391         * intl/tst-gettext6.sh: Likewise.
69392         * intl/tst-translit.sh: Likewise.
69393         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
69394         with $(test-program-cmd).
69395         * libio/Makefile ($(objpfx)test-freopen.out): Replace
69396         $(run-program-prefix) with $(test-program-prefix).
69397         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
69398         (test_program_prefix): This.
69399         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
69400         $(run-program-prefix) with $(test-program-prefix).
69401         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
69402         (test_program_prefix): This.
69403         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
69404         * posix/Makefile ($(objpfx)globtest.out): Replace
69405         $(run-via-rtld-prefix) and $(test-wrapper) with
69406         $(test-program-prefix) and $(test-via-rtld-prefix).
69407         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
69408         $(test-program-prefix).
69409         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
69410         $(host-test-program-cmd).
69411         (tst-spawn-ARGS): Likewise.
69412         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
69413         $(test-program-prefix).
69414         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
69415         (test_via_rtld_prefix): This.
69416         (test_wrapper): Renamed to ...
69417         (test_program_prefix): This.
69418         (run_program_prefix): Replaced by test_program_prefix.
69419         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
69420         (test_program_prefix): This.
69421         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
69422         with $(host-test-program-cmd).
69423         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
69424         $(run-program-prefix) with $(test-program-prefix).
69425         ($(objpfx)tst-printf.out): Likewise.
69426         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
69427         $(test-program-cmd).
69428         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
69429         (test_program_prefix): This.
69430         * stdio-common/tst-unbputc.sh: Likewise.
69431         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
69432         $(run-program-prefix) with $(test-program-prefix).
69433         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
69434         (test_program_prefix): This.
69435         * string/Makefile ($(objpfx)tst-svc.out):  Replace
69436         $(built-program-cmd) with $(test-program-cmd).
69438 2013-01-11  Andreas Jaeger  <aj@suse.de>
69440         [BZ #15003]
69441         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
69442         value. Sync with Linux 3.7.
69444 2013-01-10  David S. Miller  <davem@davemloft.net>
69446         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
69447         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
69448         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
69450 2013-01-10  Roland McGrath  <roland@hack.frob.com>
69452         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
69453         never set.
69454         * configure: Regenerated.
69456 2013-01-10  David S. Miller  <davem@davemloft.net>
69458         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
69459         sparc V9 rather than using V8 code.
69460         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
69461         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
69463 2013-01-10  Roland McGrath  <roland@hack.frob.com>
69465         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
69466         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
69467         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
69468         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
69469         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
69470         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
69471         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
69472         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
69473         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
69474         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
69475         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
69476         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
69477         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
69478         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
69479         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
69480         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
69481         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
69482         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
69483         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
69484         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
69485         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
69486         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
69487         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
69488         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
69489         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
69490         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
69491         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
69493 2013-01-10  David S. Miller  <davem@davemloft.net>
69495         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69497 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
69499         * posix/Makefile (tests-static): New variable.
69500         (tests): Add $(tests-static).
69501         (tst-exec-static-ARGS): New variable.
69502         (tst-spawn-static-ARGS): Likewise.
69503         * posix/tst-exec-static.c: New file.
69504         * posix/tst-spawn-static.c: Likewise.
69505         * posix/tst-exec.c: Support run directly.
69506         * posix/tst-spawn.c: Likewise.
69508 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
69510         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
69511         long.
69512         * math/bits/mathcalls.h (llrint): Likewise.
69513         (llround): Likewise.
69514         * stdlib/stdlib.h (struct drand48_data): Likewise.
69515         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
69516         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
69517         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
69518         Likewise.
69519         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
69520         Likewise.
69521         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
69522         (elf_greg_t): Likewise.
69523         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
69524         (__jmp_buf): Likewise.
69525         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
69526         definitions.
69527         (llrint): Likewise, for all definitions.
69528         (llrintl): Likewise.
69530         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
69531         Remove [__GNUC__] condition.
69532         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
69533         condition to just [__USE_ISOC99].
69534         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
69536 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
69538         [BZ #14200]
69539         * sysdeps/unix/sysv/linux/x86/bits/environments.h
69540         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
69541         defined.
69542         (_POSIX_V6_ILP32_OFF32): Likewise.
69543         (_XBS5_ILP32_OFF32): Likewise.
69544         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
69545         (__ILP32_OFFBIG_LDFLAGS): Likewise.
69547 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
69549         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
69551         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
69552         doubles __mpexp_twomm1.  Adjust usage.
69553         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
69554         Remove.
69556 2013-01-10  Andreas Schwab  <schwab@suse.de>
69558         [BZ #14964]
69559         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
69560         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
69562 2013-01-09  David S. Miller  <davem@davemloft.net>
69564         [BZ #15003]
69565         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
69566         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
69567         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
69568         (TCP_FASTOPEN): Define.
69569         (tcp_repair_opt): New structure.
69570         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
69571         enum values.
69572         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
69573         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
69574         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
69575         (tcp_cookie_transactions): New structure.
69577 2013-01-09  Anton Blanchard  <anton@samba.org>
69579         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
69580         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
69581         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
69582         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
69584 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
69586         * include/features.h (__USE_ANSI): Remove.
69588 2013-01-09  Roland McGrath  <roland@hack.frob.com>
69590         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
69592         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
69594 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
69596         * sysdeps/s390/fpu/libm-test-ulps: Update.
69598         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69600         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
69601         (__acr): Likewise.
69602         (__cpy): Likewise.
69603         (norm): Likewise.
69604         (denorm): Likewise.
69605         (__mp_dbl): Likewise.
69606         (__dbl_mp): Likewise.
69607         (add_magnitudes): Likewise.
69608         (sub_magnitudes): Likewise.
69609         (__add): Likewise.
69610         (__sub): Likewise.
69611         (__mul): Likewise.
69612         (__inv): Likewise.
69613         (__dvd): Likewise.
69614         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
69615         (__acr): Likewise.
69616         (__cpy): Likewise.
69617         (norm): Likewise.
69618         (denorm): Likewise.
69619         (__mp_dbl): Likewise.
69620         (__dbl_mp): Likewise.
69621         (add_magnitudes): Likewise.
69622         (sub_magnitudes): Likewise.
69623         (__add): Likewise.
69624         (__sub): Likewise.
69625         (__mul): Likewise.
69626         (__inv): Likewise.
69627         (__dvd): Likewise.
69628         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
69629         (__acr): Likewise.
69630         (__cpy): Likewise.
69631         (norm): Likewise.
69632         (denorm): Likewise.
69633         (__mp_dbl): Likewise.
69634         (__dbl_mp): Likewise.
69635         (add_magnitudes): Likewise.
69636         (sub_magnitudes): Likewise.
69637         (__add): Likewise.
69638         (__sub): Likewise.
69639         (__mul): Likewise.
69640         (__inv): Likewise.
69641         (__dvd): Likewise.
69643 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
69645         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
69646         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
69647         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
69648         2 && __USE_EXTERN_INLINES]: Likewise.
69650 2013-01-08  Andreas Jaeger  <aj@suse.de>
69652         [BZ #14985]
69653         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
69654         Remove.
69655         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
69656         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
69658 2013-01-07  Anton Blanchard  <anton@samba.org>
69660         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
69661         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
69662         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
69663         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
69664         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
69665         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
69666         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
69667         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
69668         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
69669         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
69670         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
69671         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
69672         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
69673         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
69674         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
69675         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
69676         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
69677         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
69678         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
69679         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
69680         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
69681         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
69682         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
69683         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
69684         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
69685         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
69686         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
69687         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
69688         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
69689         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
69690         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
69691         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
69692         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
69693         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
69694         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
69695         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
69696         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
69697         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
69698         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
69699         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
69700         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
69701         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
69702         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
69704 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
69706         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
69707         (__MALLOC_PMT): Likewise.
69708         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
69709         [__GNUC__], only on [_LIBC].
69710         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
69711         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
69712         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
69713         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
69714         forward declaration.
69715         (realloc_hook_ini): Likewise.
69716         (memalign_hook_ini): Likewise.
69717         (__libc_memalign): Do not use __MALLOC_PMT in variable
69718         declaration.
69719         (__libc_valloc): Likewise.
69720         (__libc_pvalloc): Likewise.
69721         (__libc_calloc): Likewise.
69722         (__posix_memalign): Likewise.
69724         [BZ #14996]
69725         * math/s_casinh.c: Include <float.h>.
69726         (__casinh): Do not do computation with squaring and square root
69727         for large arguments.
69728         * math/s_casinhf.c: Include <float.h>.
69729         (__casinhf): Do not do computation with squaring and square root
69730         for large arguments.
69731         * math/s_casinhl.c: Include <float.h>.
69732         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
69733         (__casinhl): Do not do computation with squaring and square root
69734         for large arguments.
69735         * math/libm-test.inc (casin_test): Add more tests.
69736         (casinh_test): Likewise.
69737         * sysdeps/i386/fpu/libm-test-ulps: Update.
69738         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69740 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
69742         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
69743         (__x86_64_raw_data_cache_size): Likewise.
69744         (__x86_64_data_cache_size_half): Likewise.
69745         (__x86_64_raw_data_cache_size_half): Likewise.
69746         (__x86_64_shared_cache_size): Likewise.
69747         (__x86_64_raw_shared_cache_size): Likewise.
69748         (__x86_64_shared_cache_size_half): Likewise.
69749         (__x86_64_raw_shared_cache_size_half): Likewise.
69750         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
69751         to ...
69752         (__x86_data_cache_size): This.
69753         (__x86_64_raw_data_cache_size): Renamed to ...
69754         (__x86_raw_data_cache_size): This.
69755         (__x86_64_data_cache_size_half): Renamed to ...
69756         (__x86_data_cache_size_half): This.
69757         (__x86_64_raw_data_cache_size_half): Renamed to ...
69758         (__x86_raw_data_cache_size_half): This.
69759         (__x86_64_shared_cache_size): Renamed to ...
69760         (__x86_shared_cache_size): This.
69761         (__x86_64_raw_shared_cache_size): Renamed to ...
69762         (__x86_raw_shared_cache_size): This.
69763         (__x86_64_shared_cache_size_half): Renamed to ...
69764         (__x86_shared_cache_size_half): This.
69765         (__x86_64_raw_shared_cache_size_half): Renamed to ...
69766         (__x86_raw_shared_cache_size_half): This.
69767         * sysdeps/x86_64/memcpy.S: Updated.
69768         * sysdeps/x86_64/memset.S: Likewise.
69769         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
69770         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
69771         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
69773 2013-01-04  David S. Miller  <davem@davemloft.net>
69775         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69777 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
69779         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
69780         1 to avoid redefinition warning.
69781         (__USE_GNU): Don't define.
69782         (init_signaling_nan): Protoize.
69784         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69786 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
69788         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
69789         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
69790         (__cpymn): Likewise.
69791         (norm): Remove commented code.
69792         (denorm): Likewise.
69793         (__mp_dbl): Likewise.
69794         (__inv): Likewise.
69795         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
69796         (__cpymn): Likewise.
69797         (norm): Remove commented code.
69798         (denorm): Likewise.
69799         (__mp_dbl): Likewise.
69800         (__inv): Likewise.
69802         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
69803         mp_no value for 1.0 and 2.0.
69804         (norm): Use RADIXI instead of radixi.d.
69805         (denorm): Likewise.
69806         (__mul): Use 0.0 instead of zero.d.
69807         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
69808         mp_no value for 1.0 and 2.0.
69809         (norm): Use RADIXI instead of radixi.d.
69810         (denorm): Likewise.
69811         (__mul): Use 0.0 instead of zero.d.
69813 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
69815         [BZ #14994]
69816         * math/s_casinh.c (__casinh): Reduce finite argument to first
69817         quadrant then set signs of results at the end.
69818         * math/s_casinhf.c (__casinhf): Likewise.
69819         * math/s_casinhl.c (__casinhl): Likewise.
69820         * math/libm-test.inc (casin_test): Add more tests.
69821         (casinh_test): Likewise.
69822         * sysdeps/i386/fpu/libm-test-ulps: Update.
69823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69825 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
69827         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
69829         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
69831         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
69832         declarations.
69833         (denorm): Likewise.
69834         (__mp_dbl): Likewise.
69835         (__inv): Likewise.
69837         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
69838         and adjust the header comment.
69840         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
69841         variable name from declaration.
69843 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
69845         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69846         Initialize COMMON_CPUID_INDEX_7 element.
69847         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
69848         (CPUID_RTM): Likewise.
69849         (HAS_RTM): Likewise.
69850         (COMMON_CPUID_INDEX_7): New enum.
69852 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
69854         [BZ #14981]
69855         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
69856         size is zero, record memory as freed.
69858 2013-01-03  Andreas Jaeger  <aj@suse.de>
69860         * po/ia.po: Add new Interlingua translation.
69862 2012-01-03  Allan McRae  <allan@archlinux.org>
69864         * locale/programs/localedef.c: Fix description of '--posix' flag.
69866 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
69868         * NEWS: Update dates in second copyright notice.
69869         * README: Update copyright dates in example.
69870         * manual/libc.texinfo: Update copyright dates.
69871         * scripts/test-installation.pl: Update copyright date in --version
69872         output.
69874         * hurd/ctty-input.c: Fix copyright notice formatting.
69875         * hurd/ctty-output.c: Likewise.
69876         * hurd/dtable.c: Likewise.
69877         * hurd/hurd-raise.c: Likewise.
69878         * hurd/hurdprio.c: Likewise.
69879         * hurd/msgportdemux.c: Likewise.
69880         * misc/sys/file.h: Likewise.
69881         * misc/sys/ioctl.h: Likewise.
69882         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
69883         * sysdeps/mach/hurd/chdir.c: Likewise.
69884         * sysdeps/mach/hurd/fchdir.c: Likewise.
69885         * sysdeps/mach/hurd/rename.c: Likewise.
69886         * sysdeps/mach/hurd/rmdir.c: Likewise.
69887         * sysdeps/mach/hurd/seekdir.c: Likewise.
69888         * sysdeps/mach/hurd/setsid.c: Likewise.
69889         * sysdeps/posix/wait3.c: Likewise.
69891         * All files with FSF copyright notices: Update copyright dates
69892         using scripts/update-copyrights.
69893         * intl/plural.c: Regenerated.
69894         * locale/programs/charmap-kw.h: Likewise.
69895         * locale/programs/locfile-kw.h: Likewise.
69897 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
69899         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
69900         four values.
69902         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
69903         calculation loop and add branch prediction.
69905         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
69906         check access beyond bounds of m1np.
69908         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
69909         MPTWO.
69910         (__inv): Remove local variable MPTWO to use the global
69911         constant.
69912         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
69913         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
69914         variable MPTWO.
69915         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
69916         MP3HALFS static const.
69918 2013-01-01  David S. Miller  <davem@davemloft.net>
69920         * po/ca.po: Update from translation team.
69922 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
69924         * scripts/update-copyrights: New file.
69925         * Makeconfig: Reformat copyright notice.
69926         * ctype/ctype.h: Likewise.
69927         * debug/swprintf_chk.c: Likewise.
69928         * elf/dl-cache.c: Likewise.
69929         * elf/dl-debug.c: Likewise.
69930         * elf/dl-object.c: Likewise.
69931         * grp/initgroups.c: Likewise.
69932         * hurd/Makefile: Likewise.
69933         * hurd/hurd/signal.h: Likewise.
69934         * hurd/hurdfault.c: Likewise.
69935         * hurd/hurdioctl.c: Likewise.
69936         * hurd/hurdlookup.c: Likewise.
69937         * hurd/intr-msg.c: Likewise.
69938         * iconv/gconv_open.c: Likewise.
69939         * libio/swprintf.c: Likewise.
69940         * locale/lc-ctype.c: Likewise.
69941         * locale/nl_langinfo.c: Likewise.
69942         * mach/Machrules: Likewise.
69943         * mach/Makefile: Likewise.
69944         * malloc/obstack.h: Likewise.
69945         * manual/Makefile: Likewise.
69946         * manual/tsort.awk: Likewise.
69947         * misc/bits/stab.def: Likewise.
69948         * nis/nis_print_group_entry.c: Likewise.
69949         * nis/nis_table.c: Likewise.
69950         * nis/nss_compat/compat-pwd.c: Likewise.
69951         * nis/nss_compat/compat-spwd.c: Likewise.
69952         * po/Makefile: Likewise.
69953         * posix/fnmatch.c: Likewise.
69954         * posix/regex.h: Likewise.
69955         * resolv/Makefile: Likewise.
69956         * resolv/nss_dns/dns-network.c: Likewise.
69957         * resolv/res_hconf.c: Likewise.
69958         * scripts/gen-sorted.awk: Likewise.
69959         * soft-fp/soft-fp.h: Likewise.
69960         * stdio-common/printf.h: Likewise.
69961         * stdlib/monetary.h: Likewise.
69962         * stdlib/random.c: Likewise.
69963         * stdlib/random_r.c: Likewise.
69964         * sysdeps/generic/Makefile: Likewise.
69965         * sysdeps/gnu/Makefile: Likewise.
69966         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
69967         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69968         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
69969         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69970         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
69971         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69972         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69973         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
69974         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
69975         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69976         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
69977         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
69978         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
69979         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
69980         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
69981         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
69982         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
69983         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
69984         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
69985         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
69986         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
69987         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
69988         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
69989         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
69990         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
69991         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
69992         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
69993         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
69994         * sysdeps/mach/hurd/errnos.awk: Likewise.
69995         * sysdeps/mach/hurd/fork.c: Likewise.
69996         * sysdeps/mach/hurd/getcwd.c: Likewise.
69997         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
69998         * sysdeps/mach/hurd/mmap.c: Likewise.
69999         * sysdeps/mach/hurd/utimes.c: Likewise.
70000         * sysdeps/mach/hurd/xmknod.c: Likewise.
70001         * sysdeps/posix/profil.c: Likewise.
70002         * sysdeps/posix/readdir_r.c: Likewise.
70003         * sysdeps/powerpc/bits/mathdef.h: Likewise.
70004         * sysdeps/powerpc/bits/setjmp.h: Likewise.
70005         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
70006         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
70007         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
70008         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
70009         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
70010         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
70011         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
70012         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
70013         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
70014         * sysdeps/pthread/lio_listio.c: Likewise.
70015         * sysdeps/sparc/dl-procinfo.h: Likewise.
70016         * sysdeps/unix/i386/sysdep.S: Likewise.
70017         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
70018         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
70019         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
70020         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
70021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
70022         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
70023         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
70024         * sysdeps/unix/sysv/linux/speed.c: Likewise.
70025         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
70026         * sysdeps/wordsize-32/divdi3.c: Likewise.
70027         * time/sys/time.h: Likewise.
70028         * wcsmbs/Makefile: Likewise.
70030 2013-01-01  David S. Miller  <davem@davemloft.net>
70032         * po/fr.po: Update from translation team.
70034         * catgets/gencat.c: Update copyright year.
70035         * csu/version.c: Likewise.
70036         * debug/catchsegv.sh: Likewise.
70037         * debug/pcprofiledump.c: Likewise.
70038         * debug/xtrace.sh: Likewise.
70039         * elf/ldconfig.c: Likewise.
70040         * elf/ldd.bash.in: Likewise.
70041         * elf/pldd.c: Likewise.
70042         * elf/sotruss.ksh: Likewise.
70043         * elf/sprof.c: Likewise.
70044         * iconv/iconv_prog.c: Likewise.
70045         * iconv/iconvconfig.c: Likewise.
70046         * locale/programs/locale.c: Likewise.
70047         * locale/programs/localedef.c: Likewise.
70048         * login/programs/pt_chown.c: Likewise.
70049         * malloc/memusage.sh: Likewise.
70050         * malloc/memusagestat.c: Likewise.
70051         * malloc/mtrace.pl: Likewise.
70052         * nscd/nscd.c: Likewise.
70053         * nss/getent.c: Likewise.
70054         * nss/makedb.c: Likewise.
70055         * posix/getconf.c: Likewise.
70057 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
70059         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
70060         numbers.
70062 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
70064         * math/bits/mathcalls.h (modf): Use __nonnull.
70066 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
70068         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
70069         (split): Use macro CN instead of the bare value.
70070         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
70071         could be used.
70072         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
70073         instead of the bare value.
70074         (power1): Likewise.
70076 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
70078         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
70079         __ATAN_TWOM.
70080         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
70082         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
70083         their values.
70084         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
70085         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
70086         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
70087         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
70089 2012-12-28  Andreas Jaeger  <aj@suse.de>
70091         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
70092         values are from Linux 3.7.
70094         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
70095         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
70097 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
70099         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
70100         TRUE case.
70102         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
70103         (norm): Likewise.
70104         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
70105         variables with preprocessor constants.
70106         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
70107         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
70108         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
70110 2012-12-27  Bruno Haible  <bruno@clisp.org>
70112         [BZ #14317]
70113         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
70114         only if needed.
70116 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
70118         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
70119         and use variable directly.
70120         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
70122         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
70123         MPONE.
70124         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
70125         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
70126         variable MPONE.
70127         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
70128         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
70129         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
70130         include directive.  Remove local variable MPONE.
70131         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
70132         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
70133         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
70135 2012-12-25  David S. Miller  <davem@davemloft.net>
70137         * version.h (RELEASE): Set to "development".
70138         (VERSION): Set to "2.17.90".
70139         * NEWS: Add 2.18 section.
70141 2012-12-21  David S. Miller  <davem@davemloft.net>
70143         * po/hr.po: Update from translation team.
70145 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70147         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
70149 2012-12-19  Steve Ellcey  <sellcey@mips.com>
70151         * NEWS:  Mention new memcpy for MIPS.
70153 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
70155         * manual/contrib.texi (Contributors): Spelling correction.
70157 2012-12-15  David S. Miller  <davem@davemloft.net>
70159         * po/ru.po: Update from translation team.
70161 2012-12-13  David S. Miller  <davem@davemloft.net>
70163         * NEWS: Mention IFUNC testsuite enhancements.
70165         * po/pl.po: Update from translation team.
70166         * po/bg.po: Likewise.
70168         * manual/contrib.texi (Contributors): Update entries for Hongjiu
70169         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
70171 2012-12-11  David S. Miller  <davem@davemloft.net>
70173         * po/sv.po: Update from translation team.
70175         * po/vi.po: Update from translation team.
70177         * po/cs.po: Update from translation team.
70179         * po/de.po: Update from translation team.
70180         * po/eo.po: Likewise.
70181         * po/nl.po: Likewise.
70183 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
70185         [BZ #14246]
70186         * manual/argp.texi (Argp Helper Functions): Move node to follow
70187         Argp Parsing State.
70189         [BZ #14872]
70190         * manual/conf.texi (Limits on File System Capacity): Mention if
70191         terminating null is included in the max size.
70193 2012-12-10  Andreas Jaeger  <aj@suse.de>
70195         * po/cs.po: Update from translation team.
70197 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
70199         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
70200         void pointer and cast to uintptr_t.
70201         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
70202         path.
70203         * sysdeps/s390/s390-64/memcpy.S: Likewise.
70204         * sysdeps/s390/s390-64/memset.S: Likewise.
70206 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
70208         [BZ #14833]
70209         * menual/message.texi (Message Translation): Fix typos.
70210         (Helper programs for gettext): Likewise.
70212 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
70214         [BZ #14898]
70215         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
70216         Change to -1.
70218 2012-12-07  David S. Miller  <davem@davemloft.net>
70220         * po/libc.pot: Update.
70222 2012-12-07  Richard Henderson  <rth@redhat.com>
70224         [BZ #10114]
70225         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
70226         normal/normal case to before the switch.
70227         (_FP_DIV): Likewise.
70229 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
70230             Mike Frysinger  <vapier@gentoo.org>
70232         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
70233         check for __NR_fadvise64_64.
70235 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
70237         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
70238         0, not just to plain "0" as a statement.
70239         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
70240         with cw.
70242 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
70244         * NEWS: Use sourceware.org in Bugzilla URL.
70246 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
70248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
70249         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
70251         * stdio-common/tst-put-error.c (do_test): Add newline to the
70252         padded test to ensure flush.
70254 2012-12-05  Jeff Law  <law@redhat.com>
70256         * sunrpc/etc.rpc (fedfs_admin): Add entry.
70258 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
70260         * README: Don't refer to ports add-on as distributed separately.
70261         Mention AArch64 in list of systems supported in the ports add-on.
70263         * LICENSES: Add more non-FSF copyright and license notices.
70265         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
70266         ((unused)).
70268         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
70270         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
70271         10000 as width of padded output.
70273 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
70275         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
70277         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
70278         variable LX with __attribute__ ((unused)).
70279         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
70280         Likewise.
70281         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
70282         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
70283         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
70284         with __attribute__ ((unused)).
70286 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
70288         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
70290 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
70292         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
70293         (CFLAGS-nldbl-acos.c): New variable.
70294         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
70295         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
70296         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
70297         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
70298         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
70299         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
70300         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
70301         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
70302         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
70303         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
70304         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
70305         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
70306         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
70307         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
70308         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
70309         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
70310         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
70311         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
70312         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
70313         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
70314         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
70315         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
70316         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
70317         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
70318         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
70319         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
70320         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
70321         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
70322         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
70323         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
70324         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
70325         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
70326         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
70327         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
70328         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
70329         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
70330         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
70331         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
70332         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
70333         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
70334         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
70335         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
70336         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
70337         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
70338         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
70339         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
70340         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
70341         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
70342         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
70343         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
70344         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
70345         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
70346         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
70347         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
70348         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
70349         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
70350         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
70351         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
70352         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
70353         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
70354         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
70355         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
70356         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
70357         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
70358         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
70359         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
70360         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
70361         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
70362         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
70363         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
70364         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
70365         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
70366         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
70367         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
70368         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
70369         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
70370         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
70371         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
70372         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
70373         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
70374         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
70375         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
70376         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
70377         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
70378         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
70379         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
70380         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
70381         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
70382         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
70383         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
70384         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
70385         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
70386         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
70387         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
70388         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
70389         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
70390         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
70392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
70393         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
70395         [BZ #14914]
70396         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
70397         whole low double instead of just low 47 bits when splitting values
70398         into two parts.
70400 2012-12-03  Allan McRae  <allan@archlinux.org>
70402         * manual/stdio.texi (Predefined Printf Handlers): Remove
70403         @hsep and @vsep usage.
70405 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
70407         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
70408         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
70410 2012-12-03  Jeff Law  <law@redhat.com>
70412         * time/sys/time.h (settimeofday): Do not mark TV argument
70413         as __nonnull.
70415 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
70417         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
70418         when currently writing and seek to current position when not.
70419         * libio/Makefile (tests): Remove bug-fclose1.
70420         * libio/bug-fclose1.c: Delete.
70422 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
70424         * manual/arith.texi (feenableexcept): Fix typo.
70425         (fedisableexcept): Likewise.
70427 2012-11-30  Roland McGrath  <roland@hack.frob.com>
70429         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
70430         second, differently-typed declaration, rather than a cast.
70432 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
70434         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
70435         * include/rpc/svc.h: ... here.
70437 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
70439         [BZ #13013]
70440         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
70441         depending n and resplen2 to catch cases where answer
70442         equals answerp2.
70444 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
70446         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
70447         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
70449 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
70451         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
70453 2012-11-29  Roland McGrath  <roland@hack.frob.com>
70455         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
70457 2012-11-28  Jeff Law  <law@redhat.com>
70459         [BZ #13761]
70460         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
70461         dataset_temporary.  Track alloca usage into alloca_used.
70462         If dataset is large allocate and release it via malloc/free.
70464 2012-06-04  Florian Weimer  <fweimer@redhat.com>
70466         [BZ #14197]
70467         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
70469 2012-11-28  David S. Miller  <davem@davemloft.net>
70471         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70473 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
70475         [BZ #14803]
70476         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
70477         of pi/2 rounded to nearest to 64 bits.
70478         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
70479         nearest to 64 bits.
70480         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
70481         bits.
70483 2012-11-28  Jeff Law <law@redhat.com>
70484             Martin Osvald <mosvald@redhat.com>
70486         [BZ #14889]
70487         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
70488         * sunrpc/svc.c: Include time.h.
70489         (__svc_accept_failed): New function.
70490         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
70491         any reason other than EINTR, call __svc_accept_failed.
70492         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
70493         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
70495 2012-11-28  Andreas Schwab  <schwab@suse.de>
70497         * scripts/abilist.awk: Also handle indirect functions in .opd
70498         section.
70500 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
70502         [BZ #13881]
70503         * sysdeps/x86/fpu/powl_helper.c: New file.
70504         * sysdeps/x86/fpu/Makefile: Likewise.
70505         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
70506         (p3): New object.
70507         (__ieee754_powl): Use __powl_helper for finite arguments except
70508         integer exponents below 8.
70509         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
70510         (p3): New object.
70511         (__ieee754_powl): Use __powl_helper for finite arguments except
70512         integer exponents below 8.
70513         * math/libm-test.inc (pow_test): Add more tests and enable some
70514         previously disabled tests.
70515         * sysdeps/i386/fpu/libm-test-ulps: Update.
70516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70518 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
70519             Carlos O'Donell  <carlos_odonell@mentor.com>
70521         * nss/makedb.c (is_prime): Assert that input is odd and greater
70522         than 4.  Note that fact in a comment too.
70523         (next_prime): Add 4 to input.
70525 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
70527         [BZ #11741]
70528         * libio/Makefile (tests): Add test case tst-fwrite-error.
70529         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
70530         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
70531         * libio/tst-fwrite-error.c: New test case.
70533 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
70535         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
70536         before casting to void *.
70537         * include/libc-internal.h (__pointer_type): New macro.
70538         (__integer_if_pointer_type_sub): Likewise.
70539         (__integer_if_pointer_type): Likewise.
70540         (cast_to_integer): Likewise.
70541         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
70542         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
70543         before casting to atomic64_t.
70544         (atomic_exchange_acq): Likewise.
70545         (__arch_exchange_and_add_body): Likewise.
70546         (__arch_add_body): Likewise.
70547         (atomic_add_negative): Likewise.
70548         (atomic_add_zero): Likewise.
70550 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
70552         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
70553         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
70554         (add_fdes): Likewise.
70555         (linear_search_fdes): Likewise.
70556         (binary_search_unencoded_fdes): Likewise.
70558 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
70560         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
70562 2012-11-24  Adam Conrad  <adconrad@0c3.net>
70564         * configure.in: Autodetect C++ header directories.
70565         * configure: Regenerated.
70567 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
70569         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
70571 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
70573         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70575 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
70577         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
70578         LDBL_MANT_DIG == 106]: Disable some tests.
70579         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
70580         Likewise.
70581         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
70582         Likewise.
70584         [BZ #14871]
70585         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
70586         input for small inputs.  Return +/- pi/2 for large inputs.
70587         * math/libm-test.inc (atan_test): Add more tests.
70589         * sysdeps/generic/unwind-dw2-fde-glibc.c
70590         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
70591         __attribute__ ((unused)).
70593         [BZ #14645]
70594         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
70595         x * y if x and y are nonzero and z is zero.
70597         [BZ #14811]
70598         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
70599         nonzero exponents with absolute value below 0x1p-117 to +/-
70600         0x1p-117.
70602         [BZ #14869]
70603         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
70604         up arguments below 2**-450, not just those below 2**-500.
70605         * math/libm-test.inc (hypot_test): Add another test.
70607         [BZ #14868]
70608         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
70609         Return a+b for ratio over 2**120, not 2**60.
70610         * math/libm-test.inc (hypot_test): Add another test.
70612         * math/libm-test.inc (clog_test): Use
70613         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
70614         (clog10_test): Likewise.
70616         [BZ #6778]
70617         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
70619 2012-11-22  Andreas Schwab  <schwab@suse.de>
70621         * sysdeps/i386/fpu/libm-test-ulps: Update.
70623 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
70625         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
70626         printf output with newline.
70628 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
70630         [BZ #14865]
70631         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
70632         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
70633         -z nodlopen, -z initfirst and -z execstack support.
70634         * configure: Regenerated.
70636         * elf/elf.h (DF_1_NODIRECT): New macro.
70637         (DF_1_IGNMULDEF): Likewise.
70638         (DF_1_NOKSYMS): Likewise.
70639         (DF_1_NOHDR): Likewise.
70640         (DF_1_EDITED): Likewise.
70641         (DF_1_NORELOC): Likewise.
70642         (DF_1_SYMINTPOSE): Likewise.
70643         (DF_1_GLOBAUDIT): Likewise.
70644         (DF_1_SINGLETON): Likewise.
70645         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
70646         DT_1_SUPPORTED_MASK bits.
70647         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
70649 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
70651         * sysdeps/unix/make-syscalls.sh: Document prefixes.
70653 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
70655         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
70656         macro.
70658         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
70659         (sendmmsg): Move declarations...
70660         * socket/sys/socket.h: ... here.
70661         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
70662         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
70663         include it from...
70664         * socket/recvmmsg.c: ... this new file.
70665         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
70666         (sendmmsg): Rename to __sendmmsg, create weak alias and make
70667         definition of __sendmmsg hidden.
70668         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
70669         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
70670         Move ENOSYS stub into and include it from...
70671         * socket/sendmmsg.c: ... this new file.
70672         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
70673         (sysdep_routines): Move recvmmsg and sendmmsg...
70674         * socket/Makefile (routines): ... here.
70675         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
70676         (GLIBC_PRIVATE): Add __sendmmsg.
70677         * include/sys/socket.h (__sendmmsg): Add declarations.
70678         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
70679         sendmmsg.
70681 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
70683         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
70684         variable I1 with __attribute__ ((unused)).
70685         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
70687 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
70689         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
70690         DUMMY variables with __attribute__ ((unused)).
70692         * bits/byteswap.h: Include <bits/types.h>.
70693         (__bswap_64): Use __uint64_t instead of unsigned long long int.
70695 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
70697         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
70698         string_t.  Do not manually set errno.
70699         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
70700         length with __strnlen.  Make sure to both set errno and return it on
70701         failure.
70703 2012-11-19  David S. Miller  <davem@davemloft.net>
70705         With help from Joseph Myers.
70706         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
70707         very large arguments properly.
70708         * math/libm-test.inc (atan_test): New tests.
70709         (atan2_test): New tests.
70710         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70711         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70713 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
70715         [BZ #14856]
70716         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
70717         Define to 3.
70719         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
70720         [POSIX] (EADDRNOTAVAIL): Likewise.
70721         [POSIX] (EAFNOSUPPORT): Likewise.
70722         [POSIX] (EALREADY): Likewise.
70723         [POSIX] (ECONNABORTED): Likewise.
70724         [POSIX] (ECONNREFUSED): Likewise.
70725         [POSIX] (ECONNRESET): Likewise.
70726         [POSIX] (EDESTADDRREQ): Likewise.
70727         [POSIX] (EDQUOT): Likewise.
70728         [POSIX] (EHOSTUNREACH): Likewise.
70729         [POSIX] (EIDRM): Likewise.
70730         [POSIX] (EISCONN): Likewise.
70731         [POSIX] (ELOOP): Likewise.
70732         [POSIX] (EMULTIHOP): Likewise.
70733         [POSIX] (ENETDOWN): Likewise.
70734         [POSIX] (ENETUNREACH): Likewise.
70735         [POSIX] (ENOBUFS): Likewise.
70736         [POSIX] (ENODATA): Likewise.
70737         [POSIX] (ENOLINK): Likewise.
70738         [POSIX] (ENOMSG): Likewise.
70739         [POSIX] (ENOPROTOOPT): Likewise.
70740         [POSIX] (ENOSR): Likewise.
70741         [POSIX] (ENOSTR): Likewise.
70742         [POSIX] (ENOTCONN): Likewise.
70743         [POSIX] (ENOTSOCK): Likewise.
70744         [POSIX] (EOPNOTSUPP): Likewise.
70745         [POSIX] (EOVERFLOW): Likewise.
70746         [POSIX] (EPROTO): Likewise.
70747         [POSIX] (EPROTONOSUPPORT): Likewise.
70748         [POSIX] (EPROTOTYPE): Likewise.
70749         [POSIX] (ESTALE): Likewise.
70750         [POSIX] (ETIME): Likewise.
70751         [POSIX] (ETXTBSY): Likewise.
70752         [POSIX] (EWOULDBLOCK): Likewise.
70753         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
70754         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
70755         [POSIX] (SEEK_CUR): Likewise.
70756         [POSIX] (SEEK_END): Likewise.
70757         [POSIX || UNIX98] (mode_t): Do not require.
70758         [POSIX] (off_t): Likewise.
70759         [POSIX] (pid_t): Likewise.
70760         [POSIX] (sys/stat.h): Do not allow header.
70761         [POSIX] (unistd.h): Likewise.
70762         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
70763         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
70764         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
70765         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
70766         require.
70767         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
70768         sigevent): Specify elements.
70769         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
70770         entry.
70771         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
70772         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
70774         * conform/data/cpio.h-data [POSIX]: Disable whole file.
70775         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
70776         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
70777         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
70778         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
70779         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
70780         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
70781         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
70782         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
70783         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
70784         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
70785         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
70786         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
70787         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
70788         Likewise.
70789         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
70790         Likewise.
70791         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
70792         Likewise.
70793         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
70794         Likewise.
70795         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
70796         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
70797         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
70798         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
70799         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
70800         Specify lower bound on value.
70801         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
70802         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
70803         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
70804         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
70805         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
70806         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
70807         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
70808         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
70809         value.
70810         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
70811         as optional.
70812         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
70813         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
70814         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
70815         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
70816         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
70817         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
70818         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
70819         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
70820         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
70821         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
70822         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
70823         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
70824         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
70825         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
70826         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
70827         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
70828         entry.
70829         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
70830         optional.
70831         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
70832         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
70833         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
70834         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
70835         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
70836         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
70837         Likewise.
70838         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
70839         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
70840         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
70841         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
70842         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
70843         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
70844         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
70845         as optional.
70846         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
70847         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
70848         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
70849         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
70850         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
70851         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
70852         specify as optional.
70853         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
70854         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
70855         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
70856         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
70857         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
70858         [XPG3] (NL_LANGMAX): Likewise.
70859         [POSIX || XPG3] (NL_MSGMAX): Likewise.
70860         [POSIX || XPG3] (NL_NMAX): Likewise.
70861         [POSIX || XPG3] (NL_SETMAX): Likewise.
70862         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
70863         [XPG3] (NZERO): Likewise.
70864         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
70865         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
70866         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
70867         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
70868         (REG_ERANGE): Expect.
70869         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
70870         optional-constant.
70871         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
70872         Use (void) in prototype.
70873         [POSIX] (*_t): Allow.
70874         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
70875         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
70876         (WRDE_BADVAL): Expect.
70878         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
70879         expect.
70880         [XPG3 || XPG4] (O_RSYNC): Likewise.
70881         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
70882         Likewise.
70883         [XPG3 || XPG4] (pthread_sigmask): Likewise.
70884         [XPG3 || XPG4] (sigqueue): Likewise.
70885         [XPG3 || XPG4] (sigtimedwait): Likewise.
70886         [XPG3 || XPG4] (sigwaitinfo): Likewise.
70887         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
70888         [XPG3 || XPG4] (vsnprintf): Likewise.
70889         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
70890         Likewise.
70891         [XPG3 || XPG4] (blksize_t): Likewise.
70892         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
70893         Likewise.
70894         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
70895         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
70896         [XPG3 || XPG4] (struct itimerspec): Likewise.
70897         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
70898         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
70899         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
70900         [XPG3 || XPG4] (clockid_t): Likewise.
70901         [XPG3 || XPG4] (timer_t): Likewise.
70902         [XPG3 || XPG4] (clock_getres): Likewise.
70903         [XPG3 || XPG4] (clock_gettime): Likewise.
70904         [XPG3 || XPG4] (clock_settime): Likewise.
70905         [XPG3 || XPG4] (nanosleep): Likewise.
70906         [XPG3 || XPG4] (timer_create): Likewise.
70907         [XPG3 || XPG4] (timer_delete): Likewise.
70908         [XPG3 || XPG4] (timer_gettime): Likewise.
70909         [XPG3 || XPG4] (timer_getoverrun): Likewise.
70910         [XPG3 || XPG4] (timer_settime): Likewise.
70911         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
70912         [XPG3 || XPG4] (getlogin_r): Likewise.
70913         [XPG3 || XPG4] (pread): Likewise.
70914         [XPG3 || XPG4] (pthread_atfork): Likewise.
70915         [XPG3 || XPG4] (pwrite): Likewise.
70917         [BZ #14835]
70918         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
70919         <bits/siginfo.h>.
70921 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
70923         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
70924         finalizing MALLSTREAM.
70926         * sysdeps/mach/hurd/syncfs.c: New file.
70928 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
70930         [BZ #14719]
70931         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
70932         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
70933         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
70934         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
70935         (_nss_dns_gethostbyname4_r): Likewise.
70936         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
70937         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
70939 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
70941         [BZ #13763]
70942         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
70944 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
70946         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
70947         * elf/cache.c (print_entry): Print ",AArch64" for
70948         FLAG_AARCH64_LIB64
70950         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
70951         * elf/cache.c (print_entry): Print ",hard-float" for
70952         FLAG_ARM_LIBHF.
70954 2012-11-18  David S. Miller  <davem@davemloft.net>
70956         With help from Joseph Myers.
70957         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
70958         cutoff to 2**-13.
70959         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
70960         cutoff to 2**-25.
70961         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
70962         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
70963         small.
70964         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
70965         * math/libm-test.inc (y0_test): New tests.
70966         (y1_test): New tests.
70967         * sysdeps/i386/fpu/libm-test-ulps: Update.
70968         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70969         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70971 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
70973         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
70974         64-bit targets.
70975         * configure: Regenerated.
70977 2012-11-17  David S. Miller  <davem@davemloft.net>
70979         [BZ #14811]
70980         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
70981         nonzero exponents with absolute value below 0x1p-128 to +/-
70982         0x1p-128.
70984 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
70986         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
70988         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
70990         * posix/getconf-speclist.c: New file.
70991         * posix/posix-envs.def: Likewise.
70992         * posix/confstr.c (START_ENV_GROUP): New macro.
70993         (END_ENV_GROUP): Likewise.
70994         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
70995         (KNOWN_PRESENT_ENV_STRING): Likewise.
70996         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
70997         (UNKNOWN_ENVIRONMENT): Likewise.
70998         (confstr): Include posix-envs.def instead of handling
70999         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
71000         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
71001         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
71002         (END_ENV_GROUP): Likewise.
71003         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
71004         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
71005         (UNKNOWN_ENVIRONMENT): Likewise.
71006         (__sysconf): Include posix-envs.def instead of handling associated
71007         cases directly here.
71008         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
71009         preprocessing getconf-speclist.c rather than running getconf or
71010         generating empty file.
71012 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
71014         * scripts/check-local-headers.sh: Ignore 'mach' headers.
71016 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
71018         [BZ #14672]
71019         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
71021 2012-11-16  David S. Miller  <davem@davemloft.net>
71023         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
71024         smaller than LDBL_EPSILON/2.0L, just return xm1.
71026 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
71028         * elf/tst-array1.c (init): Set constructor priority to 1000.
71029         (fini): Set destructor priority to 1000.
71030         * elf/tst-array2dep.c: Likewise.
71032 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
71034         [BZ #11741]
71035         * libio/fileops.c (_IO_new_file_write): Correctly return error.
71036         (_IO_new_file_xsputn): Also return EOF if none of the input
71037         data was written when overflow failed.
71038         * libio/iopadn.c (_IO_padn): Likewise.
71039         * libio/iowpadn.c (_IO_wpadn): Likewise.
71040         * stdio-common/tst-put-error.c: Add copyright notice.
71041         (do_test): Add case for printing padded string.
71042         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
71043         _IO_padn returned error.
71044         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
71045         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
71046         return EOF.
71048 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
71050         * libio/libioP.h: Add comment note that the references to C++
71051         bits are now obsolete.
71053 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
71055         * math/libm-test.inc (check_complex): Use asprintf.
71057 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
71059         * debug/pcprofiledump.c (print_version): Update copyright year.
71060         * malloc/memusagestat.c (print_version): Likewise.
71062 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
71064         [BZ #14831]
71065         * elf/Makefile (tests): Add tst-audit8.
71066         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
71067         ($(objpfx)tst-audit8.out): New target.
71068         (tst-audit8-ENV): New variable.
71069         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
71070         audit if l_reloc_result is NULL.
71071         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
71072         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
71073         * elf/tst-audit8.c: New file.
71075 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
71077         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
71078         * misc/Makefile (CFLAGS-select.c): Define.
71079         * posix/Makefile (CFLAGS-pause.c): Define.
71081 2012-11-13  David S. Miller  <davem@davemloft.net>
71083         * crypt/Makefile: Move test targets after toplevel Rules
71084         inclusion.  Grab any necessary sysdep routines when linking.
71085         * crypt/md5.c (md5_process_block): Remove define, we will always
71086         name it __md5_process_block.
71087         (md5_finish_ctx): Update md5_process_block call.
71088         (md5_stream): Likewise.
71089         (md5_process_bytes): Likewise.
71090         (md5_process_block): Rename to __md5_process_block and move to ...
71091         * crypt/md5-block.c: ... here.
71092         * crypt/sha256.c (sha256_process_block): Move to ...
71093         * crypt/sha256-block.c: ... here.
71094         * crypt/sha512.c (sha512_process_block): Move to ...
71095         * crypt/sha512-block.c: ... here.
71096         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
71097         path.
71098         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
71099         * sysdeps/sparc/sparc64/multiarch/Makefile
71100         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
71101         crypt subdir.
71102         (localedef-aux): Add md5 crypto assembler when in locale subdir.
71103         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
71104         multiarch changes.
71105         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
71106         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
71107         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
71108         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
71109         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
71110         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
71111         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
71112         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
71113         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
71114         file.
71115         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
71116         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
71117         file.
71118         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
71120 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
71122         * timezone/tzselect.ksh: Update from tzcode git revision
71123         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
71124         * timezone/zdump.c: Likewise.
71125         * timezone/zic.c: Likewise.
71126         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
71127         in TZVERSION setting, not $(PKGVERSION).
71128         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
71129         REPORT_BUGS_TO settings.
71131         [BZ #14838]
71132         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
71133         macro.
71135 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
71137         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
71138         detection to immediately after _FP_ROUND().
71139         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
71140         bits are 0.
71142 2012-11-11  David S. Miller  <davem@davemloft.net>
71144         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
71145         inttypes.h
71146         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
71147         __close rather than their public counterparts.
71149 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
71151         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
71152         file.
71153         [UNIX98] (sem_timedwait): Do not expect.
71154         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
71155         [XPG4 || UNIX98] (sockatmark): Do not expect.
71156         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
71157         (clock_getcpuclockid): Do not expect.
71158         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
71159         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
71160         Do not expect.
71161         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
71162         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
71163         [UNIX98] (vwscanf): Likewise.
71164         [UNIX98] (vswscanf): Likewise.
71166 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
71168         * timezone/version.h: Remove file.
71169         * timezone/README: Do not refer to version.h.
71170         * timezone/Makefile ($(objpfx)zic.o): New dependency on
71171         $(objpfx)version.h.
71172         ($(objpfx)zdump.o): Likewise.
71173         ($(objpfx)version.h): New target.
71175         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
71176         2012i.
71177         * timezone/README: Don't mention modification to tzselect.ksh.
71178         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
71179         work on unmodified tzselect.ksh.  Substitute version numbers in
71180         tzselect.ksh.
71182         * Makefile (format-me): Remove.
71183         (INSTALL): Adjust indentation.  Use commands directly instead of
71184         using $(format-me).
71186         * aclocal.m4 (ACX_PKGVERSION): New macro.
71187         (ACX_BUGURL): Likewise.
71188         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
71189         (PKGVERSION): New AC_DEFINE_UNQUOTED.
71190         (REPORT_BUGS_TO): Likewise.
71191         * configure: Regenerated.
71192         * config.h.in (PKGVERSION): New macro.
71193         (REPORT_BUGS_TO): Likewise.
71194         * config.make.in (PKGVERSION): New variable.
71195         (PKGVERSION_TEXI): Likewise.
71196         (REPORT_BUGS_TO): Likewise.
71197         (REPORT_BUGS_TEXI): Likewise.
71198         * Makefile (format-me): Use -I$(common-objpfx)manual.
71199         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
71200         ($(common-objpfx)manual/%): New target.
71201         (manual/%): Remove target.
71202         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
71203         (print_version): Use PKGVERSION.
71204         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
71205         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
71206         and REPORT_BUGS_TO.
71207         ($(objpfx)xtrace): Likewise.
71208         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
71209         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
71210         (print_version): Use PKGVERSION.
71211         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
71212         (do_version): Use PKGVERSION.
71213         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
71214         REPORT_BUGS_TO.
71215         (common-ldd-rewrite): Likewise.
71216         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
71217         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
71218         (print_version): Use PKGVERSION.
71219         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
71220         * elf/pldd.c (argp_program_bug_address): Remove variable.
71221         (more_help): New function.
71222         (argp): Use more_help.
71223         (print_version): Use PKGVERSION.
71224         * elf/sln.c (main): Use PKGVERSION.
71225         (usage): Use REPORT_BUGS_TO.
71226         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
71227         (top level): Use PKGVERSION.
71228         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
71229         (print_version): Use PKGVERSION.
71230         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
71231         (print_version): Use PKGVERSION.
71232         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
71233         (print_version): Use PKGVERSION.
71234         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
71235         (print_version): Use PKGVERSION.
71236         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
71237         (print_version): Use PKGVERSION.
71238         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
71239         (print_version): Use PKGVERSION.
71240         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
71241         and BUGURL.
71242         ($(objpfx)memusage): Likewise.
71243         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
71244         (do_version): Use PKGVERSION.
71245         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
71246         (print_version): Use PKGVERSION.
71247         * malloc/mtrace.pl ($PACKAGE): Remove variable.
71248         ($PKGVERSION): New variable.
71249         ($REPORT_BUGS_TO): Likewise.
71250         (usage): Use $REPORT_BUGS_TO.
71251         (top level): Use $PKGVERSION.
71252         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
71253         ($(objpfx)pkgvers.texi): New rule.
71254         ($(objpfx)stamp-pkgvers): Likewise.
71255         * manual/install.texi: Include pkgvers.texi.
71256         (--with-pkgversion): Document new configure option.
71257         (--with-bugurl): Likewise.
71258         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
71259         than necessarily for this particular distribution.  Use
71260         REPORT_BUGS_TO for where to report bugs.
71261         * INSTALL: Regenerated.
71262         * manual/libc.texinfo: Include pkgvers.texi.
71263         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
71264         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
71265         (print_version): Use PKGVERSION.
71266         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
71267         (print_version): Use PKGVERSION.
71268         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
71269         (print_version): Use PKGVERSION.
71270         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
71271         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
71272         macro.
71273         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
71274         (print_version): Use PKGVERSION.
71275         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
71276         (print_version): Use PKGVERSION.
71277         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
71278         and PKGVERSION.
71280         * timezone/checktab.awk: Update from tzcode 2012i.
71281         * timezone/ialloc.c: Likewise.
71282         * timezone/private.h: Likewise.
71283         * timezone/scheck.c: Likewise.
71284         * timezone/tzfile.h: Likewise.
71285         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
71286         (TZVERSION): Hardcode tzcode version number.
71287         * timezone/zdump.c: Update from tzcode 2012i.
71288         * timezone/zic.c: Likewise.
71289         * timezone/version.h: New file.
71290         * timezone/README: Describe version.h.  Update upstream location.
71292         [BZ #14824]
71293         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
71294         (mktemp): Enable declaration.
71295         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
71296         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
71297         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
71298         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
71299         Likewise.
71300         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
71301         Likewise.
71302         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
71303         Likewise.
71304         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
71305         Likewise.
71306         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
71307         Likewise.
71308         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
71309         Likewise.
71311         [BZ #14821]
71312         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
71313         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
71314         for copies of such integer values.
71315         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
71316         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
71318 2012-11-09  Andreas Jaeger  <aj@suse.de>
71320         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
71321         definitions and declarations that are provided by
71322         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
71324 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71326         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
71327         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
71328         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
71329         definition.
71331 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
71333         * elf/elf.h: Update comment before AArch64 relocations.
71335 2012-11-07  David S. Miller  <davem@davemloft.net>
71337         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
71338         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
71339         (__start_context): Declare.
71340         (__makecontext_ret): Delete.
71341         (__makecontext): Hook up __start_context instead of
71342         __makecontext_ret.
71343         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
71344         (sysdep_routines): Add __start_context when in stdlib.
71346 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
71348         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
71349         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
71350         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
71351         hardcoded "nm".
71352         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
71353         (READELF): New variable.  Use it instead of hardcoded "readelf".
71355 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
71357         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
71358         * sysdeps/x86/Makefile: Here.
71359         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
71360         * sysdeps/x86/tst-xmmymm.sh: This.
71362 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
71364         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
71365         expectations.
71366         [UNIX98] (pthread_barrier_t): Do not expect.
71367         [UNIX98] (pthread_barrierattr_t): Likewise.
71368         [UNIX98] (pthread_spinlock_t): Likewise.
71369         [UNIX98] (pthread_barrier_destroy): Likewise.
71370         [UNIX98] (pthread_barrier_init): Likewise.
71371         [UNIX98] (pthread_barrier_wait): Likewise.
71372         [UNIX98] (pthread_barrierattr_destroy): Likewise.
71373         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
71374         [UNIX98] (pthread_barrierattr_init): Likewise.
71375         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
71376         [UNIX98] (pthread_getcpuclockid): Likewise.
71377         [UNIX98] (pthread_mutex_timedlock): Likewise.
71378         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
71379         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
71380         [UNIX98] (pthread_sigmask): Likewise.
71381         [UNIX98] (pthread_spin_destroy): Likewise.
71382         [UNIX98] (pthread_spin_init): Likewise.
71383         [UNIX98] (pthread_spin_lock): Likewise.
71384         [UNIX98] (pthread_spin_trylock): Likewise.
71385         [UNIX98] (pthread_spin_unlock): Likewise.
71386         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
71387         Do not expect.
71388         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
71389         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
71390         [XPG3 || XPG4] (pthread_cond_t): Likewise.
71391         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
71392         [XPG3 || XPG4] (pthread_key_t): Likewise.
71393         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
71394         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
71395         [XPG3 || XPG4] (pthread_once_t): Likewise.
71396         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
71397         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
71398         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
71399         [XPG3 || XPG4] (pthread_t): Likewise.
71401         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
71402         not expect.
71403         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
71405         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
71406         Change function return type to int.
71408         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
71409         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
71410         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
71411         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
71412         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
71413         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
71414         [!POSIX] (posix_madvise): Likewise.
71415         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
71416         && !UNIX98].
71417         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
71418         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
71419         (mode_t): Likewise.
71420         (posix_mem_offset): Likewise.
71421         (posix_typed_mem_get_info): Likewise.
71422         (posix_typed_mem_open): Likewise.
71424         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
71425         Change condition to [XOPEN2K8].
71427         * conform/conformtest.pl: Preprocess allow-header data with -x c
71428         instead of from stdin.
71429         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
71430         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
71431         [C99-based standards] (cerfc): Likewise.
71432         [C99-based standards] (cexp2): Likewise.
71433         [C99-based standards] (cexpm1): Likewise.
71434         [C99-based standards] (clog10): Likewise.
71435         [C99-based standards] (clog1p): Likewise.
71436         [C99-based standards] (clog2): Likewise.
71437         [C99-based standards] (clgamma): Likewise.
71438         [C99-based standards] (ctgamma): Likewise.
71439         [C99-based standards] (cerff): Likewise.
71440         [C99-based standards] (cerfcf): Likewise.
71441         [C99-based standards] (cexp2f): Likewise.
71442         [C99-based standards] (cexpm1f): Likewise.
71443         [C99-based standards] (clog10f): Likewise.
71444         [C99-based standards] (clog1pf): Likewise.
71445         [C99-based standards] (clog2f): Likewise.
71446         [C99-based standards] (clgammaf): Likewise.
71447         [C99-based standards] (ctgammaf): Likewise.
71448         [C99-based standards] (cerfl): Likewise.
71449         [C99-based standards] (cerfcl): Likewise.
71450         [C99-based standards] (cexp2l): Likewise.
71451         [C99-based standards] (cexpm1l): Likewise.
71452         [C99-based standards] (clog10l): Likewise.
71453         [C99-based standards] (clog1pl): Likewise.
71454         [C99-based standards] (clog2l): Likewise.
71455         [C99-based standards] (clgammal): Likewise.
71456         [C99-based standards] (ctgammal): Likewise.
71457         * conform/data/inttypes.h-data [C99-based standards]: Include
71458         stdint.h-data.  Remove all expectations for stdint.h contents.
71459         [C99-based standards] (PRI*): Do not allow.
71460         [C99-based standards] (SCN*): Likewise.
71461         [C99-based standards] (*_t): Likewise.
71462         [C99-based-standards] (PRId8): Expect macro.
71463         [C99-based-standards] (PRIi8): Likewise.
71464         [C99-based-standards] (PRIo8): Likewise.
71465         [C99-based-standards] (PRIu8): Likewise.
71466         [C99-based-standards] (PRIx8): Likewise.
71467         [C99-based-standards] (PRIX8): Likewise.
71468         [C99-based-standards] (SCNd8): Likewise.
71469         [C99-based-standards] (SCNi8): Likewise.
71470         [C99-based-standards] (SCNo8): Likewise.
71471         [C99-based-standards] (SCNu8): Likewise.
71472         [C99-based-standards] (SCNx8): Likewise.
71473         [C99-based-standards] (PRIdLEAST8): Likewise.
71474         [C99-based-standards] (PRIiLEAST8): Likewise.
71475         [C99-based-standards] (PRIoLEAST8): Likewise.
71476         [C99-based-standards] (PRIuLEAST8): Likewise.
71477         [C99-based-standards] (PRIxLEAST8): Likewise.
71478         [C99-based-standards] (PRIXLEAST8): Likewise.
71479         [C99-based-standards] (SCNdLEAST8): Likewise.
71480         [C99-based-standards] (SCNiLEAST8): Likewise.
71481         [C99-based-standards] (SCNoLEAST8): Likewise.
71482         [C99-based-standards] (SCNuLEAST8): Likewise.
71483         [C99-based-standards] (SCNxLEAST8): Likewise.
71484         [C99-based-standards] (PRIdFAST8): Likewise.
71485         [C99-based-standards] (PRIiFAST8): Likewise.
71486         [C99-based-standards] (PRIoFAST8): Likewise.
71487         [C99-based-standards] (PRIuFAST8): Likewise.
71488         [C99-based-standards] (PRIxFAST8): Likewise.
71489         [C99-based-standards] (PRIXFAST8): Likewise.
71490         [C99-based-standards] (SCNdFAST8): Likewise.
71491         [C99-based-standards] (SCNiFAST8): Likewise.
71492         [C99-based-standards] (SCNoFAST8): Likewise.
71493         [C99-based-standards] (SCNuFAST8): Likewise.
71494         [C99-based-standards] (SCNxFAST8): Likewise.
71495         [C99-based-standards] (PRId16): Likewise.
71496         [C99-based-standards] (PRIi16): Likewise.
71497         [C99-based-standards] (PRIo16): Likewise.
71498         [C99-based-standards] (PRIu16): Likewise.
71499         [C99-based-standards] (PRIx16): Likewise.
71500         [C99-based-standards] (PRIX16): Likewise.
71501         [C99-based-standards] (SCNd16): Likewise.
71502         [C99-based-standards] (SCNi16): Likewise.
71503         [C99-based-standards] (SCNo16): Likewise.
71504         [C99-based-standards] (SCNu16): Likewise.
71505         [C99-based-standards] (SCNx16): Likewise.
71506         [C99-based-standards] (PRIdLEAST16): Likewise.
71507         [C99-based-standards] (PRIiLEAST16): Likewise.
71508         [C99-based-standards] (PRIoLEAST16): Likewise.
71509         [C99-based-standards] (PRIuLEAST16): Likewise.
71510         [C99-based-standards] (PRIxLEAST16): Likewise.
71511         [C99-based-standards] (PRIXLEAST16): Likewise.
71512         [C99-based-standards] (SCNdLEAST16): Likewise.
71513         [C99-based-standards] (SCNiLEAST16): Likewise.
71514         [C99-based-standards] (SCNoLEAST16): Likewise.
71515         [C99-based-standards] (SCNuLEAST16): Likewise.
71516         [C99-based-standards] (SCNxLEAST16): Likewise.
71517         [C99-based-standards] (PRIdFAST16): Likewise.
71518         [C99-based-standards] (PRIiFAST16): Likewise.
71519         [C99-based-standards] (PRIoFAST16): Likewise.
71520         [C99-based-standards] (PRIuFAST16): Likewise.
71521         [C99-based-standards] (PRIxFAST16): Likewise.
71522         [C99-based-standards] (PRIXFAST16): Likewise.
71523         [C99-based-standards] (SCNdFAST16): Likewise.
71524         [C99-based-standards] (SCNiFAST16): Likewise.
71525         [C99-based-standards] (SCNoFAST16): Likewise.
71526         [C99-based-standards] (SCNuFAST16): Likewise.
71527         [C99-based-standards] (SCNxFAST16): Likewise.
71528         [C99-based-standards] (PRId32): Likewise.
71529         [C99-based-standards] (PRIi32): Likewise.
71530         [C99-based-standards] (PRIo32): Likewise.
71531         [C99-based-standards] (PRIu32): Likewise.
71532         [C99-based-standards] (PRIx32): Likewise.
71533         [C99-based-standards] (PRIX32): Likewise.
71534         [C99-based-standards] (SCNd32): Likewise.
71535         [C99-based-standards] (SCNi32): Likewise.
71536         [C99-based-standards] (SCNo32): Likewise.
71537         [C99-based-standards] (SCNu32): Likewise.
71538         [C99-based-standards] (SCNx32): Likewise.
71539         [C99-based-standards] (PRIdLEAST32): Likewise.
71540         [C99-based-standards] (PRIiLEAST32): Likewise.
71541         [C99-based-standards] (PRIoLEAST32): Likewise.
71542         [C99-based-standards] (PRIuLEAST32): Likewise.
71543         [C99-based-standards] (PRIxLEAST32): Likewise.
71544         [C99-based-standards] (PRIXLEAST32): Likewise.
71545         [C99-based-standards] (SCNdLEAST32): Likewise.
71546         [C99-based-standards] (SCNiLEAST32): Likewise.
71547         [C99-based-standards] (SCNoLEAST32): Likewise.
71548         [C99-based-standards] (SCNuLEAST32): Likewise.
71549         [C99-based-standards] (SCNxLEAST32): Likewise.
71550         [C99-based-standards] (PRIdFAST32): Likewise.
71551         [C99-based-standards] (PRIiFAST32): Likewise.
71552         [C99-based-standards] (PRIoFAST32): Likewise.
71553         [C99-based-standards] (PRIuFAST32): Likewise.
71554         [C99-based-standards] (PRIxFAST32): Likewise.
71555         [C99-based-standards] (PRIXFAST32): Likewise.
71556         [C99-based-standards] (SCNdFAST32): Likewise.
71557         [C99-based-standards] (SCNiFAST32): Likewise.
71558         [C99-based-standards] (SCNoFAST32): Likewise.
71559         [C99-based-standards] (SCNuFAST32): Likewise.
71560         [C99-based-standards] (SCNxFAST32): Likewise.
71561         [C99-based-standards] (PRId64): Likewise.
71562         [C99-based-standards] (PRIi64): Likewise.
71563         [C99-based-standards] (PRIo64): Likewise.
71564         [C99-based-standards] (PRIu64): Likewise.
71565         [C99-based-standards] (PRIx64): Likewise.
71566         [C99-based-standards] (PRIX64): Likewise.
71567         [C99-based-standards] (SCNd64): Likewise.
71568         [C99-based-standards] (SCNi64): Likewise.
71569         [C99-based-standards] (SCNo64): Likewise.
71570         [C99-based-standards] (SCNu64): Likewise.
71571         [C99-based-standards] (SCNx64): Likewise.
71572         [C99-based-standards] (PRIdLEAST64): Likewise.
71573         [C99-based-standards] (PRIiLEAST64): Likewise.
71574         [C99-based-standards] (PRIoLEAST64): Likewise.
71575         [C99-based-standards] (PRIuLEAST64): Likewise.
71576         [C99-based-standards] (PRIxLEAST64): Likewise.
71577         [C99-based-standards] (PRIXLEAST64): Likewise.
71578         [C99-based-standards] (SCNdLEAST64): Likewise.
71579         [C99-based-standards] (SCNiLEAST64): Likewise.
71580         [C99-based-standards] (SCNoLEAST64): Likewise.
71581         [C99-based-standards] (SCNuLEAST64): Likewise.
71582         [C99-based-standards] (SCNxLEAST64): Likewise.
71583         [C99-based-standards] (PRIdFAST64): Likewise.
71584         [C99-based-standards] (PRIiFAST64): Likewise.
71585         [C99-based-standards] (PRIoFAST64): Likewise.
71586         [C99-based-standards] (PRIuFAST64): Likewise.
71587         [C99-based-standards] (PRIxFAST64): Likewise.
71588         [C99-based-standards] (PRIXFAST64): Likewise.
71589         [C99-based-standards] (SCNdFAST64): Likewise.
71590         [C99-based-standards] (SCNiFAST64): Likewise.
71591         [C99-based-standards] (SCNoFAST64): Likewise.
71592         [C99-based-standards] (SCNuFAST64): Likewise.
71593         [C99-based-standards] (SCNxFAST64): Likewise.
71594         [C99-based-standards] (PRIdMAX): Likewise.
71595         [C99-based-standards] (PRIiMAX): Likewise.
71596         [C99-based-standards] (PRIoMAX): Likewise.
71597         [C99-based-standards] (PRIuMAX): Likewise.
71598         [C99-based-standards] (PRIxMAX): Likewise.
71599         [C99-based-standards] (PRIXMAX): Likewise.
71600         [C99-based-standards] (SCNdMAX): Likewise.
71601         [C99-based-standards] (SCNiMAX): Likewise.
71602         [C99-based-standards] (SCNoMAX): Likewise.
71603         [C99-based-standards] (SCNuMAX): Likewise.
71604         [C99-based-standards] (SCNxMAX): Likewise.
71605         [C99-based-standards] (PRIdPTR): Likewise.
71606         [C99-based-standards] (PRIiPTR): Likewise.
71607         [C99-based-standards] (PRIoPTR): Likewise.
71608         [C99-based-standards] (PRIuPTR): Likewise.
71609         [C99-based-standards] (PRIxPTR): Likewise.
71610         [C99-based-standards] (PRIXPTR): Likewise.
71611         [C99-based-standards] (SCNdPTR): Likewise.
71612         [C99-based-standards] (SCNiPTR): Likewise.
71613         [C99-based-standards] (SCNoPTR): Likewise.
71614         [C99-based-standards] (SCNuPTR): Likewise.
71615         [C99-based-standards] (SCNxPTR): Likewise.
71616         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
71617         allow.
71618         * conform/data/stdint.h-data: Update comments to clarify
71619         requirements.
71620         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
71621         type.
71622         [C99-based standards] (INT8_MAX): Likewise.
71623         [C99-based standards] (INT16_MIN): Likewise.
71624         [C99-based standards] (INT16_MAX): Likewise.
71625         [C99-based standards] (INT32_MIN): Likewise.
71626         [C99-based standards] (INT32_MAX): Likewise.
71627         [C99-based standards] (INT64_MIN): Likewise.
71628         [C99-based standards] (INT64_MAX): Likewise.
71629         [C99-based standards] (UINT8_MAX): Likewise.
71630         [C99-based standards] (UINT16_MAX): Likewise.
71631         [C99-based standards] (UINT32_MAX): Likewise.
71632         [C99-based standards] (UINT64_MAX): Likewise.
71633         [C99-based standards] (INT_LEAST8_MIN): Likewise.
71634         [C99-based standards] (INT_LEAST8_MAX): Likewise.
71635         [C99-based standards] (INT_LEAST16_MIN): Likewise.
71636         [C99-based standards] (INT_LEAST16_MAX): Likewise.
71637         [C99-based standards] (INT_LEAST32_MIN): Likewise.
71638         [C99-based standards] (INT_LEAST32_MAX): Likewise.
71639         [C99-based standards] (INT_LEAST64_MIN): Likewise.
71640         [C99-based standards] (INT_LEAST64_MAX): Likewise.
71641         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
71642         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
71643         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
71644         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
71645         [C99-based standards] (INT_FAST8_MIN): Likewise.
71646         [C99-based standards] (INT_FAST8_MAX): Likewise.
71647         [C99-based standards] (INT_FAST16_MIN): Likewise.
71648         [C99-based standards] (INT_FAST16_MAX): Likewise.
71649         [C99-based standards] (INT_FAST32_MIN): Likewise.
71650         [C99-based standards] (INT_FAST32_MAX): Likewise.
71651         [C99-based standards] (INT_FAST64_MIN): Likewise.
71652         [C99-based standards] (INT_FAST64_MAX): Likewise.
71653         [C99-based standards] (UINT_FAST8_MAX): Likewise.
71654         [C99-based standards] (UINT_FAST16_MAX): Likewise.
71655         [C99-based standards] (UINT_FAST32_MAX): Likewise.
71656         [C99-based standards] (UINT_FAST64_MAX): Likewise.
71657         [C99-based standards] (INTPTR_MIN): Likewise.
71658         [C99-based standards] (INTPTR_MAX): Likewise.
71659         [C99-based standards] (UINTPTR_MAX): Likewise.
71660         [C99-based standards] (INTMAX_MIN): Likewise.
71661         [C99-based standards] (INTMAX_MAX): Likewise.
71662         [C99-based standards] (UINTMAX_MAX): Likewise.
71663         [C99-based standards] (PTRDIFF_MIN): Likewise.
71664         [C99-based standards] (PTRDIFF_MAX): Likewise.
71665         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
71666         [C99-based standards] (SIZE_MAX): Likewise.
71667         [C99-based standards] (WCHAR_MAX): Likewise.
71668         [C99-based standards] (WINT_MAX): Likewise.
71669         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
71670         constraint on value.
71671         [C99-based standards] (WCHAR_MIN): Likewise.
71672         [C99-based standards] (WINT_MIN): Likewise.
71673         [C99-based standards] (*_t): Allow.
71674         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
71675         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
71676         Include math.h-data and complex.h-data.  Remove all expectations
71677         of math.h and complex.h contents.
71678         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
71679         at end of line.
71680         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
71681         (struct tm): Expect tag.
71682         [C99-based-standards] (wcstof): Expect function.
71683         [C99-based-standards] (wcstold): Likewise.
71684         [C99-based-standards] (wcstoll): Likewise.
71685         [C99-based-standards] (wcstoull): Likewise.
71686         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
71687         macro-int-constant.  Specify type.
71688         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
71689         constraint on value.
71690         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
71691         Specify type.
71692         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
71693         Specify value.
71694         [ISO C standards]: Do not allow headers.
71695         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
71696         wcs[abcdefghijklmnopqrstuvwxyz]*.
71697         [ISO C standards] (*_t): Do not allow.
71698         * conform/data/wctype.h-data [C99-based standards] (iswblank):
71699         Expect function.
71700         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
71701         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
71702         Specify type.
71703         [ISO C standards]: Do not allow headers.
71704         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
71705         is[abcdefghijklmnopqrstuvwxyz]*.
71706         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
71707         to[abcdefghijklmnopqrstuvwxyz]*.
71708         [ISO C standards] (*_t): Do not allow.
71709         * conform/data/stdalign.h-data: New file.
71710         * conform/data/stdbool.h-data: Likewise.
71711         * conform/data/stdnoreturn.h-data: Likewise.
71713 2012-11-07  Roland McGrath  <roland@hack.frob.com>
71715         [BZ #14815]
71716         * manual/filesys.texi (Directory Entries): Typo fix.
71717         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
71719 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
71721         * elf/elf.h (EM_AARCH64): New macro.
71722         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
71723         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
71724         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
71725         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
71726         (R_AARCH64_TLSDESC): Likewise.
71727         (NT_ARM_TLS): Likewise.
71728         (NT_ARM_HW_BREAK): Likewise.
71729         (NT_ARM_HW_WATCH): Likewise.
71731 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
71733         [BZ #14811]
71734         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
71735         (__ieee754_powl): Saturate nonzero exponents with absolute value
71736         below 0x1p-79 to +/- 0x1p-79.
71737         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
71738         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
71739         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
71740         nonzero exponents with absolute value below 0x1p-32 to +/-
71741         0x1p-32.
71742         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
71743         (__ieee754_powl): Saturate nonzero exponents with absolute value
71744         below 0x1p-79 to +/- 0x1p-79.
71745         * math/libm-test.inc (pow_test): Add more tests.
71747 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71749         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
71750         _dl_s390_cap_flags with kernel. Increase string length.
71751         (_dl_s390_platforms): Add z196 and zEC12.
71753 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
71755         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
71756         Change XOPEN21K to XOPEN2K.
71758 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
71760         * string/memmove.c: Use memcpy when possible.
71762 2012-11-06  Andreas Jaeger  <aj@suse.de>
71764         * po/eo.po: Update from translation team.
71766 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
71768         [BZ #14793]
71769         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
71770         exponent and small x and y exponents, scale x or y up.  Increase
71771         by 2 the exponent used in scaling up.
71772         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
71773         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
71774         * math/libm-test.inc (fma_test): Add more tests.
71775         (fma_test_towardzero): Likewise.
71776         (fma_test_downward): Likewise.
71777         (fma_test_upward): Likewise.
71779 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
71781         [BZ #14805]
71782         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
71783         fenv_t *.
71785         [BZ #14801]
71786         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
71787         namespace for names of struct fields.
71788         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
71789         fenv_t fields.
71790         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
71791         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
71793 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71795         [BZ #3665]
71796         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
71798 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
71800         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
71801         PTR_DEMANGLE.
71803         [BZ #5246]
71804         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
71805         PTR_DEMANGLE.
71807 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
71809         [BZ #14797]
71810         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
71811         definitely overflow as x * y not x * y + z.
71812         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
71813         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
71814         * math/libm-test.inc (fma_test): Add more tests.
71815         (fma_test_towardzero): Likewise.
71816         (fma_test_downward): Likewise.
71817         (fma_test_upward): Likewise.
71819 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
71821         [BZ #157]
71823         * include/stub-tag.h: Remove file.
71824         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
71825         '#include' of it.
71826         * manual/maint.texi (Porting): Don't reference it.
71827         * Makerules ($(objpfx)stubs): Likewise.
71828         * dirent/closedir.c: Don't include <stub-tag.h>.
71829         * dirent/dirfd.c: Likewise.
71830         * dirent/fdopendir.c: Likewise.
71831         * dirent/getdents.c: Likewise.
71832         * dirent/getdents64.c: Likewise.
71833         * dirent/opendir.c: Likewise.
71834         * dirent/readdir.c: Likewise.
71835         * dirent/readdir64.c: Likewise.
71836         * dirent/readdir64_r.c: Likewise.
71837         * dirent/readdir_r.c: Likewise.
71838         * dirent/rewinddir.c: Likewise.
71839         * dirent/seekdir.c: Likewise.
71840         * dirent/telldir.c: Likewise.
71841         * gmon/profil.c: Likewise.
71842         * grp/setgroups.c: Likewise.
71843         * inet/if_index.c: Likewise.
71844         * io/access.c: Likewise.
71845         * io/chdir.c: Likewise.
71846         * io/chmod.c: Likewise.
71847         * io/chown.c: Likewise.
71848         * io/close.c: Likewise.
71849         * io/dup.c: Likewise.
71850         * io/dup2.c: Likewise.
71851         * io/dup3.c: Likewise.
71852         * io/euidaccess.c: Likewise.
71853         * io/faccessat.c: Likewise.
71854         * io/fchdir.c: Likewise.
71855         * io/fchmod.c: Likewise.
71856         * io/fchmodat.c: Likewise.
71857         * io/fchown.c: Likewise.
71858         * io/fchownat.c: Likewise.
71859         * io/fcntl.c: Likewise.
71860         * io/flock.c: Likewise.
71861         * io/fstatfs.c: Likewise.
71862         * io/fstatfs64.c: Likewise.
71863         * io/fstatvfs.c: Likewise.
71864         * io/fstatvfs64.c: Likewise.
71865         * io/futimens.c: Likewise.
71866         * io/fxstat.c: Likewise.
71867         * io/fxstat64.c: Likewise.
71868         * io/fxstatat.c: Likewise.
71869         * io/fxstatat64.c: Likewise.
71870         * io/getcwd.c: Likewise.
71871         * io/isatty.c: Likewise.
71872         * io/lchmod.c: Likewise.
71873         * io/lchown.c: Likewise.
71874         * io/link.c: Likewise.
71875         * io/linkat.c: Likewise.
71876         * io/lseek.c: Likewise.
71877         * io/lseek64.c: Likewise.
71878         * io/lxstat64.c: Likewise.
71879         * io/mkdir.c: Likewise.
71880         * io/mkdirat.c: Likewise.
71881         * io/mkfifo.c: Likewise.
71882         * io/mkfifoat.c: Likewise.
71883         * io/open.c: Likewise.
71884         * io/open64.c: Likewise.
71885         * io/openat.c: Likewise.
71886         * io/openat64.c: Likewise.
71887         * io/pipe.c: Likewise.
71888         * io/pipe2.c: Likewise.
71889         * io/poll.c: Likewise.
71890         * io/posix_fadvise.c: Likewise.
71891         * io/posix_fadvise64.c: Likewise.
71892         * io/posix_fallocate.c: Likewise.
71893         * io/posix_fallocate64.c: Likewise.
71894         * io/read.c: Likewise.
71895         * io/readlink.c: Likewise.
71896         * io/readlinkat.c: Likewise.
71897         * io/rmdir.c: Likewise.
71898         * io/sendfile.c: Likewise.
71899         * io/sendfile64.c: Likewise.
71900         * io/statfs.c: Likewise.
71901         * io/statfs64.c: Likewise.
71902         * io/statvfs.c: Likewise.
71903         * io/statvfs64.c: Likewise.
71904         * io/symlink.c: Likewise.
71905         * io/symlinkat.c: Likewise.
71906         * io/ttyname.c: Likewise.
71907         * io/ttyname_r.c: Likewise.
71908         * io/umask.c: Likewise.
71909         * io/unlink.c: Likewise.
71910         * io/unlinkat.c: Likewise.
71911         * io/utime.c: Likewise.
71912         * io/utimensat.c: Likewise.
71913         * io/write.c: Likewise.
71914         * io/xmknod.c: Likewise.
71915         * io/xmknodat.c: Likewise.
71916         * io/xstat.c: Likewise.
71917         * io/xstat64.c: Likewise.
71918         * login/getpt.c: Likewise.
71919         * login/grantpt.c: Likewise.
71920         * login/unlockpt.c: Likewise.
71921         * math/e_acoshl.c: Likewise.
71922         * math/e_acosl.c: Likewise.
71923         * math/e_asinl.c: Likewise.
71924         * math/e_atan2l.c: Likewise.
71925         * math/e_atanhl.c: Likewise.
71926         * math/e_coshl.c: Likewise.
71927         * math/e_expl.c: Likewise.
71928         * math/e_fmodl.c: Likewise.
71929         * math/e_gammal_r.c: Likewise.
71930         * math/e_hypotl.c: Likewise.
71931         * math/e_j0l.c: Likewise.
71932         * math/e_j1l.c: Likewise.
71933         * math/e_jnl.c: Likewise.
71934         * math/e_lgammal_r.c: Likewise.
71935         * math/e_log10l.c: Likewise.
71936         * math/e_log2l.c: Likewise.
71937         * math/e_logl.c: Likewise.
71938         * math/e_powl.c: Likewise.
71939         * math/e_rem_pio2l.c: Likewise.
71940         * math/e_sinhl.c: Likewise.
71941         * math/e_sqrtl.c: Likewise.
71942         * math/fclrexcpt.c: Likewise.
71943         * math/fedisblxcpt.c: Likewise.
71944         * math/feenablxcpt.c: Likewise.
71945         * math/fegetenv.c: Likewise.
71946         * math/fegetexcept.c: Likewise.
71947         * math/fegetround.c: Likewise.
71948         * math/feholdexcpt.c: Likewise.
71949         * math/fesetenv.c: Likewise.
71950         * math/fesetround.c: Likewise.
71951         * math/feupdateenv.c: Likewise.
71952         * math/fgetexcptflg.c: Likewise.
71953         * math/fraiseexcpt.c: Likewise.
71954         * math/fsetexcptflg.c: Likewise.
71955         * math/ftestexcept.c: Likewise.
71956         * math/k_cosl.c: Likewise.
71957         * math/k_rem_pio2l.c: Likewise.
71958         * math/k_sinl.c: Likewise.
71959         * math/k_tanl.c: Likewise.
71960         * math/s_asinhl.c: Likewise.
71961         * math/s_atanl.c: Likewise.
71962         * math/s_cbrtl.c: Likewise.
71963         * math/s_erfl.c: Likewise.
71964         * math/s_expm1l.c: Likewise.
71965         * math/s_log1pl.c: Likewise.
71966         * math/s_tanhl.c: Likewise.
71967         * misc/acct.c: Likewise.
71968         * misc/brk.c: Likewise.
71969         * misc/chflags.c: Likewise.
71970         * misc/chroot.c: Likewise.
71971         * misc/fchflags.c: Likewise.
71972         * misc/fgetxattr.c: Likewise.
71973         * misc/flistxattr.c: Likewise.
71974         * misc/fremovexattr.c: Likewise.
71975         * misc/fsetxattr.c: Likewise.
71976         * misc/fsync.c: Likewise.
71977         * misc/ftruncate.c: Likewise.
71978         * misc/futimes.c: Likewise.
71979         * misc/futimesat.c: Likewise.
71980         * misc/getdomain.c: Likewise.
71981         * misc/getdtsz.c: Likewise.
71982         * misc/gethostid.c: Likewise.
71983         * misc/gethostname.c: Likewise.
71984         * misc/getloadavg.c: Likewise.
71985         * misc/getpagesize.c: Likewise.
71986         * misc/getsysstats.c: Likewise.
71987         * misc/getxattr.c: Likewise.
71988         * misc/gtty.c: Likewise.
71989         * misc/ioctl.c: Likewise.
71990         * misc/lgetxattr.c: Likewise.
71991         * misc/listxattr.c: Likewise.
71992         * misc/llistxattr.c: Likewise.
71993         * misc/lremovexattr.c: Likewise.
71994         * misc/lsetxattr.c: Likewise.
71995         * misc/lutimes.c: Likewise.
71996         * misc/madvise.c: Likewise.
71997         * misc/mincore.c: Likewise.
71998         * misc/mlock.c: Likewise.
71999         * misc/mlockall.c: Likewise.
72000         * misc/mmap.c: Likewise.
72001         * misc/mprotect.c: Likewise.
72002         * misc/msync.c: Likewise.
72003         * misc/munlock.c: Likewise.
72004         * misc/munlockall.c: Likewise.
72005         * misc/munmap.c: Likewise.
72006         * misc/preadv.c: Likewise.
72007         * misc/preadv64.c: Likewise.
72008         * misc/ptrace.c: Likewise.
72009         * misc/pwritev.c: Likewise.
72010         * misc/pwritev64.c: Likewise.
72011         * misc/readv.c: Likewise.
72012         * misc/reboot.c: Likewise.
72013         * misc/remap_file_pages.c: Likewise.
72014         * misc/removexattr.c: Likewise.
72015         * misc/revoke.c: Likewise.
72016         * misc/select.c: Likewise.
72017         * misc/setdomain.c: Likewise.
72018         * misc/setegid.c: Likewise.
72019         * misc/seteuid.c: Likewise.
72020         * misc/sethostid.c: Likewise.
72021         * misc/sethostname.c: Likewise.
72022         * misc/setregid.c: Likewise.
72023         * misc/setreuid.c: Likewise.
72024         * misc/setxattr.c: Likewise.
72025         * misc/sstk.c: Likewise.
72026         * misc/stty.c: Likewise.
72027         * misc/swapoff.c: Likewise.
72028         * misc/swapon.c: Likewise.
72029         * misc/sync.c: Likewise.
72030         * misc/syncfs.c: Likewise.
72031         * misc/syscall.c: Likewise.
72032         * misc/truncate.c: Likewise.
72033         * misc/ualarm.c: Likewise.
72034         * misc/usleep.c: Likewise.
72035         * misc/ustat.c: Likewise.
72036         * misc/utimes.c: Likewise.
72037         * misc/vhangup.c: Likewise.
72038         * misc/writev.c: Likewise.
72039         * posix/_exit.c: Likewise.
72040         * posix/alarm.c: Likewise.
72041         * posix/execve.c: Likewise.
72042         * posix/fexecve.c: Likewise.
72043         * posix/fork.c: Likewise.
72044         * posix/fpathconf.c: Likewise.
72045         * posix/getaddrinfo.c: Likewise.
72046         * posix/getegid.c: Likewise.
72047         * posix/geteuid.c: Likewise.
72048         * posix/getgid.c: Likewise.
72049         * posix/getgroups.c: Likewise.
72050         * posix/getlogin.c: Likewise.
72051         * posix/getlogin_r.c: Likewise.
72052         * posix/getpgid.c: Likewise.
72053         * posix/getpid.c: Likewise.
72054         * posix/getppid.c: Likewise.
72055         * posix/getresgid.c: Likewise.
72056         * posix/getresuid.c: Likewise.
72057         * posix/getsid.c: Likewise.
72058         * posix/getuid.c: Likewise.
72059         * posix/glob64.c: Likewise.
72060         * posix/nanosleep.c: Likewise.
72061         * posix/pathconf.c: Likewise.
72062         * posix/pause.c: Likewise.
72063         * posix/posix_madvise.c: Likewise.
72064         * posix/pread.c: Likewise.
72065         * posix/pread64.c: Likewise.
72066         * posix/pwrite.c: Likewise.
72067         * posix/pwrite64.c: Likewise.
72068         * posix/sched_getaffinity.c: Likewise.
72069         * posix/sched_getp.c: Likewise.
72070         * posix/sched_gets.c: Likewise.
72071         * posix/sched_primax.c: Likewise.
72072         * posix/sched_primin.c: Likewise.
72073         * posix/sched_rr_gi.c: Likewise.
72074         * posix/sched_setaffinity.c: Likewise.
72075         * posix/sched_setp.c: Likewise.
72076         * posix/sched_sets.c: Likewise.
72077         * posix/sched_yield.c: Likewise.
72078         * posix/setgid.c: Likewise.
72079         * posix/setlogin.c: Likewise.
72080         * posix/setpgid.c: Likewise.
72081         * posix/setresgid.c: Likewise.
72082         * posix/setresuid.c: Likewise.
72083         * posix/setsid.c: Likewise.
72084         * posix/setuid.c: Likewise.
72085         * posix/sleep.c: Likewise.
72086         * posix/spawni.c: Likewise.
72087         * posix/sysconf.c: Likewise.
72088         * posix/times.c: Likewise.
72089         * posix/wait.c: Likewise.
72090         * posix/wait3.c: Likewise.
72091         * posix/wait4.c: Likewise.
72092         * posix/waitpid.c: Likewise.
72093         * resolv/gai_sigqueue.c: Likewise.
72094         * resource/getpriority.c: Likewise.
72095         * resource/getrlimit.c: Likewise.
72096         * resource/getrusage.c: Likewise.
72097         * resource/nice.c: Likewise.
72098         * resource/setpriority.c: Likewise.
72099         * resource/setrlimit.c: Likewise.
72100         * resource/ulimit.c: Likewise.
72101         * rt/aio_cancel.c: Likewise.
72102         * rt/aio_fsync.c: Likewise.
72103         * rt/aio_read.c: Likewise.
72104         * rt/aio_sigqueue.c: Likewise.
72105         * rt/aio_suspend.c: Likewise.
72106         * rt/aio_write.c: Likewise.
72107         * rt/clock_getres.c: Likewise.
72108         * rt/clock_gettime.c: Likewise.
72109         * rt/clock_nanosleep.c: Likewise.
72110         * rt/clock_settime.c: Likewise.
72111         * rt/lio_listio.c: Likewise.
72112         * rt/mq_close.c: Likewise.
72113         * rt/mq_getattr.c: Likewise.
72114         * rt/mq_notify.c: Likewise.
72115         * rt/mq_open.c: Likewise.
72116         * rt/mq_receive.c: Likewise.
72117         * rt/mq_send.c: Likewise.
72118         * rt/mq_setattr.c: Likewise.
72119         * rt/mq_timedreceive.c: Likewise.
72120         * rt/mq_timedsend.c: Likewise.
72121         * rt/mq_unlink.c: Likewise.
72122         * rt/shm_open.c: Likewise.
72123         * rt/shm_unlink.c: Likewise.
72124         * rt/timer_create.c: Likewise.
72125         * rt/timer_delete.c: Likewise.
72126         * rt/timer_getoverr.c: Likewise.
72127         * rt/timer_gettime.c: Likewise.
72128         * rt/timer_settime.c: Likewise.
72129         * setjmp/__longjmp.c: Likewise.
72130         * setjmp/setjmp.c: Likewise.
72131         * signal/kill.c: Likewise.
72132         * signal/killpg.c: Likewise.
72133         * signal/raise.c: Likewise.
72134         * signal/sigaction.c: Likewise.
72135         * signal/sigaltstack.c: Likewise.
72136         * signal/sigblock.c: Likewise.
72137         * signal/sigignore.c: Likewise.
72138         * signal/sigintr.c: Likewise.
72139         * signal/signal.c: Likewise.
72140         * signal/sigpause.c: Likewise.
72141         * signal/sigpending.c: Likewise.
72142         * signal/sigqueue.c: Likewise.
72143         * signal/sigreturn.c: Likewise.
72144         * signal/sigset.c: Likewise.
72145         * signal/sigsetmask.c: Likewise.
72146         * signal/sigstack.c: Likewise.
72147         * signal/sigsuspend.c: Likewise.
72148         * signal/sigtimedwait.c: Likewise.
72149         * signal/sigvec.c: Likewise.
72150         * signal/sigwait.c: Likewise.
72151         * signal/sigwaitinfo.c: Likewise.
72152         * signal/sysv_signal.c: Likewise.
72153         * socket/accept.c: Likewise.
72154         * socket/accept4.c: Likewise.
72155         * socket/bind.c: Likewise.
72156         * socket/connect.c: Likewise.
72157         * socket/getpeername.c: Likewise.
72158         * socket/getsockname.c: Likewise.
72159         * socket/getsockopt.c: Likewise.
72160         * socket/isfdtype.c: Likewise.
72161         * socket/listen.c: Likewise.
72162         * socket/recv.c: Likewise.
72163         * socket/recvfrom.c: Likewise.
72164         * socket/recvmsg.c: Likewise.
72165         * socket/send.c: Likewise.
72166         * socket/sendmsg.c: Likewise.
72167         * socket/sendto.c: Likewise.
72168         * socket/setsockopt.c: Likewise.
72169         * socket/shutdown.c: Likewise.
72170         * socket/sockatmark.c: Likewise.
72171         * socket/socket.c: Likewise.
72172         * socket/socketpair.c: Likewise.
72173         * stdio-common/ctermid.c: Likewise.
72174         * stdio-common/cuserid.c: Likewise.
72175         * stdio-common/remove.c: Likewise.
72176         * stdio-common/rename.c: Likewise.
72177         * stdio-common/renameat.c: Likewise.
72178         * stdio-common/tempname.c: Likewise.
72179         * stdlib/getcontext.c: Likewise.
72180         * stdlib/makecontext.c: Likewise.
72181         * stdlib/setcontext.c: Likewise.
72182         * stdlib/swapcontext.c: Likewise.
72183         * stdlib/system.c: Likewise.
72184         * streams/fattach.c: Likewise.
72185         * streams/fdetach.c: Likewise.
72186         * streams/getmsg.c: Likewise.
72187         * streams/getpmsg.c: Likewise.
72188         * streams/putmsg.c: Likewise.
72189         * streams/putpmsg.c: Likewise.
72190         * sysdeps/unix/bsd/getpt.c: Likewise.
72191         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
72192         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
72193         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
72194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
72195         Likewise.
72196         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
72197         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
72198         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
72199         * sysvipc/msgctl.c: Likewise.
72200         * sysvipc/msgget.c: Likewise.
72201         * sysvipc/msgrcv.c: Likewise.
72202         * sysvipc/msgsnd.c: Likewise.
72203         * sysvipc/semctl.c: Likewise.
72204         * sysvipc/semget.c: Likewise.
72205         * sysvipc/semop.c: Likewise.
72206         * sysvipc/semtimedop.c: Likewise.
72207         * sysvipc/shmat.c: Likewise.
72208         * sysvipc/shmctl.c: Likewise.
72209         * sysvipc/shmdt.c: Likewise.
72210         * sysvipc/shmget.c: Likewise.
72211         * termios/tcdrain.c: Likewise.
72212         * termios/tcflow.c: Likewise.
72213         * termios/tcflush.c: Likewise.
72214         * termios/tcgetattr.c: Likewise.
72215         * termios/tcgetpgrp.c: Likewise.
72216         * termios/tcsendbrk.c: Likewise.
72217         * termios/tcsetattr.c: Likewise.
72218         * termios/tcsetpgrp.c: Likewise.
72219         * time/adjtime.c: Likewise.
72220         * time/clock.c: Likewise.
72221         * time/getitimer.c: Likewise.
72222         * time/gettimeofday.c: Likewise.
72223         * time/setitimer.c: Likewise.
72224         * time/settimeofday.c: Likewise.
72225         * time/stime.c: Likewise.
72226         * time/time.c: Likewise.
72228 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
72230         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
72231         /usr/old/bin.
72233         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
72234         instead of spaces.
72235         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
72237 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
72239         [BZ #14796]
72240         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
72241         FE_TONEAREST before applying Dekker multiplication and Knuth
72242         addition.  Clear inexact exceptions and check for exact zero
72243         results afterwards.
72244         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
72245         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
72246         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
72247         * math/libm-test.inc (fma_test): Add more tests.
72248         (fma_test_towardzero): Likewise.
72249         (fma_test_downward): Likewise.
72250         (fma_test_upward): Likewise.
72251         * sysdeps/generic/math_private.h (default_libc_fesetround): New
72252         function.
72253         (libc_fesetround): New macro.
72254         (libc_fesetroundf): Likewise.
72255         (libc_fesetroundl): Likewise.
72256         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
72257         function.
72258         (libc_fesetround_387): Likewise.
72259         (libc_fesetroundf): New macro.
72260         (libc_fesetround): Likewise.
72261         (libc_fesetroundl): Likewise.
72262         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
72263         function.
72264         (libc_fesetroundf): New macro.
72265         (libc_fesetround): Likewise.
72266         (libc_fesetroundl): Likewise.
72267         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
72268         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
72269         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
72270         libm_hidden_ver.
72271         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
72272         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
72273         libm_hidden_def.
72274         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
72275         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
72276         libm_hidden_ver.
72277         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
72278         libm_hidden_def.
72280         [BZ #3439]
72281         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
72282         integer constant usable in #if and use that to give value to enum
72283         constant.
72284         (FE_DIVBYZERO): Likewise.
72285         (FE_UNDERFLOW): Likewise.
72286         (FE_OVERFLOW): Likewise.
72287         (FE_INVALID): Likewise.
72288         (FE_INVALID_SNAN): Likewise.
72289         (FE_INVALID_ISI): Likewise.
72290         (FE_INVALID_IDI): Likewise.
72291         (FE_INVALID_ZDZ): Likewise.
72292         (FE_INVALID_IMZ): Likewise.
72293         (FE_INVALID_COMPARE): Likewise.
72294         (FE_INVALID_SOFTWARE): Likewise.
72295         (FE_INVALID_SQRT): Likewise.
72296         (FE_INVALID_INTEGER_CONVERSION): Likewise.
72297         (FE_TONEAREST): Likewise.
72298         (FE_TOWARDZERO): Likewise.
72299         (FE_UPWARD): Likewise.
72300         (FE_DOWNWARD): Likewise.
72301         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
72302         (FE_DIVBYZERO): Likewise.
72303         (FE_OVERFLOW): Likewise.
72304         (FE_UNDERFLOW): Likewise.
72305         (FE_INEXACT): Likewise.
72306         (FE_TONEAREST): Likewise.
72307         (FE_DOWNWARD): Likewise.
72308         (FE_UPWARD): Likewise.
72309         (FE_TOWARDZERO): Likewise.
72310         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
72311         (FE_UNDERFLOW): Likewise.
72312         (FE_OVERFLOW): Likewise.
72313         (FE_DIVBYZERO): Likewise.
72314         (FE_INVALID): Likewise.
72315         (FE_TONEAREST): Likewise.
72316         (FE_TOWARDZERO): Likewise.
72317         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
72318         (FE_OVERFLOW): Likewise.
72319         (FE_UNDERFLOW): Likewise.
72320         (FE_DIVBYZERO): Likewise.
72321         (FE_INEXACT): Likewise.
72322         (FE_TONEAREST): Likewise.
72323         (FE_TOWARDZERO): Likewise.
72324         (FE_UPWARD): Likewise.
72325         (FE_DOWNWARD): Likewise.
72326         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
72327         (FE_DIVBYZERO): Likewise.
72328         (FE_OVERFLOW): Likewise.
72329         (FE_UNDERFLOW): Likewise.
72330         (FE_INEXACT): Likewise.
72331         (FE_TONEAREST): Likewise.
72332         (FE_DOWNWARD): Likewise.
72333         (FE_UPWARD): Likewise.
72334         (FE_TOWARDZERO): Likewise.
72336 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
72338         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
72340 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
72342         * scripts/cross-test-ssh.sh (command): Use newlines to separate
72343         commands.  Quote $PWD.
72344         (blacklist_exports): Don't use remove_newlines.  Replace "declare
72345         -x" by "export".
72346         (remove_newlines): Remove.
72348 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
72350         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
72351         * stdlib/stdlib.h (atof): Moved to ...
72352         * include/bits/stdlib-float.h: Here.  New file.
72353         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
72354         * stdlib/bits/stdlib-float.h: New file.
72355         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
72356         -mno-sse -mno-mmx.
72357         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
72358         <xmmintrin.h>.
72360 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
72362         * conform/conformtest.pl (@headers): Add fenv.h.
72363         * conform/data/fenv.h-data: New file.
72364         * include/fenv.h [_ISOMAC]: Disable all contents of file except
72365         include of <math/fenv.h>.
72367         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
72368         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
72369         && !UNIX98].  Enables tests for XOPEN2K8.
72370         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
72371         POSIX2008]: Likewise.
72373         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
72374         (struct rusage): Do not expect type or its members.
72376         [BZ #3439]
72377         * math/math.h (FP_NAN): Define macro to integer constant usable in
72378         #if and use that to give value to enum constant.
72379         (FP_INFINITE): Likewise.
72380         (FP_ZERO): Likewise.
72381         (FP_SUBNORMAL): Likewise.
72382         (FP_NORMAL): Likewise.
72384 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
72386         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
72387         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
72388         arguments.
72390 2012-11-02  Roland McGrath  <roland@hack.frob.com>
72392         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
72393         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
72394         autoconf-time if not.
72395         * configure.in: Remove AC_PREREQ.
72397 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
72399         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
72400         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
72401         of the internal implementation.
72403 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
72405         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
72406         except include of <misc/sys/syslog.h>.
72408 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
72410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
72411         function returns with a NULL context exit with zero.
72413 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
72415         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
72417 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
72419         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
72420         (run_program_cmd): This.
72421         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
72422         (tst_langinfo): New variable.  Use it.
72424 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
72426         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
72427         floating point opcodes.
72429 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
72431         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
72432         variable.
72434         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
72436         * sysdeps/mach/hurd/powerpc: Remove directory.
72437         * sysdeps/mach/powerpc: Likewise.
72439 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
72441         * scripts/check-local-headers.sh: Ignore c++ headers.
72443 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
72445         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
72446         __libc_cleanup_region_start argument.
72448 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
72450         [BZ #14784]
72451         [BZ #14785]
72452         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
72453         x * y using scaling, not as x * y + z.
72454         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
72455         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
72456         * math/libm-test.inc (fma_test): Add more tests.
72457         (fma_test_towardzero): Likewise.
72458         (fma_test_downward): Likewise.
72459         (fma_test_upward): Likewise.
72461 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
72463         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
72465 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
72467         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
72468         New variable.
72470 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
72472         * rt/tst-shm.c (worker): Correct checking for mmap failure.
72474 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
72476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
72477         Fix sort order.
72478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
72479         Likewise.
72481 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
72483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
72484         Fix the order of the list for glibc 2.17.
72485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
72486         Likewise.
72488 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
72490         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72492 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
72494         [BZ #14610]
72495         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
72496         for low part of x being zero before using __atanl (y).
72497         * math/libm-test.inc (atan2_test): Add another test.
72499         * manual/install.texi (Configuring and compiling): Document
72500         general use of test-wrapper and test-wrapper-env.
72501         * INSTALL: Regenerated.
72503         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
72504         (__fma): Do not extract and scale down low bits on after-rounding
72505         systems when result rounded to normal precision would have normal
72506         exponent.
72507         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
72508         (__fmal): Do not extract and scale down low bits on after-rounding
72509         systems when result rounded to normal precision would have normal
72510         exponent.
72511         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
72512         (__fmal): Do not extract and scale down low bits on after-rounding
72513         systems when result rounded to normal precision would have normal
72514         exponent.
72515         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
72516         macro.
72517         (fma_test): Add more tests.
72518         (fma_test_towardzero): Likewise.
72519         (fma_test_downward): Likewise.
72520         (fma_test_upward): Likewise.
72522 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
72524         * sysdeps/i386/tininess.h: Renamed to ...
72525         * sysdeps/x86/tininess.h: This.
72526         * sysdeps/x86_64/tininess.h: Removed.
72528 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
72530         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
72531         input.  Use $(build-program-cmd).
72532         ($(objpfx)tst-array1-static.out): Likewise.
72533         ($(objpfx)tst-array2.out): Likewise.
72534         ($(objpfx)tst-array3.out): Likewise.
72535         ($(objpfx)tst-array4.out): Likewise.
72536         ($(objpfx)tst-array5.out): Likewise.
72537         ($(objpfx)tst-array5-static.out): Likewise.
72539 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
72541         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
72542         if defined.
72544         * nss/nsswitch.h (nss_interface_function): Provide new
72545         macro for use with NSS functions.
72546         * grp/initgroups.c: Use new macro.
72547         * nss/getXXbyYY.c: Likewise.
72548         * nss/getXXbyYY_r.c: Likewise.
72549         * nss/getXXent.c: Likewise.
72550         * nss/getXXent_r.c: Likewise.
72551         * sysdeps/posix/getaddrinfo.c: Likewise.
72553 2012-10-30  Andreas Jaeger  <aj@suse.de>
72555         * po/ru.po: Update Russion translation from translation project.
72557 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
72559         [BZ #14152]
72560         [BZ #14783]
72561         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
72562         result and shift together with sticky bit instead of replicating
72563         round-to-nearest rounding.
72564         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
72565         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
72566         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
72567         missing underflow exceptions.
72568         (fma_test_towardzero): Add more tests.
72569         (fma_test_downward): Likewise.
72570         (fma_test_upward): Likewise.
72572         [BZ #14047]
72573         * sysdeps/generic/tininess.h: New file.
72574         * sysdeps/i386/tininess.h: Likewise.
72575         * sysdeps/sh/tininess.h: Likewise.
72576         * sysdeps/x86_64/tininess.h: Likewise.
72577         * stdlib/tst-strtod-underflow.c: Likewise.
72578         * stdlib/tst-tininess.c: Likewise.
72579         * stdlib/strtod_l.c: Include <tininess.h>.
72580         (round_and_return): Do not set errno for exact underflow cases.
72581         Force an underflow exception when setting errno for underflow.
72582         Determine underflow based on rounding to normal precision if
72583         TININESS_AFTER_ROUNDING.
72584         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
72585         ERANGE for exact underflow cases.
72586         * stdlib/Makefile (tests): Add tst-tininess and
72587         tst-strtod-underflow.
72588         ($(objpfx)tst-tininess): Use $(link-libm).
72589         ($(objpfx)tst-strtod-underflow): Likewise.
72591 2012-10-30  Andreas Jaeger  <aj@suse.de>
72593         [BZ #14767]
72594         * elf/Makefile (tests): Remove conditional for have-initfini-array
72595         since this is now always required and the variable does not exist
72596         anymore.
72597         (tests-static): Likewise.
72598         (modules-names): Likewise.
72600         * po/eo.po: Add Esperanto translation from translation project.
72602         * elf/tst-array1.c (fini_array): Make writeable so that it can be
72603         merged with constructor/destructor.
72604         (init_array): Likewise.
72605         * elf/tst-array2dep.c (fini_array): Likewise.
72606         (init_array): Likewise.
72608 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
72610         * manual/message.texi: Delete @cartouche tags.
72612 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
72614         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
72615         EOPNOTSUPP.
72616         * sysdeps/mach/hurd/fsync.c: Likewise.
72618         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
72619         [_POSIX_REALTIME_SIGNALS]: Change condition to
72620         [_POSIX_REALTIME_SIGNALS > 0].
72622 2012-10-27  Andreas Jaeger  <aj@suse.de>
72624         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
72625         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
72626         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
72627         [__WORDSIZE != 64]: Likewise.
72629 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
72631         *  iconvdata/tst-table.sh: Remove ${SHELL}.
72632         *  iconvdata/tst-tables.sh: Likewise.
72634 2012-10-25  David S. Miller  <davem@davemloft.net>
72636         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
72637         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
72638         of strtoull.
72640         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
72641         ifunc-impl-list.c
72642         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
72643         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
72644         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
72645         file.
72647 2012-10-25  Roland McGrath  <roland@hack.frob.com>
72649         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
72650         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
72651         __getdirentries.
72653 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
72654             Jim Blandy  <jimb@codesourcery.com>
72656         * scripts/cross-test-ssh.sh: New file.
72657         * manual/install.texi (Configuring and compiling): Document use of
72658         cross-test-ssh.sh.
72659         * INSTALL: Regenerated.
72661 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
72663         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
72664         EOPNOTSUPP.
72666 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
72668         * Makeconfig (run-program-prefix): Fix comment.
72670 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
72671             Jim Blandy  <jimb@codesourcery.com>
72673         * Makeconfig (test-wrapper): New variable,
72674         (test-wrapper-env): Likewise.
72675         [$(cross-compiling) = yes && $(test-wrapper) != ""]
72676         (run-built-tests): Define to yes.
72677         (run-program-prefix): Use $(test-wrapper).
72678         (built-program-cmd): Likewise.
72679         * Rules (make-test-out): Use $(test-wrapper-env) and
72680         $(host-built-program-cmd).
72681         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
72682         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
72683         tst-pathopt.sh.
72684         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
72685         $(test-wrapper-env) to tst-rtld-load-self.sh.
72686         ($(objpfx)order2.out): Use $(test-wrapper).
72687         ($(objpfx)tst-initorder.out): Likewise.
72688         ($(objpfx)tst-initorder2.out): Likewise.
72689         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
72690         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
72691         (test_wrapper_env): New variable.  Use it to run ld.so.
72692         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
72693         Use it to run ld.so.
72694         (test_wrapper_env): Likewise.
72695         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
72696         $(test-wrapper) to run-iconv-test.sh.
72697         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
72698         (ICONV): Use $test_wrapper.
72699         * posix/Makefile ($(objpfx)globtest.out): Pass
72700         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
72701         globtest.sh, not $(run-program-prefix).
72702         * posix/globtest.sh (run_via_rtld_prefix): New variable.
72703         (test_wrapper): Likewise.
72704         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
72705         set together with run_via_rtld_prefix.
72706         (run_program_prefix): Define in terms of test_wrapper and
72707         run_via_rtld_prefix.
72709 2012-10-24  Roland McGrath  <roland@hack.frob.com>
72711         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
72712         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
72713         Targets removed.
72715         [BZ #14743]
72716         * include/time.h: Remove librt_hidden_proto (clock_gettime).
72717         Declare __clock_getres, __clock_gettime, __clock_settime,
72718         __clock_nanosleep, and __clock_getcpuclockid.
72719         * rt/clock_gettime.c: Define __clock_gettime as an alias.
72720         Remove librt_hidden_def (clock_gettime).
72721         * sysdeps/unix/clock_gettime.c: Likewise.
72722         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
72723         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
72724         * rt/clock_getres.c: Define __clock_getres as an alias.
72725         * sysdeps/posix/clock_getres.c: Likewise.
72726         * rt/clock_settime.c: Define __clock_settime as an alias.
72727         * sysdeps/unix/clock_settime.c: Likewise.
72728         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
72729         * sysdeps/unix/clock_nanosleep.c: Likewise.
72730         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
72731         * rt/clock-compat.c: New file.
72732         * rt/Makefile (librt-routines): Add clock-compat and move
72733         $(clock-routines) to ...
72734         (routines): ... here, new variable.
72735         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
72736         Don't add get_clockfreq here.
72737         * rt/Versions (libc: GLIBC_2.17): New version set.
72738         Add clock_* symbols here.
72739         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
72740         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
72741         (GLIBC_2.17): Add clock_* symbols.
72742         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
72743         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
72744         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
72745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
72746         Likewise.
72747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
72748         Likewise.
72749         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
72750         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
72751         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
72752         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
72753         * NEWS: Mention the move.
72755         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
72756         Use __open, __read, __close rather than their public counterparts.
72757         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
72758         (__get_clockfreq_via_cpuinfo): Likewise.
72759         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
72760         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
72762         * config.h.in (HAVE_IFUNC): New #undef.
72763         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
72764         was successful.
72765         * configure: Regenerated.
72767 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
72769         * configure.in: Move READELF check to start of file.
72770         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
72771         libc_cv_asm_gnu_indirect_function in the process.
72772         * configure: Regenerated.
72774 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
72776         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
72777         send the output to /dev/null.
72778         (libc_cv_cc_with_libunwind): Likewise.
72779         (libc_cv_as_noexecstack): Likewise.
72780         * configure: Regenerate.
72782 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
72784         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
72786         * posix/globtest.sh (TMPDIR): Do not set.
72787         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
72788         (testout): Likewise.
72790 2012-10-24  Andreas Jaeger  <aj@suse.de>
72792         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
72793         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
72794         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
72795         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
72796         posix_fadvise64, posix_fallocate64.
72798         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
72799         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
72800         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
72801         Likewise.
72802         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
72803         Likewise.
72804         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
72806         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
72807         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
72808         <bits/fcntl-linux.h>.
72809         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
72811         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
72812         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
72813         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
72814         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
72815         [__WORDSIZE != 64]: Likewise.
72817 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
72819         * Makeconfig (run-built-tests): New variable.
72820         * Rules [$(cross-compiling) = yes]: Change condition to
72821         [$(run-built-tests) = no].
72822         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
72823         to [$(run-built-tests) = yes].
72824         * elf/Makefile [$(cross-compiling) = no]: Likewise.
72825         * grp/Makefile [$(cross-compiling) = no]: Likewise.
72826         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
72827         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
72828         * intl/Makefile [$(cross-compiling) = no]: Likewise.
72829         * io/Makefile [$(cross-compiling) = no]: Likewise.
72830         * libio/Makefile [$(cross-compiling) = no]: Likewise.
72831         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
72832         * misc/Makefile [$(cross-compiling) = no]: Likewise.
72833         * posix/Makefile [$(cross-compiling) = no]: Likewise.
72834         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
72835         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
72836         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
72837         * string/Makefile [$(cross-compiling) = no]: Likewise.
72839         * posix/Makefile ($(objpfx)globtest.out): Pass
72840         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
72841         $(rtld-installed-name).
72842         * posix/globtest.sh (elf_objpfx): Remove variable.
72843         (rtld_installed_name): Likewise.
72844         (library_path): Likewise.
72845         (run_program_prefix): New variable.  Use for running globtest
72846         binary.
72848 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
72849             Joseph Myers  <joseph@codesourcery.com>
72851         * Makeconfig (host-built-program-cmd): New variable.
72852         * elf/Makefile (tst-stackguard1-ARGS): Use
72853         $(host-built-program-cmd).
72854         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
72855         (tst-spawn-ARGS): Likewise.
72856         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
72858 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
72859             Jim Blandy  <jimb@codesourcery.com>
72861         * Makeconfig (run-via-rtld-prefix): New variable.
72862         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
72863         (built-program-cmd): Likewise.
72865 2012-10-22  Andreas Jaeger  <aj@suse.de>
72867         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
72868         __O_RSYNC if it exists, otherwise to O_SYNC.
72870 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
72871             Joseph Myers  <joseph@codesourcery.com>
72873         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
72874         /dev/null.
72875         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
72876         from /dev/null
72877         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
72878         /dev/null.
72880 2012-10-22  Andreas Jaeger  <aj@suse.de>
72882         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
72883         Define always.
72884         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
72886         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72887         bits/fcntl-linux.h.
72889         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
72890         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
72892         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
72893         to __O_LARGEFILE.
72894         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
72895         to __O_LARGEFILE.
72897 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
72898             Joseph Myers  <joseph@codesourcery.com>
72900         * config.make.in (NM): New variable.
72902 2012-10-21  Andreas Jaeger  <aj@suse.de>
72904         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
72905         definitions and declarations that are provided by
72906         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
72908 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
72910         [BZ #14683]
72911         * elf/Makefile (tests-static): Add tst-leaks1-static.
72912         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
72913         ($(objpfx)tst-leaks1-static): New rule.
72914         ($(objpfx)tst-leaks1-static-mem): Likewise.
72915         (tst-leaks1-static-ENV): New macro.
72916         * elf/dl-open.c (dl_open_worker): Check the main application
72917         only if SHARED is defined.
72918         * elf/tst-leaks1-static.c: New file.
72920 2012-10-20  Andreas Jaeger  <aj@suse.de>
72922         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
72923         generic values for Linux.
72924         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
72925         and declarations that are provided by <bits/fcntl-linux.h> and
72926         include <bits/fcntl-linux.h>.
72927         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
72928         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
72930 2012-10-20  Roland McGrath  <roland@hack.frob.com>
72932         * io/fcntl.h: Move include of <bits/types.h> to the top and
72933         include it unconditionally.
72935 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
72937         * wcsmbs/Makefile (tests-ifunc): New variable.
72938         (tests): Add $(tests-ifunc).
72939         * wcsmbs/test-wcschr-ifunc.c: New file.
72940         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
72941         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
72942         * wcsmbs/test-wcslen-ifunc.c: Likewise.
72943         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
72944         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
72946         * string/Makefile (tests-ifunc): New variable.
72947         (tests): Add $(tests-ifunc).
72948         * string/test-memccpy.c (TEST_NAME): New macro.
72949         * string/test-memchr.c (TEST_NAME): Likewise.
72950         * string/test-memcmp.c (TEST_NAME): Likewise.
72951         * string/test-memcpy.c (TEST_NAME): Likewise.
72952         * string/test-memmem.c (TEST_NAME): Likewise.
72953         * string/test-memmove.c (TEST_NAME): Likewise.
72954         * string/test-memset.c (TEST_NAME): Likewise.
72955         * string/test-rawmemchr.c (TEST_NAME): Likewise.
72956         * string/test-stpcpy.c (TEST_NAME): Likewise.
72957         * string/test-stpncpy.c (TEST_NAME): Likewise.
72958         * string/test-strcasecmp.c (TEST_NAME): Likewise.
72959         * string/test-strcasestr.c (TEST_NAME): Likewise.
72960         * string/test-strcat.c (TEST_NAME): Likewise.
72961         * string/test-strchr.c (TEST_NAME): Likewise.
72962         * string/test-strcmp.c(TEST_NAME): Likewise.
72963         * string/test-strcpy.c (TEST_NAME): Likewise.
72964         * string/test-strcspn.c (TEST_NAME): Likewise.
72965         * string/test-strlen.c (TEST_NAME): Likewise.
72966         * string/test-strncasecmp.c (TEST_NAME): Likewise.
72967         * string/test-strncmp.c (TEST_NAME): Likewise.
72968         * string/test-strncpy.c (TEST_NAME): Likewise.
72969         * string/test-strnlen.c (TEST_NAME): Likewise.
72970         * string/test-strpbrk.c (TEST_NAME): Likewise.
72971         * string/test-strrchr.c (TEST_NAME): Likewise.
72972         * string/test-strspn.c (TEST_NAME): Likewise.
72973         * string/test-strstr.c (TEST_NAME): Likewise.
72974         * string/test-bcopy-ifunc.c: New file.
72975         * string/test-bzero-ifunc.c: Likewise.
72976         * string/test-memccpy-ifunc.c: Likewise.
72977         * string/test-memchr-ifunc.c: Likewise.
72978         * string/test-memcmp-ifunc.c: Likewise.
72979         * string/test-memcpy-ifunc.c: Likewise.
72980         * string/test-memmem-ifunc.c: Likewise.
72981         * string/test-memmove-ifunc.c: Likewise.
72982         * string/test-mempcpy-ifunc.c: Likewise.
72983         * string/test-memset-ifunc.c: Likewise.
72984         * string/test-rawmemchr-ifunc.c: Likewise.
72985         * string/test-stpcpy-ifunc.c: Likewise.
72986         * string/test-stpncpy-ifunc.c: Likewise.
72987         * string/test-strcasecmp-ifunc.c: Likewise.
72988         * string/test-strcasestr-ifunc.c: Likewise.
72989         * string/test-strcat-ifunc.c: Likewise.
72990         * string/test-strchr-ifunc.c: Likewise.
72991         * string/test-strchrnul-ifunc.c: Likewise.
72992         * string/test-strcmp-ifunc.c: Likewise.
72993         * string/test-strcpy-ifunc.c: Likewise.
72994         * string/test-strcspn-ifunc.c: Likewise.
72995         * string/test-strlen-ifunc.c: Likewise.
72996         * string/test-strncasecmp-ifunc.c: Likewise.
72997         * string/test-strncat-ifunc.c: Likewise.
72998         * string/test-strncmp-ifunc.c: Likewise.
72999         * string/test-strncpy-ifunc.c: Likewise.
73000         * string/test-strnlen-ifunc.c: Likewise.
73001         * string/test-strpbrk-ifunc.c: Likewise.
73002         * string/test-strrchr-ifunc.c: Likewise.
73003         * string/test-strspn-ifunc.c: Likewise.
73004         * string/test-strstr-ifunc.c: Likewise.
73006         * debug/Makefile (tests-ifunc): New variable.
73007         (tests): Add $(tests-ifunc).
73008         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
73009         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
73010         * debug/test-stpcpy_chk-ifunc.c: New file.
73011         * debug/test-strcpy_chk-ifunc.c: Likewise.
73013 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
73015         [BZ #13601]
73016         * elf/dl-load.c (open_verify): Retry read if the entire ELF
73017         header is not read in.
73019 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
73021         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
73022         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
73023         directly.  Pass built executable to script as
73024         $(built-program-cmd).
73025         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
73026         $testprogram without using LD_LIBRARY_PATH and $ldso.
73028         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
73029         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
73030         $(rtld-installed-name).
73031         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
73032         (rtld_installed_name): Likewise.
73033         (library_path): Likewise.
73034         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
73035         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
73036         $(run-program-prefix) to tst-tables.sh.
73037         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
73038         it to run tst-table-from and tst-table-to.
73039         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
73040         Pass it to tst-table.sh.
73041         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
73042         $(run-program-prefix) to tst-gettext.sh.
73043         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
73044         tst-translit.sh.
73045         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
73046         tst-gettext2.sh.
73047         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
73048         to run tst-gettext.
73049         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
73050         to run tst-gettext2.
73051         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
73052         to run tst-translit.
73053         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
73054         $(run-program-prefix) to tst-mtrace.sh.
73055         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
73056         to run tst-mtrace.
73057         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
73058         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
73059         $(rtld-installed-name).
73060         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
73061         (rtld_installed_name): Likewise.
73062         (run_program_prefix): New variable.  Use it to run wordexp-test.
73064         * Makeconfig (ARCH): Remove all definitions.
73065         (machine): Likewise.
73066         [ARCH]: Remove conditional code.
73067         [!objdir]: Give error.
73068         [!objdir] (objpfx): Remove.
73069         [!objdir] (common-objpfx): Likewise.
73070         [!objdir] (common-objdir): Likewise.
73071         * configure.in (config_makefile): Remove.  Hardcode Makefile in
73072         AC_CONFIG_FILES call.
73073         * configure: Regenerated.
73075         [BZ #13888]
73076         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
73077         or TMPDIR.
73078         (testout): Likewise.
73080         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
73081         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
73082         $(rtld-installed-name).
73083         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
73084         (rtld_installed_name): Likewise.
73085         (runit): Remove function.
73086         (run_getconf): New variable,  Use it for running getconf binary.
73088 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
73090         [BZ #14716]
73091         * string/test-memmem.c (check_result): New function.
73092         (do_one_test): Use it.
73093         (check1): New function.
73094         (test_main): Use it.
73096 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
73098         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
73100 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
73102         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
73103         (_G_LSEEK64): Likewise.
73104         (_G_MMAP64): Likewise.
73105         (_G_FSTAT64): Likewise.
73106         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
73107         (_G_LSEEK64): Likewise.
73108         (_G_MMAP64): Likewise.
73109         (_G_FSTAT64): Likewise.
73110         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
73111         unconditional.  Call __mmap64 directly.
73112         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
73113         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
73114         __lseek64 directly.
73115         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
73116         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
73117         __mmap64 directly.
73118         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
73119         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
73120         __lseek64 directly.
73121         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
73122         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
73123         __lseek64 directly.
73124         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
73125         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
73126         __lseek64 directly.
73127         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
73128         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
73129         __fxstat64 directly.
73130         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
73131         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
73132         unconditional.
73133         (freopen64) [!_G_OPEN64]: Remove conditional code.
73134         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
73135         unconditional.
73136         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
73137         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
73138         unconditional.
73139         (ftello64) [!_G_LSEEK64]: Remove conditional code.
73140         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
73141         unconditional.
73142         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
73143         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
73144         unconditional.
73145         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
73146         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
73147         unconditional.
73148         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
73149         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
73150         unconditional.
73151         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
73152         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
73153         unconditional.
73154         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
73156 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
73158         [BZ #12140]
73159         * manual/memory.texi (Malloc Tunable Parameters): Add note
73160         about free list pointers overwriting some perturb bytes.
73161         Wording suggested by Roland McGrath.
73163 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
73165         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
73166         (lgamma_test): Likewise.
73167         (tgamma_test): Likewise.
73169 2012-10-16  Florian Weimer  <fweimer@redhat.com>
73171         [BZ #14700]
73172         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
73173         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
73175 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
73177         * NEWS: Mention BZ #14716.
73178         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
73179         when removing AVAILABLE1_USES_J macro.
73181 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
73183         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
73184         (__bswap_64): __uint64_t for unsigned 64-bit int.
73186 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
73188         * include/string.h (memmem): Declare libc hidden alias.
73189         * string/memmem.c (memmem): Define libc hidden alias.
73190         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
73191         __read, __close instead of open, read, close.
73193 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
73195         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
73196         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
73197         global and hidden.
73198         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
73199         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
73200         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
73201         Likewise.
73202         (__rawmemchr_sse2): Likewise.
73203         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
73204         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
73205         (__strchr_sse2): Likewise.
73206         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
73207         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
73208         (__strcasecmp_sse2): Likewise.
73209         (__strncasecmp_sse2): Likewise.
73210         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
73211         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
73212         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
73213         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
73214         (__strrchr_sse2): Likewise.
73215         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
73216         ifunc-impl-list.c.
73217         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
73218         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
73219         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
73220         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
73221         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
73222         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
73223         * sysdeps/x86_64/multiarch/memset.S: Likewise.
73224         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
73225         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
73226         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
73227         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
73228         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
73229         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
73230         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
73231         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
73232         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
73233         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
73234         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
73235         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
73236         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
73237         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
73238         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
73239         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
73240         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
73241         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
73242         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
73243         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
73244         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
73245         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
73246         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
73248         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
73249         global and hidden.
73250         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
73251         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
73252         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
73253         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
73254         Likewise.
73255         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
73256         Likewise.
73257         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
73258         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
73259         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
73260         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
73261         ifunc-impl-list.c.
73262         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
73263         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
73264         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
73265         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
73266         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
73267         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
73268         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
73269         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
73270         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
73271         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
73272         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
73273         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
73274         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
73275         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
73276         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
73277         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
73278         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
73279         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
73280         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
73281         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
73282         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
73283         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
73284         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
73285         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
73286         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
73287         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
73288         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
73289         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
73290         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
73291         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
73292         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
73293         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
73294         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
73295         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
73296         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
73297         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
73298         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
73299         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
73300         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
73301         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
73302         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
73304         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
73305         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
73306         * include/ifunc-impl-list.h: New file.
73307         * misc/ifunc-impl-list.c: Likewise.
73308         * misc/Makefile (routines): Add ifunc-impl-list.
73309         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
73310         * string/test-string.h: Include <ifunc-impl-list.h>.
73311         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
73312         TEST_NAME]: New variables.
73313         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
73314         are defined.
73315         (test_init): Call __libc_ifunc_impl_list to initialize
73316         func_list if TEST_IFUNC and TEST_NAME are defined.
73318         * string/Makefile (strop-tests): Add bcopy and bzero.
73319         * string/test-bcopy.c: New file.
73320         * string/test-bzero.c: Likewise.
73321         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
73322         defined.
73323         * string/test-memset.c: Support bzero test if TEST_BZERO is
73324         defined.
73325         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
73326         __libc_memmove.
73327         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
73328         __libc_memset.
73329         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
73330         of memset.
73332 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
73334         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
73335         * configure: Regenerated.
73337         * Makeconfig (+link-static-before-libc): Don't include
73338         $(link-static-libc).
73340         * libio/libio.h (_IO_pos_t): Remove.
73342 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
73344         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
73345         McGrath.
73347 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
73349         * crypt/crypt-entry.c: Include fips-private.h.
73350         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
73351         * crypt/md5c-test.c (main): Tolerate disabled MD5.
73352         * sysdeps/unix/sysv/linux/fips-private.h: New file.
73353         * sysdeps/generic/fips-private.h: New file, dummy fallback.
73355 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
73357         * crypt/crypt-private.h: Include stdbool.h.
73358         (_ufc_setup_salt_r): Return bool.
73359         * crypt/crypt-entry.c: Include errno.h.
73360         (__crypt_r): Return NULL with EINVAL for bad salt.
73361         * crypt/crypt_util.c (bad_for_salt): New.
73362         (_ufc_setup_salt_r): Check that salt is long enough and within
73363         the specified alphabet.
73364         * crypt/badsalttest.c: New file.
73365         * crypt/Makefile (tests): Add it.
73366         ($(objpfx)badsalttest): New.
73368 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
73370         * NEWS: Add entry for BZ #14602.
73372 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
73374         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
73375         type-generic.
73376         * math/libm-test.inc: Update comment listing what functions and
73377         macros are tested.
73378         (isgreater_test): New function.
73379         (isgreaterequal_test): Likewise.
73380         (isless_test): Likewise.
73381         (islessequal_test): Likewise.
73382         (islessgreater_test): Likewise.
73383         (isunordered_test): Likewise.
73384         (main): Call the new functions.
73386 2012-10-09  Roland McGrath  <roland@hack.frob.com>
73388         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
73389         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
73390         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
73391         * sysdeps/i386/configure: Regenerated.
73392         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
73393         * sysdeps/mach/configure: Regenerated.
73394         * sysdeps/mach/hurd/configure: Regenerated.
73395         * sysdeps/powerpc/configure: Regenerated.
73396         * sysdeps/powerpc/powerpc32/configure: Regenerated.
73397         * sysdeps/powerpc/powerpc64/configure: Regenerated.
73398         * sysdeps/s390/s390-32/configure: Regenerated.
73399         * sysdeps/s390/s390-64/configure: Regenerated.
73400         * sysdeps/sh/configure: Regenerated.
73401         * sysdeps/sparc/configure: Regenerated.
73402         * sysdeps/unix/sysv/linux/configure: Regenerated.
73403         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
73404         * sysdeps/x86_64/configure: Regenerated.
73406         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
73407         defined.  Don't check if MAP is NULL.
73409 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
73411         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
73412         (_G_stat64): Likewise.
73413         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
73414         (_G_stat64): Likewise.
73415         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
73416         instead of struct _G_stat64.
73417         * libio/fileops.c (mmap_remap_check): Likewise.
73418         (decide_maybe_mmap): Likewise.
73419         (_IO_new_file_seekoff): Likewise.
73420         (_IO_file_stat): Likewise.
73421         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
73422         _G_off64_t.
73423         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
73424         instead of struct _G_stat64.
73425         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
73427 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
73429         [BZ #14602]
73430         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
73431         Replace with ...
73432         (CHECK_EOL): New macro.
73433         (two_way_short_needle): Check beginning of haystack for EOL.  Use
73434         CHECK_EOL.
73435         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
73436         Replace with CHECK_EOL.
73437         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
73438         Replace with CHECK_EOL.
73440 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
73442         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
73443         type-generic.
73444         * math/libm-test.inc: Update comment listing what functions and
73445         macros are tested.
73446         (finite_test): New function.
73447         (isinf_test): Likewise.
73448         (isnan_test): Likewise.
73449         (fpclassify_test): Test subnormal input.
73450         (isfinite_test): Likewise.
73451         (isnormal_test): Likewise.
73452         (main): Call the new functions.
73454 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
73456         [BZ #14660]
73457         * Makerules (%.dynsym): Force C locale when running
73458         $(OBJDUMP) --dynamic-syms.
73460 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
73462         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
73463         <stdint.h>.
73465 2012-10-06  David S. Miller  <davem@davemloft.net>
73467         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
73468         upper 32-bits of the length value in %o2 since we use branch-on-register
73469         tests which consider the entire 64-bit register.
73471 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
73473         * string/test-strstr.c (check2): Add a test for page boundary.
73475 2012-10-05  David S. Miller  <davem@davemloft.net>
73477         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
73478         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
73479         file.
73480         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
73481         sysdep_routines.
73482         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
73483         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
73484         and bzero when HWCAP_SPARC_CRYPTO is present.
73486 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
73488         [BZ #14602]
73489         * string/test-strstr.c (check2): New function.
73490         (test_main): Call check2.
73492         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
73493         and bug-strchr1.
73494         * string/bug-strcasestr1.c (do_test): Moved to ...
73495         * string/test-strcasestr.c (check1): Here.  New function.
73496         (do_one_test): Break out result checking code into ...
73497         (check_result): This.  New function.
73498         (do_one_test): Call check_result.
73499         (test_main): Call check1.
73500         * string/bug-strchr1.c (do_test): Moved to ...
73501         * string/test-strchr.c (check1): Here.  New function.
73502         (do_one_test): Break out result checking code into ...
73503         (check_result): This.  New function.
73504         (do_one_test): Call check_result.
73505         (test_main): Call check1.
73506         * string/bug-strstr1.c (main): Moved to ...
73507         * string/test-strstr.c (check1): Here.  New function.
73508         (do_one_test): Break out result checking code into ...
73509         (check_result): This.  New function.
73510         (do_one_test): Call check_result.
73511         (test_main): Call check1.
73512         * string/bug-strcasestr1.c: Removed.
73513         * string/bug-strchr1.c: Likewise.
73514         * string/bug-strstr1.c: Likewise.
73516         * elf/Makefile (dl-routines): Add hwcaps.
73517         * elf/dl-support.c (_dl_important_hwcaps): Removed.
73518         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
73519         (_dl_important_hwcaps): Moved to ...
73520         * elf/dl-hwcaps.c: Here.  New file.
73521         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
73523         [BZ #14557]
73524         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
73525         if IS_IN_rtld isn't defined.
73527         * elf/dl-support.c (_dl_sysinfo_map): New.
73528         Include "get-dynamic-info.h" and "setup-vdso.h".
73529         (_dl_non_dynamic_init): Call setup_vdso.
73530         * elf/dynamic-link.h: Don't include <assert.h>.
73531         (elf_get_dynamic_info): Moved to ...
73532         * elf/get-dynamic-info.h: Here.  New file.
73533         * elf/dynamic-link.h: Include "get-dynamic-info.h".
73534         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
73535         * elf/setup-vdso.h: Here.  New file.
73536         * elf/rtld.c: Include "setup-vdso.h".
73537         (dl_main): Call setup_vdso.
73539 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
73541         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
73542         creal in comment listing functions tested.  List finite, isinf,
73543         isnan, isless, islessequal, isgreater, isgreaterequal,
73544         islessgreater, isunordered, lgamma_r and pow10 as functions and
73545         macros not tested.  Mention which functions not tested are aliases
73546         for other functions.  Fix typo.  Note that signs of NaNs are not
73547         tested.
73549         * scripts/config.guess: Update from config.git.
73550         * scripts/config.sub: Likewise.
73552 2012-10-04  Roland McGrath  <roland@hack.frob.com>
73554         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
73555         * misc/madvise.c (madvise): Renamed to __madvise.
73556         Make madvise a weak alias.
73557         * include/sys/mman.h: Declare __madvise.
73558         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
73559         * sysdeps/unix/syscalls.list
73560         (madvise): Make __madvise the strong name, and madvise a weak alias.
73561         * sysdeps/unix/sysv/linux/syscalls.list
73562         (madvise, mmap): Remove redundant entries.
73563         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
73564         * malloc/malloc.c (mtrim): Likewise.
73565         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
73567 2012-10-03  Roland McGrath  <roland@hack.frob.com>
73569         * sysdeps/mach/hurd/dl-cache.c: File removed.
73570         * config.h.in (USE_LDCONFIG): New #undef.
73571         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
73572         * configure: Regenerated.
73573         * elf/Makefile (dl-routines): Add dl-cache only under
73574         [$(use-ldconfig) = yes].
73575         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
73576         cache on [USE_LDCONFIG].
73577         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
73578         [USE_LDCONFIG].
73579         * elf/rtld.c (dl_main): Likewise.
73581 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
73583         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
73584         _SC_LEVEL4_CACHE_LINESIZE.
73586 2012-10-03  Roland McGrath  <roland@hack.frob.com>
73588         * sysdeps/unix/bsd/confstr.h: File removed.
73590 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
73592         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
73593         sys/sdt-config.h.
73595 2012-10-02  Roland McGrath  <roland@hack.frob.com>
73597         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
73598         Make 'mapoff' field ElfW(Off) rather than off_t.
73600 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
73602         * nscd/Makefile: Remove nscd-cflags and all its users.
73603         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
73604         (CFLAGS-nonlib): Add compiler flags for nscd modules.
73606         [BZ #10631]
73607         * malloc.c (malloc_printerr): Clarify error message.
73609 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
73611         [BZ #14648]
73612         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73613         Set bit_FMA_Usable if FMA is supported.
73614         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
73615         macro.
73616         (bit_FMA4_Usable): Updated.
73617         (index_FMA_Usable): New macro.
73618         (CPUID_FMA): Likewise.
73619         (HAS_FMA): Defined with bit_FMA_Usable.
73621 2012-10-01  Roland McGrath  <roland@hack.frob.com>
73623         * bits/types.h (__swblk_t): Type removed.
73624         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
73625         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
73626         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
73627         (__SWBLK_T_TYPE): Likewise.
73628         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
73629         (__SWBLK_T_TYPE): Likewise.
73630         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
73631         (__SWBLK_T_TYPE): Likewise.
73632         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
73633         (__SWBLK_T_TYPE): Likewise.
73635 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
73636             Honza Horak <hhorak@redhat.com>
73638         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
73639         (xdr_mapname): Use YPMAXMAP as maxsize.
73640         (xdr_peername): Use YPMAXPEER as maxsize.
73641         (xdr_keydat): Use YPAXRECORD as maxsize.
73642         (xdr_valdat): Use YPMAXRECORD as maxsize.
73644 2012-10-01  Roland McGrath  <roland@hack.frob.com>
73646         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
73648         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
73649         * csu/init-first.c: ... here.
73650         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
73651         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
73652         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
73653         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
73654         * sysdeps/i386/init-first.c: File removed.
73655         * sysdeps/sh/init-first.c: File removed.
73657 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
73659         [BZ #14645]
73660         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
73661         if x * y might underflow to zero and z is zero.
73662         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
73663         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
73664         * math/libm-test.inc (min_subnorm_value): New variable.
73665         (fma_test): Add more tests.
73666         (fma_test_towardzero): Likewise.
73667         (fma_test_downward): Likewise.
73668         (fma_test_upward): Likewise.
73669         (initialize): Set min_subnorm_value.
73671 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
73673         [BZ #14638]
73674         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
73675         0 + 0.
73676         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
73677         mode for addition resulting in exact zero.
73678         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
73679         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
73680         exact 0 + 0.
73681         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
73682         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
73683         * math/libm-test.inc (fma_test): Add more tests.
73684         (fma_test_towardzero): New function.
73685         (fma_test_downward): Likewise.
73686         (fma_test_upward): Likewise.
73687         (main): Call the new functions.
73689 2012-09-28  David S. Miller  <davem@davemloft.net>
73691         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
73693 2012-09-28  Roland McGrath  <roland@hack.frob.com>
73695         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
73696         instead of SIGALRM.
73698         * sysdeps/gnu/_G_config.h: Moved to ...
73699         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
73700         * sysdeps/mach/hurd/_G_config.h: Moved to ...
73701         * sysdeps/generic/_G_config.h: ... here.
73703         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
73705         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
73707         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
73708         Conditionalize target on [libnss_test1.so-version].
73710         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
73712         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
73713         (elfobjdir): Move out of conditionals.
73715         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
73716         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
73717         (__nss_lookup_function): Conditionalize label remove_from_tree on
73718         [!DO_STATIC_NSS || SHARED], matching its only use.
73720 2012-09-28  David S. Miller  <davem@davemloft.net>
73722         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
73723         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
73724         file.
73725         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
73726         sysdep_routines.
73727         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
73728         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
73729         when HWCAP_SPARC_CRYPTO is present.
73731 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
73733         * io/tst-mknodat.c: Create a FIFO instead of a socket.
73735 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
73737         [BZ #6530]
73738         * stdio-common/vfprintf.c (process_string_arg): Revert
73739         2000-07-22 change.
73741 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
73743         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
73744         for testcase.
73745         * stdio-common/tst-sprintf.c: Include <locale.h>
73746         (main): Test sprintf's handling of incomplete multibyte
73747         characters.
73749 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
73751         * elf/dl-runtime.c (VERSYMIDX): Removed.
73752         * elf/dl-version.c (VERSYMIDX): Likewise.
73753         * elf/do-rel.h (VERSYMIDX): Likewise.
73754         (VALIDX): Likewise.
73755         * elf/dynamic-link.h (VERSYMIDX): Likewise.
73756         * elf/rtld.c (VALIDX): Likewise.
73757         (ADDRIDX): Likewise.
73758         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
73759         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
73760         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
73761         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
73762         (VALIDX): Likewise.
73763         (ADDRIDX): Likewise.
73765 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
73767         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
73769 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
73771         [BZ #11438]
73772         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
73773         to global scope.
73774         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
73775         addresses are in the same scope as 192.0.2/24.
73776         * posix/gai.conf: Document new scope table defaults.
73778 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
73780         [BZ #5298]
73781         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
73782         for ftell.  Compute offsets from write pointers instead.
73783         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
73785 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
73787         [BZ #14543]
73788         * libio/Makefile (tests): New test case tst-fseek.
73789         * libio/tst-fseek.c: New test case to verify that fseek/ftell
73790         combination works in wide mode.
73791         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
73792         state when the external buffer state changes.
73794 2012-09-27  David S. Miller  <davem@davemloft.net>
73796         [BZ #14376]
73797         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
73798         pass reloc->r_addend in as the 'high' argument to
73799         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
73801         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73803 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
73805         * rt/tst-aio2.c: Include <pthread.h>.
73806         * rt/tst-aio3.c: Likewise.
73808 2012-09-27  Steve Ellcey  <sellcey@mips.com>
73810         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
73812 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
73814         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
73815         contents on [SHARED].
73817 2012-09-26  Marek Polacek  <polacek@redhat.com>
73819         [BZ #14530]
73820         [BZ #13741]
73821         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
73822         for C++ and GCC <4.3 as well as for non GCC compilers.
73824 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
73826         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73828 2012-09-25  Roland McGrath  <roland@hack.frob.com>
73830         * Makefile.in (all, install): Declare with .PHONY.
73831         Reported by Michael Hope <michael.hope@linaro.org>.
73833 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
73835         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
73836         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
73837         system header.
73838         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
73839         Likewise.
73840         (sydep_routines): Add the new and the internal functions.
73841         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
73842         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
73843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
73844         (GLIBC_2.17): Add the new function.
73845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
73846         (GLIBC_2.17): Likewise.
73847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
73848         (GLIBC_2.17): Likewise.
73849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
73850         (GLIBC_2.17): Likewise.
73851         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
73853 2012-09-25  Alan Modra  <amodra@gmail.com>
73855         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
73856         Add release barrier before setting once_control to say
73857         initialisation is done.  Add hints on lwarx.  Use macro in
73858         place of isync.
73859         (clear_once_control): Add release barrier.
73861 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
73863         [BZ #13629]
73864         * math/s_clog.c (__clog): Handle more values close to |z| = 1
73865         specially.
73866         * math/s_clog10.c (__clog10): Likewise.
73867         * math/s_clog10f.c (__clog10f): Likewise.
73868         * math/s_clog10l.c (__clog10l): Likewise.
73869         * math/s_clogf.c (__clogf): Likewise.
73870         * math/s_clogl.c (__clogl): Likewise.
73871         * math/Makefile (libm-calls): Add x2y2m1.
73872         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
73873         (__x2y2m1): Likewise.
73874         (__x2y2m1l): Likewise.
73875         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
73876         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
73877         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
73878         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
73879         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
73880         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
73881         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
73882         * sysdeps/i386/fpu/libm-test-ulps: Update.
73883         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73885         [BZ #14621]
73886         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
73887         int as type of variable DEPTH.
73888         (glob): Use size_t instead of int as type of variables NEWCOUNT
73889         and OLD_PATHC.
73891 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73893         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
73894         Add s_sincosf-sse2.
73895         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
73896         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
73897         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
73898         macros for using routine as __sincosf_ia32.
73899         Use macro for function declaration and weak_alias.
73900         * sysdeps/i386/fpu/libm-test-ulps: Update.
73902         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
73903         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73905         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
73906         subnormal argument.
73907         * math/s_cexpf.c (__cexpf): Likewise.
73908         * math/s_csinf.c (__csinf): Likewise.
73909         * math/s_csinhf.c (__csinhf): Likewise.
73910         * math/s_ctanf.c (__ctanf): Likewise.
73911         * math/s_ctanhf.c (__ctanhf): Likewise.
73912         * math/s_ccosh.c (__ccoshf): Likewise.
73913         * math/s_cexp.c (__cexpl): Likewise.
73914         * math/s_csin.c (__csin): Likewise.
73915         * math/s_csinh.c (__csinh): Likewise.
73916         * math/s_ctan.c (__ctan): Likewise.
73917         * math/s_ctanh.c (ctanh): Likewise.
73918         * math/s_ccoshl.c (__ccoshl): Likewise.
73919         * math/s_cexpl.c (__cexpl): Likewise.
73920         * math/s_csinl.c (__csinl): Likewise.
73921         * math/s_csinhl.c (__csinhl): Likewise.
73922         * math/s_ctanl.c (__ctanl): Likewise.
73923         * math/s_ctanhl.c (__ctanhl): Likewise.
73925 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
73927         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
73928         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
73929         (_IO_off_t): Define to __off_t, not _G_off_t.
73930         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
73931         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
73932         (_IO_wint_t): Define to wint_t, not _G_wint_t.
73933         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
73934         type of __dummy and __dummy2 fields.
73935         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
73936         (_G_ssize_t): Likewise.
73937         (_G_off_t): Likewise.
73938         (_G_pid_t): Likewise.
73939         (_G_uid_t): Likewise.
73940         (_G_wchar_t): Likewise.
73941         (_G_wint_t): Likewise.
73942         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
73943         (_G_ssize_t): Likewise.
73944         (_G_off_t): Likewise.
73945         (_G_pid_t): Likewise.
73946         (_G_uid_t): Likewise.
73947         (_G_wchar_t): Likewise.
73948         (_G_wint_t): Likewise.
73949         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
73950         (_G_ssize_t): Likewise.
73951         (_G_off_t): Likewise.
73952         (_G_pid_t): Likewise.
73953         (_G_uid_t): Likewise.
73954         (_G_wchar_t): Likewise.
73955         (_G_wint_t): Likewise.
73957 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
73959         * malloc/arena.c: Include malloc-sysdep.h.
73960         (shrink_heap): Use check_may_shrink_heap to decide if madvise
73961         is sufficient to shrink the heap or an unmap is needed.
73962         * sysdeps/generic/malloc-sysdep.h: New file.  Define
73963         new function check_may_shrink_heap.
73964         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
73965         new function check_may_shrink_heap.
73967 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
73969         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
73970         comments.
73972 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
73974         * catgets/test-gencat.sh: Add "set -e".
73975         * elf/tst-pathopt.sh: Likewise.
73976         * grp/tst_fgetgrent.sh: Likewise.
73977         * iconvdata/run-iconv-test.sh: Likewise.
73978         * intl/tst-gettext.sh: Likewise.
73979         * intl/tst-gettext2.sh: Likewise.
73980         * intl/tst-gettext4.sh: Likewise.
73981         * intl/tst-gettext6.sh: Likewise.
73982         * intl/tst-translit.sh: Likewise.
73983         * io/ftwtest-sh: Likewise.
73984         * libio/test-freopen.sh: Likewise.
73985         * malloc/tst-mtrace.sh: Likewise.
73986         * posix/globtest.sh: Likewise.
73987         * posix/tst-getconf.sh: Likewise.
73988         * posix/wordexp-tst.sh: Likewise.
73989         * stdio-common/tst-printf.sh: Likewise.
73990         * stdio-common/tst-unbputc.sh: Likewise.
73991         * stdlib/tst-fmtmsg.sh: Likewise.
73992         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
73993         * catgets/Makefile: Do not specify -e option when running
73994         testsuite shell scripts.
73995         * elf/Makefile: Likewise.
73996         * grp/Makefile: Likewise.
73997         * iconvdata/Makefile: Likewise.
73998         * intl/Makefile: Likewise.
73999         * io/Makefile: Likewise.
74000         * libio/Makefile: Likewise.
74001         * malloc/Makefile: Likewise.
74002         * posix/Makefile: Likewise.
74003         * stdio-common/Makefile: Likewise.
74004         * stdlib/Makefile: Likewise.
74005         * sysdeps/x86_64/Makefile: Likewise.
74007         * io/ftwtest-sh: Add copyright header.
74008         * posix/globtest.sh: Likewise.
74009         * posix/tst-getconf.sh: Likewise.
74010         * posix/wordexp-tst.sh: Likewise.
74011         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
74013 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
74015         [BZ #13679]
74016         * Makeconfig (+link): Defined as $(+link-static) if
74017         $(build-shared) isn't yes.
74018         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
74019         isn't yes.
74020         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
74022         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
74024         [BZ #14562]
74025         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
74026         new chunk size with MALLOC_ALIGN_MASK.
74028 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
74030         [BZ #5044]
74031         * stdio-common/printf_fphex.c: Include <stdbool.h> and
74032         <rounding-mode.h>.
74033         (__printf_fphex): Determine rounding using get_rounding_mode and
74034         round_away.
74035         * stdio-common/tst-printf-round.c (struct hex_test): New
74036         structure.
74037         (hex_tests): New variable.
74038         (test_hex_in_one_mode): New function.
74039         (do_test): Also run tests for hex float output.
74041 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
74043         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
74044         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
74045         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
74046         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
74047         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
74048         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
74049         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
74050         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
74052 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
74054         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
74055         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
74056         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
74057         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
74059 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
74061         [BZ #14579]
74062         * elf/rtld.c (dl_main): Limit the check for self loading to normal
74063         mode only.
74064         * elf/tst-rtld-load-self.sh: New test.
74065         * elf/Makefile: Run it.
74067 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
74069         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
74070         (tst-writev-ENV): Remove.
74071         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
74073 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
74075         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
74077 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
74079         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
74080         unconditional.
74081         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
74082         Likewise.
74083         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
74084         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
74085         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
74086         Likewise.
74088 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
74090         [BZ #14587]
74091         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
74092         * config.make.in (have-cpp-asm-debuginfo): Removed.
74093         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
74094         * configure: Regenerated.
74096 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
74098         [BZ #5044]
74099         * stdio-common/printf_fp.c: Include <stdbool.h> and
74100         <rounding-mode.h>.
74101         (___printf_fp): Determine rounding using get_rounding_mode and
74102         round_away.
74103         * stdio-common/tst-printf-round.c: New file.
74104         * stdio-common/Makefile (tests): Add tst-printf-round.
74105         (link-libm): New variable.
74106         ($(objpfx)tst-printf-round): Depend in $(link-libm).
74108 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
74110         [BZ #14576]
74111         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
74112         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
74113         Likewise.
74114         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
74115         Likewise.
74117 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
74119         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
74120         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
74121         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
74122         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
74124 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
74126         [BZ #14518]
74127         * include/rounding-mode.h: New file.
74128         * sysdeps/generic/get-rounding-mode.h: Likewise.
74129         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
74130         * stdlib/strtod_l.c: Include <rounding-mode.h>.
74131         (MAX_VALUE): New macro.
74132         (MIN_VALUE): Likewise.
74133         (overflow_value): New function.
74134         (underflow_value): Likewise.
74135         (round_and_return): Use overflow_value and underflow_value to
74136         determine return values in overflow and underflow cases.  Use
74137         round_away to determine rounding depending on rounding mode.
74138         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
74139         determine return values in overflow and underflow cases.
74140         * stdlib/tst-strtod-round.c: Include <fenv.h>.
74141         (struct test_results): New structure.
74142         (struct test): Use struct test_results to store expected results
74143         for all rounding modes.
74144         (TEST): Include expected results for all rounding modes.
74145         (test_in_one_mode): New function.
74146         (do_test): Use test_in_one_mode to compute and check results.
74147         Check results for all rounding modes.
74148         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
74149         $(link-libm).
74151 2012-12-09  Allan McRae  <allan@archlinux.org>
74153         * sysdeps/i386/fpu/libm-test-ulps: Update
74155 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
74157         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
74158         (_G_int32_t): Likewise.
74159         (_G_uint16_t): Likewise.
74160         (_G_uint32_t): Likewise.
74161         (_G_HAVE_BOOL): Likewise.
74162         (_G_HAVE_ATEXIT): Likewise.
74163         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
74164         (_G_HAVE_IO_FILE_OPEN): Likewise.
74165         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
74166         (_G_int32_t): Likewise.
74167         (_G_uint16_t): Likewise.
74168         (_G_uint32_t): Likewise.
74169         (_G_HAVE_BOOL): Likewise.
74170         (_G_HAVE_ATEXIT): Likewise.
74171         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
74172         (_G_HAVE_IO_FILE_OPEN): Likewise.
74173         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
74174         (_G_int32_t): Likewise.
74175         (_G_uint16_t): Likewise.
74176         (_G_uint32_t): Likewise.
74177         (_G_HAVE_BOOL): Likewise.
74178         (_G_HAVE_ATEXIT): Likewise.
74179         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
74180         (_G_HAVE_IO_FILE_OPEN): Likewise.
74182 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
74184         * csu/libc-tls.c: Update copyright years.
74186 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
74188         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
74189         [!_G_USING_THUNKS]: Remove conditional code.
74190         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
74191         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
74193         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
74194         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
74195         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
74196         (_G_VTABLE_LABEL_PREFIX): Likewise.
74197         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
74198         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
74199         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
74200         (_G_VTABLE_LABEL_PREFIX): Likewise.
74201         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
74202         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
74203         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
74204         (_G_VTABLE_LABEL_PREFIX): Likewise.
74205         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
74207 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
74209         * libio/Makefile: Include ../Makeconfig before tests.
74210         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
74211         only if $(build-shared) is yes.
74213         * iconv/gconv_db.c: Update copyright years.
74215 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74217         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
74218         unwind info if defined PIC. Fix special cases description.
74219         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
74221         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
74222         DP_HI_MASK entry.
74223         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
74225 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
74227         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
74229         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
74230         is NULL.
74232         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
74233         (LDLIBS-tst-chk4): This.
74234         (LDFLAGS-tst-chk5): Renamed to ...
74235         (LDLIBS-tst-chk5): This.
74236         (LDFLAGS-tst-chk6): Renamed to ...
74237         (LDLIBS-tst-chk6): This.
74238         (LDFLAGS-tst-lfschk4): Renamed to ...
74239         (LDLIBS-tst-lfschk4): This.
74240         (LDFLAGS-tst-lfschk5): Renamed to ...
74241         (LDLIBS-tst-lfschk5): This.
74242         (LDFLAGS-tst-lfschk6): Renamed to ...
74243         (LDLIBS-tst-lfschk6): This.
74245         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
74246         on $(common-objpfx)soversions.mk.
74248 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
74250         [BZ #10014]
74251         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
74252         example host name.
74254 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
74256         * malloc/arena.c (arena_get_retry): New function that gets
74257         another arena for the caller to try its request on.
74258         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
74259         current arena cannot fulfill the request.
74260         (__libc_memalign): Likewise.
74261         (__libc_memalign): Likewise.
74262         (__libc_pvalloc): Likewise.
74263         (__libc_calloc): Likewise.
74265 2012-09-05  John Tobey  <john.tobey@gmail.com>
74267         [BZ #13542]
74268         * manual/arith.texi (Operations on Complex): Fix description
74269         of carg branch cut.
74271 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
74273         [BZ #10014]
74274         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
74275         host name.
74277         [BZ #10038]
74278         * manual/memory.texi (Memory): Make order of menu items match
74279         order of sections.
74281 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
74283         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
74284         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
74285         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
74287 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
74289         * csu/libc-tls.c (static_dtv): Renamed to ...
74290         (_dl_static_dtv): This.  Make it global.
74291         (_dl_initial_dtv): Removed.
74292         (__libc_setup_tls): Updated.
74293         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
74294         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
74295         DL_INITIAL_DTV.
74297 2012-09-06  Petr Machata  <pmachata@redhat.com>
74299         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
74300         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
74301         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
74302         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
74304 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
74306         [BZ #14545]
74307         * csu/libc-tls.c (_dl_initial_dtv): New variable.
74308         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
74309         freeing dtv[-1].
74311 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
74313         [BZ #14544]
74314         * Makeconfig (link-static-before-libc): Replace $(+prector)
74315         with $(+prectorT).
74316         (link-static-after-libc): Replace $(+postctor) with
74317         $(+postctorT).
74318         (link-bounded): Replace $(+prector)/$(+postctor) with
74319         $(+prectorT)/$(+postctorT).
74320         (+prectorT): New macro.
74321         (+postctorT): Likewise.
74323 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
74325         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
74326         (round_str): Handle values above the maximum for IBM long double
74327         as inexact.
74328         * stdlib/tst-strtod-round.c (tests): Regenerated.
74330 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74332         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
74333         assembler flag.
74334         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
74335         zarch_nohighgprs around the zarch optimized routines.
74336         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
74337         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
74338         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
74339         for zarch.
74341 2012-09-05  David S. Miller  <davem@davemloft.net>
74343         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74345         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
74346         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
74347         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
74348         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
74349         entries.
74351 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
74353         * malloc/arena.c: Fold copyright years.
74354         * malloc/mcheck.c, malloc/memusage.c: Likewise.
74356 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
74358         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
74360 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
74362         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
74364 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
74366         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
74367         change internal state upon failure.
74369 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
74371         * malloc/mcheck.c (mcheck_check_all): Fix typo.
74372         * malloc/memusage.c (mmap): Likewise.
74373         (mmap64, mremap): Likewise.  Adjust name in comment.
74375 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
74377         * libio/fileops.c: Fix typos in comments.
74378         * libio/oldfileops.c: Likewise.
74379         * libio/wfileops.c: Likewise.
74381 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
74383         [BZ #1349]
74384         * malloc/Makefile (tests): Add tst-malloc-usable test case.
74385         (tst-malloc-usable-ENV): Set environment for test case.
74386         * malloc/hooks.c (malloc_check_get_size): New function to get
74387         requested size.
74388         * malloc/malloc.c (musable): Use malloc_check_get_size.
74389         * malloc/tst-malloc-usable.c: New test case.
74391 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
74393         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
74395 2012-09-05  Allan McRae  <allan@archlinux.org>
74397         [BZ #13966]
74398         * configure.in (CXX_SYSINCLUDES): Use compiler output to
74399         determine header location.
74400         * configure: Regenerated.
74402 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
74404         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
74405         float format.
74406         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
74407         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
74408         format.
74409         (test): Regenerate.
74411 2012-09-04  David S. Miller  <davem@davemloft.net>
74413         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
74414         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
74415         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
74417 2012-09-04  Florian Weimer  <fweimer@redhat.com>
74419         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
74420         failures.
74422         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
74424 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
74426         [BZ #9914]
74427         * libio/iogetdelim.c: Include <limits.h>.
74428         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
74429         + len + 1 would overflow.
74431 2012-09-03  Andreas Jaeger  <aj@suse.de>
74433         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74434         * sysdeps/i386/fpu/libm-test-ulps: Update.
74436 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74438         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
74439         Add s_sinf-sse2, s_conf-sse2.
74441         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
74442         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
74443         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
74444         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
74446         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
74447         for using routine as __sinf_ia32.
74448         Use macro for function declaration and weak_alias.
74449         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
74450         for using routine as __cosf_ia32.
74451         Use macro for function declaration and weak_alias.
74453         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
74454         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
74456         * sysdeps/x86_64/fpu/s_sinf.S: New file.
74457         * sysdeps/x86_64/fpu/s_cosf.S: New file.
74458         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74460         * math/libm-test.inc (cos_test): Add more test cases.
74461         (sin_test): Likewise.
74462         (sincos_test): Likewise.
74464 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74466         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
74467         (IFUNC_RESOLVE): Make pointers to the specialized implementations
74468         hidden.
74469         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
74471 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
74473         [BZ #14538]
74474         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
74475         first element of the GOT.
74476         (elf_machine_load_address): Return the difference between
74477         the runtime address of _DYNAMIC and elf_machine_dynamic ().
74479 2012-09-01  Allan McRae  <allan@archlinux.org>
74481         [BZ #13412]
74482         * configure.in (AWK): Require gawk version 3.0 or later.
74483         * configure: Regenerated.
74485 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
74487         * sysdeps/unix/sysv/linux/kernel-features.h
74488         (__ASSUME_POSIX_CPU_TIMERS): Remove.
74489         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
74490         [__NR_clock_getres]: Make code unconditional.
74491         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
74492         (clock_getcpuclockid): Remove code left unreachable by removal of
74493         conditionals.
74494         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
74495         code unconditional.
74496         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
74497         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
74498         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
74499         Make code unconditional.
74500         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
74501         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
74502         * sysdeps/unix/sysv/linux/clock_settime.c
74503         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
74504         conditional code.
74505         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
74506         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
74508 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
74510         [BZ #14476]
74511         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
74512         scripts/test-installation.pl.
74514         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
74515         and $ld_so_version if it is set.
74517 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
74519         [BZ #14516]
74520         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
74521         failure if reading from procfs failed.
74522         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
74524 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
74526         * sysdeps/unix/sysv/linux/kernel-features.h
74527         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
74528         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
74529         Remove conditional code.
74530         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
74531         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
74532         Remove conditional code.
74533         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
74534         * sysdeps/unix/sysv/linux/i386/fxstat.c
74535         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
74536         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
74537         * sysdeps/unix/sysv/linux/i386/fxstatat.c
74538         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
74539         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
74540         * sysdeps/unix/sysv/linux/i386/lxstat.c
74541         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
74542         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
74543         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
74544         Remove conditional code.
74545         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
74546         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
74547         Remove conditional code.
74548         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
74549         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
74550         <kernel-features.h>.
74551         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
74552         Remove.
74553         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
74554         Remove conditional code.
74555         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
74556         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
74557         Remove conditional.
74559 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
74561         [BZ #5400]
74562         * NEWS: Add fixed bug number.
74564 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
74566         [BZ #14519]
74567         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
74568         underflowing exponent in case of negative sign.
74569         * stdlib/tst-strtod-round-data: Add more tests.
74570         * stdlib/tst-strtod-round.c (tests): Regenerated.
74572         [BZ #3479]
74573         * stdlib/strtod_l.c (NDIG): Remove.
74574         (HEXNDIG): Likewise.
74575         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
74576         smallest representable value.
74577         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
74578         lie within an exact representation of 1/2 ulp of the result.
74579         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
74580         unconditionally.
74581         (TENS_P9_IDX): Define unconditionally.
74582         (TENS_P9_SIZE): Likewise.
74583         (TENS_P10_IDX): Likewise.
74584         (TENS_P10_SIZE): Likewise.
74585         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
74586         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
74587         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
74588         entries for 10^2^13 and 10^2^14.
74589         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
74590         (TENS_P13_IDX): Define.
74591         (TENS_P13_SIZE): Likewise.
74592         (TENS_P14_IDX): Likewise.
74593         (TENS_P14_SIZE): Likewise.
74594         (_fpioconst_pow10): Change array size to
74595         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
74596         unconditional.
74597         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
74598         1024]: Add entries for 10^2^13 and 10^2^14.
74599         [LAST_POW10 > _LAST_POW10]: Remove #error.
74600         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
74601         (_fpioconst_pow10): Change array size to
74602         FPIOCONST_POW10_ARRAY_SIZE.
74603         * stdlib/gen-fpioconst.c: New file.
74604         * stdlib/gen-tst-strtod-round.c: Likewise.
74605         * stdlib/tst-strtod-round-data: Likewise.
74606         * stdlib/tst-strtod-round.c: Likewise.
74607         * stdlib/Makefile (tests): Add tst-strtod-round.
74609         [BZ #14459]
74610         * stdlib/strtod_l.c: Include <stdint.h>.
74611         (NDEBUG): Do not define.
74612         (round_and_return): Change EXPONENT parameter to type intmax_t.
74613         Rearrange calculations to avoid internal overflow possibilities.
74614         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
74615         Rearrange calculations to avoid internal overflow possibilities.
74616         Assert that number fits inside MPNSIZE limbs.
74617         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
74618         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
74619         calculations and add assertions to avoid internal overflow
74620         possibilities.  Add casts to avoid signed/unsigned operations.
74621         * stdlib/tst-strtod-overflow.c: New file.
74622         * stdlib/Makefile (tests): Add tst-strtod-overflow.
74624 2012-08-25  Marek Polacek  <polacek@redhat.com>
74626         * time/time.h: Fix some typos in comments.
74628 2012-08-23  Roland McGrath  <roland@hack.frob.com>
74630         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
74631         * posix/tst-rfc3484-2.c: Likewise.
74632         * posix/tst-rfc3484-3.c: Likewise.
74634 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
74636         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
74637         (EF_ARM_ABI_FLOAT_HARD): Likewise.
74639 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
74641         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
74642         #include of fxstatat64.c.
74644 2012-08-22  Roland McGrath  <roland@hack.frob.com>
74646         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
74647         * shadow/getspent_r.c: Likewise.
74648         * shadow/getspnam.c: Likewise.
74649         * shadow/getspnam_r.c: Likewise.
74650         * gshadow/getsgent.c: Likewise.
74651         * gshadow/getsgent_r.c: Likewise.
74652         * gshadow/getsgnam.c: Likewise.
74653         * gshadow/getsgnam_r.c: Likewise.
74654         * inet/getnetbyad.c: Likewise.
74655         * inet/getnetbyad_r.c: Likewise.
74656         * inet/getnetbynm.c: Likewise.
74657         * inet/getnetbynm_r.c: Likewise.
74658         * inet/getnetent.c: Likewise.
74659         * inet/getnetent_r.c: Likewise.
74660         * inet/getproto.c: Likewise.
74661         * inet/getproto_r.c: Likewise.
74662         * inet/getprtent.c: Likewise.
74663         * inet/getprtent_r.c: Likewise.
74664         * inet/getprtname.c: Likewise.
74665         * inet/getprtname_r.c: Likewise.
74666         * inet/getrpcbyname.c: Likewise.
74667         * inet/getrpcbyname_r.c: Likewise.
74668         * inet/getrpcbynumber.c: Likewise.
74669         * inet/getrpcbynumber_r.c: Likewise.
74670         * inet/getrpcent.c: Likewise.
74671         * inet/getrpcent_r.c: Likewise.
74672         * inet/getaliasent.c: Likewise.
74673         * inet/getaliasent_r.c: Likewise.
74674         * inet/getaliasname.c: Likewise.
74675         * inet/getaliasname_r.c: Likewise.
74676         * nscd/getgrgid_r.c: Likewise.
74677         * nscd/getgrnam_r.c: Likewise.
74678         * nscd/gethstbyad_r.c: Likewise.
74679         * nscd/gethstbynm3_r.c: Likewise.
74680         * nscd/getpwnam_r.c: Likewise.
74681         * nscd/getpwuid_r.c: Likewise.
74682         * nscd/getsrvbynm_r.c: Likewise.
74683         * nscd/getsrvbypt_r.c: Likewise.
74684         * nscd/gai.c: Likewise.
74686         * configure.in (build_nscd): New substituted variable, set
74687         by --disable-build-nscd and defaults to $use_nscd.
74688         * configure: Regenerated.
74689         * config.make.in (build-nscd): New substituted variable.
74690         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
74691         Change conditional to require [$(build-nscd) = yes] as well.
74692         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
74694         [BZ #13696]
74695         * configure.in (use_nscd): New substituted variable, set by
74696         --disable-nscd.  If enabled, define USE_NSCD.
74697         * configure: Regenerated.
74698         * config.h.in: Add USE_NSCD.
74699         * config.make.in (use-nscd): New substituted variable.
74700         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
74701         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
74702         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
74703         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
74704         (CFLAGS-getgrnam_r.c): Likewise.
74705         (CFLAGS-initgroups.c): Likewise.
74706         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
74707         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
74708         Variables removed.
74709         * inet/getnetgrent_r.c
74710         (nscd_setnetgrent): New function, broken out of ...
74711         (setnetgrent): ... here.  Call it.
74712         (innetgr): Conditionalize nscd bits on [USE_NSCD].
74713         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
74714         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
74715         * nscd/Makefile (routines, aux): Move definitions after include of
74716         Makeconfig.  Conditionalize on [$(use-nscd) != no].
74717         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
74718         Conditionalize on [USE_NSCD].
74719         (is_nscd, nscd_init_cb): Likewise.
74720         (nss_load_library): Conditionalize init callback on [USE_NSCD].
74721         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
74722         * nss/nss_db/db-init.c: Likewise.
74723         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
74724         [USE_NSCD].
74725         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
74726         (make_request): Use it.
74727         (cache_valid_p): New function.
74728         (__check_pf): Use it.
74729         * NEWS: Add item for --disable-nscd.
74731 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
74733         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
74734         to support sed >= 4.2.1-20-ga9bf076.
74735         * configure: Regenerated.
74737 2012-08-22  Roland McGrath  <roland@hack.frob.com>
74739         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
74740         Conditionalize whole body on [IREL].
74742 2012-08-22  Jeff Law <law@redhat.com>
74744         [BZ #14505]
74745         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
74746         if the family is PF_UNSPEC.
74748 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
74750         * Makerules (lib-version): Rename from V.
74751         (install-lib-nosubdir): Change V to lib-version.
74753 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
74755         [BZ #14252]
74756         * powerpc32/power6/wcschr.c: New file.
74757         * powerpc32/power6/wcscpy.c: New file.
74758         * powerpc32/power6/wcsrchr.c: New file.
74759         * powerpc64/power6/wcschr.c: New file.
74760         * powerpc64/power6/wcscpy.c: New file.
74761         * powerpc64/power6/wcsrchr.c: New file.
74763 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
74765         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
74766         (two_way_short_needle): Use it.
74767         * string/strstr.c (AVAILABLE1_USES_J): Define.
74768         * string/strcasestr.c: Likewise.
74770         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
74771         array references.
74772         * string/strcasestr.c (TOLOWER): Make side-effect safe.
74774         [BZ #11607]
74775         * NEWS: Add an entry.
74776         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
74777         define their defaults.
74778         (two_way_short_needle): Detect end-of-string on-the-fly.
74779         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
74780         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
74781         * string/bug-strcasestr1.c: New test.
74782         * string/Makefile: Run it.
74784 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
74786         [BZ #11607]
74787         * string/str-two-way.h (two_way_short_needle): Optimize matching of
74788         the first character.
74790 2012-08-21  Roland McGrath  <roland@hack.frob.com>
74792         * csu/elf-init.c (__libc_csu_irel): Function removed.
74793         * csu/libc-start.c (apply_irel): New function.
74794         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
74796 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
74798         * sysdeps/unix/sysv/linux/kernel-features.h
74799         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
74800         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
74801         <kernel-features.h>.
74802         [__NR_fadvise64_64]: Make code unconditional.
74803         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
74804         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
74805         !__NR_fadvise64_64)]: Likewise.
74806         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
74807         !__NR_fadvise64_64))]: Likewise.
74808         [__NR_fadvise64]: Make code unconditional.
74809         [!__NR_fadvise64]: Remove conditional code.
74810         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
74811         <kernel-features.h>.
74812         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
74813         unconditional.
74814         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
74815         conditional code.
74816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
74817         not include <kernel-features.h>.
74818         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
74819         unconditional.
74820         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
74821         conditional code.
74822         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
74823         include <kernel-features.h>.
74824         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
74825         unconditional.
74826         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
74827         conditional code.
74829 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
74831         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
74832         slight instruction rearrangements per scrollpipe analysis.
74833         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
74835 2012-08-20  Roland McGrath  <roland@hack.frob.com>
74837         * manual/syslog.texi (syslog; vsyslog, closelog):
74838         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
74839         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
74841         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
74842         DSOCAPS to match condition on defining it.
74844 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
74846         * sysdeps/unix/sysv/linux/kernel-features.h
74847         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
74848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
74849         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
74850         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
74851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
74852         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
74853         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
74854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
74855         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
74856         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
74858         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
74859         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
74861         * sysdeps/unix/sysv/linux/kernel-features.h
74862         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
74863         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
74864         unconditional.
74865         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
74866         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
74867         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
74868         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
74869         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
74870         Make code unconditional.
74871         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
74872         (__mmap64) [!__NR_mmap2]: Likewise.
74873         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
74874         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
74875         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
74876         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
74877         [__NR_mmap2]: Make code unconditional.
74878         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
74879         (__mmap64) [!__NR_mmap2]: Likewise.
74881 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74883         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
74885 2012-08-18  Andreas Jaeger  <aj@suse.de>
74887         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
74889 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
74891         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
74892         * include/unistd.h (__have_sock_cloexec): Likewise.
74893         (__have_pipe2): Likewise.
74894         (__have_dup3): Likewise.
74896 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
74898         [BZ #9685]
74899         * include/unistd.h (__have_pipe2): Change define into an extern int.
74900         (__have_dup3): Likewise.
74901         * socket/have_sock_cloexec.c: Include fcntl.h.
74902         (__have_pipe2): New variable.
74903         (__have_dup3): Likewise.
74905 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
74907         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
74909 2012-08-17  Marek Polacek  <polacek@redhat.com>
74911         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
74912         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
74914 2012-08-17  Roland McGrath  <roland@hack.frob.com>
74916         * configure.in: Add AC_SUBST for sysheaders.
74917         * configure: Regenerated.
74918         * config.make.in (sysheaders): New substituted variable.
74920         * sysdeps/unix/mkfifo.c: Moved ...
74921         * sysdeps/posix/mkfifo.c: ... here.
74922         * sysdeps/unix/mkfifoat.c: Moved ...
74923         * sysdeps/posix/mkfifoat.c: ... here.
74925         * sysdeps/unix/utime.c: Moved ...
74926         * sysdeps/posix/utime.c: ... here.
74928         * sysdeps/unix/time.c: Moved ...
74929         * sysdeps/posix/time.c: ... here.
74930         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
74931         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
74933         * sysdeps/unix/nice.c: Moved ...
74934         * sysdeps/posix/nice.c: ... here.
74936         * sysdeps/unix/alarm.c: Moved ...
74937         * sysdeps/posix/alarm.c: ... here.
74939         * intl/Makefile ($(codeset_mo)): Depend on the input file.
74941 2012-08-17  Jeff Law <law@redhat.com>
74943         * intl/Makefile (codeset_mo): New variable.
74944         ($(codeset_mo)): New target.
74945         (tst-codeset.out): Depend on that.  Remove explicit rule.
74946         (tst-gettext3.out, tst-gettext5.out): Likewise.
74947         (LOCPATH-ENV, tst-codeset-ENV): New variables.
74948         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
74949         * intl/tst-codeset.sh: Remove.
74950         * intl/tst-gettext3.sh: Likewise.
74951         * intl/tst-gettext5.sh: Likewise.
74953 2012-08-17  Roland McGrath  <roland@hack.frob.com>
74955         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
74956         * sysdeps/unix/syscalls.list: ... here.
74958         * sysdeps/posix/getaddrinfo.c
74959         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
74960         (gaiconf_init, gaiconf_reload): Use them.
74961         [!_STATBUF_ST_NSEC]
74962         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
74963         Define using time_t rather than struct timespec.
74965         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
74966         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
74967         Macros removed.
74968         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
74969         [!NO_THREADS].
74970         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
74971         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
74972         Likewise.
74974         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
74975         __libc_cleanup_push argument.
74977         * bits/param.h: New file.
74978         * misc/sys/param.h: New file.
74979         * include/sys/param.h: New file.
74980         * misc/Makefile (headers): Add bits/param.h.
74981         * sysdeps/generic/sys/param.h: File removed.
74982         * sysdeps/unix/sysv/linux/bits/param.h: New file.
74983         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
74984         * sysdeps/mach/hurd/bits/param.h: New file.
74985         * sysdeps/mach/hurd/sys/param.h: File removed.
74987         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
74988         last change.
74990         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
74991         [_IO_MTSAFE_IO].
74992         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
74993         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
74994         New macros.
74996         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
74997         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
74998         rather than -D_IO_MTSAFE_IO conditionally.
74999         * stdio-common/Makefile (CPPFLAGS): Likewise.
75000         * wcsmbs/Makefile (CPPFLAGS): Likewise.
75001         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
75002         Use $(libio-mtsafe).
75003         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
75004         of -D_IO_MTSAFE_IO.
75005         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
75006         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
75007         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
75008         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
75009         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
75010         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
75011         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
75012         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
75013         (CFLAGS-fread_u_chk.c): Likewise.
75014         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
75015         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
75016         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
75017         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
75018         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
75019         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
75020         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
75021         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
75022         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
75024         * libio/Makefile: Test [$(libc-reentrant) = yes]
75025         instead of [$(filter %REENTRANT, $(defines)) nonempty].
75027         * Makeconfig
75028         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
75029         * sysdeps/pthread/configure: File removed.
75030         * sysdeps/pthread/Makeconfig: New file.
75031         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
75032         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
75034 2012-08-16  Gary Benson  <gbenson@redhat.com>
75036         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
75037         unmapping the first object in a namespace.
75039 2012-08-16  Roland McGrath  <roland@hack.frob.com>
75041         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
75042         (__internal_setnetgrent): ... this.  Add internal_function to
75043         definition.  Add libc_hidden_def.
75044         (setnetgrent): Update caller.
75045         (internal_endnetgrent): Renamed to ...
75046         (__internal_endnetgrent): ... this.  Add internal_function to
75047         definition.  Add libc_hidden_def.
75048         (endnetgrent): Update caller.
75049         (internal_getnetgrent_r): Renamed to ...
75050         (__internal_getnetgrent_r): ... this.  Add internal_function to
75051         definition.  Add libc_hidden_def.
75052         (__getnetgrent_r): Update caller.
75053         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
75055 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
75057         * stdlib/longlong.h: Update from GCC.
75059 2012-08-16  Roland McGrath  <roland@hack.frob.com>
75061         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
75062         on _QL, which is set by umul_ppmm but never used.
75063         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
75064         variables, which are set by GMP macros but never used.
75065         * stdio-common/_itowa.c (_itowa): Likewise.
75066         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
75067         * stdlib/mod_1.c (mpn_mod_1): Likewise.
75069 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
75071         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
75072         struct La_sh_regs is not constant.
75073         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
75074         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
75075         and struct La_sparc64_regs are not constant.
75077 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
75079         * sysdeps/unix/sysv/linux/kernel-features.h
75080         (__ASSUME_POSIX_TIMERS): Remove.
75081         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
75082         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
75083         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
75084         Make code unconditional.
75085         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
75086         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
75087         Make code unconditional.
75088         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
75089         * sysdeps/unix/sysv/linux/clock_nanosleep.c
75090         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
75091         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
75092         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
75093         Make code unconditional.
75094         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
75095         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
75096         (__libc_missing_posix_timers): Remove.
75098 2012-08-15  Roland McGrath  <roland@hack.frob.com>
75100         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
75101         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
75103         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
75105         * elf/dl-sym.c: Include <stdlib.h>.
75107         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
75108         constants, which avoids warnings in 32-bit builds.
75110         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
75111         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
75113         * misc/lseek.c: File moved to ...
75114         * io/lseek.c: ... here.
75116         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
75118         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
75119         shifting LEN more than 31 bits at once.
75121 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75123         [BZ #14195]
75124         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
75125         segmentation fault for a case of two empty input strings.
75126         * string/test-strncasecmp.c (check1): Renamed to...
75127         (bz12205): ...this.
75128         (bz14195): Add new testcase for two empty input strings and N > 0.
75129         (test_main): Call new testcase, adapt for renamed function.
75131 2012-08-15  Andreas Jaeger  <aj@suse.de>
75133         [BZ #14090]
75134         * crypt/md5test2.c: New test, based on test supplied by Serge
75135         Belyshev <belyshev@depni.sinp.msu.ru>.
75136         * crypt/Makefile (xtests): Add md5test-giant..
75137         * crypt/Makefile ($(objpfx)md5test-giant): Add.
75139 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
75141         [BZ #14090]
75142         * crypt/md5.c (md5_process_block): Don't assume the buffer
75143         length is less than 2**32.
75144         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
75145         length is less than 2**64.
75147 2012-08-15  Roland McGrath  <roland@hack.frob.com>
75149         * string/str-two-way.h: Include <sys/param.h>.
75150         (MAX): Macro removed.
75152         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
75153         Move #define and #undef of memmove to just before and after
75154         including <string.h>.
75156         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
75157         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
75158         and after including <string.h>.  Move declarations of
75159         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
75160         to before #include "string/memmove.c".
75162         * include/dirent.h: Declare __getdirentries.
75164         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
75165         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
75167 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
75169         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
75170         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
75171         * sysdeps/i386/configure: Regenerated.
75172         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
75173         STABS_CURRENT_FILE, and STABS_FUN.
75174         (END): Remove call to STABS_FUN_END.
75175         (STABS_CURRENT_FILE1): Delete.
75176         (STABS_CURRENT_FILE): Likewise.
75177         (STABS_FUN): Likewise.
75178         (STABS_FUN_END): Likewise.
75179         (STABS_FUN2): Likewise.
75180         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
75181         * sysdeps/x86_64/configure: Regenerated.
75183 2012-08-14  Roland McGrath  <roland@hack.frob.com>
75185         * elf/dl-open.c: Include <atomic.h>.
75186         * elf/dl-lookup.c: Likewise.
75188 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
75190         * sysdeps/unix/sysv/linux/kernel-features.h
75191         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
75192         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
75193         unconditionally.
75194         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
75195         unconditionally.
75196         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
75197         condition on __ASSUME_CLONE_THREAD_FLAGS.
75199 2012-08-14  Andreas Jaeger  <aj@suse.de>
75201         * sysdeps/i386/fpu/libm-test-ulps: Update.
75203 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
75205         * include/atomic.h (atomic_exchange_and_add): Split into ...
75206         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
75207         New atomic macros.
75209 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
75211         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75213 2012-08-13  Jeff Law <law@redhat.com>
75215         * manual/stdio.texi (snprintf): Clarify handling of the trailing
75216         null byte in the output string.
75218 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
75220         * sysdeps/unix/sysv/linux/kernel-features.h
75221         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
75222         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
75223         (__ASSUME_ARG_MAX_STACK_BASED): Define.
75224         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
75225         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
75226         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
75227         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
75229 2012-08-09  Jeff Law <law@redhat.com>
75231         [BZ #13939]
75232         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
75233         When avoid_arena is set, don't retry in the that arena.  Pick the
75234         next one, whatever it might be.
75235         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
75236         (arena_lock): Pass in new parameter to arena_get2.
75237         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
75238         arena_get2.
75239         (__libc_malloc): Unify retrying after main arena failure with
75240         __libc_memalign version.
75241         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
75243 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
75245         [BZ #14166]
75246         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
75247         to __redirect_strstr.
75248         (__strstr_sse42): Use typeof __redirect_strstr.
75249         (__strstr_ia32): Likewise.
75250         (__libc_strstr): New prototype.
75251         (strstr): Renamed to ...
75252         (__libc_strstr): This.
75253         (strstr): New strong alias of __libc_strstr.
75254         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
75255         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
75256         __redirect_time.
75257         Include <time.h>.
75258         (__libc_time): New prototype.
75259         (time_ifunc): Replace time with __libc_time.
75260         (time): New strong alias and hidden definition of __libc_time.
75261         (__GI_time): Remove strong alias.
75262         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
75263         Include <stddef.h>.
75264         (memmove): Redefined to __redirect_memmove.
75265         (__memmove_sse2): Use typeof __redirect_memmove.
75266         (__memmove_ssse3): Likewise.
75267         (__memmove_ssse3_back): Likewise.
75268         (__libc_memmove): New prototype.
75269         (memmove): Renamed to ...
75270         (__libc_memmove): This.
75271         (memmove): New strong alias of __libc_memmove.
75273 2012-08-08  Mark Salter  <msalter@redhat.com>
75275         * elf/elf.h
75276         (R_MN10300_TLS_GD): Define.
75277         (R_MN10300_TLS_LD): Likewise.
75278         (R_MN10300_TLS_LDO): Likewise.
75279         (R_MN10300_TLS_GOTIE): Likewise.
75280         (R_MN10300_TLS_IE): Likewise.
75281         (R_MN10300_TLS_LE): Likewise.
75282         (R_MN10300_TLS_DTPMOD): Likewise.
75283         (R_MN10300_TLS_DTPOFF): Likewise.
75284         (R_MN10300_TLS_TPOFF): Likewise.
75285         (R_MN10300_SYM_DIFF): Likewise.
75286         (R_MN10300_ALIGN): Likewise.
75287         (R_MN10300_NUM): Update.
75289 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
75291         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
75292         Remove.
75294 2012-08-08  Roland McGrath  <roland@hack.frob.com>
75296         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
75298         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
75299         sysdeps/unix -> sysdeps/posix move.
75300         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
75302 2012-08-07      Allan McRae     <allan@archlinux.org>
75304         [BZ #14303]
75305         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
75306         (SUNOS_CPP): Likewise.
75307         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
75308         not found.
75309         (open_input): Call CPP using execvp.
75311 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
75313         * sysdeps/unix/sysv/linux/kernel-features.h
75314         (__ASSUME_PROT_GROWSUPDOWN): Remove.
75315         (__ASSUME_NO_CLONE_DETACHED): Likewise.
75316         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
75317         (__ASSUME_WAITID_SYSCALL): Likewise.
75318         * sysdeps/unix/sysv/linux/dl-execstack.c
75319         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
75320         code unconditional.
75321         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
75322         conditional code.
75323         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
75324         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
75325         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
75326         code.
75327         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
75328         unconditional.
75329         [__ASSUME_WAITID_SYSCALL]: Likewise.
75330         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
75332 2012-08-07  Roland McGrath  <roland@hack.frob.com>
75334         * sysdeps/unix/closedir.c: Renamed to ...
75335         * sysdeps/posix/closedir.c: ... here.
75336         * sysdeps/unix/dirfd.c: Renamed to ...
75337         * sysdeps/posix/dirfd.c: ... here.
75338         * sysdeps/unix/dirstream.h: Renamed to ...
75339         * sysdeps/posix/dirstream.h: ... here.
75340         * sysdeps/unix/fdopendir.c: Renamed to ...
75341         * sysdeps/posix/fdopendir.c: ... here.
75342         * sysdeps/unix/opendir.c: Renamed to ...
75343         * sysdeps/posix/opendir.c: ... here.
75344         * sysdeps/unix/readdir.c: Renamed to ...
75345         * sysdeps/posix/readdir.c: ... here.
75346         * sysdeps/unix/readdir_r.c: Renamed to ...
75347         * sysdeps/posix/readdir_r.c: ... here.
75348         * sysdeps/unix/rewinddir.c: Renamed to ...
75349         * sysdeps/posix/rewinddir.c: ... here.
75350         * sysdeps/unix/seekdir.c: Renamed to ...
75351         * sysdeps/posix/seekdir.c: ... here.
75352         * sysdeps/unix/telldir.c: Renamed to ...
75353         * sysdeps/posix/telldir.c: ... here.
75354         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
75355         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
75356         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
75357         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
75359         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
75360         * bits/fcntl.h: ... here.
75362         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
75363         not 0.
75364         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
75365         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
75366         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
75367         (struct flock): Move l_start, l_len to the beginning.
75368         Use __pid_t for l_pid.
75369         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
75370         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
75371         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
75372         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
75373         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
75374         [__USE_LARGEFILE64] (struct flock64): New type.
75375         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
75377         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
75378         * bits/dirent.h: ... here.
75380         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
75381         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
75383 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
75385         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
75386         Change from 2.6.0 to 2.6.16.
75387         * sysdeps/unix/sysv/linux/configure: Regenerated.
75388         * sysdeps/unix/sysv/linux/kernel-features.h
75389         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
75390         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
75391         version.
75392         (__ASSUME_UTIMES): Likewise.
75393         (__ASSUME_CLONE_STOPPED): Remove.
75394         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
75395         architectures, not kernel version.
75396         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
75397         (__ASSUME_NO_CLONE_DETACHED): Likewise.
75398         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
75399         (__ASSUME_WAITID_SYSCALL): Likewise.
75400         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
75401         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
75402         * README: State 2.6.16 as minimum Linux kernel version.  Do not
75403         refer to older versions.
75405 2012-08-06  Roland McGrath  <roland@hack.frob.com>
75407         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
75408         Define alphasort64 as an alias.
75409         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
75410         Define versionsort64 as an alias.
75411         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
75412         Define scandir64 as an alias.
75413         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
75414         Define scandirat64 as an alias.
75415         * dirent/alphasort64.c (alphasort64):
75416         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
75417         * dirent/versionsort64.c: Likewise.
75418         * dirent/scandir64.c: Likewise.
75419         * dirent/scandirat64.c: Likewise.
75420         * sysdeps/wordsize-64/alphasort.c: File removed.
75421         * sysdeps/wordsize-64/alphasort64.c: File removed.
75422         * sysdeps/wordsize-64/scandir.c: File removed.
75423         * sysdeps/wordsize-64/scandir64.c: File removed.
75424         * sysdeps/wordsize-64/scandirat.c: File removed.
75425         * sysdeps/wordsize-64/scandirat64.c: File removed.
75426         * sysdeps/wordsize-64/versionsort.c: File removed.
75427         * sysdeps/wordsize-64/versionsort64.c: File removed.
75428         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
75429         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
75430         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
75431         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
75432         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
75433         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
75434         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
75435         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
75437         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
75438         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
75439         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
75440         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
75441         [defined __arch64__ || defined __sparcv9]
75442         (__INO_T_MATCHES_INO64_T): New macro.
75443         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
75444         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
75445         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
75446         * sysdeps/unix/sysv/linux/bits/dirent.h
75447         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
75448         (_DIRENT_MATCHES_DIRENT64): New macro.
75450         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
75451         Define lockf64 as an alias.
75452         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
75453         Define fseeko64 as an alias.
75454         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
75455         Define ftello64 as an alias.
75456         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
75457         Define _IO_fgetpos64 and fgetpos64 as aliases.
75458         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
75459         Define _IO_fsetpos64 and fsetpos64 as aliases.
75460         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
75461         Conditionalize body on this.
75462         * libio/fseeko64.c: Likewise.
75463         * libio/ftello64.c: Likewise.
75464         * libio/iofgetpos64.c: Likewise.
75465         * libio/iofsetpos64.c: Likewise.
75466         * sysdeps/wordsize-64/lockf.c: File removed.
75467         * sysdeps/wordsize-64/lockf64.c: File removed.
75468         * sysdeps/wordsize-64/fseeko.c: File removed.
75469         * sysdeps/wordsize-64/fseeko64.c: File removed.
75470         * sysdeps/wordsize-64/ftello.c: File removed.
75471         * sysdeps/wordsize-64/ftello64.c: File removed.
75472         * sysdeps/wordsize-64/iofgetpos.c: File removed.
75473         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
75474         * sysdeps/wordsize-64/iofsetpos.c: File removed.
75475         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
75476         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
75477         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
75478         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
75479         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
75480         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
75481         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
75482         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
75483         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
75484         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
75485         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
75487         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
75488         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
75489         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
75490         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
75491         [defined __arch64__ || defined __sparcv9]
75492         (__OFF_T_MATCHES_OFF64_T): New macro.
75493         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
75494         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
75495         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
75496         (__OFF_T_MATCHES_OFF64_T): New macro.
75498 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
75500         * stdlib/secure-getenv.c (__secure_getenv): Replace
75501         GLIBC_2_16 with GLIBC_2_17.
75503 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
75505         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
75506         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
75508 2012-08-03  David S. Miller  <davem@davemloft.net>
75510         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75512 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
75514         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
75515         Remove.
75516         (__ASSUME_CORRECT_SI_PID): Likewise.
75517         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
75518         (__ASSUME_TMPFS_NAME): Likewise.
75519         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
75520         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
75521         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
75522         (HAVE_AUX_SECURE): Make definition unconditional.
75523         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
75524         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
75526 2012-08-03  Roland McGrath  <roland@hack.frob.com>
75528         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
75529         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
75530         * sysdeps/mach/hurd/eloop-threshold.h: New file.
75531         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
75532         __eloop_threshold instead of SYMLOOP_MAX.
75534         * sysdeps/generic/eloop-threshold.h: New file.
75535         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
75536         of MAXSYMLINKS.
75537         * elf/chroot_canon.c (chroot_canon): Likewise.
75539 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
75541         [BZ #13717]
75542         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
75543         Change to 2.6.0 everywhere.
75544         * sysdeps/unix/sysv/linux/configure: Regenerated.
75545         * sysdeps/unix/sysv/linux/kernel-features.h
75546         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
75547         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
75548         kernel versions.
75549         (__ASSUME_POSIX_TIMERS): Define unconditionally.
75550         (__ASSUME_FUTEX_REQUEUE): Remove.
75551         (__ASSUME_STATFS64): Define unconditionally.
75552         (__ASSUME_AT_SECURE): Likewise.
75553         (__ASSUME_CORRECT_SI_PID): Likewise.
75554         (__ASSUME_TGKILL): Define without depending on kernel version for
75555         i386.
75556         (__ASSUME_UTIMES): Likewise.
75557         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
75558         kernel version.
75559         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
75560         (__ASSUME_TMPFS_NAME): Likewise.
75561         * README: Update reference to Linux kernel versions.
75563 2012-08-02  Marek Polacek  <polacek@redhat.com>
75565         [BZ #14150]
75566         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
75567         libc_cv_asm_type_prefix with %.
75568         * configure: Regenerated.
75569         * include/libc-symbols.h: Remove comment about
75570         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
75571         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
75572         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
75573         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
75574         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
75575         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
75576         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
75577         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
75578         * elf/tst-unique2mod1.c: Likewise.
75579         * elf/tst-unique1mod2.c: Likewise.
75580         * elf/tst-unique1mod1.c: Likewise.
75581         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
75582         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
75583         Replace ASM_TYPE_DIRECTIVE with .type.
75584         * sysdeps/s390/s390-64/sysdep.h: Likewise.
75585         * sysdeps/i386/sysdep.h: Likewise.
75586         * sysdeps/x86_64/sysdep.h: Likewise.
75587         * sysdeps/sh/sysdep.h: Likewise.
75588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
75589         Do not define ASM_TYPE_DIRECTIVE.
75590         * sysdeps/powerpc/sysdep.h: Likewise.
75591         * sysdeps/powerpc/powerpc32/sysdep.h:
75592         Replace ASM_TYPE_DIRECTIVE with .type.
75593         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
75594         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
75595         * sysdeps/i386/fpu/e_powf.S: Likewise.
75596         * sysdeps/i386/fpu/e_expl.S: Likewise.
75597         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
75598         * sysdeps/i386/fpu/e_acosh.S: Likewise.
75599         * sysdeps/i386/fpu/e_pow.S: Likewise.
75600         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
75601         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
75602         * sysdeps/i386/fpu/s_expm1.S: Likewise.
75603         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
75604         * sysdeps/i386/fpu/e_log2.S: Likewise.
75605         * sysdeps/i386/fpu/e_log2l.S: Likewise.
75606         * sysdeps/i386/fpu/e_scalb.S: Likewise.
75607         * sysdeps/i386/fpu/e_powl.S: Likewise.
75608         * sysdeps/i386/fpu/e_log10f.S: Likewise.
75609         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
75610         * sysdeps/i386/fpu/e_logl.S: Likewise.
75611         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
75612         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
75613         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
75614         * sysdeps/i386/fpu/e_log2f.S: Likewise.
75615         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
75616         * sysdeps/i386/fpu/e_log.S: Likewise.
75617         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
75618         * sysdeps/i386/fpu/e_logf.S: Likewise.
75619         * sysdeps/i386/fpu/e_log10l.S: Likewise.
75620         * sysdeps/i386/fpu/e_atanh.S: Likewise.
75621         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
75622         * sysdeps/i386/fpu/e_log10.S: Likewise.
75623         * sysdeps/i386/fpu/s_frexp.S: Likewise.
75624         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
75625         * sysdeps/i386/fpu/s_asinh.S: Likewise.
75626         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
75627         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
75628         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
75629         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
75630         * sysdeps/i386/i686/strtok.S: Likewise.
75631         * sysdeps/i386/i386-mcount.S: Likewise.
75632         * sysdeps/i386/strtok.S: Likewise.
75633         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
75634         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
75635         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
75636         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
75637         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
75638         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
75639         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
75640         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
75641         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
75642         * sysdeps/x86_64/_mcount.S: Likewise.
75643         * sysdeps/x86_64/strtok.S: Likewise.
75644         * sysdeps/sh/_mcount.S: Likewise.
75646 2012-08-01  Roland McGrath  <roland@hack.frob.com>
75648         * libio/iofopen.c: Include <fcntl.h>.
75649         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
75650         (_IO_fopen64, fopen64): Define as aliases.
75651         * libio/iofopen64.c: Include <fcntl.h>.
75652         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
75653         Conditionalize body on this.
75654         * sysdeps/wordsize-64/iofopen.c: File removed.
75655         * sysdeps/wordsize-64/iofopen64.c: File removed.
75657 2012-08-01  Marek Polacek  <polacek@redhat.com>
75659         * libc/Makeconfig: Use elf in place of binfmt-subdir.
75660         Use dlfcn directly instead of a variable.
75661         (binfmt-subdir): Do not define.
75662         (dlfcn): Likewise.
75664 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
75666         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
75667         Remove all definitions.
75668         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
75669         <kernel-features.h>.
75670         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
75671         (miss_F_GETOWN_EX): Remove all definitions.
75672         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
75673         macro definition.
75674         [!__ASSUME_FCNTL64]: Remove conditional code.
75675         [__ASSUME_FCNTL64]: Make code unconditional.
75676         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
75677         <kernel-features.h>.
75678         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
75679         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
75680         (lockf64) [__NR_fcntl64]: Make code unconditional.
75681         (lockf64) [__ASSUME_FCNTL64]: Likewise.
75683         * sysdeps/unix/sysv/linux/kernel-features.h
75684         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
75685         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
75686         Make code unconditional.
75687         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
75688         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
75689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
75690         [__NR_vfork]: Make code unconditional.
75691         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
75692         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
75693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
75694         [__NR_vfork]: Make code unconditional.
75695         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
75696         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
75698 2012-08-01  Roland McGrath  <roland@hack.frob.com>
75700         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
75701         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
75703         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
75704         Define mkstemp64 as an alias.
75705         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
75706         Define mkstemps64 as an alias.
75707         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
75708         Define mkostemp64 as an alias.
75709         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
75710         Define mkostemps64 as an alias.
75711         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
75712         Conditionalize body on this.
75713         * misc/mkostemp64.c: Likewise.
75714         * misc/mkostemps64.c: Likewise.
75715         * misc/mkstemps64.c: Likewise.
75716         * sysdeps/wordsize-64/mkstemp64.c: File removed.
75717         * sysdeps/wordsize-64/mkostemp64.c: File removed.
75718         * sysdeps/wordsize-64/mkostemp.c: File removed.
75719         * sysdeps/wordsize-64/mkstemp.c: File removed.
75720         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
75721         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
75722         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
75723         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
75725         [BZ #14138]
75726         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
75727         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
75728         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
75729         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
75731         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
75732         compat_symbol macros from <shlib-compat.h> rather than the underlying
75733         default_symbol_version and symbol_version macros, so that DEFAULT
75734         lines in shlib-versions are respected.
75735         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
75737 2012-08-01  Florian Weimer  <fweimer@redhat.com>
75739         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
75740         Declare with warn_unused_result.
75741         (setgid, setregid, setegid, setresgid): Likewise.
75742         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
75743         Likewise.
75744         * WUR-REPORT: Remove set*id functions.
75746 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
75748         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
75750 2012-07-31  Roland McGrath  <roland@hack.frob.com>
75752         [BZ #10191]
75753         * include/sys/socket.h (__libc_accept, __libc_accept4):
75754         Add attribute_hidden.
75755         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
75757         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
75758         use of PTR_MANGLE.
75759         * inet/getnetgrent_r.c (setup): Likewise.
75761         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
75763 2012-07-31  David S. Miller  <davem@davemloft.net>
75765         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75767 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
75769         [BZ #13629]
75770         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
75771         value between 1.0 and 2.0 and smaller part has absolute value less
75772         than 1.0.
75773         * math/s_clog10.c (__clog10): Likewise.
75774         * math/s_clog10f.c (__clog10f): Likewise.
75775         * math/s_clog10l.c (__clog10l): Likewise.
75776         * math/s_clogf.c (__clogf): Likewise.
75777         * math/s_clogl.c (__clogl): Likewise.
75778         * math/libm-test.inc (clog_test): Add more tests.
75779         (clog10_test): Likewise.
75780         * sysdeps/i386/fpu/libm-test-ulps: Update.
75781         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75783 2012-07-31  Florian Weimer  <fweimer@redhat.com>
75785         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
75786         Exit with zero in case no suitable GID is found, and write a
75787         message to standard error.
75789 2012-07-30  Roland McGrath  <roland@hack.frob.com>
75791         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
75792         rather than to 1.
75793         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
75794         (MAXPATHLEN): Removed.
75795         (NOGROUP, NODEV): New macros.
75796         (setbit, clrbit, isset, isclr): New macros.
75797         (howmany, roundup, powerof2): New macros.
75798         (DEV_BSIZE): New macro.
75800         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
75801         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
75803         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
75804         definition on [!__NO_LONG_DOUBLE_MATH].
75806         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
75807         PTR_MANGLE and PTR_DEMANGLE.
75809         * socket/accept4.c (accept4): Rename to __libc_accept4.
75810         Define accept4 as a weak alias.
75812         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
75813         on [_DIRENT_HAVE_D_TYPE].
75814         * io/ftw.c (ftw_dir): Likewise.
75816         * io/xmknod.c (__xmknod): Don't check PATH for being null.
75818         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
75820         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
75821         Use the BSD numbers rather than the arbitrary ones we had.
75822         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
75823         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
75824         (SIGXCPU, SIGXFSZ): New macros.
75825         (_NSIG): Now 32.
75827         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
75828         initializer on [_LIBC_REENTRANT].
75830         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
75831         definitions inside [_POSIX_MAPPED_FILES].
75833         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
75835         * dirent/opendir.c: Include <fcntl.h>.
75837         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
75838         (__libc_getspecific): Likewise.
75839         (__libc_key_create): Likewise.
75841         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
75842         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
75843         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
75844         (tmpfile64): Define as alias.
75845         * sysdeps/wordsize-64/tmpfile.c: File removed.
75846         * sysdeps/wordsize-64/tmpfile64.c: File removed.
75847         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
75848         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
75850         * stdio-common/vfscanf.c: Include <stdbool.h>.
75851         * nss/makedb.c: Likewise.
75852         * stdio-common/_i18n_number.h: Likewise.
75853         * argp/argp-help.c: Likewise.
75854         * posix/wordexp.c: Likewise.
75855         * sysdeps/posix/spawni.c: Likewise.
75856         * nss/nss_files/files-initgroups.c: Likewise.
75857         * stdio-common/reg-modifier.c: Include <stdlib.h>.
75858         * nss/nss_files/files-initgroups.c: Likewise.
75859         * nss/nss_db/db-netgrp.c: Likewise.
75860         * nss/nss_db/db-initgroups.c: Likewise.
75861         * io/fchmodat.c: Include <sys/stat.h>.
75863         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
75864         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
75866         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
75867         [HAVE_MMAP].
75869         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
75870         Add multiple inclusion protection.
75872 2012-07-27  David S. Miller  <davem@davemloft.net>
75874         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75876 2012-07-27  Gary Benson  <gbenson@redhat.com>
75878         [BZ #14298]
75879         * elf/rtld.c: Include <stap-probe.h>.
75880         (dl_main): Added static probes "init_start" and "init_complete".
75881         * elf/dl-load.c: Include <stap-probe.h>.
75882         (lose): Take new parameter "nsid".
75883         Added static probe "map_failed".
75884         (_dl_map_object_from_fd): Pass namespace id to lose.
75885         Added static probe "map_start".
75886         (open_verify): Pass namespace id to lose.
75887         * elf/dl-open.c: Include <stap-probe.h>.
75888         (dl_open_worker) Added static probes "map_complete", "reloc_start"
75889         and "reloc_complete".
75890         * elf/dl-close.c: Include <stap-probe.h>.
75891         (_dl_close_worker): Added static probes "unmap_start" and
75892         "unmap_complete".
75893         * elf/rtld-debugger-interface.txt: New file documenting the above.
75895 2012-07-26  Roland McGrath  <roland@hack.frob.com>
75897         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
75898         rather than a string variable.
75899         * sunrpc/rpc_main.c (h_output): Likewise.
75900         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
75902 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
75904         * inet/check_native.c: New file.
75906 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
75908         [BZ #13629]
75909         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
75910         if larger part has absolute value 1.0.
75911         * math/s_clog10.c (__clog10): Likewise.
75912         * math/s_clog10f.c (__clog10f): Likewise.
75913         * math/s_clog10l.c (__clog10l): Likewise.
75914         * math/s_clogf.c (__clogf): Likewise.
75915         * math/s_clogl.c (__clogl): Likewise.
75916         * math/libm-test.inc (clog_test): Add more tests.
75917         (clog10_test): Likewise.
75918         * sysdeps/i386/fpu/libm-test-ulps: Update.
75919         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75921         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
75922         (pltexit): Likewise.
75923         (La_regs): Likewise.
75924         (La_retval): Likewise.
75925         (int_retval): Likewise.
75926         Update #error for removed macros to refer only to definitions in
75927         tst-audit.h.
75928         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
75929         macro.
75930         (pltexit): Likewise.
75931         (La_regs): Likewise.
75932         (La_retval): Likewise.
75933         (int_retval): Likewise.
75934         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
75935         macro.
75936         (pltexit): Likewise.
75937         (La_regs): Likewise.
75938         (La_retval): Likewise.
75939         (int_retval): Likewise.
75940         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
75941         macro.
75942         (pltexit): Likewise.
75943         (La_regs): Likewise.
75944         (La_retval): Likewise.
75945         (int_retval): Likewise.
75946         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
75947         macro.
75948         (pltexit): Likewise.
75949         (La_regs): Likewise.
75950         (La_retval): Likewise.
75951         (int_retval): Likewise.
75952         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
75953         macro.
75954         (pltexit): Likewise.
75955         (La_regs): Likewise.
75956         (La_retval): Likewise.
75957         (int_retval): Likewise.
75958         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
75959         macro.
75960         (pltexit): Likewise.
75961         (La_regs): Likewise.
75962         (La_retval): Likewise.
75963         (int_retval): Likewise.
75964         * sysdeps/generic/tst-audit.h: Update comment to refer only to
75965         macro definitions in tst-audit.h.
75966         * sysdeps/i386/tst-audit.h: New file.
75967         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
75968         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
75969         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
75970         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
75971         * sysdeps/sh/tst-audit.h: Likewise.
75972         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
75973         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
75974         * sysdeps/x86_64/tst-audit.h: Likewise.
75976 2012-07-26  Andreas Jaeger  <aj@suse.de>
75978         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
75979         ptrace.
75981         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
75982         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
75983         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
75984         PTRACE_O_MASK.
75985         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
75986         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
75987         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
75989         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
75990         value.
75992         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
75993         _sigsys.
75994         (si_call_addr, si_syscall, si_arch): Define new macro.
75995         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
75996         _sigsys.
75997         (si_call_addr, si_syscall, si_arch): Define new marcro.
75998         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
75999         _sigsys.
76000         (si_call_addr, si_syscall, si_arch): Define new macro.
76001         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
76002         _sigsys.
76003         (si_call_addr, si_syscall, si_arch): Define new macro.
76005 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
76007         [BZ #13717]
76008         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
76009         Change to 2.4.21 where previously 2.4.1.
76010         * sysdeps/unix/sysv/linux/configure: Regenerated.
76011         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
76012         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
76013         Linux kernel version.
76014         (__ASSUME_STD_AUXV): Remove.
76015         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
76016         kernel version.
76017         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
76018         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
76019         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
76020         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
76021         (__ASSUME_NETLINK_SUPPORT): Likewise.
76022         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
76023         (__no_netlink_support): Remove conditional definition.
76024         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
76025         Remove.
76026         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
76027         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
76028         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
76029         (if_nameindex_ioctl): Remove.
76030         (if_nameindex_netlink): Do not handle __no_netlink_support.
76031         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
76032         code.
76033         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
76034         Remove conditional code.
76035         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
76036         code.
76037         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
76038         unconditional.
76039         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
76040         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
76041         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
76042         Remove.
76043         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
76044         [!__ASSUME_STD_AUXV]: Remove conditional code.
76045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
76046         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
76047         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
76048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
76049         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
76050         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
76051         code.
76052         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
76053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
76054         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
76055         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
76056         conditional code.
76057         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
76058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
76059         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
76060         code.
76061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
76062         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
76063         conditional code.
76064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
76065         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
76066         code unconditional.
76067         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
76068         conditional code.
76069         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
76070         unconditional.
76071         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
76072         conditional code.
76073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
76074         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
76075         unconditional.
76076         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
76077         conditional code.
76078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
76079         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
76080         code unconditional.
76081         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
76082         conditional code.
76083         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
76084         unconditional.
76085         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
76086         conditional code.
76087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
76088         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
76089         code unconditional.
76090         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
76091         conditional code.
76092         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
76093         unconditional.
76094         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
76095         conditional code.
76097 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
76099         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
76100         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
76101         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
76102         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
76103         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
76104         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
76105         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
76106         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
76107         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
76108         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
76109         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
76110         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
76111         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
76112         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
76113         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
76114         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
76115         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
76116         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
76117         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
76118         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
76119         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
76120         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
76121         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
76123 2012-07-25  Florian Weimer  <fweimer@redhat.com>
76125         * Versions.def: Add GLIBC_2.17.
76126         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
76127         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
76128         Introduce __libc_secure_getenv.
76129         * stdlib/Versions (2.17): Add secure_getenv
76130         (GLIBC_PRIVATE): Add __libc_secure_getenv.
76131         * stdlib/secure-getenv.c: Rename __secure_getenv to
76132         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
76133         symbol __secure_getenv for GLIBC_2.0.
76134         * stdlib/tst-secure-getenv.c: New.
76135         * stdlib/Makefile (tests): Add testcase.
76136         * manual/startup.texi (Environment Access): Document
76137         secure_getenv.
76138         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
76139         __libc_secure_getenv.
76140         * inet/ruserpass.c (ruserpass): Likewise.
76141         * malloc/mtrace.c (mtrace): Likewise.
76142         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
76143         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
76144         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
76145         * sysdeps/posix/tempname.c: Likewise.  Evaluate
76146         HAVE_SECURE_GETENV.
76147         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
76148         __secure_getenv to __libc_secure_getenv.
76149         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
76150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
76151         Likewise.
76152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
76153         Likewise.
76154         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
76155         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
76156         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
76157         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
76158         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
76159         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
76160         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
76162 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
76164         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
76165         (struct La_i86_retval): Likewise.
76166         (struct La_x86_64_regs): Likewise.
76167         (struct La_x86_64_retval): Likewise.
76168         (struct La_x32_regs): Likewise.
76169         (struct La_x32_retval): Likewise.
76170         (struct La_ppc32_regs): Likewise.
76171         (struct La_ppc32_retval): Likewise.
76172         (struct La_ppc64_regs): Likewise.
76173         (struct La_ppc64_retval): Likewise.
76174         (struct La_sh_regs): Likewise.
76175         (struct La_sh_retval): Likewise.
76176         (struct La_s390_32_regs): Likewise.
76177         (struct La_s390_32_retval): Likewise.
76178         (struct La_s390_64_regs): Likewise.
76179         (struct La_s390_64_retval): Likewise.
76180         (struct La_sparc32_regs): Likewise.
76181         (struct La_sparc32_retval): Likewise.
76182         (struct La_sparc64_regs): Likewise.
76183         (struct La_sparc64_retval): Likewise.
76184         (struct audit_ifaces): Remove architecture-specific pltenter and
76185         pltexit members.
76186         * sysdeps/i386/ldsodefs.h: New file.
76187         * sysdeps/powerpc/ldsodefs.h: Likewise.
76188         * sysdeps/s390/ldsodefs.h: Likewise.
76189         * sysdeps/sh/ldsodefs.h: Likewise.
76190         * sysdeps/sparc/ldsodefs.h: Likewise.
76191         * sysdeps/x86_64/ldsodefs.h: Likewise.
76193 2012-07-25  Marek Polacek  <polacek@redhat.com>
76195         [BZ #6808]
76196         * math/libm-test.inc (yn_test): Add another test.
76197         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
76198         to ERANGE when the result is +-Inf.
76199         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
76200         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
76201         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
76202         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
76204 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
76206         * conform/data/time.h-data (NULL): Use macro-constant.  Require
76207         equal to 0.
76208         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
76209         clock_t.
76210         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
76212 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
76214         * configure.in <sysdeps resolving>: Correct printing
76215         Implies_before.
76216         * configure: Regenerate.
76218 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
76220         * math/w_ilogb.c: Include <limits.h>.
76221         * math/w_ilogbl.c: Likewise.
76223 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
76225         * manual/lang.texi (__va_copy): Document primarily as ISO C99
76226         va_copy.  Document allowing for unavailable va_copy only as
76227         pre-C99 compatibility.
76228         * manual/string.texi (Copying and Concatenation): Use va_copy
76229         instead of __va_copy in concat example.
76231 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
76233         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
76234         (__sendto): Use create_address_port.  Initialize APORT and deallocate
76235         it if not null.
76237         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
76238         with O_NOLINK passed to __file_name_lookup.
76240         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
76241         with O_NOLINK passed to __file_name_lookup.
76243         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
76244         negative N or less than NGIDS.
76246         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
76247         type to string_t.  Set ERANGE as errno and return it if NAME is not big
76248         enough.  Use memcpy instead of strncpy.
76250 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
76252         * elf/Makefile (check-data): Remove.
76253         (localplt.data): New vpath directive.
76254         ($(objpfx)check-localplt.out): Use localplt.data from vpath
76255         instead of $(check-data).
76256         * scripts/data/localplt-generic.data: Move to ...
76257         * sysdeps/generic/localplt.data: ... here.
76258         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
76259         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
76260         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
76261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
76262         ... here.
76263         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
76264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
76265         ... here.
76266         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
76267         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
76268         ... here.
76269         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
76270         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
76271         ... here.
76272         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
76273         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
76274         ... here.
76275         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
76276         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
76277         ... here.
76279 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76281         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
76282         PPC32 and PPC64 files.
76283         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
76284         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
76286 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76288         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
76289         __makecontext_ret to ...
76290         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
76291         ... here and call exit if uc_link is NULL.  New file.
76292         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
76293         __makecontext_ret.S.
76294         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
76295         __makecontext_ret to ...
76296         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
76297         ... here and call exit if uc_link is NULL.  New file.
76298         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
76299         __makecontext_ret.S.
76301 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76303         * elf/elf.h (R_390_IRELATIVE): New definition.
76304         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
76305         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
76306         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
76307         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
76308         (elf_machine_lazy_rel): Likewise.
76309         * sysdeps/s390/dl-irel.h: New file.
76310         * sysdeps/s390/s390-64/memcpy.S: New asm code.
76311         * sysdeps/s390/s390-64/memset.S: New asm code.
76312         * sysdeps/s390/s390-64/memcmp.S: New asm code.
76313         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
76314         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
76315         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
76316         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
76317         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
76318         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
76319         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
76320         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
76321         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
76322         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
76323         * sysdeps/s390/s390-32/memcpy.S: New asm code.
76324         * sysdeps/s390/s390-32/memset.S: New asm code.
76325         * sysdeps/s390/s390-32/memcmp.S: New asm code.
76327 2012-07-17  Marek Polacek  <polacek@redhat.com>
76329         [BZ #14349]
76330         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
76331         * sysdeps/s390/s390-64/configure.in: Likewise.
76332         * sysdeps/sparc/configure.in: Likewise.
76333         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
76334         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
76335         * sysdeps/i386/configure.in: Likewise.
76336         * sysdeps/x86_64/configure.in: Likewise.
76337         * sysdeps/sh/configure.in: Likewise.
76338         * sysdeps/s390/s390-32/configure: Regenerated.
76339         * sysdeps/s390/s390-64/configure: Likewise.
76340         * sysdeps/x86_64/configure: Likewise.
76341         * sysdeps/sh/configure: Likewise.
76342         * sysdeps/powerpc/powerpc64/configure: Likewise.
76343         * sysdeps/powerpc/powerpc32/configure: Likewise.
76344         * sysdeps/sparc/configure: Likewise.
76345         * sysdeps/i386/configure: Likewise.
76347         * elf/dl-open.c: Comment fixes.
76349 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
76351         * Makefile [CXX] (check-data): Remove.
76352         [CXX] (c++-types.data): New vpath directive.
76353         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
76354         vpath.  Do not allow for C++ type data being missing.
76355         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
76356         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
76357         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
76358         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
76359         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
76360         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
76361         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
76362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
76363         ... here.
76364         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
76365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
76366         ... here.
76367         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
76368         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
76369         ... here.
76370         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
76371         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
76372         ... here.
76373         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
76374         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
76375         ... here.
76376         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
76377         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
76378         ... here.
76379         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
76380         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
76381         ... here.
76382         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
76383         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
76385         * elf/tls-macros.h (TLS_LE): Move architecture-specific
76386         definitions to architecture-specific files.
76387         (TLS_IE): Likewise.
76388         (TLS_LD): Likewise.
76389         (TLS_GD): Likewise.
76390         * sysdeps/i386/tls-macros.h: New file.
76391         * sysdeps/powerpc/tls-macros.h: Likewise.
76392         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
76393         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
76394         * sysdeps/sh/tls-macros.h: Likewise.
76395         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
76396         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
76397         * sysdeps/x86_64/tls-macros.h: Likewise.
76399 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
76401         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
76402         zero value for regular exit case.
76404         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
76405         (__start_context): Preserve zero value for regular exit case.
76407 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
76408             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76410         * manual/setjmp.texi (setcontext): Clarify normal process
76411         termination when uc_link is the null pointer.
76412         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
76413         exit call.
76415 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
76417         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
76418         preprocessor.  Test for each exception mask separately.
76420 2012-07-16  Andreas Jaeger  <aj@suse.de>
76422         * po/ru.po: Update from translation team.
76424 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
76426         * conform/data/string.h-data (NULL): Use macro-constant.  Require
76427         equal to 0.
76428         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
76429         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
76430         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
76431         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
76432         [ISO || ISO99 || ISO11] (*_t): Do not allow.
76434 2012-07-13  Andreas Jaeger  <aj@suse.de>
76436         * po/fr.po: Update from translation team.
76438 2012-07-12  Marek Polacek  <polacek@redhat.com>
76440         [BZ #14173]
76441         * math/libm-test.inc (yn_test): Add test for BZ #14173.
76442         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
76443         loop condition.
76445 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
76447         [BZ #13717]
76448         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
76449         Change to 2.4.1 where previously 2.4.0.
76450         * sysdeps/unix/sysv/linux/configure: Regenerated.
76451         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
76452         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
76453         version.
76454         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
76455         (__ASSUME_AT_CLKTCK): Remove.
76456         (__ASSUME_AT_PAGESIZE): Likewise.
76457         (__ASSUME_AT_XID): Likewise.
76458         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
76459         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
76460         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
76461         unconditionally.
76462         (HAVE_AUX_PAGESIZE): Likewise.
76463         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
76464         [__ASSUME_AT_CLKTCK]: Make code unconditional.
76465         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
76467 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
76469         [BZ #14307]
76470         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
76471         the temporary buffer used to invoke __gethostbyname2_r,
76472         __gethostbyaddr_r and gethostbyname4_r to make room for struct
76473         host_data / struct gaih_addrtuple.
76474         * resolv/nss_dns/dns-host.c (global scope): Move definition of
76475         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
76476         header file nss/nsswitch.h.
76477         * nss/nsswitch.h (global scope): Add definition of implementation
76478         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
76479         resolv/nss_dns/dns-host.c).
76481 2012-07-11  Andreas Jaeger  <aj@suse.de>
76483         * po/fr.po: Update from translation team.
76485         * po/sv.po: Update from translation team
76486         * po/fr.po: Another update from translation team.
76488 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76490         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
76491         for subnormals or multiply small sinh result by itself.
76492         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
76493         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76495 2012-07-11  David S. Miller  <davem@davemloft.net>
76497         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76499 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
76501         [BZ #14347]
76502         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
76503         (INTERNAL_MARK): Shift it here.
76505 2012-07-10  Marek Polacek  <polacek@redhat.com>
76507         [BZ #14151]
76508         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
76509         libc_cv_asm_global_directive with .globl.
76510         * configure: Regenerated.
76511         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
76512         with .globl.
76513         * sysdeps/i386/configure: Regenerated.
76514         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
76515         with .globl.
76516         * sysdeps/x86_64/configure: Regenerated.
76517         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
76518         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
76519         * elf/tst-unique2mod2.c: Likewise.
76520         * elf/tst-unique2mod1.c: Likewise.
76521         * elf/tst-unique1mod2.c: Likewise.
76522         * elf/tst-unique1mod1.c: Likewise.
76523         * sysdeps/s390/s390-32/sysdep.h: Likewise.
76524         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
76525         * sysdeps/s390/s390-64/sysdep.h: Likewise.
76526         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
76527         * sysdeps/mach/sysdep.h: Likewise.
76528         * sysdeps/i386/sysdep.h: Likewise.
76529         * sysdeps/i386/i386-mcount.S: Likewise.
76530         * sysdeps/x86_64/_mcount.S: Likewise.
76531         * sysdeps/x86_64/sysdep.h: Likewise.
76532         * sysdeps/sh/_mcount.S: Likewise.
76533         * sysdeps/sh/sysdep.h: Likewise.
76534         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
76535         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
76536         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
76537         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
76538         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
76539         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
76540         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
76541         * locale/localeinfo.h: Likewise.
76542         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
76543         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
76545 2012-07-09  Roland McGrath  <roland@hack.frob.com>
76547         [BZ #14336]
76548         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
76549         system".
76550         * manual/message.texi (The Uniforum approach): Likewise.
76551         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
76552         (glibc iconv Implementation): Likewise.
76554 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
76556         [BZ #14337]
76557         * math/s_clog.c (__clog): Avoid scaling a value down where that
76558         could result in underflow.
76559         * math/s_clog10.c (__clog10): Likewise.
76560         * math/s_clog10f.c (__clog10f): Likewise.
76561         * math/s_clog10l.c (__clog10l): Likewise.
76562         * math/s_clogf.c (__clogf): Likewise.
76563         * math/s_clogl.c (__clogl): Likewise.
76564         * math/libm-test.inc (clog_test): Add more tests.
76565         (clog10_test): Likewise.
76566         * sysdeps/i386/fpu/libm-test-ulps: Update.
76567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76569 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
76571         [BZ #14283]
76572         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
76573         by 7 not 8 to examine high bit of fractional part.
76575         [BZ #14042]
76576         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
76577         for call to __mcount_internal.
76578         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
76579         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
76580         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
76582 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
76584         [BZ #14154]
76585         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
76586         approximation for values within 0x1p-13f of an odd multiple of
76587         pi/4.
76588         * math/libm-test.inc (tan_test): Do not allow spurious underflow
76589         exception.  Add more tests.
76590         * sysdeps/i386/fpu/libm-test-ulps: Update.
76592         [BZ #6778]
76593         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
76594         inputs and return -1 for them.  Do not check for +Inf in case not
76595         reachable for +Inf.
76596         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
76597         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
76598         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
76599         and return -1 for them.  Do not check for +Inf in case not
76600         reachable for +Inf.
76601         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
76602         define.
76603         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
76604         and return -1 for them.  Do not check for +Inf in case not
76605         reachable for +Inf.
76606         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
76607         spurious underflow.
76608         * sysdeps/i386/fpu/libm-test-ulps: Update.
76609         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76611 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
76613         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
76615 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
76617         [BZ #14157]
76618         [BZ #14331]
76619         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
76620         could result in spurious underflow.  Scale down values above
76621         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
76622         * math/s_csqrtf.c (__csqrtf): Likewise.
76623         * math/s_csqrtl.c (__csqrtl): Likewise.
76624         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
76625         spurious underflow.
76626         * sysdeps/i386/fpu/libm-test-ulps: Update.
76627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76629 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
76631         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
76632         xopen-msg.sed.
76633         * catgets/xopen-msg.awk: New file.
76634         * catgets/xopen-msg.sed: Removed.
76636         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
76637         po2text.sed.
76638         * intl/po2test.awk: New file.
76639         * intl/po2test.sed: Removed.
76641 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
76643         [BZ #14328]
76644         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
76645         or multiply small sinh result by itself.
76646         * math/s_ctanf.c (__ctanf): Likewise.
76647         * math/s_ctanh.c (__ctanh): Likewise.
76648         * math/s_ctanhf.c (__ctanhf): Likewise.
76649         * math/s_ctanhl.c (__ctanhl): Likewise.
76650         * math/s_ctanl.c (__ctanl): Likewise.
76651         * math/libm-test.inc (ctan_test_tonearest): New function.
76652         (ctan_test_towardzero): Likewise.
76653         (ctan_test_downward): Likewise.
76654         (ctan_test_upward): Likewise.
76655         (ctanh_test_tonearest): Likewise.
76656         (ctanh_test_towardzero): Likewise.
76657         (ctanh_test_downward): Likewise.
76658         (ctanh_test_upward): Likewise.
76659         (main): Call these new functions.
76660         * sysdeps/i386/fpu/libm-test-ulps: Update.
76661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76663 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
76665         * .gitignore: Delete /ports entry.
76667 2012-07-03  Andreas Jaeger  <aj@suse.de>
76669         * po/bg.po: Update from translation team.
76670         * po/cs.po: Likewise.
76671         * po/de.po: Likewise.
76672         * po/hr.po: Likewise.
76673         * po/nl.pl: Likewise.
76674         * po/pl.po: Likewise.
76675         * po/vi.po: Likewise.
76677 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
76679         * Makeconfig [!+link] (+link-before-libc): New variable.
76680         [!+link] (+link-after-libc): Likewise.
76681         [!+link] (+link-tests): Likewise.
76682         [!+link] (+link): Define in terms of $(+link-before-libc) and
76683         $(+link-after-libc).
76684         [!+link-static] (+link-static-before-libc): New variable.
76685         [!+link-static] (+link-static-after-libc): Likewise.
76686         [!+link-static] (+link-static-tests): Likewise.
76687         [!+link-static] (+link-static): Define in terms of
76688         $(+link-static-before-libc) and $(+link-static-after-libc).
76689         [build-shared] (link-libc-before-gnulib): New variable.
76690         [build-shared] (link-libc-tests): Likewise.
76691         [build-shared] (link-libc): Define in terms of
76692         $(link-libc-before-gnulib).
76693         [!build-shared] (link-libc-tests): New variable.
76694         (link-libc-static-tests): New variable.
76695         [!gnulib] (gnulib-arch): New variable.
76696         [!gnulib] (gnulib-tests): Likewise.
76697         [!gnulib] (static-gnulib-arch): Likewise.
76698         [!gnulib] (static-gnulib-tests): Likewise.
76699         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
76700         Define with "=" instead of ":=".
76701         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
76702         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
76703         * Rules (binaries-all-notests): New variable.
76704         (binaries-all-tests): Likewise.
76705         (binaries-static-notests): Likewise.
76706         (binaries-static-tests): Likewise.
76707         (binaries-all): Define using $(binaries-all-notests) and
76708         $(binaries-all-tests).
76709         (binaries-static): Define using $(binaries-static-notests) and
76710         $(binaries-static-tests).
76711         (binaries-shared-tests): New variable.
76712         (binaries-shared-notests): Likewise.
76713         (binaries-shared): Remove variable.
76714         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
76715         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
76716         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
76717         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
76718         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
76719         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
76720         * elf/Makefile (sln-modules): New variable.
76721         (extra-objs): Add $(sln-modules:=.o).
76722         (ldconfig-modules): Add static-stubs.
76723         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
76724         * elf/static-stubs.c: New file.
76726         [BZ #14283]
76727         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
76728         by 7 not 8 to examine high bit of fractional part.  Use volatile
76729         variables when splitting into final array of floats if
76730         __FLT_EVAL_METHOD__ != 0.
76731         * math/libm-test.inc (cos_test): Add another test.
76732         (sin_test): Likewise.
76733         * sysdeps/i386/fpu/libm-test-ulps: Update.
76735         [BZ #14273]
76736         * math/libm-test.inc (cosh_test): Add more tests.
76738         * version.h (RELEASE): Set to "development".
76739         (VERSION): Set to "2.16.90".
76741 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
76743         * NEWS: Update copyright. Remove last-updated date.
76744         Mention math library bug fixes and timezone data changes.
76745         * README: Mention GNU/Hurd, x32, and HPPA support status.
76747 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
76749         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
76751 2012-06-27  Andreas Jaeger  <aj@suse.de>
76753         * manual/contrib.texi (Contributors): Add Samuel Thibault.
76755 2012-06-25  Andreas Jaeger  <aj@suse.de>
76757         * sysdeps/s390/fpu/libm-test-ulps: Update.
76759 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
76760             Thomas Schwinge  <thomas@codesourcery.com>
76762         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
76763         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
76764         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
76765         fanotify_mark.
76767 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
76769         * sysdeps/mach/start.c: Remove file.
76770         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
76771         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
76772         * sysdeps/sh/init-first.c: Likewise.
76774         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
76775         registers for frame unwinding purposes, add CFI directives.
76776         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
76777         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
76778         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
76779         Likewise.
76781         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
76782         __fortify_fail returning.
76783         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
76785         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
76786         sysdeps/sh/____longjmp_chk.S.
76787         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
76788         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
76789         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
76790         (gen-as-const-headers): Append sigaltstack-offsets.sym.
76792         * sysdeps/sh/abort-instr.h: New file.
76793         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
76794         process in case exit returns.
76796         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
76797         initialize the GOT register before use.
76799         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
76800         calculation of ARGC > 4.
76802         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
76803         meaningful names to some local labels.
76805 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
76806             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
76808         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
76809         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
76810         (__arch_compare_and_exchange_val_16_acq): Likewise.
76811         (__arch_compare_and_exchange_val_32_acq): Likewise.
76812         (atomic_exchange_and_add): Fix gUSA sequence.
76813         (atomic_add): Likewise.
76814         (atomic_add_negative): Likewise.
76815         (atomic_add_zero): Likewise.
76816         (atomic_bit_test_set): Likewise.
76818 2012-06-22  Andreas Schwab  <schwab@redhat.com>
76820         [BZ #13579]
76821         * include/link.h (struct link_map): Add l_free_initfini.
76822         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
76823         l_initfini.
76824         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
76825         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
76826         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
76827         set.
76829 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
76831         * configure.in: Use AC_LANG_SOURCE.
76832         * configure: Regenerate.
76834 2012-06-22  Roland McGrath  <roland@hack.frob.com>
76836         * configure.in (libc_cv_localstatedir): New substituted variable.
76837         * configure: Regenerated.
76838         * config.make.in (localstatedir): New variable, substituted from
76839         libc_cv_localstatedir.
76840         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
76841         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
76842         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
76843         * sysdeps/gnu/configure: Regenerated.
76845 2012-06-21  Jeff Law  <law@redhat.com>
76847         [BZ #14277]
76848         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
76849         free.  Simplify list management for _LIBC case.
76851 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
76853         [BZ #14273]
76854         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
76855         Clear sign bit of 64-bit integer value before comparing against
76856         overflow value.
76858         * sysdeps/mach/configure: Regenerated.
76860 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
76862         [BZ #14278]
76863         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
76865 2012-06-21  Jeff Law  <law@redhat.com>
76867         [BZ #13882]
76868         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
76869         uint16_t for elements in the "seen" array to avoid char overflows.
76870         * elf/dl-fini.c (_dl_sort_fini): Likewise.
76871         * elf/dl-open.c (dl_open_worker): Likewise.
76873 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
76875         * scripts/list-sources.sh: Scan PORTS for translations.
76876         * po/libc.pot: Regenerated.
76878 2012-06-21  Andreas Jaeger  <aj@suse.de>
76880         [BZ #12194]
76881         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
76882         warning.
76883         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
76884         * bits/byteswap-16.h (__bswap_16): Likewise.
76885         * bits/byteswap.h (__bswap_constant_16): Likewise.
76887 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
76889         [BZ #14117]
76890         * sysdeps/i386/fpu_control.h: Removed.
76891         * sysdeps/x86_64/fpu_control.h: Moved to ...
76892         * sysdeps/x86/fpu_control.h: Here.
76894         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
76895         (_FPU_SETCW): Likewise.
76897 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
76899         [BZ #14117]
76900         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
76901         * sysdeps/x86/fpu/bits/mathinline.h: This.
76902         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
76904         [BZ #14050]
76905         [BZ #14117]
76906         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
76907         functions if __x86_64__ is defined.
76909 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
76911         * string/endian.h: Add !__ASSEMBLER__ condition for including
76912         conversion interfaces.
76914 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
76916         [BZ #14241]
76917         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
76918         of ABS(x) in calculating zero to negative powers other than odd
76919         integers.
76920         * math/libm-test.inc (pow_test): Add more tests.
76922 2012-06-15  Andreas Jaeger  <aj@suse.de>
76924         * manual/contrib.texi (Contributors): Update entry of Liubov
76925         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
76926         Machado Filho.
76928 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
76930         * string/string.h: Add __wur to GNU version of strerror_r.
76932 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
76934         [BZ #14229]
76935         * string/Makefile (tests): Add tst-strtok_r.
76936         * string/tst-strtok_r.c: New file.
76937         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
76938         RAX_LP/RDX_LP on SAVE_PTR.
76940 2012-06-14  Roland McGrath  <roland@hack.frob.com>
76942         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
76944 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
76946         * libm_test.inc (csqrt_test): Allow more spurious underflow
76947         exceptions.
76948         (j0_test): Likewise.
76949         (j1_test): Likewise.
76950         (y0_test): Likewise.
76951         (y1_test): Likewise.
76953 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
76955         * po/Makefile (libc.pot): Use UTF-8 charset.
76957 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
76959         [BZ #14210]
76960         Suppress sign-conversion warning from FD_SET.
76961         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
76962         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
76963         not unsigned long int.
76964         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
76966 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
76968         [BZ #14050]
76969         [BZ #14117]
76970         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
76971         __extern_always_inline instead of __extern_inline.
76972         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
76973         (__signbit): Likewise.
76974         (__signbitl): Support C++ namespace.
76975         (lrintf): New inline function.
76976         (lrint): Likewise.
76977         (llrintf): Likewise.
76978         (llrint): Likewise.
76979         (fmaxf): Likewise.
76980         (fmax): Likewise.
76981         (fminf): Likewise.
76982         (fmin): Likewise.
76983         (rint): Likewise.
76984         (rintf): Likewise.
76985         (ceil): Likewise.
76986         (ceilf): Likewise.
76987         (floor): Likewise.
76988         (floorf): Likewise.
76989         (nearbyint): Likewise.
76990         (nearbyintf): Likewise.
76992 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
76994         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
76995         non-default versions.
76997 2012-06-11  Roland McGrath  <roland@hack.frob.com>
76999         [BZ #14218]
77000         * manual/argp.texi (Argp): Reword argp_parse description slightly.
77002 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
77004         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
77005         (FE_UPWARD, FE_DOWNWARD): Don't define.
77006         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
77007         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
77009         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
77010         reading it.
77011         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
77012         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
77014 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
77016         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
77017         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
77018         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
77019         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
77021 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
77023         [BZ #14117]
77024         * sysdeps/i386/fpu/bits/fenv.h: Removed.
77025         * sysdeps/i386/fpu/Implies: New file.
77026         * sysdeps/x86_64/fpu/Implies: Likewise.
77027         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
77028         * sysdeps/x86/fpu/bits/fenv.h: This.
77030         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
77031         __SSE_MATH__.
77033 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
77035         [BZ #14134]
77036         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
77037         character 0xffff that matches the last element of the
77038         conversion table.
77040 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77042         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
77043         fmodl commit.
77045 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77047         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
77048         values higher than 25.6283.
77050 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77052         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
77053         subnormal exponent extraction and add some __builtin_expect.
77054         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
77055         Fix for subnormal mantissa calculation.
77057 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
77059         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
77060         cpu2 is -1 and errno is not ENOSYS.
77062 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
77064         [BZ #14117]
77065         * sysdeps/i386/i486/bits/string.h: Renamed to ...
77066         * sysdeps/x86/bits/string.h: This.
77067         * sysdeps/x86_64/bits/string.h: Removed.
77069         * sysdeps/i386/i486/bits/string.h: Define inline functions only
77070         if not compiling for x86-64, but compiling for >= i486.
77072         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
77073         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
77075         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
77076         New macro from Linux kernel 3.4.0.
77077         (FP_XSTATE_MAGIC2): Likewise.
77078         (FP_XSTATE_MAGIC2_SIZE): Likewise.
77079         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
77080         (struct _fpx_sw_bytes): New struct.
77081         (struct _xsave_hdr): Likewise.
77082         (struct _ymmh_state): Likewise.
77083         (struct _xstate): Likewise.
77085         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
77086         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
77087         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
77088         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
77089         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
77090         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
77092         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
77093         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
77094         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
77095         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
77096         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
77097         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
77099 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
77101         [BZ #13743]
77102         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
77103         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
77104         (sysdep_headers): Include sys/platform/ppc.h.
77105         * sysdeps/powerpc/test-gettimebase.c: Test for
77106         __ppc_get_timebase() to catch future ISA opcode/insn changes.
77107         * manual/Makefile (appendices): Include platform.texi.
77108         * manual/contrib.texi (Contributors): Update @node pointers.
77109         * manual/maint.texi (Maintenance): Likewise.
77110         (Platform): New node.
77111         * manual/platform.texi: New file.  Document the new features.
77113 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
77114             Jakub Jelinek  <jakub@redhat.com>
77116         [BZ #14188]
77117         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
77118         where __builtin_expect is unavailable.
77120 2012-06-03  David S. Miller  <davem@davemloft.net>
77122         * stdlib/longlong.h: Updated from GCC.
77124 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
77126         [BZ #14042]
77127         * sysdeps/powerpc/powerpc32/mcount.c: New file.
77128         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
77129         __mcount_internal.
77130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
77131         (GLIBC_2.16): Likewise.
77133 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
77135         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
77137 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
77139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
77140         (default-abi): New variable.
77141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
77142         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
77143         variable.
77144         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
77145         Likewise.
77146         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
77147         Likewise.
77148         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
77149         Likewise.
77151         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
77152         definition.  Document in comment.
77154 2012-06-01  David S. Miller  <davem@davemloft.net>
77156         * stdlib/longlong.h: Updated from GCC.
77158 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
77160         [BZ #14117]
77161         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
77162         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
77163         sys/debugreg.h sys/io.h here.
77164         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
77165         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
77166         sys/io.h.
77167         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
77168         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
77169         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
77170         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
77171         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
77172         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
77174         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
77175         Define only if __x86_64__ is defined.
77177 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
77179         [BZ #14048]
77180         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
77181         Use int64_t for variable i.
77182         * math/libm-test.inc (fmod_test): Add more tests.
77184         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
77185         z computation is not scheduled after fetestexcept.
77186         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
77187         Use math_force_eval instead of asm to ensure calculation scheduled
77188         before exception test.
77189         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
77190         Ensure a1 + u.d computation is not scheduled after fetestexcept.
77192 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
77194         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
77195         computation is not scheduled after fetestexcept.
77197 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
77199         [BZ #14117]
77200         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
77201         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
77203 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77205         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
77206         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
77208 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
77210         [BZ #14117]
77211         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
77212         <bits/wordsize.h>.
77213         (__WCHAR_MIN): Support __WORDSIZE == 64.
77214         (__WCHAR_MAX): Likewise.
77216         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
77217         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
77219         [BZ #14183]
77220         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
77221         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
77223         [BZ #14117]
77224         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
77225         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
77227         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
77228         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
77230         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
77231         Defined to 1 if __x86_64__ isn't defined.
77232         (_STAT_VER_LINUX_OLD): New.
77233         (st_atime): Remove duplicate.
77234         (st_mtime): Likewise.
77235         (st_ctime): Likewise.
77237 2012-05-31  David S. Miller  <davem@davemloft.net>
77239         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
77240         entries.
77242 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
77244         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
77245         gen-libm-test.pl.
77247         [BZ #14132]
77248         * elf/dl-reloc.c: Include <_itoa.h>.
77249         (_dl_reloc_bad_type): Remove use of INTUSE.
77250         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
77251         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
77252         * stdio-common/psiginfo.c (psiginfo): Likewise.
77253         * stdio-common/psignal.c (psignal): Likewise.
77254         * string/strsignal.c (strsignal): Likewise.
77255         * include/signal.h (_sys_siglist): Declare hidden proto.
77256         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
77257         INTVARDEF with libc_hidden_data_def.
77258         * stdio-common/itoa-udigits.c: Likewise.
77259         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
77260         (_itoa_lower_digits_internal): Remove declaration.
77261         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
77262         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
77263         (_sys_sigabbrev_internal): Remove aliases.
77264         (_sys_siglist): Define hidden alias.
77266 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
77268         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77269         bits/sysctl.h.
77271 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
77273         [BZ #14117]
77274         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
77275         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
77277         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
77278         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
77279         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
77280         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
77281         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
77282         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
77284         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
77285         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
77286         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
77288         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
77289         with __addr.
77290         (insw): Likewise.
77291         (insl): Likewise.
77292         (outsb): Likewise.
77293         (outsw): Likewise.
77294         (outsl): Likewise.
77296         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
77297         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
77298         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
77300         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
77301         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
77302         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
77303         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
77304         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
77305         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
77307         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
77308         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
77310         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
77311         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
77313         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
77314         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
77315         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
77317         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
77318         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
77319         to ...
77320         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
77322         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
77323         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
77324         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
77326         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
77327         for x86-64.
77328         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
77330 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
77332         * math/math.h (M_El): Use two more decimal places.
77333         (M_LOG2El): Likewise.
77334         (M_LOG10El): Likewise.
77335         (M_LN2l): Likewise.
77336         (M_LN10l): Likewise.
77337         (M_PIl): Likewise.
77338         (M_PI_2l): Likewise.
77339         (M_PI_4l): Likewise.
77340         (M_1_PIl): Likewise.
77341         (M_2_PIl): Likewise.
77342         (M_2_SQRTPIl): Likewise.
77343         (M_SQRT2l): Likewise.
77344         (M_SQRT1_2l): Likewise.
77346 2012-05-31  David S. Miller  <davem@davemloft.net>
77348         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
77349         values between float registers.
77350         * sysdeps/sparc/sparc64/memset.S: Likewise.
77351         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
77353 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
77355         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
77356         -D_FORTIFY_SOURCE=1.
77357         (CPPFLAGS-tst-longjmp_chk.c): Define.
77358         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
77359         (CPPFLAGS-tst-longjmp_chk2.c): Define.
77360         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
77361         CFLAGS-tst-wchar-h.c.
77363 2012-05-31  Marek Polacek  <polacek@redhat.com>
77365         [BZ #14132]
77366         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
77367         __endmntent_internal): Remove declaration.
77368         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
77369         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
77370         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
77372 2012-05-30  David S. Miller  <davem@davemloft.net>
77374         * sysdeps/sparc/sparc32/soft-fp/q_util.c
77375         (___Q_simulate_exceptions): Use real FP ops rather than writing
77376         into the %fsr.
77377         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
77378         Likewise.
77380 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
77382         [BZ #14117]
77383         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
77384         * sysdeps/x86/bits/xtitypes.h: This.
77386         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
77387         * sysdeps/x86/bits/wordsize.h: This.
77389         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
77390         * sysdeps/x86/bits/huge_vall.h: This.
77392         * sysdeps/i386/bits/select.h: Removed.
77393         * sysdeps/x86_64/bits/select.h: Renamed to ...
77394         * sysdeps/x86/bits/select.h: This.
77396         * sysdeps/i386/bits/setjmp.h: Removed.
77397         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
77398         * sysdeps/x86/bits/setjmp.h: This.
77400         * sysdeps/i386/bits/mathdef.h: Removed.
77401         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
77402         * sysdeps/x86/bits/mathdef.h: This.
77404 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
77406         [BZ #14132]
77407         * include/sys/socket.h (__connect_internal)
77408         (__libc_sa_len_internal): Remove declaration.
77409         (__connect, __libc_sa_len): Declare hidden_proto.
77410         (SA_LEN): Remove use of INTUSE.
77411         * socket/connect.c: Add libc_hidden_def.
77412         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
77413         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
77414         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
77415         alias.
77416         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
77417         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
77418         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
77419         of adding _internal alias.
77421 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
77423         [BZ #14117]
77424         * sysdeps/i386/bits/link.h: Removed.
77425         * sysdeps/i386/bits/linkmap.h: Likewise.
77426         * sysdeps/x86_64/bits/link.h: Renamed to ...
77427         * sysdeps/x86/bits/link.h: This.
77428         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
77429         * sysdeps/x86/bits/linkmap.h: This.
77431         * sysdeps/i386/bits/endian.h: Removed.
77432         * sysdeps/x86_64/bits/endian.h: Renamed to ...
77433         * sysdeps/x86/bits/endian.h: This.
77435         * sysdeps/i386/bits/byteswap.h: Removed.
77436         * sysdeps/i386/bits/byteswap-16.h: Likewise.
77437         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
77438         * sysdeps/x86/bits/byteswap.h: This.
77439         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
77440         * sysdeps/x86/bits/byteswap-16.h: This.
77441         * sysdeps/i386/Implies: Add x86.
77442         * sysdeps/x86_64/Implies: Likewise.
77444 2012-05-30  David S. Miller  <davem@davemloft.net>
77446         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
77447         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
77448         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
77449         (FP_TRAPPING_EXCEPTIONS): Define.
77450         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
77451         (FP_TRAPPING_EXCEPTIONS): Define.
77452         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
77453         subnormals only when inexact has been signalled or underflow
77454         exceptions are enabled.
77455         (_FP_PACK_CANONICAL): Likewise.
77457 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
77459         [BZ #14183]
77460         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
77461         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
77463 2012-05-30  Richard Henderson  <rth@twiddle.net>
77465         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
77466         with #ifndef NOT_IN_libc.
77468         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
77469         marked to avoid plt entry.
77471 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
77473         [BZ #14112]
77474         * Makeconfig (default-abi): New macro.
77475         (abi-includes): Likewise.
77476         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
77477         $(abi-$(default-abi)-lib-soname) for soname if defined.
77478         ($(common-objpfx)gnu/lib-names.stmp): Generate from
77479         abi-variants.
77480         * Makefile (installed-stubs): Likewise.
77481         * include/stubs-biarch.h: Removed.
77482         * scripts/lib-names.awk: Only handle one library at a time.
77483         * scripts/soversions.awk: Remove WORDSIZE support.
77484         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
77485         entries.
77486         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
77487         Removed.
77488         (syscall-list-default-condition): Likewise.
77489         (syscall-list-default-condition): Likewise.
77490         (syscall-list-includes): Likewise.
77491         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
77492         syscall-list-* with abi-*.  Handle undefined abi-variants.
77493         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
77494         * sysdeps/unix/sysv/linux/i386/Implies: New file.
77495         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
77496         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
77497         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
77498         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
77499         Removed.
77500         (syscall-list-32-options): Likewise.
77501         (syscall-list-32-condition): Likewise.
77502         (syscall-list-64-options): Likewise.
77503         (syscall-list-64-condition): Likewise.
77504         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
77505         macro.
77506         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
77507         Renamed to ...
77508         (abi-*): This.
77509         (abi-64-ld-soname): New macro.
77510         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
77511         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
77512         Renamed to ...
77513         (abi-*): This.
77514         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
77515         * sysdeps/x86_64/x32/shlib-versions: Likewise.
77517 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
77519         * sysdeps/unix/sysv/linux/kernel-features.h
77520         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
77521         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
77522         include <kernel-features.h>.
77523         [!__NR_ftruncate64]: Remove conditional code.
77524         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
77525         [__NR_ftruncate64]: Make code unconditional.
77526         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
77527         * sysdeps/unix/sysv/linux/truncate64.c: Do not
77528         include <kernel-features.h>.
77529         [!__NR_ftruncate64]: Remove conditional code.
77530         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
77531         [__NR_ftruncate64]: Make code unconditional.
77532         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
77533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
77534         include <kernel-features.h>.
77535         [!__NR_ftruncate64]: Remove conditional code.
77536         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
77537         [__NR_ftruncate64]: Make code unconditional.
77538         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
77539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
77540         include <kernel-features.h>.
77541         [!__NR_ftruncate64]: Remove conditional code.
77542         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
77543         [__NR_ftruncate64]: Make code unconditional.
77544         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
77546         * configure.in (libc_cv_fpie): Weaken to a compile test using
77547         LIBC_TRY_CC_OPTION.
77548         * configure: Regenerated.
77550 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77552         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
77553         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
77554         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
77555         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
77556         Refreshed.
77557         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
77558         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
77559         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
77560         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
77561         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
77562         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
77563         Refreshed.
77565 2012-05-27  David S. Miller  <davem@davemloft.net>
77567         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
77568         (___Q_zero): New.
77569         (__Q_simulate_exceptions): Return void.  Change to simulate
77570         exceptions by writing into the %fsr.
77571         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
77572         (__Qp_handle_exceptions): Likewise.
77573         (numbers): Delete.
77574         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
77575         __Qp_handle_exceptions.
77576         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
77577         __Qp_handle_exceptions.
77578         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
77579         as unused and give dummy FP_RND_NEAREST initializer.
77580         (FP_INHIBIT_RESULTS): Define.
77581         (___Q_simulate_exceptions): Update declaration.
77582         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
77583         formatting.
77584         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
77585         as unused and give dummy FP_RND_NEAREST initializer.
77586         (__Qp_handle_exceptions): Update declaration.
77587         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
77588         formatting.
77590 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
77592         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
77593         the temporary FPU control word.
77594         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
77595         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
77596         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
77597         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
77598         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
77599         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
77600         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
77601         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
77602         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
77603         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
77604         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
77606 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
77608         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
77609         fields.
77611 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
77613         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
77614         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
77615         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
77616         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
77617         Likewise.
77618         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
77619         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
77620         Likewise.
77622 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
77624         * po/h.po: Update from translation team.
77626 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
77628         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
77630         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
77631         handling of denormals.
77632         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
77633         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
77634         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
77635         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
77636         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
77637         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
77638         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
77639         Likewise.
77641 2012-05-26  Marek Polacek  <polacek@redhat.com>
77643         [BZ #14152]
77644         * math/libm-test.inc (fma_test): Don't always expect underflow
77645         exception.
77647 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
77649         [BZ #12416]
77650         * elf/tst-execstack.c: Include stackinfo.h.
77651         (do_test): Adjust test case to ensure that pthread_getattr_np
77652         behaviour remains the same after marking stack executable.
77654 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
77656         * sysdeps/unix/sysv/linux/kernel-features.h
77657         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
77658         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
77659         kernel-features.h.
77660         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
77661         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
77662         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
77663         kernel-features.h.
77664         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
77665         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
77667 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
77669         * configure.in: Define the default includes to being none.
77670         * configure: Regenerated.
77672 2012-05-25  Roland McGrath  <roland@hack.frob.com>
77674         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
77675         * sysdeps/x86_64/setjmp.S: Likewise.
77676         * sysdeps/i386/bsd-setjmp.S: Likewise.
77677         * sysdeps/i386/bsd-_setjmp.S: Likewise.
77678         * sysdeps/i386/setjmp.S: Likewise.
77679         * sysdeps/i386/__longjmp.S: Likewise.
77680         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
77681         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
77683         * include/stap-probe.h: New file.
77684         * configure.in: Handle --enable-systemtap.
77685         * configure: Regenerated.
77686         * config.h.in (USE_STAP_PROBE): New #undef.
77687         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
77688         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
77689         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
77691 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
77693         [BZ #13717]
77694         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
77695         to 2.4.0 where earlier.
77696         * sysdeps/unix/sysv/linux/configure: Regenerated.
77697         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
77698         <kernel-features.h>.
77699         [__ASSUME_32BITUIDS]: Make code unconditional.
77700         [!__ASSUME_32BITUIDS]: Remove conditional code.
77701         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
77702         <kernel-features.h>.
77703         [__ASSUME_32BITUIDS]: Make code unconditional.
77704         [!__ASSUME_32BITUIDS]: Remove conditional code.
77705         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
77706         [__ASSUME_32BITUIDS]: Make code unconditional.
77707         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
77708         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
77709         <kernel-features.h>.
77710         [__ASSUME_32BITUIDS]: Make code unconditional.
77711         [!__ASSUME_32BITUIDS]: Remove conditional code.
77712         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
77713         <kernel-features.h>.
77714         [__ASSUME_32BITUIDS]: Make code unconditional.
77715         [!__ASSUME_32BITUIDS]: Remove conditional code.
77716         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
77717         <kernel-features.h>.
77718         [__ASSUME_32BITUIDS]: Make code unconditional.
77719         [!__ASSUME_32BITUIDS]: Remove conditional code.
77720         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
77721         <kernel-features.h>.
77722         [__ASSUME_32BITUIDS]: Make code unconditional.
77723         [!__ASSUME_32BITUIDS]: Remove conditional code.
77724         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
77725         <kernel-features.h>.
77726         [__ASSUME_32BITUIDS]: Make code unconditional.
77727         [!__ASSUME_32BITUIDS]: Remove conditional code.
77728         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
77729         <kernel-features.h>.
77730         [__ASSUME_32BITUIDS]: Make code unconditional.
77731         [!__ASSUME_32BITUIDS]: Remove conditional code.
77732         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
77733         <kernel-features.h>.
77734         [__ASSUME_32BITUIDS]: Make code unconditional.
77735         [!__ASSUME_32BITUIDS]: Remove conditional code.
77736         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
77737         <kernel-features.h>.
77738         [__ASSUME_32BITUIDS]: Make code unconditional.
77739         [!__ASSUME_32BITUIDS]: Remove conditional code.
77740         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
77741         <kernel-features.h>.
77742         [__ASSUME_32BITUIDS]: Make code unconditional.
77743         [!__ASSUME_32BITUIDS]: Remove conditional code.
77744         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
77745         <kernel-features.h>.
77746         [__ASSUME_32BITUIDS]: Make code unconditional.
77747         [!__ASSUME_32BITUIDS]: Remove conditional code.
77748         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
77749         <kernel-features.h>.
77750         [__NR_setresgid] (__setresgid): Do not declare.
77751         [__ASSUME_32BITUIDS]: Make code unconditional.
77752         [!__ASSUME_32BITUIDS]: Remove conditional code.
77753         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
77754         <kernel-features.h>.
77755         [__NR_setresuid] (__setresuid): Do not declare.
77756         [__ASSUME_32BITUIDS]: Make code unconditional.
77757         [!__ASSUME_32BITUIDS]: Remove conditional code.
77758         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
77759         <kernel-features.h>.
77760         [__ASSUME_32BITUIDS]: Make code unconditional.
77761         [!__ASSUME_32BITUIDS]: Remove conditional code.
77762         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
77763         <kernel-features.h>.
77764         [__ASSUME_32BITUIDS]: Make code unconditional.
77765         [!__ASSUME_32BITUIDS]: Remove conditional code.
77766         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
77767         <kernel-features.h>.
77768         [__ASSUME_32BITUIDS]: Make code unconditional.
77769         [!__ASSUME_32BITUIDS]: Remove conditional code.
77770         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
77771         <kernel-features.h>.
77772         [__ASSUME_32BITUIDS]: Make code unconditional.
77773         [!__ASSUME_32BITUIDS]: Remove conditional code.
77774         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
77775         <kernel-features.h>.
77776         [__ASSUME_32BITUIDS]: Make code unconditional.
77777         [!__ASSUME_32BITUIDS]: Remove conditional code.
77778         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
77779         <kernel-features.h>.
77780         [__ASSUME_32BITUIDS]: Make code unconditional.
77781         [!__ASSUME_32BITUIDS]: Remove conditional code.
77782         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
77783         <kernel-features.h>.
77784         [__ASSUME_32BITUIDS]: Make code unconditional.
77785         [!__ASSUME_32BITUIDS]: Remove conditional code.
77786         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
77787         <kernel-features.h>.
77788         [__ASSUME_32BITUIDS]: Make code unconditional.
77789         [!__ASSUME_32BITUIDS]: Remove conditional code.
77790         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
77791         <kernel-features.h>.
77792         [__ASSUME_32BITUIDS]: Make code unconditional.
77793         [!__ASSUME_32BITUIDS]: Remove conditional code.
77794         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
77795         <kernel-features.h>.
77796         [__ASSUME_32BITUIDS]: Make code unconditional.
77797         [!__ASSUME_32BITUIDS]: Remove conditional code.
77798         * sysdeps/unix/sysv/linux/kernel-features.h
77799         (__ASSUME_SETRESUID_SYSCALL): Remove.
77800         (__ASSUME_SETRESGID_SYSCALL): Likewise.
77801         (__ASSUME_32BITUIDS): Likewise.
77802         (__ASSUME_LDT_WORKS): Likewise.
77803         (__ASSUME_O_DIRECTORY): Likewise.
77804         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
77805         architecture but not kernel version.
77806         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
77807         (__ASSUME_MMAP2_SYSCALL): Likewise.
77808         (__ASSUME_STAT64_SYSCALL): Likewise.
77809         (__ASSUME_IPC64): Likewise.
77810         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
77811         <kernel-features.h>.
77812         [__ASSUME_32BITUIDS]: Make code unconditional.
77813         [!__ASSUME_32BITUIDS]: Remove conditional code.
77814         * sysdeps/unix/sysv/linux/opendir.c: Do not include
77815         <kernel-features.h>.
77816         [__ASSUME_O_DIRECTORY]: Make code unconditional.
77817         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
77818         132096]: Remove conditional code.
77819         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
77820         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
77821         <kernel-features.h>.
77822         [__ASSUME_32BITUIDS]: Make code unconditional.
77823         [!__ASSUME_32BITUIDS]: Remove conditional code.
77824         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
77825         <kernel-features.h>.
77826         [__ASSUME_32BITUIDS]: Make code unconditional.
77827         [!__ASSUME_32BITUIDS]: Remove conditional code.
77828         * sysdeps/unix/sysv/linux/setegid.c: Do not include
77829         <kernel-features.h>.
77830         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
77831         unconditional.
77832         (__setresgid): Do not declare.
77833         [__ASSUME_32BITUIDS]: Make code unconditional.
77834         [!__ASSUME_32BITUIDS]: Remove conditional code.
77835         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
77836         <kernel-features.h>.
77837         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
77838         unconditional.
77839         (__setresuid): Do not declare.
77840         [__ASSUME_32BITUIDS]: Make code unconditional.
77841         [!__ASSUME_32BITUIDS]: Remove conditional code.
77842         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
77843         <kernel-features.h>.
77844         [__ASSUME_32BITUIDS]: Make code unconditional.
77845         [!__ASSUME_32BITUIDS]: Remove conditional code.
77846         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
77847         <kernel-features.h>.
77848         [__ASSUME_32BITUIDS]: Make code unconditional.
77849         [!__ASSUME_32BITUIDS]: Remove conditional code.
77851 2012-05-25  Richard Henderson  <rth@twiddle.net>
77853         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
77854         dl_hwcap to ifunc resolver.
77855         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
77856         elf_ifunc_invoke.
77857         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
77858         dl_hwcap to ifunc resolver.
77859         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
77861 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
77863         [BZ #14153]
77864         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
77865         for |x| <= 2**-26, not 2**-57.
77866         * math/libm-test.inc (acos_test): Do not allow spurious underflow
77867         exception.
77869 2012-05-24  Jeff Law  <law@redhat.com>
77871         * stdio-common/Makefile (tests): Add bug25.
77872         * stdio-common/bug25.c: New test.
77874 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
77876         [BZ #13576]
77877         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
77878         multiple of MALLOC_ALIGNMENT in size.
77879         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
77881 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
77883         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
77884         Require >= 256.
77885         (FILENAME_MAX): Use macro-int-constant.
77886         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
77887         (_IOFBF): Use macro-int-constant.
77888         (_IOLBF): Likewise.
77889         (_IONBF): Likewise.
77890         (SEEK_CUR): Likewise.
77891         (SEEK_END): Likewise.
77892         (SEEK_SET): Likewise.
77893         (TMP_MAX): Likewise.
77894         (EOF): Use macro-int-constant.  Require < 0.
77895         (NULL): Use macro-constant.  Require == 0.
77896         (stdin): Require type to be FILE *.
77897         (stdout): Likewise.
77898         (stderr): Likewise.
77899         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
77900         macro-int-constant.
77901         (EXIT_SUCCESS): Likewise.
77902         (NULL): Use macro-constant.  Require == 0.
77903         (RAND_MAX): Use macro-int-constant.
77904         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
77905         [C99-based standards] (strtof): Require function.
77906         [C99-based standards] (strtold): Likewise.
77907         [C99-based standards] (strtoll): Likewise.
77908         [C99-based standards] (strtoull): Likewise.
77909         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
77910         [ISO || ISO99 || ISO11] (limits.h): Likewise.
77911         [ISO || ISO99 || ISO11] (math.h): Likewise.
77912         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
77913         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
77914         [ISO || ISO99 || ISO11] (*_t): Do not allow.
77916 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
77918         [BZ #14132]
77919         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
77920         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
77921         * intl/dgettext.c (DCGETTEXT): Likewise.
77922         * intl/gettext.c (DCGETTEXT): Likewise.
77923         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
77924         * posix/regex_internal.h (gettext): Likewise.
77925         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
77926         Remove declaration.
77927         * include/argz.h (__argz_count_internal)
77928         (__argz_stringify_internal): Remove declaration.
77929         (__argz_count, __argz_stringify): Declare hidden proto.
77930         * intl/dcgettext.c: Remove use of INTDEF.
77931         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
77932         * string/argz-stringify.c: Likewise.
77933         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
77934         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
77935         Declare hidden proto.
77936         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
77937         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
77938         Declare hidden proto.
77939         * include/stdio.h (__asprintf_internal): Don't declare.
77940         (__asprintf): Don't define as macro.  Declare hidden proto.
77941         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
77942         (__fsetlocking): Declare hidden proto.
77943         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
77944         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
77945         hidden proto.
77946         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
77947         (_IO_setlinebuf): Remove use of INTUSE.
77948         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
77949         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
77950         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
77951         Remove declaration.
77952         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
77953         (_IO_do_flush): Remove use of INTUSE.
77954         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
77955         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
77956         (_IO_adjust_column, _IO_least_wmarker)
77957         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
77958         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
77959         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
77960         (_IO_default_doallocate, _IO_wdefault_doallocate)
77961         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
77962         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
77963         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
77964         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
77965         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
77966         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
77967         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
77968         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
77969         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
77970         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
77971         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
77972         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
77973         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
77974         proto.
77975         (_IO_flush_all_internal, _IO_adjust_column_internal)
77976         (_IO_default_uflow_internal, _IO_default_finish_internal)
77977         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
77978         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
77979         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
77980         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
77981         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
77982         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
77983         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
77984         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
77985         (_IO_file_close_internal, _IO_file_close_it_internal)
77986         (_IO_file_underflow_internal, _IO_file_overflow_internal)
77987         (_IO_file_init_internal, _IO_file_attach_internal)
77988         (_IO_file_fopen_internal, _IO_file_read_internal)
77989         (_IO_file_sync_internal, _IO_file_seek_internal)
77990         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
77991         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
77992         (_IO_str_underflow_internal, _IO_str_overflow_internal)
77993         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
77994         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
77995         (_IO_list_all_internal, _IO_link_in_internal)
77996         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
77997         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
77998         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
77999         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
78000         (_IO_do_write_internal, _IO_padn_internal)
78001         (_IO_getline_info_internal, _IO_getline_internal)
78002         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
78003         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
78004         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
78005         (_IO_vfscanf_internal, _IO_vfprintf_internal)
78006         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
78007         (_IO_init_internal, _IO_un_link_internal): Don't declare.
78008         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
78009         with libc_hidden_ver, remove use of INTUSE.
78010         * libio/genops.c: Likewise.
78011         * libio/freopen.c: Likewise.
78012         * libio/freopen64.c: Likewise.
78013         * libio/iofclose.c: Likewise.
78014         * libio/iofdopen.c: Likewise.
78015         * libio/iofflush.c: Likewise.
78016         * libio/iofflush_u.c: Likewise.
78017         * libio/iofgets.c: Likewise.
78018         * libio/iofgets_u.c: Likewise.
78019         * libio/iofopen.c: Likewise.
78020         * libio/iofopncook.c: Likewise.
78021         * libio/iofread.c: Likewise.
78022         * libio/iofread_u.c: Likewise.
78023         * libio/ioftell.c: Likewise.
78024         * libio/iofwrite.c: Likewise.
78025         * libio/iogetline.c: Likewise.
78026         * libio/iogets.c: Likewise.
78027         * libio/iogetwline.c: Likewise.
78028         * libio/iopadn.c: Likewise.
78029         * libio/iopopen.c: Likewise.
78030         * libio/ioseekoff.c: Likewise.
78031         * libio/ioseekpos.c: Likewise.
78032         * libio/iosetbuffer.c: Likewise.
78033         * libio/iosetvbuf.c: Likewise.
78034         * libio/ioungetc.c: Likewise.
78035         * libio/ioungetwc.c: Likewise.
78036         * libio/iovdprintf.c: Likewise.
78037         * libio/iovsprintf.c: Likewise.
78038         * libio/iovsscanf.c: Likewise.
78039         * libio/memstream.c: Likewise.
78040         * libio/obprintf.c: Likewise.
78041         * libio/oldfileops.c: Likewise.
78042         * libio/oldiofclose.c: Likewise.
78043         * libio/oldiofdopen.c: Likewise.
78044         * libio/oldiofopen.c: Likewise.
78045         * libio/oldiopopen.c: Likewise.
78046         * libio/oldstdfiles.c: Likewise.
78047         * libio/putc.c: Likewise.
78048         * libio/setbuf.c: Likewise.
78049         * libio/setlinebuf.c: Likewise.
78050         * libio/stdfiles.c: Likewise.
78051         * libio/strops.c: Likewise.
78052         * libio/vasprintf.c: Likewise.
78053         * libio/vscanf.c: Likewise.
78054         * libio/vsnprintf.c: Likewise.
78055         * libio/vswprintf.c: Likewise.
78056         * libio/wfiledoalloc.c: Likewise.
78057         * libio/wfileops.c: Likewise.
78058         * libio/wgenops.c: Likewise.
78059         * libio/wmemstream.c: Likewise.
78060         * libio/wstrops.c: Likewise.
78061         * libio/__fpurge.c: Likewise.
78062         * libio/__fsetlocking.c: Likewise.
78063         * assert/assert.c: Likewise.
78064         * debug/fgets_chk.c: Likewise.
78065         * debug/fgets_u_chk.c: Likewise.
78066         * debug/fread_chk.c: Likewise.
78067         * debug/fread_u_chk.c: Likewise.
78068         * debug/gets_chk.c: Likewise.
78069         * debug/obprintf_chk.c: Likewise.
78070         * debug/vasprintf_chk.c: Likewise.
78071         * debug/vdprintf_chk.c: Likewise.
78072         * debug/vsnprintf_chk.c: Likewise.
78073         * debug/vsprintf_chk.c: Likewise.
78074         * malloc/mtrace.c: Likewise.
78075         * misc/error.c: Likewise.
78076         * misc/syslog.c: Likewise.
78077         * stdio-common/asprintf.c: Likewise.
78078         * stdio-common/fxprintf.c: Likewise.
78079         * stdio-common/getw.c: Likewise.
78080         * stdio-common/isoc99_fscanf.c: Likewise.
78081         * stdio-common/isoc99_scanf.c: Likewise.
78082         * stdio-common/isoc99_vfscanf.c: Likewise.
78083         * stdio-common/isoc99_vscanf.c: Likewise.
78084         * stdio-common/isoc99_vsscanf.c: Likewise.
78085         * stdio-common/printf-prs.c: Likewise.
78086         * stdio-common/printf_fp.c: Likewise.
78087         * stdio-common/printf_fphex.c: Likewise.
78088         * stdio-common/printf_size.c: Likewise.
78089         * stdio-common/putw.c: Likewise.
78090         * stdio-common/scanf.c: Likewise.
78091         * stdio-common/sprintf.c: Likewise.
78092         * stdio-common/tmpfile.c: Likewise.
78093         * stdio-common/vfprintf.c: Likewise.
78094         * stdio-common/vfscanf.c: Likewise.
78095         * stdlib/strfmon_l.c: Likewise.
78096         * sunrpc/openchild.c: Likewise.
78097         * sunrpc/xdr_stdio.c: Likewise.
78098         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
78099         * sysdeps/mach/hurd/tmpfile.c: Likewise.
78101 2012-05-24  Roland McGrath  <roland@hack.frob.com>
78103         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
78105         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
78106         in the third column, to generate for the shared library an IFUNC
78107         that uses _dl_vdso_vsym.
78108         * Makerules (COMPILE.c, compile-stdin.c): New variables.
78109         * Makeconfig (object-suffixes-noshared): New variable.
78111         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
78112         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
78113         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
78114         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
78116         [BZ #14132]
78117         * include/sys/time.h (__gettimeofday): Remove macro.
78118         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
78119         * time/gettimeofday.c (__gettimeofday): Remove #undef.
78120         Remove INTDEF.
78121         (__gettimeofday): Add libc_hidden_def.
78122         (gettimeofday): Add libc_hidden_weak.
78123         * sysdeps/mach/gettimeofday.c: Likewise.
78124         * sysdeps/posix/gettimeofday.c: Likewise.
78125         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
78126         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
78127         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
78128         (__gettimeofday_internal): Remove strong_alias.
78129         (__gettimeofday): Add libc_hidden_def.
78130         (gettimeofday): Add libc_hidden_weak.
78131         * sysdeps/unix/syscalls.list (gettimeofday):
78132         Remove __gettimeofday_internal alias.
78134 2012-05-24  Daniel Jacobowitz  <drow@false.org>
78135             H.J. Lu  <hongjiu.lu@intel.com>
78137         [BZ #12495]
78138         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
78139         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
78140         (largebin_index_32_big): New.
78141         (largebin_index): Use it for 16-byte alignment.
78142         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
78143         correction with front_misalign.
78145 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
78147         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
78148         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
78149         Likewise.
78150         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
78151         Likewise.
78152         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
78153         Likewise.
78154         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
78155         Likewise.
78156         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
78157         Likewise.
78158         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
78159         Likewise.
78160         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
78161         Likewise.
78162         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
78163         Likewise.
78164         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
78165         Likewise.
78166         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
78167         Likewise.
78168         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
78169         Likewise.
78170         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
78171         Likewise.
78173         * scripts/data/c++-types-x32-linux-gnu.data: New file.
78174         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
78176 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
78178         [BZ #10846]
78179         [BZ #14036]
78180         * math/libm-test.inc (exp_test): Add test from bug 14036.
78181         (pow_test): Add test from bug 10846.
78183         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
78184         and other flags.
78185         (special_function): Do not include flags in test name.
78186         (parse_args): Likewise.
78187         * sysdeps/i386/fpu/libm-test-ulps: Update.
78188         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
78189         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
78190         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
78191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78193         * math/gen-libm-test.pl (%beautify): Add entries for underflow
78194         exceptions.
78195         * math/libm-test.inc ("Philosophy"): Update comment about
78196         exception testing.
78197         (UNDERFLOW_EXCEPTION): New macro.
78198         (UNDERFLOW_EXCEPTION_OK): Likewise.
78199         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
78200         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
78201         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
78202         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
78203         (INVALID_EXCEPTION_OK): Update value.
78204         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
78205         (OVERFLOW_EXCEPTION_OK): Likewise.
78206         (IGNORE_ZERO_INF_SIGN): Likewise.
78207         (test_exceptions): Handle underflow exceptions.
78208         (acos_test): Update for underflow exception expectations.
78209         (cexp_test): Likewise.
78210         (clog_test): Likewise.
78211         (clog10_test): Likewise.
78212         (csqrt_test): Likewise.
78213         (ctan_test): Likewise.
78214         (ctanh_test): Likewise.
78215         (exp_test): Likewise.
78216         (exp10_test): Likewise.
78217         (exp2_test): Likewise.
78218         (expm1_test): Likewise.
78219         (fma_test): Likewise.
78220         (j0_test): Likewise.
78221         (jn_test): Likewise.
78222         (nexttoward_test): Likewise.
78223         (pow_test): Likewise.
78224         (scalbn_test): Likewise.
78225         (scalbln_test): Likewise.
78226         (tan_test): Likewise.
78227         (y1_test): Likewise.
78228         * sysdeps/i386/fpu/libm-test-ulps: Update.
78229         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78231 2012-05-23  David S. Miller  <davem@davemloft.net>
78233         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
78234         (__libc_sigaction): Remove unused local variables.
78236 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
78238         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
78240 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
78242         mktime: avoid signed integer overflow
78243         * time/mktime.c (__mktime_internal): Do not mishandle the case
78244         where diff == INT_MIN.
78246         mktime: simplify computation of average
78247         * time/mktime.c (ranged_convert): Use new time_t_avg function
78248         instead of rolling our own (probably-slower) code.
78250         mktime: do not assume signed right shift propagates sign bit
78251         * time/mktime.c (isdst_differ): New static function.
78252         (__mktime_internal): No need to normalize tm_isdst now.
78253         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
78254         tm_isdst values.
78256         mktime: merge another wrapv change from gnulib
78257         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
78258         from some compilers.
78260         mktime: remove incorrect attempt at unusual arithmetics
78261         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
78262         The code didn't really work on such machines anyway.
78263         (TYPE_MINIMUM): Assume two's complement.
78264         (twos_complement_arithmetic): Verify that long_int and time_t
78265         are two's complement (or unsigned, in the latter case).
78267         mktime: check signed shifts on long_int and time_t, too
78268         * time/mktime.c (SHR): Check that shifts work as desired
78269         on the types long_int and time_t too, as SHR is used on
78270         such types.
78272         mktime: do not assume 'long' is wide enough
78273         * time/mktime.c (verify): Move decl up.
78274         (long_int): New type.
78275         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
78276         to remove assumption in the code that 'long' is wide enough to
78277         store year values.  This assumption is not true on x32 and on
78278         some non-glibc platforms.
78280         mktime: merge wrapv change from gnulib
78281         * time/mktime.c (WRAPV): New macro.
78282         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
78283         (guess_time_tm, __mktime_internal): Do not assume that signed
78284         integer overflow wraps around; modern compilers generate code
78285         where this assumption is no longer valid.
78287 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
78289         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
78290         Replace "jmp L(pseudo_end)" with "ret".
78291         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
78292         Likewise.
78294 2012-05-23  Andreas Jaeger  <aj@suse.de>
78296         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
78297         * sysdeps/unix/sysv/linux/poll.c: Remove file.
78299 2012-05-23  Andreas Jaeger  <aj@suse.de>
78300             Maximilian Attems  <max@stro.at>
78302         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
78303         New macros.
78305 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
78307         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
78308         code so that pseudo_end is just ret and the stack pointer is
78309         correct also for static library in error case.
78311 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
78313         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
78314         move to syscalls.list.
78315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
78316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
78317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
78318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
78320         * manual/install.texi (Running make install): Do not mention Linux
78321         kernel version for which pt_chown is not needed.
78322         (Linux): Do not mention problems with nscd with 2.0 kernels.
78323         * INSTALL: Regenerated.
78325 2012-05-23  Andreas Jaeger  <aj@suse.de>
78327         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
78328         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
78329         macro.
78330         * sysdeps/unix/sysv/linux/s390/bits/mman.h
78331         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
78332         * sysdeps/unix/sysv/linux/sh/bits/mman.h
78333         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
78334         * sysdeps/unix/sysv/linux/i386/bits/mman.h
78335         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
78336         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
78337         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
78338         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
78339         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
78340         * sysdeps/unix/sysv/linux/bits/in.h
78341         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
78343 2012-05-22  Roland McGrath  <roland@hack.frob.com>
78345         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
78346         (PREPARE_VERSION): Just use assert instead, it will be elided
78347         under [NDEBUG] anyway.
78349 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
78351         * sysdeps/unix/sysv/linux/Makefile: Include
78352         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
78353         (sysdep_routines): Remove sysctl.
78354         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
78355         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
78356         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
78357         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
78358         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
78360 2012-05-22  Andreas Jaeger  <aj@suse.de>
78362         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
78363         that pseudo_end is just ret and the stack pointer is correct also
78364         for static library in error case.
78366 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
78368         [BZ #14122]
78369         * nss/nsswitch.c (defconfig_entries): New variable.
78370         (__nss_database_lookup): Don't leak defconfig entries.
78371         (nss_parse_service_list): Don't leak on error paths.
78372         (free_database_entries): New function.
78373         (free_defconfig): New function.
78374         (free_mem): Move common code to free_database_entries.
78376 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
78378         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
78379         Add arch_prctl.
78380         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
78382         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
78383         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
78384         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
78385         New macro.
78386         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
78387         (INTERNAL_SYSCALL_TYPES): Likewise.
78388         (LOAD_ARGS_TYPES_[1-6]): Likewise.
78389         (LOAD_REGS_TYPES_[1-6]): Likewise.
78390         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
78391         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
78393 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78395         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
78396         copysignl for GLIBC_2_0.
78397         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
78398         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
78399         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
78400         logbl for GLIBC_2_0.
78401         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
78402         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
78404 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
78406         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
78407         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
78409         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
78410         Use "neg %eax".
78412         * time/mktime.c: Update copyright years.
78414 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
78416         mktime: merge comment-quoting-style change from gnulib
78417         * time/mktime.c: Quote 'like this' in comments.
78418         The GNU coding standards suggest that we no longer quote `like this',
78419         as "`" and "'" are typically rendered asymmetrically nowadays.
78420         The typical gnulib style is to quote 'like this' when quoting
78421         code, and "like this" when quoting English.
78423         * time/mktime.c (compile-command): Add "-I.".
78425         mktime: merge mktime-internal.h change from gnulib
78426         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
78428         mktime: merge time_r change from gnulib
78429         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
78431         mktime: merge DEBUG change from gnulib
78432         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
78433         case system <time.h> has a #define.
78435         mktime: merge <sys/types.h> change from gnulib
78436         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
78437         since <time.t> is now guaranteed to define time_t.
78439         mktime: merge HAVE_CONFIG_H change from gnulib
78440         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
78442 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
78444         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
78445         Use "neg %eax".
78447         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
78448         __rlim_t cast.
78449         (struct rusage): Use anonymous union to pad each field to
78450         __syscall_slong_t.
78452 2012-05-21  David S. Miller  <davem@davemloft.net>
78454         * Makefules (o-iterator): Remove .s cases.
78455         (compile-command.s): Delete.
78456         (COMPILE.s): Delete.
78457         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
78459 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
78461         * configure.in (libc_cv_predef_stack_protector): Only consider
78462         "foobar" and "__stack_chk_fail" lines in libc_undefs.
78463         * configure: Regenerated.
78465 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
78467         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
78468         New macro.  Use R*LP on int and pointer.
78469         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
78470         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
78471         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
78472         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
78474         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
78475         [__WORDSIZE_TIME64_COMPAT32] instead of
78476         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
78477         (struct utmp): Likewise.
78478         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
78479         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
78480         Renamed to ...
78481         (__WORDSIZE_TIME64_COMPAT32): This.
78482         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
78483         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
78484         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
78485         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
78486         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
78487         (__WORDSIZE_TIME64_COMPAT32): New macro.
78489 2012-05-21  Andreas Jaeger  <aj@suse.de>
78491         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
78492         only if [SHARED]. Add prototype for __wcschr_ia32.
78494 2012-05-21  Roland McGrath  <roland@hack.frob.com>
78496         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
78497         of %rbp unmolested in the jmp_buf while mangling the low bits.
78498         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
78499         unmolested high bits of %rbp while demangling the low bits.
78500         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
78502 2012-05-21  Andreas Jaeger  <aj@suse.de>
78504         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
78505         * sunrpc/svc_simple.c: Use it for registerrpc.
78506         * sunrpc/xcrypt.c: Use it for passwd2des.
78508         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
78510 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
78512         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
78513         Don't define if [__SYSCALL_WORDSIZE != 32].
78514         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
78515         New macro.
78517 2012-05-21  Bruno Haible  <bruno@clisp.org>
78518             Andreas Jaeger  <aj@suse.de>
78520         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
78521         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
78522         inptr and inend for must_buffer_ch.
78523         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
78524         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
78525         * stdio-common/Makefile (tests): Remove bug15.
78526         (bug15-ENV): Remove macro.
78527         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
78528         anymore.
78530 2012-05-19  Andreas Jaeger  <aj@suse.de>
78531             Roland McGrath  <roland@hack.frob.com>
78533         * manual/contrib.texi: Completely rewritten. It contains now an
78534         alphabetical list of contributors and their contributions.
78536 2012-05-21  Richard Henderson  <rth@twiddle.net>
78538         * misc/getauxval.c (__getauxval): Use unsigned long int.
78539         * misc/sys/auxv.h: Include <sys/cdefs.h>.
78540         (getauxval): Use unsigned long int.
78542 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
78544         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
78546 2012-05-21  Roland McGrath  <roland@hack.frob.com>
78548         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
78549         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
78550         __alignof__ (long double).
78552 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78554         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78556 2012-05-20  Richard Henderson  <rth@twiddle.net>
78558         * misc/getauxval.c: New file.
78559         * misc/sys/auxv.h: New file.
78560         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
78561         (routines): Add getauxval.
78562         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
78563         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
78564         * elf/dl-sysdep.c (_dl_auxv): Remove.
78565         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
78566         * elf/dl-support.c (_dl_auxv): New variable.
78567         (_dl_aux_init): Initialize it.
78568         * manual/startup.texi (Auxiliary Vector): New node.
78569         * sysdeps/generic/bits/hwcap.h: New file.
78570         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
78571         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
78572         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
78573         * sysdeps/sparc/sysdep.h: ... here.  Include it.
78574         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
78575         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
78576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
78577         Update.
78578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
78579         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
78580         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
78581         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
78582         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
78583         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
78584         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
78585         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
78587 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78589         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78591 2012-05-19  David S. Miller  <davem@davemloft.net>
78593         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78595 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
78597         [BZ #14123]
78598         * math/s_ccosh.c: Include <float.h>
78599         (__ccosh): Avoid internal overflow calculating sinh and cosh
78600         values before multiplying by sin and cos values.
78601         * math/s_ccoshf.c: Likewise.
78602         * math/s_ccoshl.c: Likewise.
78603         * math/s_csin.c: Likewise.
78604         * math/s_csinf.c: Likewise.
78605         * math/s_csinl.c: Likewise.
78606         * math/s_csinh.c: Likewise.
78607         * math/s_csinhf.c: Likewise.
78608         * math/s_csinhl.c: Likewise.
78609         * math/libm-test.inc (ccos_test): Add more tests.
78610         (ccosh_test): Likewise.
78611         (csin_test): Likewise.
78612         (csinh_test): Likewise.
78613         * sysdeps/i386/fpu/libm-test-ulps: Update.
78614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78616 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
78618         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
78619         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
78621         * sysdeps/x86_64/x32/_itoa.h: Add comment.
78623 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
78625         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
78626         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
78627         * sysdeps/powerpc/soft-fp/Versions: Likewise.
78628         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
78629         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
78630         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
78631         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
78632         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
78633         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
78634         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
78635         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
78636         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
78637         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
78638         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
78639         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
78640         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
78641         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
78642         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
78643         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
78644         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
78645         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
78646         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
78647         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
78648         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
78649         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
78650         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
78651         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
78652         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
78653         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
78654         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
78655         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
78657 2012-05-18  Andreas Jaeger  <aj@suse.de>
78659         * csu/.gitignore: Delete.
78661 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
78663         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
78664         (timex): Use __syscall_slong_t.
78666 2012-05-18  Andreas Jaeger  <aj@suse.de>
78667             Carlos O'Donell  <carlos_odonell@mentor.com>
78669         * manual/install.texi (Configuring and compiling): Update
78670         description about files modified in the source directory.
78671         * INSTALL: Regenerated.
78673 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
78675         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
78676         value.  Use "or" to set return value to -1.
78677         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
78678         negate return value.
78680 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
78682         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
78683         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
78684         failure if the compiler has Graphite support disabled.
78685         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
78686         Likewise.
78687         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
78688         (CFLAGS-memmove.c): Likewise.
78689         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
78690         Likewise.
78692 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
78694         * sysdeps/x86_64/x32/_itoa.h: New file.
78696         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
78697         getdents system call only if kernel and user dirents have the
78698         same d_ino and d_off.
78700         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
78701         LLONG_MAX != LONG_MAX.
78702         (_itoa_word): Use _ITOA_WORD_TYPE on value.
78703         (_fitoa_word): Likewise.
78705         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
78706         years.
78707         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
78708         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
78709         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
78711         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
78712         include <bits/wordsize.h>.  Check __x86_64__ instead of
78713         __WORDSIZE.
78714         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
78715         if __x86_64__ is defined.  Use anonymous union on fpstate.
78717         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
78718         anonymous union.
78720 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
78722         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
78723         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
78724         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
78725         Refer to _rtld_local_ro instead of _rtld_global_ro.
78726         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
78727         Likewise.
78728         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
78729         Likewise.
78730         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
78731         Likewise.
78732         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
78733         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
78734         of _rtld_global, and rtld_progname instead of _dl_argv[0].
78736         [BZ #10882]
78737         * sysdeps/powerpc/powerpc32/dl-machine.c
78738         (__elf_machine_runtime_setup) [PROF]: Don't reference
78739         _dl_prof_resolve.
78741 2012-05-18  Andreas Jaeger  <aj@suse.de>
78743         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
78744         function only available for GCCs before 3.4 since GCC 3.4
78745         introduced a builtin.
78746         (lrint): Likewise.
78747         (llrintf): Likewise.
78748         (llrint): Likewise.
78749         (fmaxf): Likewise.
78750         (fmax): Likewise.
78751         (fminf): Likewise.
78752         (fmin): Likewise.
78753         (rint): Likewise.
78754         (rintf): Likewise.
78755         (nearbyint): Likewise.
78756         (nearbyintf): Likewise.
78757         (ceil): Likewise.
78758         (ceilf): Likewise.
78759         (floor): Likewise.
78760         (floorf): Likewise.
78762 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
78764         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
78765         on both fields and cast pointer to __syscall_ulong_t.
78767         * bits/types.h (__fsword_t): New type.
78768         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
78769         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
78770         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
78771         (__FSWORD_T_TYPE): Likewise.
78772         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
78773         (__FSWORD_T_TYPE): Likewise.
78774         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78775         (__FSWORD_T_TYPE): Likewise.
78776         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
78777         (__FSWORD_T_TYPE): Likewise.
78778         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
78779         __SWORD_TYPE with __fsword_t.
78780         (statfs64): Likewise.
78782 2012-05-17  David S. Miller  <davem@davemloft.net>
78784         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
78786 2012-05-17  Andreas Jaeger  <aj@suse.de>
78788         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
78789         warning.
78791 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
78793         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
78795 2012-05-17  Andreas Jaeger  <aj@suse.de>
78797         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
78798         when it is used.
78800 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
78802         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
78804 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
78806         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
78807         * sysdeps/x86_64/tst-mallocalign1.c: New file.
78809 2012-05-17  Andreas Jaeger  <aj@suse.de>
78810             Carlos O'Donell  <carlos_odonell@mentor.com>
78812         [BZ #14059]
78813         * sysdeps/x86_64/multiarch/init-arch.h
78814         (bit_YMM_Usable): Rename to...
78815         (bit_AVX_Usable): ... this.
78816         (bit_FMA4_Usable): New macro.
78817         (bit_XMM_state): New macro.
78818         (bit_YMM_state): New macro.
78819         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
78820         [__ASSEMBLER__] (index_AVX_Usable): ... this.
78821         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
78822         (CPUID_OSXSAVE): New macro.
78823         (CPUID_AVX): New macro.
78824         (CPUID_FMA4): New macro.
78825         (index_YMM_Usable): Rename to...
78826         (index_AVX_Usable): ... this.
78827         (HAS_AVX): Use HAS_ARCH_FEATURE.
78828         (HAS_FMA4): Likewise.
78829         (HAS_YMM_USABLE): Remove.
78830         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78831         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
78832         are present.
78833         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
78834         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
78835         * sysdeps/x86_64/multiarch/Makefile: Likewise.
78836         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
78837         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
78839 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
78841         * math/libm-test.c: Support platforms without multiple rounding modes.
78842         * math/bug-nextafter.c: Support platforms without FP exceptions.
78843         * math/bug-nexttoward.c: Likewise.
78844         * math/test-fenv.c: Likewise.
78845         * math/test-misc.c: Likewise.
78846         * stdlib/bug-getcontext.c: Likewise.
78848 2012-05-17  Andreas Jaeger  <aj@suse.de>
78850         * manual/examples/search.c (critter_cmp): Change signature to
78851         avoid warnings.
78852         * manual/string.texi (Collation Functions): Likewise.
78854 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
78856         * bits/types.h: Fold copyright years.
78857         * bits/typesizes.h: Likewise.
78858         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
78859         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
78860         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
78861         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
78862         * time/time.h: Likewise.
78864 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
78866         [BZ #208]
78867         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
78868         in instead of returning them.  Return void.
78869         (__libc_mallinfo): Accumulate over all arenas.
78870         (__malloc_stats): Adjust for change in int_mallinfo interface.
78872 2012-05-16  Roland McGrath  <roland@hack.frob.com>
78874         [BZ #10375]
78875         * configure.in (NM): Add AC_CHECK_TOOL for it.
78876         (libc_extra_cflags): New substituted variable.
78877         Check for -fstack-protector being used implicitly.
78878         * configure: Regenerated.
78879         * config.make.in (config-extra-cflags): New variable,
78880         gets @libc_extra_cflags@.
78881         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
78883         [BZ #10375]
78884         * configure.in: Check for _FORTIFY_SOURCE being predefined.
78885         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
78886         * configure: Regenerated.
78887         * config.make.in (CPPUNDEFS): New substituted variable.
78888         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
78889         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
78890         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
78892 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
78894         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
78895         (mq_attr): Use __syscall_slong_t.
78897 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
78899         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
78900         Check __x86_64__ instead of __WORDSIZE.
78901         (_STAT_VER_LINUX): Likewise.
78902         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
78903         __syscall_ulong_t and __syscall_slong_t.
78904         (stat64): Likewise.
78906 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
78908         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
78910 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
78912         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
78914 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
78916         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
78917         __syscall_ulong_t.
78919         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
78920         include <bits/wordsize.h>.  Check __x86_64__ instead of
78921         __WORDSIZE.
78922         (greg_t): Use "__extension__ long long int" if __x86_64__ is
78923         defined.
78924         (mcontext_t): Replace "unsigned long" with "unsigned long long".
78926         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
78927         include <bits/wordsize.h>.  Check __x86_64__ instead of
78928         __WORDSIZE.
78929         (user_regs_struct): Use "__extension__ unsigned long long"
78930         instead of "unsigned long" if __x86_64__ is defined.
78931         (user): Likewise.  Pad after pointer field if __ILP32__ is
78932         defined.
78934 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
78936         * configure.in (makeinfo): Require version 4.5 or later.  Allow
78937         versions 5 to 9.
78938         * configure: Regenerated.
78939         * manual/install.texi (texinfo): Increase version requirement to
78940         4.5 or later.
78941         * INSTALL: Regenerated.
78943         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
78945 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
78947         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
78949         * sysdeps/x86_64/x32/ffs.c: New file.
78951         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
78952         __syscall_ulong_t.
78953         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
78954         defined.  Use __syscall_ulong_t.
78955         (shminfo): Use __syscall_ulong_t.
78956         (shm_info): Likewise.
78958         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
78959         __syscall_ulong_t.
78961         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
78962         <bits/wordsize.h>.
78963         (msgqnum_t): Use __syscall_ulong_t.
78964         (msglen_t): Likewise.
78965         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
78966         __syscall_ulong_t.
78968         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
78969         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
78971         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
78973         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
78974         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
78976         * sysvipc/sys/msg.h (msgbuf): Replace long int with
78977         __syscall_slong_t.
78979         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
78980         include <bits/wordsize.h>.  Check __x86_64__ instead of
78981         __WORDSIZE.
78983         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
78984         "unsigned long long int" if __x86_64__ is defined.
78985         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
78987         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
78988         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
78989         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
78991         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
78992         <stdint.h>.
78993         (GET_PC): Cast to uintptr_t first.
78994         (GET_FRAME): Likewise.
78995         (GET_STACK): Likewise.
78997         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
78998         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
78999         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
79000         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
79001         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
79002         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
79003         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
79004         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
79005         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
79006         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
79007         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
79008         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
79009         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
79010         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
79011         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
79012         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
79013         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
79014         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
79015         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
79016         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
79017         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
79018         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
79019         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
79020         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
79021         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
79022         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
79023         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
79024         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
79025         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
79027 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
79029         * Makerules (+depfiles): Also collect depfiles from .oS in
79030         $(extra-objs).
79031         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
79032         .oS, $(libnldbl-routines)).
79034         * Makerules (native-compile-mkdep-flags): Define.
79035         * sunrpc/Makefile (extra-objs): Add $(addprefix
79036         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
79037         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
79038         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
79039         calling $(make-target-directory).
79041 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79043         * bits/types.h (__snseconds_t): Removed.
79044         * time/time.h (struct timespec): Replace __snseconds_t with
79045         __syscall_slong_t.
79046         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
79047         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
79048         Likewise.
79049         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
79050         (__SNSECONDS_T_TYPE): Likewise.
79051         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
79052         (__SNSECONDS_T_TYPE): Likewise.
79053         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
79054         (__SNSECONDS_T_TYPE): Likewise.
79056 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79058         * sysdeps/mach/hurd/bits/typesizes.h
79059         (__SYSCALL_SLONG_TYPE): New macro.
79060         (__SYSCALL_ULONG_TYPE): Likewise.
79062 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79064         * bits/types.h (__syscall_slong_t): New type.
79065         (__syscall_ulong_t): Likewise.
79067         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
79068         (__SYSCALL_ULONG_TYPE): Likewise.
79069         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
79070         (__SYSCALL_SLONG_TYPE): Likewise.
79071         (__SYSCALL_ULONG_TYPE): Likewise.
79072         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
79073         (__SYSCALL_SLONG_TYPE): Likewise.
79074         (__SYSCALL_ULONG_TYPE): Likewise.
79075         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
79076         (__SYSCALL_SLONG_TYPE): Likewise.
79077         (__SYSCALL_ULONG_TYPE): Likewise.
79079 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79081         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
79082         Add sigaltstack-offsets.sym.
79083         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
79084         <sigaltstack-offsets.h>.
79085         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
79086         longjmp_msg pointer.
79087         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
79088         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
79089         signal stack.
79090         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
79092 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
79094         * elf/stackguard-macros.h: Remove file.
79095         * sysdeps/generic/stackguard-macros.h: New file.
79096         * sysdeps/i386/stackguard-macros.h: Likewise.
79097         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
79098         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
79099         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
79100         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
79101         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
79102         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
79103         * sysdeps/x86_64/stackguard-macros.h: Likewise.
79104         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
79105         <elf/stackguard-macros.h>.
79107         [BZ #14109]
79108         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
79109         __aligned__ in attribute.
79110         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
79111         (gregset_t): Likewise.
79113 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79115         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
79116         * sysdeps/x86_64/64/Implies-after: Here.  New file.
79117         * sysdeps/x86_64/x32/Implies-after: New file.
79119 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79121         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
79122         and access return value for _dl_profile_fixup.  Use R10_LP to
79123         load frame size.
79125 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79127         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
79129 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79131         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
79132         * sysdeps/x86_64/x32/sysdep.h: New file.
79134 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79136         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
79137         * sysdeps/x86_64/setjmp.S: Likewise.
79139 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79141         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
79142         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
79143         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
79144         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
79145         remove unused global constant.
79147 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
79149         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
79150         include of <not-cancel.h>.
79152 2012-05-15  Roland McGrath  <roland@hack.frob.com>
79154         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
79156 2012-05-15  Jeff Law  <law@redhat.com>
79157             Andreas Jaeger  <aj@suse.de>
79159         [BZ #13594]
79160         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
79161         out from...
79162         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
79163         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
79164         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
79165         code changing __hst_map_handle.map.
79167 2012-05-15  Roland McGrath  <roland@hack.frob.com>
79169         * configure.in (sysnames): Look for Implies-before and Implies-after
79170         files.
79171         * configure: Regenerated.
79173 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79175         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
79176         8-byte data alignment with LP_SIZE alignment.
79178 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79180         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
79181         into R10_LP.
79183 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79185         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
79187 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79189         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
79190         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
79191         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
79192         Likewise.
79193         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
79195 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79197         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
79198         (stackinfo_sub_sp): Likewise.
79200 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79202         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
79203         RAX_LP.
79205 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79207         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
79208         into R*_LP.
79210 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79212         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
79213         sizes into R*_LP.
79215 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79217         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
79219 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79221         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
79222         into R11_LP and load __x86_64_shared_cache_size_half into
79223         R8_LP.
79225 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79227         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
79228         R8_LP.
79230 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79232         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
79233         logb for POWER7.
79234         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
79235         logbf for POWER7.
79236         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
79237         logbl for POWER7.
79238         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
79239         powerpc32/power7/fpu/s_logb.c via #include.
79240         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
79241         powerpc32/power7/fpu/s_logbf.c via #include.
79242         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
79243         powerpc32/power7/fpu/s_logbl.c via #include.
79245 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
79247         * README.libm: Remove file.
79249 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
79251         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
79252         count for x32.  Use R*_LP and omit operand-size suffix.
79254 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
79256         * shlib-versions: Move x86_64-.*-linux.* entries to ...
79257         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
79258         * sysdeps/x86_64/x32/shlib-versions: New file.
79260 2012-05-14  Roland McGrath  <roland@hack.frob.com>
79262         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
79263         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
79264         Use _dl_fatal_printf instead.
79266 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
79268         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
79269         set if not set by the user.  Do not allow for being unset.
79270         * sysdeps/unix/sysv/linux/configure: Regenerated.
79272 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
79274         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
79275         the `q' suffix from lea and replace .quad with ASM_ADDR.
79277 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
79279         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
79280         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
79281         instead of $17.
79282         (PTR_DEMANGLE): Likewise.
79284 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
79286         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
79287         (LP_OP): Likewise.
79288         (ASM_ADDR): Likewise.
79289         (RAX_LP): Likewise.
79290         (RBP_LP): Likewise.
79291         (RBX_LP): Likewise.
79292         (RCX_LP): Likewise.
79293         (RDI_LP): Likewise.
79294         (RSI_LP): Likewise.
79295         (RSP_LP): Likewise.
79296         (R8_LP): Likewise.
79297         (R9_LP): Likewise.
79298         (R10_LP): Likewise.
79299         (R10_LP): Likewise.
79300         (R11_LP): Likewise.
79301         (R12_LP): Likewise.
79302         (R13_LP): Likewise.
79303         (R14_LP): Likewise.
79304         (R15_LP): Likewise.
79306 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
79308         * sysdeps/x86_64/x32/dl-machine.h: New file.
79310 2012-05-14  Andreas Jaeger  <aj@suse.de>
79312         * manual/Makefile (subdir): Remove export of subdir.
79313         (all): Remove target.
79314         (.PHONY): Remove all from list.
79315         (mkinstalldirs): Remove.
79316         (.PHONY): Remove installdirs from list.
79317         ($(inst_infodir)/libc.info): Use make-target-directory.
79318         (installdirs): Remove.
79319         (subdir_%): Remove.
79320         (glibc-targets): Remove.
79321         (lib): Remove.
79322         (stubs): Remove.
79323         ($(objpfx)stubs ../po/manual.pot): Remove.
79324         ($(objpfx)stamp%): Remove.
79325         (make-target-directory): Remove.
79326         (subdir_install): Remove.
79327         (routines): Remove.
79328         (aux): Remove.
79329         (sources): Remove.
79330         (objects): Remove.
79331         (headers): Remove.
79333         [BZ #13750]
79334         * manual/.gitignore: Remove, it's not needed anymore.
79335         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
79336         all files in it.
79337         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
79338         directory.
79339         (texis): Renamed to $(objpfx)texis.
79340         (texis-path): New, contains path to generated files.
79341         (chapters.%): Use texis-path for complete path, add extra argument
79342         libc-texinfo.sh.
79343         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
79344         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
79345         (summary,texi, stamp-summary): Use complete path of
79346         files. Generate files in build dir.
79347         (dir-add.texi): Build in build dir.
79348         (libm-err.texi,stamp-libm-err): Likewise.
79349         (version.texi, stamp-version): Likewise.
79350         (.%c.texi): Likewise.
79351         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
79352         (mostlyclean): Remove target.
79353         (realclean): Remove target.
79354         (generated): Add new variable with contents from mostlyclean and
79355         realclean, remove entries duplicated in common-mostlyclean, add
79356         stamp-libm-err and stamp-version.
79357         (generated-dirs): Add libc directory.
79358         ($(inst_infodir)/libc.info): Install files from build dir.
79360         * manual/install.texi (Configuring and compiling): Adjust since
79361         the info files are not part of the tar ball anymore.
79363 2012-05-14  Andreas Jaeger  <aj@suse.de>
79365         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
79366         variable.
79368 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
79370         [BZ #13717]
79371         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
79372         to 2.2.0 where earlier.
79373         * sysdeps/unix/sysv/linux/configure: Regenerated.
79374         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
79375         Remove conditional code.
79376         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
79377         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
79378         Remove conditional code.
79379         [!__NR_lchown]: Likewise.
79380         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
79381         [__NR_lchown]: Likewise.
79382         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
79383         comment referencing __ASSUME_LCHOWN_SYSCALL.
79384         * sysdeps/unix/sysv/linux/i386/sigaction.c
79385         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
79386         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
79387         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
79388         Remove conditional code.
79389         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
79390         (__protocol_available): Remove #if 0 code.
79391         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
79392         conditional code.
79393         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
79394         * sysdeps/unix/sysv/linux/kernel-features.h
79395         (__ASSUME_GETCWD_SYSCALL): Don't define.
79396         (__ASSUME_REALTIME_SIGNALS): Likewise.
79397         (__ASSUME_PREAD_SYSCALL): Likewise.
79398         (__ASSUME_PWRITE_SYSCALL): Likewise.
79399         (__ASSUME_POLL_SYSCALL): Likewise.
79400         (__ASSUME_LCHOWN_SYSCALL): Likewise.
79401         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
79402         non-SPARC.
79403         (__ASSUME_SIOCGIFNAME): Don't define.
79404         (__ASSUME_MSG_NOSIGNAL): Likewise.
79405         (__ASSUME_SENDFILE): Define unconditionally.
79406         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
79407         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
79408         conditional code.
79409         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
79410         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
79411         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
79412         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
79413         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
79414         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
79415         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
79416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
79417         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
79418         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
79419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
79420         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
79421         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
79422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
79423         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
79424         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
79425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
79426         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
79427         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
79428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
79429         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
79430         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
79431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
79432         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
79433         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
79434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
79435         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
79436         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
79437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
79438         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
79439         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
79440         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
79441         Remove conditional code.
79442         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
79443         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
79444         Remove conditional code.
79445         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
79446         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
79447         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
79448         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
79449         Remove conditional code.
79450         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
79451         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
79452         Remove conditional code.
79453         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
79454         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
79455         Remove conditional code.
79456         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
79457         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
79458         Remove conditional code.
79459         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
79460         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
79461         Remove conditional code.
79462         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
79463         * sysdeps/unix/sysv/linux/sh/pwrite64.c
79464         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
79465         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
79466         * sysdeps/unix/sysv/linux/sigaction.c
79467         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
79468         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
79469         * sysdeps/unix/sysv/linux/sigpending.c
79470         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
79471         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
79472         * sysdeps/unix/sysv/linux/sigprocmask.c
79473         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
79474         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
79475         * sysdeps/unix/sysv/linux/sigsuspend.c
79476         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
79477         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
79478         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
79479         (__libc_missing_rt_sigs): Remove.
79480         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
79481         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
79482         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
79483         Remove conditional code.
79484         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
79485         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
79486         return 1.
79487         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
79488         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
79489         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
79490         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
79492 2012-05-14  Andreas Jaeger  <aj@suse.de>
79494         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
79495         it's not used in glibc.
79496         (__coshm1): Likewise.
79497         (__acosh1p): Likewise.
79498         (__sgn): Likewise.
79500         * manual/string.texi (Copying and Concatenation): Add missing
79501         variable in concat example.
79502         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
79504 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
79506         [BZ #14103]
79507         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
79508         __builtin_clzl with __builtin_clzll.
79510 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
79512         [BZ #14104]
79513         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
79514         libc_freeres_ptr.
79516 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79518         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
79519         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
79520         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
79521         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
79523 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
79525         * NEWS: Update ia64 info.
79527 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
79529         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
79530         used as bcopy.
79532 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
79534         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
79535         * sysdeps/unix/syscalls.list (dup3): Likewise.
79536         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
79537         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
79539 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
79541         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
79542         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
79544 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
79546         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
79547         thread pointer.
79548         (TLS_IE): Use mov/add instead of movq/addq to load thread
79549         pointer.
79550         (TLS_GD_PREFIX): New.
79551         (TLS_GD): Use it.
79553 2012-05-11  David S. Miller  <davem@davemloft.net>
79555         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
79556         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
79557         (_FPU_SETCW): Likewise.
79559 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
79561         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
79562         is 32-byte aligned.
79564 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
79566         [BZ #11837]
79567         * iconvdata/gb18030.c: Update tables.
79568         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
79569         characters specially.
79570         (BODY for TO_LOOP): Add encoding of missing ranges.
79572 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
79574         [BZ #13673]
79575         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
79576         * sysdeps/mach/hurd/dup3.c: Likewise.
79577         * sysdeps/mach/hurd/readlinkat.c: Likewise.
79578         * sysdeps/powerpc/memmove.c:: Likewise.
79580 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
79582         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
79583         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
79585 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
79587         * elf/elf.h (R_X86_64_RELATIVE64): New.
79588         (R_X86_64_NUM): Updated.
79589         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
79590         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
79591         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
79592         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
79593         tst-quad1pie tst-quad2pie
79594         (modules-names): Add tst-quadmod1 tst-quadmod2.
79595         ($(objpfx)tst-quad1): New dependency.
79596         ($(objpfx)tst-quad2): Likewise.
79597         ($(objpfx)tst-quad1pie): Likewise.
79598         ($(objpfx)tst-quad2pie): Likewise.
79599         * sysdeps/x86_64/tst-quad1.c: New file.
79600         * sysdeps/x86_64/tst-quad1pie.c: New file.
79601         * sysdeps/x86_64/tst-quad2.c: Likewise.
79602         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
79603         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
79604         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
79605         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
79606         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
79608 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79610         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
79611         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
79612         * streams/stropts.h (t_scalar_t): Define type.
79614         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
79615         (_PATH_PRESERVE): Set to "/var/lib".
79616         (_PATH_RWHODIR): Set to "/var/spool/rwho".
79618         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
79619         instead of int.
79621         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
79622         if __dir_mkfile succeeded.
79624         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
79625         checking for _hurd_dtablesize.  Unlock it right after having
79626         finished _hurd_dtable allocation.
79628 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79630         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
79631         * sysdeps/mach/hurd/configure: Regenerated.
79632         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
79633         special-casing to...
79634         * sysdeps/gnu/configure.in: ... this new file.
79635         * sysdeps/unix/sysv/linux/configure: Regenerated.
79636         * sysdeps/gnu/configure: New generated file.
79638         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
79639         for Linux: use nsec instead of usec, as well as:
79640         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
79641         members of type struct timespec.
79642         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
79643         New macros.
79644         (struct stat64): Likewise.
79645         (_STATBUF_ST_NSEC): New macro.
79646         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
79648         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
79649         __strtoul_internal rather than strtoul.
79651 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
79653         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
79654         and reject them.
79656 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79658         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
79659         which preserves existing values.
79660         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
79662 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
79664         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
79665         TIMEOUT values.  Return EINVAL for NFDS values either negative or
79666         greater than FD_SETSIZE.
79668 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79670         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
79671         allocated, call __vm_protect to finish enabling the existing space, and
79672         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
79673         allocate the remainder.
79675 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
79677         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
79678         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
79680 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79682         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
79683         sysdeps/mach/hurd/readlink.c.
79685         * posix/tst-sysconf.c (posix_options): Only use
79686         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
79687         _POSIX_SYNCHRONIZED_IO when they are defined
79688         * sysdeps/mach/hurd/bits/posix_opt.h:
79689         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
79690         (_XOPEN_REALTIME): Undefine macro.
79691         (_XOPEN_REALTIME_THREADS): Undefine macro.
79692         (_XOPEN_SHM): Undefine macro.
79693         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
79694         macro to -1.
79695         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
79696         macro to -1.
79697         (_POSIX_ASYNC_IO): Undefine macro.
79698         (_POSIX_PRIORITIZED_IO): Undefine macro.
79699         (_POSIX_SPIN_LOCKS): Define macro to -1.
79701         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
79702         SA_NODEFER, SA_RESETHAND.
79703         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
79704         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
79705         F_DUPFD_CLOEXEC.
79707 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79709         * elf/Makefile (pldd-modules): Define unconditionally.
79711 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79713         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
79715 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79717         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
79718         Return ENOENT when name is empty.
79719         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
79721 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79723         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
79725         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
79727 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79729         Fix mlock in all cases except non-readable pages.
79730         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
79731         instead of VM_PROT_ALL as parameter to __vm_wire function.
79733         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
79734         (__mkdir): When path is `/', just fail with EEXIST.
79735         * sysdeps/mach/hurd/mkdirat.c: Likewise.
79737 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79739         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
79740         <sys/uio.h> (for writev).
79741         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
79742         and <sys/param.h> (for MIN).
79744 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
79746         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
79747         REQUESTED_TIME.  Properly set the remaining time and return EINTR
79748         if interrupted.
79750 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79752         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
79753         Depend on against $(link-rpcuserlibs).
79755 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79757         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
79758         (__libc_stack_end): Do not use attribute_relro.
79759         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
79760         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
79761         to libthread-provided value.
79762         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
79763         attribute_relro.
79765 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79767         [BZ #3748]
79768         * bits/libc-lock.h (__libc_once_get): New macro.
79769         * sysdeps/mach/bits/libc-lock.h: Likewise.
79770         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
79771         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
79772         instead of using implementation details.
79774         * libio/fileops.c: Unconditionally include <kernel-features.h>.
79775         * libio/freopen.c: Likewise.
79776         * libio/freopen64.c: Likewise.
79777         * misc/syslog.c: Likewise.
79778         * nscd/connections.c: Likewise.
79779         * nscd/netgroupcache.c: Likewise.
79780         * sysdeps/posix/getcwd.c: Likewise.
79782 2012-05-10  Roland McGrath  <roland@hack.frob.com>
79784         * math/w_ilogbf.c: Add #include <limits.h>.
79786 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79788         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
79789         path instead of returning without unlocking.
79791         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
79792         immediate-write ioctls.
79793         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
79795 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79797         * sysdeps/mach/hurd/i386/init-first.c (init): Use
79798         __builtin_frame_address instead of making assumptions about the
79799         location of the return address relative to DATA.  Force early load of
79800         the return address.
79801         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
79802         __builtin_frame_address.
79804         dup3 for GNU Hurd.
79805         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
79806         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
79807         implement dup3 and do some further code clean-ups.
79808         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
79809         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
79811 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79813         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
79815         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
79816         HURD_CRITICAL_END around holding _hurd_dtable_lock.
79817         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
79818         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
79819         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
79820         d->port.lock.
79822         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
79823         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
79824         when handler == SIG_ERR, not when handler != SIG_ERR.
79826 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79828         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
79829         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
79830         definitions.
79832         accept4 for GNU Hurd.
79833         * include/sys/socket.h (__libc_accept4): New prototype.
79834         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
79835         to implement __libc_accept4.
79836         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
79837         __libc_accept4.
79838         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
79840         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
79841         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
79842         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
79843         signal-defines.sym.
79845 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79847         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
79849 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79851         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
79852         assertion on O_CLOEXEC flag.
79853         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
79854         * hurd/intern-fd.c: Likewise.
79855         * hurd/port2fd.c: Likewise.
79857 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79859         [BZ #3906]
79860         * bits/in.h (IPV6_PKTINFO): Define new macro.
79861         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
79863 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79865         [BZ #13954]
79866         [BZ #13955]
79867         [BZ #13956]
79868         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
79869         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
79870         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
79871         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
79872         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
79873         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
79874         * math/libm-test.inc (logb_test) : Additional logb tests.
79876 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
79877             Andreas Jaeger  <aj@suse.de>
79879         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
79880         * configure: Regenerated.
79881         * config.h.in (LINK_OBSOLETE_RPC): New macro.
79882         * config.make.in (link-obsolete-rpc): New substituted variable.
79883         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
79884         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
79885         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
79886         (shared-only-routines): Don't set it under [link-obsolete-rpc],
79887         so that libc.a contains the symbols.
79888         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
79889         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
79890         * sunrpc/auth_none.c: Likewise.
79891         * sunrpc/auth_unix.c: Likewise.
79892         * sunrpc/authdes_prot.c: Likewise.
79893         * sunrpc/authuxprot.c: Likewise.
79894         * sunrpc/clnt_gen.c: Likewise.
79895         * sunrpc/clnt_perr.c: Likewise.
79896         * sunrpc/clnt_raw.c: Likewise.
79897         * sunrpc/clnt_simp.c: Likewise.
79898         * sunrpc/clnt_tcp.c: Likewise.
79899         * sunrpc/clnt_udp.c: Likewise.
79900         * sunrpc/clnt_unix.c: Likewise.
79901         * sunrpc/des_crypt.c: Likewise.
79902         * sunrpc/des_soft.c: Likewise.
79903         * sunrpc/get_myaddr.c: Likewise.
79904         * sunrpc/key_call.c: Likewise.
79905         * sunrpc/key_prot.c: Likewise.
79906         * sunrpc/netname.c: Likewise.
79907         * sunrpc/pm_getmaps.c: Likewise.
79908         * sunrpc/pm_getport.c: Likewise.
79909         * sunrpc/pmap_clnt.c: Likewise.
79910         * sunrpc/pmap_prot.c: Likewise.
79911         * sunrpc/pmap_prot2.c: Likewise.
79912         * sunrpc/pmap_rmt.c: Likewise.
79913         * sunrpc/publickey.c: Likewise.
79914         * sunrpc/rpc_cmsg.c: Likewise.
79915         * sunrpc/rpc_common.c: Likewise.
79916         * sunrpc/rpc_dtable.c: Likewise.
79917         * sunrpc/rpc_prot.c: Likewise.
79918         * sunrpc/rpc_thread.c: Likewise.
79919         * sunrpc/rtime.c: Likewise.
79920         * sunrpc/svc.c: Likewise.
79921         * sunrpc/svc_auth.c: Likewise.
79922         * sunrpc/svc_raw.c: Likewise.
79923         * sunrpc/svc_run.c: Likewise.
79924         * sunrpc/svc_tcp.c: Likewise.
79925         * sunrpc/svc_udp.c: Likewise.
79926         * sunrpc/svc_unix.c: Likewise.
79927         * sunrpc/svcauth_des.c: Likewise.
79928         * sunrpc/xcrypt.c: Likewise.
79929         * sunrpc/xdr.c: Likewise.
79930         * sunrpc/xdr_array.c: Likewise.
79931         * sunrpc/xdr_float.c: Likewise.
79932         * sunrpc/xdr_intXX_t.c: Likewise.
79933         * sunrpc/xdr_mem.c: Likewise.
79934         * sunrpc/xdr_rec.c: Likewise.
79935         * sunrpc/xdr_ref.c: Likewise.
79936         * sunrpc/xdr_sizeof.c: Likewise.
79937         * sunrpc/xdr_stdio.c: Likewise.
79939 2012-05-10  Roland McGrath  <roland@hack.frob.com>
79941         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
79942         change.  Update copyright years.
79944 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
79946         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
79948 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
79949             Joseph Myers  <joseph@codesourcery.com>
79950             Paul Pluzhnikov  <ppluzhnikov@google.com>
79952         [BZ #14012]
79953         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
79954         requiring rpcgen.
79955         [cross-compiling] (extra-libs): Likewise.
79956         [cross-compiling] (extra-libs-others): Likewise.
79957         [cross-compiling] (librpcsvc-routines): Likewise.
79958         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
79959         [cross-compiling] (omit-deps): Likewise.
79960         (sunrpc-CPPFLAGS): New variable.
79961         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
79962         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
79963         (cross-rpcgen-objs): New variable.
79964         (extra-objs): Append $(cross-rpcgen-objs).
79965         ($(cross-rpcgen-objs)): New rule.
79966         ($(objpfx)cross-rpcgen): Likewise.
79967         (rpcgen-cmd): Define to use $(built-program-file).  Expand
79968         comment.
79969         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
79970         ($(objpfx)x%.stmp): Likewise.
79971         * sunrpc/proto.h [IS_IN_build] (_): Define.
79972         [IS_IN_build] (_libc_intl_domainname): Likewise.
79974 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
79976         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
79977         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
79978         and R_X86_64_TPOFF64.
79980 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
79982         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
79983         sysdeps/unix/sysv/syscalls.list.
79984         (stime): Likewise.
79985         (utime): Likewise.
79986         * sysdeps/unix/sysv/syscalls.list: Remove file.
79988 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
79990         [BZ #3440]
79991         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
79992         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
79993         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
79994         (__LC_IDENTIFICATION): Make these macros useful in #if
79995         expressions, as required by C99.
79997 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
79999         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
80000         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
80001         after this.
80003 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
80005         * stdlib/longlong.h: Updated from GCC.
80007 2012-05-09  Andreas Jaeger  <aj@suse.de>
80009         * nscd/nscd.c (run_modes): Make named enum, reorder so that
80010         default is first entry.
80011         (run_mode): Set type.
80012         (main): Remove informal message about syslog.
80013         (options): Fix typo.
80015         [BZ #14053]
80016         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
80017         to asm.
80018         (lrint): Likewise.
80019         (llrintf): Likewise.
80020         (llrint): Likewise.
80021         (rint): Likewise.
80022         (rintf): Likewise.
80023         (nearbyint): Likewise.
80024         (nearbyintf): Likewise.
80026 2012-05-09  Andreas Jaeger  <aj@suse.de>
80027             Pedro Alves  <palves@redhat.com>
80029         * nscd/nscd.c (run_mode): Use enum.
80030         (main): Cleanup coding style issue.
80032 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
80033             Andreas Jaeger  <aj@suse.de>
80035         * nscd/nscd.c (go_background): Replaced with...
80036         (run_mode): ... this.
80037         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
80038         (options): Add -F --foreground.
80039         (main): Implement it.
80040         (parse_opt): Parse it.
80042 2012-05-09  Andreas Jaeger  <aj@suse.de>
80044         [BZ #14083]
80045         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
80046         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
80047         -Wconversion warning.
80048         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
80049         Likewise.
80051 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
80053         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
80054         == 0.
80055         (LC_ALL): Use macro-int-constant.
80056         (LC_COLLATE): Likewise.
80057         (LC_CTYPE): Likewise.
80058         (LC_MESSAGES): Likewise.
80059         (LC_MONETARY): Likewise.
80060         (LC_NUMERIC): Likewise.
80061         (LC_TIME): Likewise.
80062         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
80063         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
80064         [ISO || ISO99 || ISO11] (*_t): Do not allow.
80065         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
80066         Specify type.
80067         [C99-based standards] (float_t): Expect type.
80068         [C99-based standards] (double_t): Expect type.
80069         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
80070         type.
80071         [C99-based standards] (HUGE_VALL): Likewise.
80072         [C99-based standards] (INFINITY): Likewise.
80073         [C99-based standards] (NAN): Likewise.
80074         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
80075         [C99-based standards] (FP_NAN): Likewise.
80076         [C99-based standards] (FP_NORMAL): Likewise.
80077         [C99-based standards] (FP_SUBNORMAL): Likewise.
80078         [C99-based standards] (FP_ZERO): Likewise.
80079         [C99-based standards] (FP_FAST_FMA): Use
80080         optional-macro-int-constant.  Specify type.  Require == 1.
80081         [C99-based standards] (FP_FAST_FMAF): Likewise.
80082         [C99-based standards] (FP_FAST_FMAL): Likewise.
80083         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
80084         [C99-based standards] (FP_ILOGBNAN): Likewise.
80085         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
80086         Specify type.
80087         [C99-based standards] (MATH_ERREXCEPT): Likewise.
80088         [C99-based standards] (math_errhandling): Specify type.
80089         [ISO99 || ISO11] (signgam): Do not allow.
80090         [non-C99-based standards] (copysignf): Do not allow.
80091         [non-C99-based standards] (exp2f): Likewise.
80092         [non-C99-based standards] (log2f): Likewise.
80093         [non-C99-based standards] (modff): Allow.
80094         [non-C99-based standards] (erff): Do not allow.
80095         [non-C99-based standards] (erfcf): Likewise.
80096         [non-C99-based standards] (gammaf): Likewise.
80097         [non-C99-based standards] (hypotf): Likewise.
80098         [non-C99-based standards] (j0f): Likewise.
80099         [non-C99-based standards] (j1f): Likewise.
80100         [non-C99-based standards] (jnf): Likewise.
80101         [non-C99-based standards] (lgammaf): Likewise.
80102         [non-C99-based standards] (tgammaf): Likewise.
80103         [non-C99-based standards] (y0f): Likewise.
80104         [non-C99-based standards] (y1f): Likewise.
80105         [non-C99-based standards] (ynf): Likewise.
80106         [non-C99-based standards] (isnanf): Likewise.
80107         [non-C99-based standards] (acoshf): Likewise.
80108         [non-C99-based standards] (asinhf): Likewise.
80109         [non-C99-based standards] (atanhf): Likewise.
80110         [non-C99-based standards] (cbrtf): Likewise.
80111         [non-C99-based standards] (expm1f): Likewise.
80112         [non-C99-based standards] (ilogbf): Likewise.
80113         [non-C99-based standards] (log1pf): Likewise.
80114         [non-C99-based standards] (logbf): Likewise.
80115         [non-C99-based standards] (nextafterf): Likewise.
80116         [non-C99-based standards] (remainderf): Likewise.
80117         [non-C99-based standards] (rintf): Likewise.
80118         [non-C99-based standards] (scalbf): Likewise.
80119         [non-C99-based standards] (copysignl): Likewise.
80120         [non-C99-based standards] (exp2l): Likewise.
80121         [non-C99-based standards] (log2l): Likewise.
80122         [non-C99-based standards] (modfl): Allow.
80123         [non-C99-based standards] (erfl): Do not allow.
80124         [non-C99-based standards] (erfcl): Likewise.
80125         [non-C99-based standards] (gammal): Likewise.
80126         [non-C99-based standards] (hypotl): Likewise.
80127         [non-C99-based standards] (j0l): Likewise.
80128         [non-C99-based standards] (j1l): Likewise.
80129         [non-C99-based standards] (jnl): Likewise.
80130         [non-C99-based standards] (lgammal): Likewise.
80131         [non-C99-based standards] (tgammal): Likewise.
80132         [non-C99-based standards] (y0l): Likewise.
80133         [non-C99-based standards] (y1l): Likewise.
80134         [non-C99-based standards] (ynl): Likewise.
80135         [non-C99-based standards] (isnanl): Likewise.
80136         [non-C99-based standards] (acoshl): Likewise.
80137         [non-C99-based standards] (asinhl): Likewise.
80138         [non-C99-based standards] (atanhl): Likewise.
80139         [non-C99-based standards] (cbrtl): Likewise.
80140         [non-C99-based standards] (expm1l): Likewise.
80141         [non-C99-based standards] (ilogbl): Likewise.
80142         [non-C99-based standards] (log1pl): Likewise.
80143         [non-C99-based standards] (logbl): Likewise.
80144         [non-C99-based standards] (nextafterl): Likewise.
80145         [non-C99-based standards] (remainderl): Likewise.
80146         [non-C99-based standards] (rintl): Likewise.
80147         [non-C99-based standards] (scalbl): Likewise.
80148         [ISO || ISO99 || ISO11] (*_t): Do not allow.
80149         [non-C99-based standards] (FP_*): Do not allow.
80150         [C99-based standards] (FP_*): Change to
80151         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
80152         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
80153         allow.
80154         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
80155         (SIG_ERR): Likewise.
80156         [X/Open-based standards] (SIG_HOLD): Likewise.
80157         (SIG_IGN): Likewise.
80158         (SIGABRT): Use macro-int-constant.  Specify type.  Require
80159         positive value.
80160         (SIGFPE): Likewise.
80161         (SIGILL): Likewise.
80162         (SIGINT): Likewise.
80163         (SIGSEGV): Likewise.
80164         (SIGTER): Likewise.
80165         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
80166         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
80167         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
80168         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
80169         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
80170         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
80171         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
80172         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
80173         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
80174         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
80175         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
80176         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
80177         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
80178         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
80179         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
80180         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
80181         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
80182         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
80183         [X/Open-based standards] (SIGTRAP): Likewise.
80184         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
80185         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
80186         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
80187         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
80188         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
80189         allow.
80191 2012-05-08  Ian Wienand  <ianw@vmware.com>
80193         [BZ #14080]
80194         * time/tzset.c (__tzset_parse_tz): Update default rules for
80195         daylight time changes in the Energy Policy Act of 2005.
80197 2012-05-09  Andreas Jaeger  <aj@suse.de>
80199         [BZ #13983]
80200         * elf/ldconfig.c (parse_conf): Change string to make clear that
80201         ldconfig only issued a warning if ld.so.conf does not exist.
80203 2012-05-08  David S. Miller  <davem@davemloft.net>
80205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
80206         movxtod instead of popping the value on the stack.
80208         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80210 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
80212         * config.h.in: Add HAVE_ARM_PCS_VFP.
80214 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
80216         [BZ #13979]
80217         * include/features.h: Warn if user requests __FORTIFY_SOURCE
80218         checking but the checks are disabled for any reason.
80220 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
80222         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
80223         and ELF64_R_TYPE with ELFW(R_TYPE).
80225 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
80227         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
80228         (ulimit): Likewise.
80230         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
80231         (settimeofday): Likewise.
80233 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
80235         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
80236         a struct th_u2 inside the union, and move tu_block/tu_code into
80237         a new th_u3 union of tu_block/tu_code inside of that.  Move
80238         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
80239         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
80240         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
80241         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
80242         (th_stuff): Change to th_u1.tu_stuff.
80243         (th_data): Define.
80244         (th_msg): Change to th_u1.th_u2.tu_data.
80246 2012-05-07  David S. Miller  <davem@davemloft.net>
80248         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80250         [BZ #14074]
80251         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
80252         (SETUP_PIC_REG): Use it.
80253         (SETUP_PIC_REG_LEAF): Use it.
80255 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
80257         [BZ #13885]
80258         [BZ #13923]
80259         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
80260         USE_AS_EXPM1L.
80261         (EXPL_FINITE): Likewise.
80262         (FLDLOG): Likewise.
80263         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
80264         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
80265         e_expl.S.
80266         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
80267         USE_AS_EXPM1L.
80268         (EXPL_FINITE): Likewise.
80269         (FLDLOG): Likewise.
80270         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
80271         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
80272         e_expl.S.
80273         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
80274         test of -max_value argument for long double.
80275         * sysdeps/i386/fpu/libm-test-ulps: Update.
80276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80278 2012-05-06  David S. Miller  <davem@davemloft.net>
80280         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
80281         quad soft-float symbols whose references which are compiler
80282         generated.
80283         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
80285 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
80287         [BZ #13884]
80288         [BZ #13914]
80289         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
80290         USE_AS_EXP10L.
80291         (EXPL_FINITE): Likewise.
80292         (FLDLOG): Likewise.
80293         (c0): Likewise.
80294         (c1): Likewise.
80295         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
80296         Adjust comments for base varying.
80297         (__expl_finite): Change alias to EXPL_FINITE.
80298         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
80299         e_expl.S.
80300         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
80301         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
80302         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
80303         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
80304         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
80305         USE_AS_EXP10L.
80306         (EXPL_FINITE): Likewise.
80307         (FLDLOG): Likewise.
80308         (c0): Likewise.
80309         (c1): Likewise.
80310         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
80311         Adjust comments for base varying.
80312         (__expl_finite): Change alias to EXPL_FINITE.
80313         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
80314         tests for bugs.
80315         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
80317         [BZ #14064]
80318         * math/libm-test.inc (check_float_internal): Correct ulp
80319         calculation for subnormal expected results.
80321 2012-05-06  Andreas Jaeger  <aj@suse.de>
80323         * Makeconfig (+math-flags): New, set to -frounding-math.
80324         (+cflags): Add +math-flags so that all of glibc gets compiled with
80325         it.
80327         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
80329 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
80331         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
80332         Disable one test.
80334         [BZ #13787]
80335         [BZ #13922]
80336         [BZ #14036]
80337         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
80338         (__ieee754_expl): Allow for and saturate large arguments.
80339         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
80340         (u_threshold): Likewise.
80341         (__exp): Call __ieee754_exp before checking for overflow and
80342         underflow.
80343         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
80344         (u_threshold): Likewise.
80345         (__expf): Call __ieee754_expf before checking for overflow and
80346         underflow.
80347         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
80348         (u_threshold): Likewise.
80349         (__expl): Call __ieee754_expl before checking for overflow and
80350         underflow.
80351         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
80352         (__ieee754_expl): Allow for and saturate large arguments.
80353         * math/libm-test.inc (exp_test): Add another test.  Do not allow
80354         missing overflow exception on overflow.
80355         (expm1_test): Do not allow missing overflow exception on overflow.
80357         * sysdeps/i386/fpu/e_expl.c: Move to ...
80358         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
80359         rather than using inline asm.
80360         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
80361         * sysdeps/x86_64/fpu/e_expl.S: Copy from
80362         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
80364         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
80365         (nice): Likewise.
80366         (poll): Likewise.
80367         (signal): Likewise.
80368         (time): Likewise.
80369         (times): Likewise.
80371 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
80373         * sysdeps/unix/syscalls.list (adjtime): Add entry from
80374         sysdeps/unix/common/syscalls.list.
80375         (fchmod): Likewise.
80376         (fchown): Likewise.
80377         (ftruncate): Likewise.
80378         (getrusage): Likewise.
80379         (gettimeofday): Likewise.
80380         (setpgid): Likewise.
80381         (setregid): Likewise.
80382         (setreuid): Likewise.
80383         (sigaction): Likewise.
80384         (truncate): Likewise.
80385         (vhangup): Likewise.
80386         * sysdeps/unix/common/syscalls.list: Remove file.
80387         * sysdeps/unix/bsd/Implies: Don't include unix/common.
80388         * sysdeps/unix/sysv/linux/Implies: Likewise.
80390 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
80392         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
80393         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
80394         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
80395         Moved to ...
80396         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
80397         Here.
80398         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
80399         to ...
80400         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
80401         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
80402         to ...
80403         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
80404         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
80405         to ...
80406         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
80407         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
80408         to ...
80409         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
80410         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
80411         to ...
80412         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
80413         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
80414         to ...
80415         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
80416         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
80417         to ...
80418         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
80419         Here.
80420         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
80421         to ...
80422         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
80423         Here.
80424         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
80425         to ...
80426         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
80427         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
80428         Moved to ...
80429         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
80430         Here.
80431         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
80432         to ...
80433         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
80435 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
80437         * sysdeps/unix/common/bits/dirent.h: Remove file.
80438         * sysdeps/unix/common/bits/fcntl.h: Likewise.
80440         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
80441         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
80442         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
80443         * sysdeps/unix/bsd/isatty.c: Likewise.
80444         * sysdeps/unix/bsd/tcdrain.c: Likewise.
80445         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
80446         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
80448 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80450         [BZ #13563]
80451         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
80452         long double comparison inaccuracies.
80453         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
80454         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80456 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
80458         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
80459         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
80461 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
80463         [BZ #14049]
80464         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
80465         nonzero digits before rounding a hex value.
80466         * stdlib/tst-strtod.c (tests): Add another test.
80468 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80470         * sysdeps/s390/fpu/libm-test-ulps: Update.
80472 2012-05-03  Andreas Jaeger  <aj@suse.de>
80474         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
80475         does not get optimized out.
80476         (malloc_opt_barrier): New.
80478 2012-05-03  Andreas Jaeger  <aj@suse.de>
80479             Roland McGrath  <roland@hack.frob.com>
80481         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
80482         intermediate file deletion.
80483         (generated): Add .symlist files.
80485 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
80487         [BZ #13775]
80488         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
80489         Redirect under this condition.
80490         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
80491         [__USE_GNU] (__dprintf_chk): Not under this condition.
80492         [__USE_GNU] (__vdprintf_chk): Likewise.
80493         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
80494         under this condition.
80495         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
80496         [__USE_XOPEN2K8] (dprintf): Define under this condition.
80497         [__USE_XOPEN2K8] (vdprintf): Likewise.
80498         [__USE_GNU] (__dprintf_chk): Not under this condition.
80499         [__USE_GNU] (__vdprintf_chk): Likewise.
80500         [__USE_GNU] (dprintf): Likewise.
80501         [__USE_GNU] (vdprintf): Likewise.
80503 2012-05-03  Roland McGrath  <roland@hack.frob.com>
80505         * elf/Makefile (common-generated): Set this instead of generated for
80506         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
80507         $(all-built-dso)-derived lists.
80509 2012-05-03  Andreas Jaeger  <aj@suse.de>
80511         * sysdeps/i386/fpu/libm-test-ulps: Update.
80513         * FAQ: Removed.
80514         * FAQ.in: Likewise.
80515         * scripts/gen-FAQ.pl: Likewise.
80516         * manual/install.texi (Installation): Point to online location of
80517         FAQ.
80518         * Makefile (files-for-dist): Remove FAQ.
80519         (FAQ): Remove.
80521 2012-05-02  Allan McRae  <allan@archlinux.org>
80523         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
80524         (LDFLAGS-reldepmod5.so): Likewise.
80525         (LDFLAGS-reldep6mod1.so): Likewise.
80526         (LDFLAGS-reldep6mod4.so): Likewise.
80527         (LDFLAGS-reldep8mod3.so): Likewise.
80528         (LDFLAGS-unload4mod1.so): Likewise.
80529         (LDFLAGS-unload4mod2.so): Likewise.
80530         (LDFLAGS-tst-initorder): Likewise.
80531         (LDFLAGS-tst-initordera2.so): Likewise.
80532         (LDFLAGS-tst-initordera3.so): Likewise.
80533         (LDFLAGS-tst-initordera4.so): Likewise.
80534         (LDFLAGS-tst-initorderb2.so): Likewise.
80535         (LDFLAGS-noload): Likewise.
80536         (LDFLAGS-next): Likewise.
80537         (LDFLAGS-order2mod1.so): Likewise.
80538         (LDFLAGS-order2mod2.so): Likewise.
80539         (LDFLAGS-tst-initorder2): Likewise.
80540         (LDFLAGS-tst-initorder2a.so): Likewise.
80541         (LDFLAGS-tst-initorder2b.so): Likewise.
80542         (LDFLAGS-tst-initorder2c.so): Likewise.
80543         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
80545 2012-05-02  David S. Miller  <davem@davemloft.net>
80547         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80549 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
80551         [BZ #14055]
80552         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
80554 2012-05-02  Andreas Jaeger  <aj@suse.de>
80556         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
80557         since we manipulate rounding mode.
80558         (CPPFLAGS-test-idouble.c): Likewise.
80559         (CPPFLAGS-test-ifloat.c): Likewise.
80560         (CFLAGS-test-ldouble.c): Likewise.
80561         (CFLAGS-test-double.c): Likewise.
80562         (CFLAGS-test-float.c): Likewise.
80563         (CFLAGS-test-misc.c): Likewise.
80564         (CFLAGS-test-test-fenv.c): Likewise.
80566 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80568         [BZ #2550]
80569         [BZ #2570]
80570         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
80571         comparisons to determine direction to adjust input.
80573 2012-05-01  Roland McGrath  <roland@hack.frob.com>
80575         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
80576         output to the target.
80578         * scripts/localplt.awk: New file.
80579         * elf/Makefile ($(objpfx)check-localplt): Target removed.
80580         (check-localplt-CFLAGS): Variable removed.
80581         ($(all-built-dso:=.jmprel)): New static pattern rule.
80582         (generated): Add those targets.
80583         (localplt-built-dso): New variable.
80584         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
80586         * elf/check-localplt.c: File removed.
80588         * scripts/check-execstack.awk: New file.
80589         * elf/Makefile ($(objpfx)check-execstack): Target removed.
80590         (check-execstack-CFLAGS): Variable removed.
80591         ($(objpfx)check-execstack.h): Target removed.
80592         ($(objpfx)execstack-default): New target.
80593         (generated): Add that instead of check-execstack.h.
80594         ($(all-built-dso:=.phdr)): New static pattern rule.
80595         (generated): Add those targets.
80596         * elf/check-execstack.c: File removed.
80598         * scripts/check-textrel.awk: New file.
80599         * elf/Makefile ($(objpfx)check-textrel): Target removed.
80600         (check-textrel-CFLAGS): Variable removed.
80601         (all-built-dso): Use := to define.o
80602         ($(all-built-dso:=.dyn)): New static pattern rule.
80603         (generated): Add those targets.
80604         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
80605         * config.make.in (READELF): New substituted variable.
80606         * elf/check-textrel.c: File removed.
80608 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
80610         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
80611         allow.
80612         * conform/data/ctype.h-data [C99-based standards] (isblank):
80613         Expect function.
80614         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
80615         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
80616         [ISO || ISO99 || ISO11] (*_t): Do not allow.
80617         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
80618         Specify type.  Require positive value.
80619         (EILSEQ): Likewise.
80620         (ERANGE): Likewise.
80621         [ISO || POSIX] (EILSEQ): Do not expect.
80622         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
80623         Specify type.  Require positive value.
80624         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
80625         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
80626         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
80627         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
80628         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
80629         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
80630         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
80631         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
80632         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
80633         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
80634         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
80635         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
80636         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
80637         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
80638         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
80639         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
80640         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
80641         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
80642         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
80643         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
80644         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
80645         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
80646         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
80647         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
80648         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
80649         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
80650         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
80651         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
80652         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
80653         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
80654         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
80655         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
80656         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
80657         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
80658         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
80659         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
80660         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
80661         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
80662         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
80663         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
80664         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
80665         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
80666         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
80667         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
80668         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
80669         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
80670         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
80671         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
80672         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
80673         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
80674         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
80675         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
80676         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
80677         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
80678         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
80679         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
80680         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
80681         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
80682         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
80683         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
80684         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
80685         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
80686         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
80687         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
80688         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
80689         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
80690         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
80691         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
80692         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
80693         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
80694         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
80695         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
80696         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
80697         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
80698         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
80699         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
80700         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
80701         Require >= 2.
80702         (FLT_ROUNDS): Expect as macro, not constant.
80703         (FLT_MANT_DIG): Use macro-int-constant.
80704         (DBL_MANT_DIG): Likewise.
80705         (LDBL_MANT_DIG): Likewise.
80706         (FLT_DIG): Likewise.
80707         (DBL_DIG): Likewise.
80708         (LDBL_DIG): Likewise.
80709         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
80710         (DBL_MIN_EXP): Likewise.
80711         (LDBL_MIN_EXP): Likewise.
80712         (FLT_MAX_EXP): Use macro-int-constant.
80713         (DBL_MAX_EXP): Likewise.
80714         (LDBL_MAX_EXP): Likewise.
80715         (FLT_MAX_10_EXP): Likewise.
80716         (DBL_MAX_10_EXP): Likewise.
80717         (LDBL_MAX_10_EXP): Likewise.
80718         (FLT_MAX): Use macro-constant.
80719         (DBL_MAX): Likewise.
80720         (LDBL_MAX): Likewise.
80721         (FLT_EPSILON): Use macro-constant.  Give upper bound.
80722         (DBL_EPSILON): Likewise.
80723         (LDBL_EPSILON): Likewise.
80724         (FLT_MIN): Likewise.
80725         (DBL_MIN): Likewise.
80726         (LDBL_MIN): Likewise.
80727         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
80728         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
80729         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
80730         [ISO11] (FLT_HAS_SUBNORM): Likewise.
80731         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
80732         [ISO11] (DBL_DECIMAL_DIG): Likewise.
80733         [ISO11] (FLT_DECIMAL_DIG): Likewise.
80734         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
80735         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
80736         [ISO11] (FLT_TRUE_MIN): Likewise.
80737         [ISO11] (LDBL_TRUE_MIN): Likewise.
80738         [ISO || ISO99 || ISO11] (*_t): Do not allow.
80739         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
80740         (SCHAR_MIN): Use macro-int-constant.  Specify type.
80741         (SCHAR_MAX): Likewise.
80742         (UCHAR_MAX): Likewise.
80743         (CHAR_MIN): Likewise.
80744         (CHAR_MAX): Likewise.
80745         (MB_LEN_MAX): Use macro-int-constant.
80746         (SHRT_MIN): Use macro-int-constant.  Specify type.
80747         (SHRT_MAX): Likewise.
80748         (USHRT_MAX): Likewise.
80749         (INT_MAX): Likewise.
80750         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
80751         bound negative.
80752         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
80753         bound with "U".
80754         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
80755         bound with "L".
80756         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
80757         bound negative.  Suffix upper bound with "L".
80758         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
80759         bound with "UL".
80760         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
80761         Specify type.
80762         [C99-based standards] (LLONG_MAX): Likewise.
80763         [C99-based standards] (ULLONG_MAX): Likewise.
80764         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
80765         == 0.
80766         [ISO11] (max_align_t): Require type.
80767         [ISO || ISO99 || ISO11] (*_t): Do not allow.
80769         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
80770         from $CFLAGS, without defining away __attribute__ calls.
80771         (checknamespace): Use $CFLAGS_namespace.
80773         * conform/conformtest.pl (@keywords): Only include C99 keywords
80774         for standards based on C99 or C11.
80776         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
80777         Disable tests.
80778         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
80779         UNIX98]: Likewise.
80781         * conform/conformtest.pl: Handle "macro-int-constant" and test for
80782         usability of symbols in #if.
80784         * conform/conformtest.pl: If macro or constant types start
80785         "promoted:", expect the symbol to be of the following type
80786         promoted by the integer promotions.
80788         * conform/conformtest.pl: Parse all "constant" and "macro" lines
80789         in one place.  Also handle "macro-constant".
80791         * conform/conformtest.pl: Only accept expected macro values with
80792         "==".  Parse all "macro" lines in one place.
80793         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
80795         * conform/conformtest.pl: Handle braced types on "constant" lines
80796         instead of handling "typed-constant".
80797         * conform/data/signal.h-data: Use "constant" instead of
80798         "typed-constant".
80800         * conform/conformtest.pl: Handle "optional-" at start of lines in
80801         one place rather than duplicating several cases.  Handle each
80802         format of "macro" line with initial "optional-".
80804         * conform/conformtest.pl: Only accept expected constant or
80805         optional-constant values with "==".  Parse all "constant" lines in
80806         one place.  Parse all "optional-constant" lines in one place.
80807         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
80808         * conform/data/fmtmsg.h-data: Likewise.
80809         * conform/data/netinet/in.h-data: Likewise.
80810         * conform/data/tar.h-data: Likewise.
80811         * conform/data/limits.h-data: Use "==" form on "constant" and
80812         "optional-constant" lines.
80814         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
80815         Use -std=c99 for XOPEN2K.
80816         (@knownproblems): Remove.
80817         (newtoken): Don't check %isknown.
80819         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
80820         Do not expect macro.
80821         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
80822         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
80823         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
80824         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
80825         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
80826         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
80827         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
80828         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
80829         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
80830         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
80831         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
80832         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
80833         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
80834         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
80835         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
80836         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
80837         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
80838         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
80839         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
80840         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
80841         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
80842         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
80843         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
80844         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
80845         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
80846         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
80847         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
80848         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
80849         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
80850         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
80851         [XPG3] (acosh): Likewise.
80852         [XPG3] (asinh): Likewise.
80853         [XPG3] (atanh): Likewise.
80854         [XPG3] (cbrt): Likewise.
80855         [XPG3] (expm1): Likewise.
80856         [XPG3] (ilogb): Likewise.
80857         [XPG3] (log1p): Likewise.
80858         [XPG3] (logb): Likewise.
80859         [XPG3] (nextafter): Likewise.
80860         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
80861         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
80862         [XPG3] (remainder): Likewise.
80863         [XPG3] (rint): Likewise.
80864         [XPG3 || XPG4 || UNIX98] (round): Likewise.
80865         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
80866         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
80867         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
80868         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
80869         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
80870         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
80871         [UNIX98 || XOPEN2K] (scalb): Expect.
80872         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
80873         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
80874         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
80875         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
80876         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
80877         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
80878         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
80879         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
80880         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
80881         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
80882         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
80883         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
80884         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
80885         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
80886         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
80887         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
80888         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
80889         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
80890         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
80891         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
80892         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
80893         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
80894         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
80895         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
80896         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
80897         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
80898         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
80899         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
80900         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
80901         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
80902         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
80903         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
80904         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
80905         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
80906         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
80907         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
80908         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
80909         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
80910         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
80911         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
80912         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
80913         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
80914         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
80915         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
80916         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
80917         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
80918         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
80919         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
80920         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
80921         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
80922         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
80923         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
80924         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
80925         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
80926         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
80927         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
80928         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
80929         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
80930         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
80931         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
80932         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
80933         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
80934         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
80935         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
80936         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
80937         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
80938         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
80939         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
80940         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
80941         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
80942         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
80943         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
80944         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
80945         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
80946         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
80947         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
80948         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
80949         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
80950         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
80951         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
80952         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
80953         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
80954         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
80955         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
80956         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
80957         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
80958         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
80959         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
80960         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
80961         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
80962         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
80963         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
80964         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
80965         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
80966         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
80967         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
80968         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
80969         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
80970         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
80971         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
80972         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
80973         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
80974         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
80975         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
80976         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
80977         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
80978         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
80979         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
80980         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
80981         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
80982         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
80983         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
80984         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
80985         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
80986         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
80987         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
80988         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
80989         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
80990         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
80991         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
80992         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
80993         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
80994         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
80995         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
80996         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
80997         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
80998         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
80999         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
81000         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
81001         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
81002         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
81003         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
81004         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
81005         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
81006         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
81007         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
81008         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
81010         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
81011         _XOPEN_SOURCE_EXTENDED for XPG4.
81013         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
81015         * Makeconfig (localtime): Remove variable.
81016         (inst_localtime-file): Likewise.
81018 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
81020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
81021         Update.
81022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
81023         Update.
81024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
81025         Update.
81026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
81027         Update.
81028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
81029         Update.
81030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
81031         Update.
81032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
81033         Update.
81034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
81035         Update.
81036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
81037         Update.
81039 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
81041         [BZ #2550]
81042         [BZ #2570]
81043         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
81044         comparisons to determine direction to adjust input.
81045         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
81046         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
81047         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
81048         Likewise.
81049         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
81050         Likewise.
81051         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
81052         Likewise.
81053         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
81054         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
81055         Likewise.
81056         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
81057         Likewise.
81058         * math/libm-test.inc (nexttoward_test): Add more tests.
81060 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
81062         [BZ #14040]
81063         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
81064         in version GLIBC_2.1, not GLIBC_2.0.
81065         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
81066         Likewise.
81068 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
81070         [BZ #13942]
81071         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
81072         (1 - x) * (1 + x).
81073         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
81074         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
81075         * math/libm-test.inc (acos_test): Add more tests.
81076         (asin_test): Likewise.
81077         * sysdeps/i386/fpu/libm-test-ulps: Update.
81078         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81080         [BZ #14034]
81081         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
81082         of square root.
81083         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
81084         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
81085         * math/libm-test.inc (acos_test_tonearest): New function.
81086         (acos_test_towardzero): Likewise.
81087         (acos_test_downward): Likewise.
81088         (acos_test_upward): Likewise.
81089         (asin_test_tonearest): Likewise.
81090         (asin_test_towardzero): Likewise.
81091         (asin_test_downward): Likewise.
81092         (asin_test_upward): Likewise.
81093         (main): Call the new functions.
81094         * sysdeps/i386/fpu/libm-test-ulps: Update.
81095         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
81097         [BZ #13884]
81098         [BZ #13924]
81099         * math/e_exp10.c: Include <float.h>.
81100         (__ieee754_exp10): Handle underflow here rather than multiplying
81101         large negative argument by M_LN10.
81102         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
81103         of __ieee754_expf.
81104         * math/e_exp10l.c: Include <float.h>.
81105         (__ieee754_exp10l): Handle underflow here rather than multiplying
81106         large negative argument by M_LN10l.
81107         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
81108         spurious overflow exception on underflow.
81110 2012-04-29  Marek Polacek  <polacek@redhat.com>
81112         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
81113         (__fortify_function): New macro.
81114         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
81115         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
81116         __extern_always_inline.
81117         * libio/bits/stdio2.h: Likewise.
81118         * libio/bits/stdio.h: Likewise.
81119         * string/string.h: Likewise.
81120         * string/bits/string3.h: Likewise.
81121         * include/stdio.h: Likewise.
81122         * stdlib/bits/stdlib.h: Likewise.
81123         * stdlib/stdlib.h: Likewise.
81124         * rt/bits/mqueue2.h: Likewise.
81125         * rt/mqueue.h: Likewise.
81126         * posix/bits/unistd.h: Likewise.
81127         * posix/unistd.h: Likewise.
81128         * io/bits/poll2.h: Likewise.
81129         * io/bits/fcntl2.h: Likewise.
81130         * io/fcntl.h: Likewise.
81131         * io/sys/poll.h: Likewise.
81132         * misc/bits/syslog.h: Likewise.
81133         * misc/bits/syslog-ldbl.h: Likewise.
81134         * misc/sys/syslog.h: Likewise.
81135         * socket/bits/socket2.h: Likewise.
81136         * socket/sys/socket.h: Likewise.
81137         * debug/tst-chk1.c: Likewise.
81138         * wcsmbs/bits/wchar2.h: Likewise.
81139         * wcsmbs/bits/wchar-ldbl.h: Likewise.
81140         * wcsmbs/wchar.h: Likewise.
81142 2012-04-29  Andreas Jaeger  <aj@suse.de>
81144         * Makerules (tests): Remove enable-check-abi protection.
81145         (check-abi-warn): Remove.
81146         (check-abi-%): Remove check-abi-warn usage.
81148         * configure.in: Remove check-abi configure option.
81149         * configure: Regenerated.
81150         * config.make.in (enable-check-abi): Remove.
81152 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
81154         [BZ #14033]
81155         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
81156         double functions to double *_finite functions.
81158         [BZ #13941]
81159         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
81160         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
81161         LDBL_MIN_EXP.
81162         * stdio-common/Makefile (tests): Add tst-sprintf3.
81163         * stdio-common/tst-sprintf3.c: New file.
81165         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
81166         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
81168 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
81170         * conform/conformtest.pl: Remove duplicate typed-constant
81171         handling.
81173 2012-04-28  David S. Miller  <davem@davemloft.net>
81175         * Makerules (%.abilist): Add vpath on sysdep_dirs.
81176         (check-abi-%): Remove AWK script prerequisite and explicit
81177         abilist directory.
81178         (check-abi): Rewrite to just diff the symlist with the abilist.
81179         (config-tls, config-abi-config): Delete, no longer used.
81180         (update-abi-%): Remove AWK script and explicit abilist directory.
81181         (update-abi): Rewrite to simply compare and conditionally copy the
81182         symlist and the sysdep abilist file.  Remove update-abi-config
81183         checks.
81184         * abilist/ld.abilist: Remove.
81185         * abilist/libBrokenLocale.abilist: Remove.
81186         * abilist/libanl.abilist: Remove.
81187         * abilist/libcrypt.abilist: Remove.
81188         * abilist/libdl.abilist: Remove.
81189         * abilist/librt.abilist: Remove.
81190         * abilist/libthread_db.abilist: Remove.
81191         * abilist/libutil.abilist: Remove.
81192         * scripts/extract-abilist.awk: Remove.
81193         * scripts/merge-abilist.awk: Remove.
81194         * sysdeps/generic/libcidn.abilist: New file.
81195         * sysdeps/generic/libnss_compat.abilist: New file.
81196         * sysdeps/generic/libnss_db.abilist: New file.
81197         * sysdeps/generic/libnss_dns.abilist: New file.
81198         * sysdeps/generic/libnss_files.abilist: New file.
81199         * sysdeps/generic/libnss_hesiod.abilist: New file.
81200         * sysdeps/generic/libnss_nis.abilist: New file.
81201         * sysdeps/generic/libnss_nisplus.abilist: New file.
81202         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
81203         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
81204         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
81205         file.
81206         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
81207         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
81208         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
81209         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
81210         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
81211         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
81212         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
81213         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
81214         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
81215         file.
81216         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
81217         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
81218         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
81219         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
81220         file.
81221         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
81222         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
81223         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
81224         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
81225         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
81226         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
81227         file.
81228         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
81229         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
81230         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
81231         file.
81232         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
81233         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
81234         New file.
81235         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
81236         New file.
81237         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
81238         New file.
81239         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
81240         New file.
81241         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
81242         New file.
81243         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
81244         New file.
81245         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
81246         New file.
81247         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
81248         New file.
81249         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
81250         New file.
81251         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
81252         New file.
81253         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
81254         New file.
81255         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
81256         New file.
81257         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
81258         New file.
81259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
81260         file.
81261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
81262         New file.
81263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
81264         New file.
81265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
81266         file.
81267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
81268         New file.
81269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
81270         New file.
81271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
81272         file.
81273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
81274         New file.
81275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
81276         New file.
81277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
81278         New file.
81279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
81280         New file.
81281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
81282         New file.
81283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
81284         New file.
81285         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
81286         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
81287         file.
81288         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
81289         New file.
81290         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
81291         file.
81292         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
81293         file.
81294         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
81295         file.
81296         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
81297         file.
81298         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
81299         file.
81300         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
81301         New file.
81302         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
81303         file.
81304         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
81305         file.
81306         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
81307         New file.
81308         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
81309         file.
81310         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
81311         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
81312         file.
81313         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
81314         New file.
81315         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
81316         file.
81317         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
81318         file.
81319         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
81320         file.
81321         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
81322         file.
81323         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
81324         file.
81325         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
81326         New file.
81327         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
81328         file.
81329         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
81330         file.
81331         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
81332         New file.
81333         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
81334         file.
81335         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
81336         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
81337         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
81338         file.
81339         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
81340         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
81341         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
81342         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
81343         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
81344         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
81345         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
81346         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
81347         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
81348         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
81349         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
81350         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
81351         file.
81352         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
81353         New file.
81354         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
81355         file.
81356         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
81357         file.
81358         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
81359         file.
81360         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
81361         file.
81362         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
81363         file.
81364         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
81365         New file.
81366         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
81367         New file.
81368         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
81369         file.
81370         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
81371         New file.
81372         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
81373         file.
81374         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
81375         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
81376         file.
81377         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
81378         New file.
81379         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
81380         file.
81381         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
81382         file.
81383         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
81384         file.
81385         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
81386         file.
81387         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
81388         file.
81389         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
81390         New file.
81391         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
81392         New file.
81393         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
81394         file.
81395         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
81396         New file.
81397         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
81398         file.
81400 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
81402         * conform/conformtest.pl: Fix typo in handling typed-constant from
81403         allow-header.
81405 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
81407         * README: Cut down references to pre-2.6 Linux kernels and
81408         Linuxthreads.  Update lists of configurations in libc and ports
81409         and sort alphabetically.  Say "or newer" with Linux kernel version
81410         requirements.
81412         * config.h.in [IS_IN_build]: Allow compiling without optimization.
81414 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
81416         [BZ #887]
81417         * math/libm-test.inc (logb_test_downward): New test to expose
81418         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
81419         rounding mode.
81421 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
81423         [BZ #14027]
81424         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
81425         to be done.
81426         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
81427         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
81429 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
81431         * sysdeps/unix/i386/brk.S: Remove file.
81432         * sysdeps/unix/i386/dl-brk.S: Likewise.
81433         * sysdeps/unix/i386/pipe.S: Likewise.
81434         * sysdeps/unix/i386/sigreturn.S: Likewise.
81435         * sysdeps/unix/i386/syscall.S: Likewise.
81436         * sysdeps/unix/i386/vfork.S: Likewise.
81437         * sysdeps/unix/i386/wait.S: Likewise.
81439         * sysdeps/unix/common/tcsendbrk.c: Move to ...
81440         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
81442         * configure.in (arm*-none*): Do not allow without
81443         --enable-hacker-mode.
81444         (netbsd*): Remove case setting base_os.
81445         (386bsd*): Likewise.
81446         (freebsd*): Likewise.
81447         (bsdi*): Likewise.
81448         (osf*): Likewise.
81449         (sunos*): Likewise.
81450         (ultrix*): Likewise.
81451         (newsos*): Likewise.
81452         (dynix*): Likewise.
81453         (*bsd*): Likewise.
81454         (sysv*): Likewise.
81455         (isc*): Likewise.
81456         (esix*): Likewise.
81457         (sco*): Likewise.
81458         (minix*): Likewise.
81459         (irix4*): Likewise.
81460         (irix6*): Likewise.
81461         (solaris[2-9]*): Likewise.
81462         (none): Likewise.
81463         * configure: Regenerated.
81465 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81467         [BZ #11521]
81468         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
81469         overflow or cancellation in calculating denominator.
81470         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
81471         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
81472         down expression to avoid unexpected rounding in newer GCCs.
81473         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
81475 2012-04-26  David S. Miller  <davem@davemloft.net>
81477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
81478         long-double compat symbols.
81479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
81480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
81481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
81482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
81483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
81484         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
81485         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
81486         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
81487         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
81488         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
81489         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
81490         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
81491         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
81493 2012-04-25  David S. Miller  <davem@davemloft.net>
81495         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
81496         HWCAP_* values only after the memory barriers have been defined.
81497         (atomic_full_barrier): Define.
81498         (atomic_read_barrier): Define.
81499         (atomic_write_barrier): Define.
81501 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
81503         * shlib-versions: Add libgcc_s version information.
81504         * sysdeps/generic/libgcc_s.h: Remove.
81505         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
81506         libgcc_s.h.
81507         * sysdeps/gnu/unwind-resume.c: Likewise.
81508         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
81510 2012-04-25  David S. Miller  <davem@davemloft.net>
81512         * sysdeps/unix/sparc/brk.S: Delete.
81513         * sysdeps/unix/sparc/dl-brk.S: Delete.
81514         * sysdeps/unix/sparc/pipe.S: Delete.
81515         * sysdeps/unix/sparc/sysdep.S: Delete.
81516         * sysdeps/unix/sparc/sysdep.h: Delete.
81517         * sysdeps/unix/sparc/vfork.S: Delete.
81518         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
81519         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
81520         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
81521         (ret_ERRVAL, r0, r1, MOVE): Define.
81522         (JUMPTARGET): Remove.
81523         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
81524         sysdeps/unix/sparc/sysdep.h
81525         (ENTRY, END): Remove.
81526         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
81528 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
81530         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
81531         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
81532         -DIS_IN_build.
81534         * timezone/README: Update upstream location and email address for
81535         tzcode and tzdata.
81536         * timezone/zdump.c: Update from tzcode 2012b.
81537         * timezone/zic.c: Likewise.
81539         * configure.in (libc_cv_as_needed): Remove test.
81540         * configure: Regenerated.
81541         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
81542         conditional definition.
81543         [$(have-as-needed) != yes] (no-as-needed): Likewise.
81544         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
81545         * config.make.in (have-as-needed): Remove variable.
81547 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
81548             Paul Pluzhnikov  <ppluzhnikov@google.com>
81550         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
81551         strings correctly.
81553 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
81555         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
81556         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
81557         * sysdeps/sh/strlen.S: Likewise.
81559 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
81561         * sysdeps/unix/fork.S: Remove file.
81562         * sysdeps/unix/i386/fork.S: Likewise.
81563         * sysdeps/unix/sparc/fork.S: Likewise.
81565         * sysdeps/unix/system.c: Remove file.
81566         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
81568         * sysdeps/unix/getegid.S: Remove file.
81569         * sysdeps/unix/geteuid.S: Likewise.
81571 2012-04-24  Roland McGrath  <roland@hack.frob.com>
81573         * scripts/check-localplt.awk: New file.
81574         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
81575         of diff.
81576         * scripts/data/localplt-generic.data: Add a comment.
81578         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
81579         NODE when __dir_mkfile failed.
81580         * sysdeps/mach/hurd/symlinkat.c: Likewise.
81581         Reported by Ludovic Courtès <ludo@gnu.org>.
81583 2012-04-24  Andreas Jaeger  <aj@suse.de>
81585         * Makerules (common-clean): Also remove gen-as-const-headers
81586         files.
81588 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
81590         * Makerules (native-compile): Do not change working directory for
81591         build.  Use $(OUTPUT_OPTION) in command.
81592         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
81594 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81596         [BZ #13886]
81597         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
81598         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
81599         * math/libm-test.inc (floor_test): Add more tests.
81600         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
81602 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
81604         * sysdeps/unix/getdents.c: Remove file.
81605         * sysdeps/unix/sysv/getdents.c: Likewise.
81606         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
81608         * sysdeps/unix/syscalls.list (madvise): Add syscall from
81609         sysdeps/unix/mman/syscalls.list.
81610         (mmap): Likewise.
81611         (mprotect): Likewise.
81612         (msync): Likewise.
81613         (munmap): Likewise.
81614         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
81615         * sysdeps/unix/mman/syscalls.list: Remove.
81616         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
81618         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
81619         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
81620         * configure: Regenerated.
81621         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
81622         $(libgcc_s_suffix).
81623         * config.make.in (libgcc_s_suffix): Remove variable.
81625 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
81627         * sysdeps/unix/sysv/gethostname.c: Move to ...
81628         * sysdeps/posix/gethostname.c: ... here.
81630         * sysdeps/unix/execve.S: Remove file.
81632         * sysdeps/unix/_exit.S: Remove file.
81634 2012-04-23  Andreas Jaeger  <aj@suse.de>
81636         [BZ #13739]
81637         * manual/Makefile: Remove make dist support, there's no
81638         need for a stand-alone documentation tar ball.
81639         (TEXI2DVI): Define always, it's not in Makeconfig.
81640         (dist): Removed.
81641         (tar-it): Removed.
81642         (edition): Removed.
81643         (glibc-doc-$(edition).tar): Removed
81644         (%.Z): Removed.
81645         (%.gz): Removed.
81646         (%.uu): Removed.
81647         (ETAGS): Remove, it's in Makeconfig.
81648         (move-if-change): Remove, it's in Makeconfig.
81650 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
81652         [BZ #13970]
81653         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
81654         (strtod, strtof, strtold, strtol, strtoul, strtoq)
81655         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
81656         (strtod_l, strtof_l, strtold_l): Remove __wur.
81657         It is not necessarily an error to ignore strtol's return value.
81658         One can reliably look at the stored endptr to decide whether
81659         the number had valid syntax.
81661 2012-04-21  Andreas Jaeger  <aj@suse.de>
81663         [BZ #13739]
81664         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
81666 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
81668         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
81669         * sysdeps/unix/sysv/Versions: Remove file.
81671 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
81673         [BZ #13927]
81674         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
81676 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
81678         [BZ #7064]
81679         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
81680         version from __vm86.
81682 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
81684         * sysdeps/unix/common/lxstat.c: Remove file.
81685         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
81687         * sysdeps/unix/sysv/Makefile: Remove file.
81689         * sysdeps/unix/sysv/direct.h: Remove file.
81691         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
81692         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
81693         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
81694         * sysdeps/unix/sysv/bits/signum.h: Likewise.
81695         * sysdeps/unix/sysv/bits/stat.h: Likewise.
81696         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
81697         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
81699         * sysdeps/unix/sysv/setrlimit.c: Remove file.
81701         * sysdeps/unix/xmknod.c: Remove file.
81702         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
81704         * sysdeps/unix/sysv/settimeofday.c: Remove file.
81706         * sysdeps/unix/sysv/i386/time.S: Remove file.
81708         * sysdeps/unix/fxstat.c: Remove file.
81709         * sysdeps/unix/xstat.c: Likewise.
81710         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
81712         * sysdeps/unix/sysv/sigaction.c: Remove file.
81714         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
81715         (sysdep_headers): Remove variable.
81716         [termio.h not in sysdep_headers] (generated): Likewise.
81717         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
81718         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
81719         * sysdeps/unix/sysv/tcdrain.c: Likewise.
81720         * sysdeps/unix/sysv/tcflow.c: Likewise.
81721         * sysdeps/unix/sysv/tcflush.c: Likewise.
81722         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
81723         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
81724         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
81725         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
81726         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
81728         * sysdeps/unix/siglist.c: Remove file.
81730         * sysdeps/unix/getppid.S: Remove file.
81732         * sysdeps/unix/mkdir.c: Remove file.
81733         * sysdeps/unix/rmdir.c: Likewise.
81735 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
81737         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
81738         ERR_MAX value.
81739         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
81740         errlist-compat value.
81742 2012-04-18  David S. Miller  <davem@davemloft.net>
81744         * sysdeps/generic/memcopy.h (reg_char): Delete.
81745         * debug/strcat_chk.c: Use char, not reg_char.
81746         * debug/strcpy_chk.c: Likewise.
81747         * debug/strncat_chk.c: Likewise.
81748         * debug/strncpy_chk.c: Likewise.
81749         * string/memchr.c: Likewise.
81750         * string/memrchr.c: Likewise.
81751         * string/rawmemchr.c: Likewise.
81752         * string/strcat.c: Likewise.
81753         * string/strchr.c: Likewise.
81754         * string/strchrnul.c: Likewise.
81755         * string/strcmp.c: Likewise.
81756         * string/strcpy.c: Likewise.
81757         * string/strncat.c: Likewise.
81758         * string/strncmp.c: Likewise.
81759         * string/strncpy.c: Likewise.
81761 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
81763         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
81764         __builtin_memcopy is called when src and dest ranges are known to not
81765         overlap.
81767 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
81769         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
81770         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
81771         fwd_align_merge macro call.
81772         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
81773         bwd_align_merge macro call.
81774         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
81776 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
81778         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
81779         bwd_align_merge macros.
81780         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
81781         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
81782         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
81784 2012-04-18  David S. Miller  <davem@davemloft.net>
81786         * sysdeps/sparc/sparc64/memcopy.h: Delete.
81788 2012-04-18  Andreas Jaeger  <aj@suse.de>
81790         [BZ #6794]
81791         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
81792         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
81793         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
81795         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
81796         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
81797         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
81799         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
81800         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
81801         Adjust for changed ldbl-128 files.
81803         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
81804         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
81805         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
81807 2012-04-17  David S. Miller  <davem@davemloft.net>
81809         * sysdeps/sparc/sparc32/memcopy.h: Delete.
81811 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
81813         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
81814         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
81815         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
81816         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
81817         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
81818         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
81820 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81822         [BZ #6794]
81823         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
81824         * math/libm-test.inc: Add ilogb errno and exception tests.
81825         * math/w_ilogb.c: New file: ilogb wrapper.
81826         * math/w_ilogbf.c: New file: ilogbf wrapper.
81827         * math/w_ilogbl.c: New file: ilogbl wrapper.
81828         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
81829         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
81830         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
81831         exception being thrown with 0.0 as argument.
81832         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
81833         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
81834         exception being thrown with 0.0 as argument.
81835         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
81836         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
81837         exception being thrown with 0.0 as argument.
81838         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
81839         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
81840         exception being thrown with 0.0 as argument.
81841         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
81842         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
81843         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
81844         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
81845         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
81846         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
81847         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
81848         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
81849         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
81851 2012-04-17  Petr Baudis  <pasky@ucw.cz>
81853         * include/sys/uio.h: Change __vector to __iovec to avoid clash
81854         with altivec.
81856 2012-04-16  Marek Polacek  <polacek@redhat.com>
81858         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
81860 2012-04-16  Marek Polacek  <polacek@redhat.com>
81862         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
81863         operands of fdivp instruction.
81865 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
81867         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
81868         * elf/tst-auditmod3b.c: Likewise.
81869         * elf/tst-auditmod4b.c: Likewise.
81870         * elf/tst-auditmod5b.c: Likewise.
81871         * elf/tst-auditmod6b.c: Likewise.
81872         * elf/tst-auditmod6c.c: Likewise.
81873         * elf/tst-auditmod7b.c: Likewise.
81874         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
81875         * sysdeps/x86_64/preconfigure.in: Likewise.
81876         * sysdeps/x86_64/preconfigure: Regenerated.
81878 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
81880         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
81881         __ILP32__.
81883 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
81885         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
81886         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
81888 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
81890         [BZ #13973]
81891         * locale/iso-639.def: Fix gl language name. Spotted by
81892         Yaron Shahrabani.
81894 2012-04-12  Roland McGrath  <roland@hack.frob.com>
81896         [BZ #2074]
81897         * libio/libio.h (__io_write_fn): Update comment.
81899 2012-04-12  Petr Baudis  <pasky@ucw.cz>
81901         [BZ #2074]
81902         * stdio.texi (Hook Functions): The user provided writer function
81903         is not allowed to return -1.
81905 2012-04-11  David S. Miller  <davem@davemloft.net>
81907         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81909 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
81911         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
81912         Add a leading slash to rtkaio.
81914 2012-04-11  Jim Meyering  <meyering@redhat.com>
81916         [BZ #11959]
81917         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
81918         It is not necessarily an error to ignore fwrite's return
81919         value.  One can reliably use ferror to test for errors after
81920         the fact.
81922 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
81924         * bits/types.h (__snseconds_t): New type.
81925         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
81927         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
81928         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
81929         (__SNSECONDS_T_TYPE): Likewise.
81930         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
81931         (__SNSECONDS_T_TYPE): Likewise.
81932         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
81933         (__SNSECONDS_T_TYPE): Likewise.
81935 2012-04-10  Andreas Jaeger  <aj@suse.de>
81937         [BZ #2636]
81938         * manual/time.texi (Processor Time): Return type of times is
81939         elapsed real time since an arbitrary point in the past.
81940         (CPU Time): Move CLK_TCK from here...
81941         (Processor Time): ...to here.  Correct description.
81942         * manual/conf.texi (Constants for Sysconf): Correct description of
81943         _SC_CLK_TCK.
81945 2012-04-10  David S. Miller  <davem@davemloft.net>
81947         [BZ #13967]
81948         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
81949         where the is a gap between DT_REL(A) and DT_JMPREL.
81951 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
81953         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
81954         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
81955         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
81957 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
81959         * elf/dl-support.c (_dl_inhibit_cache): New variable.
81960         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
81961         (dl_main): Handle --inhibit-cache.
81962         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
81963         _dl_inhibit_cache.
81964         * elf/dl-load.c (_dl_map_object): Use it.
81965         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
81967 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
81969         [BZ #13872]
81970         * sysdeps/i386/fpu/e_powl.S (p78): New object.
81971         (__ieee754_powl): Saturate large exponents rather than testing for
81972         overflow of y*log2(x).
81973         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
81974         * math/libm-test.inc (pow_test): Do not permit spurious overflow
81975         exceptions.
81977         [BZ #11521]
81978         * math/s_ctan.c: Include <float.h>.
81979         (__ctan): Avoid internal overflow or cancellation in calculating
81980         denominator.
81981         * math/s_ctanf.c: Likewise.
81982         * math/s_ctanl.c: Likewise.
81983         * math/s_ctanh.c: Likewise.
81984         * math/s_ctanhf.c: Likewise.
81985         * math/s_ctanhl.c: Likewise.
81986         * math/libm-test.inc (ctan_test): Add more tests.
81987         (ctanh_test): Likewise.
81988         * sysdeps/i386/fpu/libm-test-ulps: Update.
81989         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81991 2012-04-09  Andreas Jaeger  <aj@suse.de>
81993         [BZ #6894]
81994         * manual/filesys.texi (Directory Entries): Mention that d_namlen
81995         is an optional BSD extension.
81997         [BZ #10254]
81998         * manual/stdio.texi (Opening Streams): Document additional fopen
81999         parameters.
82001 2012-04-09  Roland McGrath  <roland@hack.frob.com>
82003         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
82004         %eax without telling the compiler.
82006 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
82008         [BZ # 13963]
82009         * manual/install.texi: Use sourceware.org.
82011 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
82013         [BZ #13873]
82014         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
82015         (__ieee754_pow): Generate overflow and underflow using huge*huge
82016         and tiny*tiny rather than just returning constant infinity or zero
82017         for large exponents.
82018         * math/libm-test.inc (pow_test): Require overflow exceptions for
82019         applicable cases of large exponents.
82021         [BZ #706]
82022         * sysdeps/i386/fpu/e_pow.S (p10): New object.
82023         (__ieee754_pow): Use iterative multiplication algorithm only for
82024         integer exponents with absolute value below 1024.  Check for odd
82025         integer exponents when using algorithm for real exponents.
82026         * math/libm-test.inc (pow_test): Add more tests.
82027         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
82029 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
82031         [BZ #13705]
82032         * math/libm-test.inc (exp_test): Do not allow overflow exception
82033         on underflow test.
82035 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
82037         [BZ #13705]
82038         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
82039         instead of __kernel_standard_f.
82041 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
82043         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
82044         * sysdeps/x86_64/memset_chk.S: Likewise.
82046 2012-04-08  Andreas Jaeger  <aj@suse.de>
82048         [BZ #10153]
82049         * manual/startup.texi (Environment Access): Describe return value
82050         for putenv and setenv.
82052         [BZ #6895]
82053         * manual/filesys.texi (Directory Entries): Add description for
82054         DT_LNK.
82056         [BZ #6890]
82057         * manual/filesys.texi (Directory Entries): Clarify that it's file
82058         system not operating system in the description of DT_UNKNOWN.
82060         [BZ #6578]
82061         * manual/syslog.texi (closelog): Fix reference, it's openlog.
82063 2012-04-08  Stephen Compall  <s11@member.fsf.org>
82065         [BZ #6649]
82066         * manual/llio.texi (Opening and Closing Files): Add cross
82067         reference to explain mode argument.
82069 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
82071         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
82072         * sysdeps/x86_64/memset_chk.S: Likewise.
82074 2012-04-07  David S. Miller  <davem@davemloft.net>
82076         * elf/elf.h (R_SPARC_WDISP10): Define.
82077         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
82078         R_SPARC_SIZE32.
82079         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
82080         R_SPARC_SIZE64 and R_SPARC_H34.
82082 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
82084         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
82085         conditions and remove no longer applicable assertion.
82087 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
82089         * bits/byteswap.h: Include <features.h>.
82090         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
82091         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
82093 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
82095         * bits/byteswap.h (__bswap_16): Removed.
82096         Include <bits/byteswap-16.h> to get __bswap_16.
82097         * sysdeps/i386/bits/byteswap.h: Likewise.
82098         * sysdeps/s390/bits/byteswap.h: Likewise.
82099         * sysdeps/x86_64/bits/byteswap.h: Likewise.
82100         * bits/byteswap-16.h: New file.
82101         * sysdeps/i386/bits/byteswap-16.h: Likewise.
82102         * sysdeps/s390/bits/byteswap-16.h: Likewise.
82103         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
82104         * string/Makefile (headers): Add bits/byteswap-16.h.
82106 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
82108         [BZ #13895]
82109         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
82110         extra indirection.
82111         * nss/Makefile (tests-static, tests): Add tst-nss-static.
82112         * nss/tst-nss-static.c: New.
82114 2012-04-06  Robert Millan  <rmh@gnu.org>
82116         [BZ #6486]
82117         * manual/llio.texi (File Position Primitive): lseek
82118         refers to WHENCE when it really means OFFSET.
82120 2012-04-06  Andreas Jaeger  <aj@suse.de>
82122         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
82123         strncmp declarations.
82125         * abilist/libc.abilist: Add __poll and __ppoll.
82127 2012-04-05  David S. Miller  <davem@davemloft.net>
82129         * scripts/check-local-headers.sh: Accept a host triplet in the
82130         path matched by the exclude regexp.
82132         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
82133         definition.
82134         * sysdeps/powerpc/powerpc32/dl-machine.h
82135         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
82136         * sysdeps/s390/s390-32/dl-machine.h
82137         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
82138         * sysdeps/sparc/sparc32/dl-machine.h
82139         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
82140         * sysdeps/sparc/sparc64/dl-machine.h
82141         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
82143         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
82144         lazy binding.
82145         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
82146         undefined symbol errors.
82148         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
82149         DT_NEEDED entries.
82151 2012-04-05  Michael Matz  <matz@suse.de>
82153         [BZ #13592]
82154         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
82156 2012-04-05  Andreas Jaeger  <aj@suse.de>
82158         [BZ #13908]
82159         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
82160         comment.
82162 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
82164         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
82165         which ROUND is no valid rounding mode.
82167 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
82169         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
82170         read again.
82171         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
82173 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
82175         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
82176         an exception using FPU order intentionally.
82178 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
82180         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
82181         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
82182         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
82183         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
82185 2012-04-05  Simon Josefsson  <simon@josefsson.org>
82187         [BZ #12340]
82188         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
82189         EINVAL when BUFLEN is too smal.
82191 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
82193         [BZ #13553]
82194         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
82195         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
82197 2012-04-03  Andreas Jaeger  <aj@suse.de>
82199         [BZ #13938]
82200         * manual/setjmp.texi (System V contexts): Fix sentence.
82202         [BZ #13926]
82203         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
82204         New macro for this case.
82205         [!__GNUC__] (__bswap_64): New inline function for this case.
82206         * sysdeps/x86_64/bits/byteswap.h: Likewise.
82207         * bits/byteswap.h: Likewise.
82208         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
82209         ull, guard with __GLIBC_HAVE_LONG_LONG.
82211         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
82212         __GLIBC_HAVE_LONG_LONG.
82214         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
82215         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
82217 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
82219         [BZ #13691]
82220         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
82221         inptr and inend, rather than using last_ch.
82223 2012-04-02  David S. Miller  <davem@davemloft.net>
82225         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
82226         * stdio-common/printf-parse.h (read_int): Change return type to
82227         'int', return -1 on INT_MAX overflow.
82228         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
82229         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
82230         overflows INT_MAX.  Check for overflow of in-format-string precision
82231         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
82232         SIZE_MAX not INT_MAX for integer overflow test.
82233         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
82234         skip the construct in the format string but do not record anything.
82235         * stdio-common/bug22.c: Adjust to test both width/prevision
82236         INT_MAX overflow as well as total length INT_MAX overflow.  Check
82237         explicitly for proper errno values.
82239 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
82241         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
82242         CHAR_MAX.
82243         * string/test-strcmp.c [! WIDE]: Likewise.
82244         * time/tst-mktime2.c: Likewise for INT_MAX.
82245         * string/test-string.h: #include <sys/param.h> for MIN.
82247         * csu/init-first.c (__libc_init_first): Call __ctype_init.
82248         * sysdeps/i386/init-first.c (init): Likewise.
82249         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
82250         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
82251         * sysdeps/sh/init-first.c (init): Likewise.
82253 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
82255         * po/ru.po: Update from translation team.
82256         * po/vi.po: Likewise.
82258 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
82260         * resolv/nss_dns/dns-host.c: Merge copyright years.
82262 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82264         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
82265         Optimize memcpy with prefetch if
82266         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
82267         src, dst pointers have unequal 16 byte alignments.
82269 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
82271         [BZ #13928]
82272         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
82273         from a CNAME entry and return the minimum ttl for the query.
82274         (gaih_getanswer_slice): Likewise.
82276 2012-03-30  Jeff Law  <law@redhat.com>
82278         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
82279         due to long keys.
82280         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
82281         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
82283         * resolv/nss_dns/dns-host.c: Update copyright year.
82285 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
82287         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
82288         requests to save a system call.  Fix check that all bytes are sent.
82290         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
82291         comments for sendmmsg.
82293 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
82295         [BZ #13691]
82296         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
82297         with only 1 character between 0x0041 and 0x01b0.
82298         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
82299         * wcsmbs/tst-mbsnrtowcs.c: New file.
82301 2012-03-29  David S. Miller  <davem@davemloft.net>
82303         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
82304         small copies by hand.
82306 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
82308         [BZ #13761]
82309         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
82310         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
82311         group memberships.
82313 2012-03-28  David S. Miller  <davem@davemloft.net>
82315         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
82316         that branches into memcpy.
82317         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
82318         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
82319         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
82320         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
82321         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
82322         bits.
82323         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
82324         implementation too.
82325         * sysdeps/sparc/mempcpy.S: New file.
82327         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
82328         the IFUNC routine in the libc case.
82329         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
82331         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
82332         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
82333         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
82334         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
82335         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
82336         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
82337         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
82338         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
82340         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
82341         loop to 256 bytes instead of 64 bytes and fix test signedness.
82343         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
82344         * sysdeps/sparc/sparc32/Makefile: rather than here...
82345         * sysdeps/sparc/sparc64/Makefile: and here.
82347 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
82349         * malloc/mallocbug.c: Avoid warnings about unused variables.
82351 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
82353         [BZ #13760]
82354         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
82355         in the right place. Discard and retry query if response is
82356         larger than input buffer size.
82358 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
82360         [BZ #369]
82361         [BZ #2678]
82362         [BZ #3866]
82363         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
82364         x for large integer exponent.
82365         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
82366         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
82367         sign of result as needed afterwards.
82368         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
82369         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
82370         result for underflowing pow the same as for overflow.
82371         (__kernel_standard_l): Handle powl overflow and underflow here
82372         rather than calling __kernel_standard.
82373         * math/libm-test.inc (pow_test): Add more tests.
82375         [BZ #3868]
82376         [BZ #13879]
82377         [BZ #13910]
82378         [BZ #13911]
82379         [BZ #13912]
82380         [BZ #13913]
82381         [BZ #13915]
82382         [BZ #13916]
82383         [BZ #13917]
82384         [BZ #13918]
82385         [BZ #13919]
82386         [BZ #13920]
82387         [BZ #13921]
82388         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
82389         * sysdeps/ieee754/k_standard.c: Include <float.h>.
82390         (__kernel_standard_l): New function.
82391         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
82392         __kernel_standard.
82393         * math/w_acosl.c (__acosl): Likewise.
82394         * math/w_asinl.c (__asinl): Likewise.
82395         * math/w_atan2l.c (__atan2l): Likewise.
82396         * math/w_atanhl.c (__atanhl): Likewise.
82397         * math/w_coshl.c (__coshl): Likewise.
82398         * math/w_exp10l.c (__exp10l): Likewise.
82399         * math/w_exp2l.c (__exp2l): Likewise.
82400         * math/w_fmodl.c (__fmodl): Likewise.
82401         * math/w_hypotl.c (__hypotl): Likewise.
82402         * math/w_j0l.c (__j0l, __y0l): Likewise.
82403         * math/w_j1l.c (__j1l, __y1l): Likewise.
82404         * math/w_jnl.c (__jnl, __ynl): Likewise.
82405         * math/w_lgammal.c (__lgammal): Likewise.
82406         * math/w_log10l.c (__log10l): Likewise.
82407         * math/w_log2l.c (__log2l): Likewise.
82408         * math/w_logl.c (__logl): Likewise.
82409         * math/w_powl.c (__powl): Likewise.
82410         * math/w_remainderl.c (__remainderl): Likewise.
82411         * math/w_scalbl.c (sysv_scalbl): Likewise.
82412         * math/w_sinhl.c (__sinhl): Likewise.
82413         * math/w_sqrtl.c (__sqrtl): Likewise.
82414         * math/w_tgammal.c (__tgammal): Likewise.
82415         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
82416         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
82417         * math/libm-test.inc (acos_test): Add more tests.
82418         (acosh_test): Likewise.
82419         (asin_test): Likewise.
82420         (atanh_test): Likewise.
82421         (exp_test): Likewise.
82422         (exp10_test): Likewise.
82423         (exp2_test): Likewise.
82424         (expm1_test): Likewise.
82425         (lgamma_test): Likewise.
82426         (log_test): Likewise.
82427         (log10_test): Likewise.
82428         (log1p_test): Likewise.
82429         (log2_test): Likewise.
82430         (pow_test): Do not allow some spurious overflow exceptions.
82431         (sqrt_test): Add more tests.
82432         (tgamma_test): Likewise.
82433         (y0_test): Likewise.
82434         (y1_test): Likewise.
82435         (yn_test): Likewise.
82437 2012-03-27  Anton Blanchard  <anton@samba.org>
82439         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
82440         MAP_HUGETLB.
82441         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
82442         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
82443         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
82445 2012-03-27  David S. Miller  <davem@davemloft.net>
82447         * conform/Makefile: Run run-conformtest.sh using $(BASH).
82449         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
82450         have-as-vis3 check.
82452 2012-03-27  Andreas Jaeger  <aj@suse.de>
82454         * sysdeps/x86_64/elf/configure.in: Moved to ...
82455         * sysdeps/x86_64/configure.in: ... here.
82456         * sysdeps/x86_64/elf/start.S: Moved to ...
82457         * sysdeps/x86_64/start.S: ... here.
82458         * sysdeps/x86_64/elf/configure: Delete.
82460         * sysdeps/x86_64/configure.in: Merge contents from
82461         sysdeps/i386/configure.in (without i686 check).
82463         * sysdeps/i386/elf/Versions: Merge into ...
82464         * sysdeps/i386/Versions: ... this.
82465         * sysdeps/i386/elf/Versions: Delete file.
82466         * sysdeps/i386/elf/start.S: Moved to ...
82467         * sysdeps/i386/start.S: ...here.
82468         * sysdeps/i386/elf/configure.in: Merge into...
82469         * sysdeps/i386/configure.in: ...here.
82470         * sysdeps/i386/elf/configure.in: Delete file.
82471         * sysdeps/i386/elf/configure: Delete file.
82473         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
82474         * debug/backtracesyms.c: ... here.
82475         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
82476         * debug/backtracesymsfd.c: ... here.
82477         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
82478         * sysdeps/generic/ifunc-sel.h: ... here.
82480         * sysdeps/unix/i386/start.c: Delete file.
82481         * sysdeps/unix/sparc/start.c: Delete file.
82482         * sysdeps/unix/start.c: Delete file.
82484         * sysdeps/sh/elf/configure.in: Moved to ...
82485         * sysdeps/sh/configure.in: ... here.
82486         * sysdeps/sh/elf/start.S: Moved to ...
82487         * sysdeps/sh/start.S: ... here.
82488         * sysdeps/sh/elf/configure: Delete file.
82490         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
82491         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
82492         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
82493         * sysdeps/powerpc/powerpc64/entry.h: ... here.
82494         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
82495         * sysdeps/powerpc/powerpc64/start.S: here.
82496         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
82497         * sysdeps/powerpc/powerpc64/Makefile: ... this.
82498         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
82499         * sysdeps/powerpc/powerpc64/configure.in: ... this.
82500         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
82502         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
82503         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
82504         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
82505         * sysdeps/powerpc/powerpc32/start.S: ... here.
82506         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
82507         * sysdeps/powerpc/powerpc32/configure.in: ... this.
82508         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
82510         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
82511         * sysdeps/powerpc/ifunc-sel.h: ... here.
82512         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
82513         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
82515         * sysdeps/sparc/elf/configure.in: Moved to ...
82516         * sysdeps/sparc/configure.in: ... here.
82517         * sysdeps/sparc/elf/configure: Delete file.
82518         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
82519         * sysdeps/sparc/sparc32/start.S: ... here.
82520         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
82521         * sysdeps/sparc/sparc64/start.S: ... here.
82522         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
82523         * sysdeps/sparc/sparc32/Makefile: ... this.
82524         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
82525         * sysdeps/sparc/sparc64/Makefile: ... this.
82527         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
82528         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
82529         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
82530         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
82531         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
82532         * sysdeps/s390/s390-32/setjmp.S: ... here.
82533         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
82534         * sysdeps/s390/s390-32/configure.in: ... here.
82535         * sysdeps/s390/s390-32/elf/configure: Delete file.
82536         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
82537         * sysdeps/s390/s390-32/start.S: ... here.
82539         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
82540         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
82541         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
82542         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
82543         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
82544         * sysdeps/s390/s390-64/setjmp.S: ... here.
82545         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
82546         * sysdeps/s390/s390-64/configure.in: ... here
82547         * sysdeps/s390/s390-64/elf/configure: Delete file.
82548         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
82549         * sysdeps/s390/s390-64/start.S: ... here.
82550         * sysdeps/s390/s390-64/elf/configure: Delete.
82552         * configure.in: Remove support for elf directories in sysdeps.
82554         * configure: Regenerated.
82555         * sysdeps/i386/configure: Regenerated.
82556         * sysdeps/powerpc/powerpc32/configure: Regenerated.
82557         * sysdeps/powerpc/powerpc64/configure: Regenerated.
82558         * sysdeps/s390/s390-32/configure: Regenerated.
82559         * sysdeps/s390/s390-64/configure: Regenerated.
82560         * sysdeps/sh/configure: Regenerated.
82561         * sysdeps/sparc/configure: Regenerated.
82562         * sysdeps/x86_64/configure: Regenerated.
82564 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
82566         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
82568         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
82569         denormal result into account.
82571 2012-03-25  Roland McGrath  <roland@hack.frob.com>
82573         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
82574         Reported by Allan McRae <allan@archlinux.org>.
82576 2012-03-23  Jeff Law  <law@redhat.com>
82578         * nss/getnssent.c (__nss_getent): Fix typo.
82580 2012-03-23  David S. Miller  <davem@davemloft.net>
82582         * sysdeps/sparc/fpu/libm-test-ulps: Update.
82584 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
82586         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
82587         to pad to uint64_t for each field.
82588         (dl_tls_index): Replace unsigned long with uint64_t.
82590 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
82591         Paul Pluzhnikov  <ppluzhnikov@google.com>
82593         [BZ #6528]
82594         * grp/Makefile (otherlibs): Don't set it.
82595         * inet/Makefile (otherlibs): Likewise.
82596         * login/Makefile (otherlibs): Likewise.
82597         * nscd/Makefile (otherlibs): Likewise.
82598         * posix/Makefile (otherlibs): Likewise.
82599         * pwd/Makefile (otherlibs): Likewise.
82600         * rt/Makefile (otherlibs): Likewise.
82601         * sunrpc/Makefile (otherlibs): Likewise.
82602         * nss/Makefile (otherlibs): Likewise.
82603         Add libnss_files to routines and static-only-routines.
82604         ($(objpfx)getent): Remove rule.
82605         * resolv/Makefile: Add libnss_dns and libresolv to routines and
82606         static-only-routines.
82608 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
82610         [BZ #13892]
82611         * math/s_cexp.c: Include <float.h>.
82612         (__cexp): Handle exp result overflowing not necessarily
82613         overflowing both real and imaginary parts of result.
82614         * math/s_cexpf.c: Likewise.
82615         * math/s_cexpl.c: Likewise.
82616         * math/libm-test.inc (cexp_test): Add more tests.
82617         * sysdeps/i386/fpu/libm-test-ulps: Update.
82618         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82620 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
82622         * include/link.h (ELFW): New macro.
82623         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
82624         Replace ELF64_R_TYPE with ELFW(R_TYPE).
82626 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
82628         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
82629         with uint64_t.
82631 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
82633         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
82634         declaration.
82635         (struct La_x32_retval): Likewise.
82637 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
82639         * sysdeps/x86_64/preconfigure.in: New file.
82640         * sysdeps/x86_64/preconfigure: New generated file.
82642 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
82644         [BZ #13824]
82645         * math/e_exp2l.c: Include <float.h>.
82646         (__ieee754_exp2l): Handle overflow and underflow cases
82647         separately.  Only pass fractional part of argument to
82648         __ieee754_expl.
82649         * math/libm-test.inc (exp2_test): Add more tests.
82651         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
82652         negating x to take absolute value.
82653         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
82654         Likewise.
82655         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
82656         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
82657         Likewise.
82658         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
82659         computing low part if x was negated.
82660         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
82662 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
82664         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
82665         la_x32_gnu_pltexit.
82666         (pltexit): Cast int_retval to ptrdiff_t.
82667         * elf/tst-auditmod3b.c: Likewise.
82668         * elf/tst-auditmod4b.c: Likewise.
82669         * elf/tst-auditmod5b.c: Likewise.
82670         * elf/tst-auditmod6b.c: Likewise.
82671         * elf/tst-auditmod6c.c: Likewise.
82672         * elf/tst-auditmod7b.c: Likewise.
82674         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
82675         and x32_gnu_pltexit.
82677         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
82678         __ELF_NATIVE_CLASS.
82679         (La_x32_regs): New macro.
82680         (La_x32_retval): Likewise.
82681         (la_x32_gnu_pltenter): New function prototype.
82682         (la_x32_gnu_pltexit): Likewise.
82684 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
82686         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
82687         exponent.
82689         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
82691         * configure.in (libc_cv_cc_nofma): Check for option to disable
82692         generation of FMA instructions.
82693         * configure: Regenerate.
82694         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
82695         * sysdeps/ieee754/dbl-64/Makefile: New file.
82696         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
82697         Remove brandred-fma4.
82698         (CFLAGS-brandred-fma4.c): Remove.
82699         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
82700         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
82701         define.
82702         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
82703         define.
82705 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
82707         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
82708         LLONG_MAX != LONG_MAX.
82709         (_itoa_word): Use _ITOA_WORD_TYPE on value.
82710         (_fitoa_word): Likewise.
82711         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
82712         LLONG_MAX != LONG_MAX.
82713         * stdio-common/_itowa.h: Include <_itoa.h>.
82714         (_itowa_word): Use _ITOA_WORD_TYPE on value.
82715         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
82716         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
82717         only if not defined.
82718         (_ITOA_WORD_TYPE): Likewise.
82719         (_itoa_word): Use _ITOA_WORD_TYPE on value.
82720         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
82722 2012-03-21  David S. Miller  <davem@davemloft.net>
82724         * sysdeps/sparc/fpu/libm-test-ulps: Update.
82726 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
82728         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
82729         of x86_64 when setting libc_cv_slibdir, libdir and
82730         libc_cv_localedir.
82731         * sysdeps/unix/sysv/linux/configure: Regenerated.
82733 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
82735         * manual/lang.texi (Old Varargs): Remove section.
82736         (How Variadic): Update menu.
82737         (va_start): Do not mention varargs.h.
82739 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
82740             Joseph Myers  <joseph@codesourcery.com>
82742         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
82743         link test.
82744         * configure: Regenerated.
82746 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
82748         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
82749         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
82750         conformtest.pl
82752 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
82754         * NOTES: Remove.
82755         * Makefile (files-for-dist): Remove NOTES.
82756         (NOTES): Remove rule.
82757         * README: Don't refer to NOTES.
82758         * manual/creature.texi: Don't include macros.texi.
82759         * manual/intro.texi (creature.texi): Remove comment referring to
82760         NOTES.
82762         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
82763         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
82764         * configure: Regenerated.
82765         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
82766         LIBC_TRY_CC_OPTION.
82767         (libc_cv_as_i686): Likewise.
82768         (libc_cv_cc_avx): Likewise.
82769         (libc_cv_cc_sse2avx): Likewise.
82770         (libc_cv_cc_fma4): Likewise.
82771         (libc_cv_cc_novzeroupper): Likewise.
82772         * sysdeps/i386/configure: Regenerated.
82774         [BZ #13883]
82775         * sysdeps/i386/fpu/s_cexp.S: Remove.
82776         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
82777         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
82778         * math/libm-test.inc (cexp_test): Add more tests.
82779         * sysdeps/i386/fpu/libm-test-ulps: Update.
82780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82782 2012-03-21  Allan McRae  <allan@archlinux.org>
82784         * timezone/Makefile: Do not install iso3166.tab and zone.tab
82786 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
82788         [BZ #13871]
82789         * math/w_exp2.c: Do not include <float.h>.
82790         (o_threshold, u_threshold): Remove.
82791         (__exp2): Calculate result before checking finiteness and calling
82792         __kernel_standard.
82793         * math/w_exp2f.c: Likewise.
82794         * math/w_exp2l.c: Likewise.
82795         * math/libm-test.inc (exp2_test): Require overflow exception for
82796         1e6 input.
82798         [BZ #3866]
82799         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
82800         range of signed 64-bit integers before using fistpll.  Remove
82801         checks for whether integers fit in mantissa bits.
82802         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
82803         the range of signed 32-bit integers before using fistpl.  Remove
82804         checks for whether integers fit in mantissa bits.
82805         * sysdeps/i386/fpu/e_powl.S (p64): New object.
82806         (__ieee754_powl): Test for y outside the range of signed 64-bit
82807         integers before using fistpll.  Reduce 64-bit values to 63-bit
82808         ones as needed.
82809         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
82810         divide-by-zero is raised for zero to large negative powers.
82811         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
82812         (__ieee754_powl): Test for y outside the range of signed 64-bit
82813         integers before using fistpll.  Reduce 64-bit values to 63-bit
82814         ones as needed.
82815         * math/libm-test.inc (pow_test): Add more tests.
82817 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
82819         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
82820         <stdio-common/_itoa.h>.
82821         * debug/segfault.c: Likewise.
82822         * elf/dl-cache.c: Likewise.
82823         * elf/dl-minimal.c: Likewise.
82824         * elf/dl-misc.c: Likewise.
82825         * elf/dl-sysdep.c: Likewise.
82826         * elf/dl-version.c: Likewise.
82827         * elf/rtld.c: Likewise.
82828         * hurd/hurdsock.c: Likewise.
82829         * hurd/lookup-retry.c: Likewise.
82830         * malloc/malloc.c: Likewise.
82831         * malloc/mtrace.c: Likewise.
82832         * nscd/nscd_getgr_r.c: Likewise.
82833         * nscd/nscd_getpw_r.c: Likewise.
82834         * nscd/nscd_getserv_r.c: Likewise.
82835         * posix/getopt_init.c: Likewise.
82836         * posix/wordexp.c: Likewise.
82837         * stdio-common/_itoa.c: Likewise.
82838         * stdio-common/printf_fphex.c: Likewise.
82839         * stdio-common/vfprintf.c: Likewise.
82840         * string/_strerror.c: Likewise.
82841         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
82842         * sysdeps/i386/i686/hp-timing.h: Likewise.
82843         * sysdeps/mach/_strerror.c: Likewise.
82844         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
82845         * sysdeps/mach/hurd/sethostid.c: Likewise.
82846         * sysdeps/mach/hurd/xmknodat.c: Likewise.
82847         * sysdeps/mach/xpg-strerror.c: Likewise.
82848         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
82849         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
82850         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
82851         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
82852         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
82853         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
82854         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
82855         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
82856         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
82857         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
82858         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
82859         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
82860         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
82861         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
82862         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
82863         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
82864         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
82865         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
82866         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
82867         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
82868         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
82870         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
82872         * stdio-common/_itoa.h: Moved to ...
82873         * sysdeps/generic/_itoa.h: Here.
82875         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
82877         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
82878         instead of "_itoa.h" and "_itowa.h".
82879         * stdio-common/vfprintf.: Likewise.
82881 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
82883         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
82884         <bits/wordsize.h>.
82885         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
82886         (__signbit): Likewise.
82887         (llrintf): Likewise.
82888         (llrint): Likewise.
82890 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
82892         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
82893         __WORDSIZE != 64.
82895 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
82897         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
82898         OVERFLOW_EXCEPTION_OK.
82899         * math/libm-test.inc ("Philosophy"): Update comment about
82900         exception testing.
82901         (OVERFLOW_EXCEPTION): Define.
82902         (OVERFLOW_EXCEPTION_OK): Likewise.
82903         (INVALID_EXCEPTION_OK): Renumber.
82904         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
82905         (IGNORE_ZERO_INF_SIGN): Likewise.
82906         (test_exceptions): Handle FE_OVERFLOW.
82907         (exp10_test): Expect overflow exceptions.
82908         (exp2_test): Likewise.
82909         (expm1_test): Likewise.
82910         (nextafter_test): Likewise.
82911         (pow_test): Likewise.
82912         (scalbn_test): Likewise.
82913         (scalbln_test): Likewise.
82915 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
82917         * sysdeps/x86_64/bits/atomic.h
82918         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
82919         64bit integer.
82920         (atomic_exchange_acq): Likewise.
82921         (__arch_exchange_and_add_body): Likewise.
82922         (__arch_add_body): Likewise.
82923         (atomic_add_negative): Likewise.
82924         (atomic_add_zero): Likewise.
82926 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
82928         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
82929         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
82931 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
82933         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
82934         Check __x86_64__ instead of __WORDSIZE.
82936 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
82938         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
82940 2012-03-19  David S. Miller  <davem@davemloft.net>
82942         * sysdeps/sparc/fpu/libm-test-ulps: Update.
82944         * sysdeps/sparc/fpu/fenv_private.h: New file.
82945         * sysdeps/sparc/fpu/math_private.h: Use it.
82946         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
82947         Remove.
82948         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
82949         (libc_feholdexcept_setroundl): Remove.
82950         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
82951         Remove.
82952         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
82953         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
82955 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
82957         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
82958         int64_t instead of long int.
82959         (INSERT_WORDS64): Likewise.
82961 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
82963         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
82964         _Unwind_GetCFA return to _Unwind_Ptr first.
82966 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
82968         [BZ #13629]
82969         * math/s_clog.c: Include <float.h>.
82970         (__clog): Scale large or subnormal inputs.
82971         * math/s_clogf.c: Likewise.
82972         * math/s_clogl.c: Likewise.
82973         * math/s_clog10.c: Include <float.h>.
82974         (M_LOG10_2): Define.
82975         (__clog10): Scale large or subnormal inputs.
82976         * math/s_clog10f.c: Likewise.
82977         * math/s_clog10l.c: Likewise.
82978         * math/libm-test.inc (clog_test): Add more tests.
82979         (clog10_test): Likewise.
82980         * sysdeps/i386/fpu/libm-test-ulps: Update.
82981         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82983         [BZ #11451]
82984         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
82985         x and y.
82986         * math/libm-test.inc (atan2_test): Add another test.
82988         * Makerules (common-objdir-compile): Remove.
82989         * sysdeps/unix/Makefile (config-generated): Do not add
82990         $(unix-generated) to variable.
82991         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
82992         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
82993         Remove rule.
82994         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
82995         Likewise.
82996         [generic bits/local_lim.h] (before-compile): Do not append to
82997         variable.
82998         [generic bits/local_lim.h] (common-generated): Likewise.
82999         [generic sys/param.h] (before-compile): Do not append to variable.
83000         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
83001         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
83002         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
83003         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
83004         include.
83005         [generic sys/param.h] (sys/param.h-includes): Remove variable.
83006         [generic sys/param.h] (sys/param.h-includes): Remove rule.
83007         [generic sys/param.h] ($(addprefix
83008         $(common-objpfx),$(sys/param.h-includes))): Likewise.
83009         [generic sys/param.h] (common-generated): Do not append to
83010         variable.
83011         [generic sys/param.h] (sysdep_headers): Likewise.
83012         [generic bits/errno.h] (before-compile): Do not append to
83013         variable.
83014         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
83015         rule.
83016         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
83017         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
83018         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
83019         [generic bits/errno.h] (common-generated): Do not append to
83020         variable.
83021         [generic bits/ioctls.h] (before-compile): Do not append to
83022         variable.
83023         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
83024         rule.
83025         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
83026         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
83027         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
83028         rule.
83029         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
83030         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
83031         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
83032         [generic bits/ioctls.h] (common-generated): Do not append to
83033         variable.
83034         [generic sys/syscall.h] (syscall.h): Remove variable.
83035         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
83036         rule.
83037         [generic sys/syscall.h] (before-compile): Do not append to
83038         variable.
83039         [generic sys/syscall.h] (common-generated): Likewise.
83040         * sysdeps/unix/errnos-tmpl.c: Remove file.
83041         * sysdeps/unix/errnos.awk: Likewise.
83042         * sysdeps/unix/ioctls-tmpl.c: Likewise.
83043         * sysdeps/unix/ioctls.awk: Likewise.
83044         * sysdeps/unix/mk-local_lim.c: Likewise.
83045         * sysdeps/unix/snarf-ioctls: Likewise.
83047 2012-03-19  Richard Henderson  <rth@twiddle.net>
83049         * sysdeps/i386/fpu/fenv_private.h: New file.
83050         * sysdeps/i386/fpu/math_private.h: Use it.
83051         (math_opt_barrier, math_force_eval): Remove.
83052         (libc_feholdexcept_setround_53bit): Remove.
83053         (libc_feupdateenv_53bit): Remove.
83054         * sysdeps/x86_64/fpu/math_private.h: Likewise.
83055         (math_opt_barrier, math_force_eval): Remove.
83056         (libc_feholdexcept): Remove.
83057         (libc_feholdexcept_setround): Remove.
83058         (libc_fetestexcept, libc_fesetenv): Remove.
83059         (libc_feupdateenv_test): Remove.
83060         (libc_feupdateenv, libc_feholdsetround): Remove.
83061         (libc_feresetround): Remove.
83063         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
83064         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
83066         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
83067         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
83068         (libc_feupdateenv_testl): New.
83069         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
83070         (libc_feupdateenv_testf): New.
83071         (libc_feupdateenv): Use libc_feupdateenv_test.
83072         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
83073         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
83075         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
83076         (libc_feholdsetroundf, libc_feholdsetroundl): New.
83077         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
83078         (libc_feresetround_noex): New.
83079         (libc_feresetround_noexf): New.
83080         (libc_feresetround_noexl): New.
83081         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
83082         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
83083         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
83084         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
83085         SET_RESTORE_ROUND.
83086         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
83087         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
83088         (__cos): Likewise.
83089         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
83090         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
83091         SET_RESTORE_ROUND_NOEX.
83092         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
83093         SET_RESTORE_ROUND_NOEXF.
83094         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
83095         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
83096         (libc_feholdsetroundf): New.
83097         (libc_feresetround, libc_feresetroundf): New.
83099         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
83100         (libc_feholdexcept_setround_53bit): Convert from macro to function.
83101         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
83103         * sysdeps/generic/math_private.h: Include <fenv.h>.
83104         (default_libc_feholdexcept): New.
83105         (default_libc_feholdexcept_setround): New.
83106         (default_libc_fesetenv, default_libc_feupdateenv): New.
83107         (libc_feholdexcept): Only define if undefined.
83108         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
83109         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
83110         (libc_feholdexcept_setroundl): Likewise.
83111         (libc_feholdexcept_setround_53bit): Likewise.
83112         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
83113         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
83114         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
83115         (libc_feupdateenv_53bit): Likewise.
83116         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
83117         (libc_feholdexcept): Convert from macro to inline function.
83118         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
83119         (libc_fesetenv, libc_feupdateenv): Likewise.
83121         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
83122         not previously defined.
83123         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
83124         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
83125         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
83126         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
83127         * sysdeps/ieee754/flt-32/math_private.h: New file.
83128         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
83129         math_private.h below SET_FLOAT_WORD.
83130         (__isnan, __isinf_ns, __finite): Remove.
83131         (__isnanf, __isinf_nsf, __finitef): Remove.
83133 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
83135         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83137 2012-03-17  David S. Miller  <davem@davemloft.net>
83139         [BZ #6471]
83140         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
83141         for 2.16.
83143 2012-03-16  David S. Miller  <davem@davemloft.net>
83145         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
83146         warnings.
83148         [BZ #6471]
83149         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
83150         properly.
83151         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
83152         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
83153         sysdep_routines when subdir is sysvipc.
83154         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
83155         __getshmlba helper.
83157         * sysdeps/sparc/fpu/libm-test/ulps: Update.
83159 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
83161         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
83162         [__LP64__].
83164 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
83166         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
83167         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
83168         (__lround): Renamed to ...
83169         (__llround): This.  Replace long int with long long int.
83170         Define lround functions as aliases of llround functions.
83171         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
83173 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
83175         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
83176         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
83177         adresses to uintptr_t.  Replace "long int" and "unsigned long
83178         int" with "greg_t" on va_arg.
83180 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
83182         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
83183         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
83185         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
83186         Move e_machine check before EI_CLASS check.  Handle x32
83187         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
83188         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
83189         SKIP_EM_IA_64 and include
83190         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
83192         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
83193         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
83194         (add_system_dir): New macro.
83196         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
83197         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
83199 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
83201         [BZ #2551]
83202         [BZ #2552]
83203         [BZ #2553]
83204         [BZ #2554]
83205         [BZ #2562]
83206         [BZ #2563]
83207         [BZ #2565]
83208         [BZ #2566]
83209         [BZ #2576]
83210         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
83211         (y0): Likewise.
83212         * math/w_j0f.c (j0f): Likewise.
83213         (y0f): Likewise.
83214         * math/w_j0l.c (__j0l): Likewise.
83215         (__y0l): Likewise.
83216         * math/w_j1.c (j1): Likewise.
83217         (y1): Likewise.
83218         * math/w_j1f.c (j1f): Likewise.
83219         (y1f): Likewise.
83220         * math/w_j1l.c (__j1l): Likewise.
83221         (__y1l): Likewise.
83222         * math/w_jn.c (jn): Likewise.
83223         (yn): Likewise.
83224         * math/w_jnf.c (jnf): Likewise.
83225         (ynf): Likewise.
83226         * math/w_jnl.c (__jnl): Likewise.
83227         (__ynl): Likewise.
83228         * math/libm-test.inc (j0_test): Add more tests.
83229         (j1_test): Likewise.
83230         (jn_test): Likewise.  Add trailing semicolon to existing test.
83231         (y0_test): Likewise.
83232         (y1_test): Likewise.
83233         * sysdeps/i386/fpu/libm-test-ulps: Update.
83234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83236         [BZ #13851]
83237         [BZ #13854]
83238         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
83239         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
83240         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
83241         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
83242         (__tanl): Set errno for infinite argument.
83243         * sysdeps/i386/fpu/mptan.c: Remove.
83244         * sysdeps/i386/fpu/s_tan.S: Likewise.
83245         * sysdeps/i386/fpu/s_tanl.S: Likewise.
83246         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
83247         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
83248         * math/libm-test.inc (tan_test): Add more tests and enable more
83249         tests for double and long double.
83250         * sysdeps/i386/fpu/libm-test-ulps: Update.
83251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83253 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
83255         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
83256         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
83258 2012-03-16  Roland McGrath  <roland@hack.frob.com>
83260         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
83261         * configure.in: Use it for both main tree and add-ons.
83262         * configure: Regenerated.
83264 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
83266         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
83268 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
83270         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
83271         in comment.
83273         [BZ #13851]
83274         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
83275         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
83276         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
83277         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
83278         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
83279         infinite argument.
83280         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
83281         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
83282         != 0 for prec == 2.
83283         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
83284         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
83285         * sysdeps/i386/fpu/s_cosl.S: Likewise.
83286         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
83287         * sysdeps/i386/fpu/s_sinl.S: Likewise.
83288         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
83289         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
83290         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
83291         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
83292         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
83293         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
83294         * math/libm-test.inc (cos_test): Add more tests and enable more
83295         tests for long double.
83296         (sin_test): Likewise.
83297         (sincos_test): Likewise.
83298         * sysdeps/i386/fpu/libm-test-ulps: Update.
83299         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83301 2012-03-16  David S. Miller  <davem@davemloft.net>
83303         * sysdeps/sparc/fpu/math_private.h: New file.
83305 2012-03-15  David S. Miller  <davem@davemloft.net>
83307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
83308         file.
83309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
83310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
83311         file.
83312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
83313         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
83314         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
83315         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
83316         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
83317         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
83318         sysdep routines.
83319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
83321         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
83322         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
83324         * sysdeps/sparc/sparc-ifunc.h: New file.
83325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
83326         sparc-ifunc.h
83327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
83328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
83329         Likewise.
83330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
83331         Likewise.
83332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
83333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
83334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
83335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
83336         Likewise.
83337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
83338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
83339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
83340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
83341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
83342         Likewise.
83343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
83344         Likewise.
83345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
83346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
83347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
83348         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
83349         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
83350         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
83351         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
83352         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
83353         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
83354         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
83355         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
83356         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
83357         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
83358         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
83359         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
83360         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
83361         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
83362         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
83363         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
83364         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
83365         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
83366         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
83367         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
83368         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
83370 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
83372         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
83373         scaling.
83374         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83376 2012-03-15  Andreas Jaeger  <aj@suse.de>
83378         [BZ #13852]
83379         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
83380         ieee754/flt-32 implementation for sin, cos and sincos.
83381         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
83382         * sysdeps/i386/fpu/s_cosf.S: Likewise.
83383         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
83384         * sysdeps/i386/fpu/s_sinf.S: Likewise.
83385         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
83386         ieee754/flt-32 implementation for tan.
83388         * math/libm-test.inc (cos_test): Enable some large input tests for
83389         float as well
83390         (sin_test): Likewise.
83391         (sincos_test): Likewise.
83392         (tan_test): Add tests for large input.
83394         * sysdeps/i386/fpu/libm-test-ulps: Update.
83396 2012-03-15  Andreas Jaeger  <aj@suse.de>
83398         [BZ #13658]
83399         * math/libm-test.inc (cos_test): Add more test cases.
83400         (sin_test): Likewise.
83401         (sincos_test): Likewise.
83403 2012-03-15  Andreas Jaeger  <aj@suse.de>
83405         [BZ #13837]
83406         * math/libm-test.inc (cos_test): Add a test case for large input
83407         value.
83408         (sin_test): Likewise.
83409         (sincos_test): Likewise.
83411 2012-03-15  Andreas Jaeger  <aj@suse.de>
83412             Joseph Myers  <joseph@codesourcery.com>
83414         [BZ #13658]
83415         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
83416         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
83417         * sysdeps/i386/fpu/branred.c: Likewise.
83418         * sysdeps/i386/fpu/dosincos.c: Likewise.
83419         * sysdeps/i386/fpu/mpa.c: Likewise.
83420         * sysdeps/i386/fpu/s_cos.S: Likewise.
83421         * sysdeps/i386/fpu/s_sin.S: Likewise.
83422         * sysdeps/i386/fpu/s_sincos.S: Likewise.
83423         * sysdeps/i386/fpu/sincos32.c: Likewise.
83425         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
83426         Define.
83427         (libc_feupdateenv_53bit): Define.
83428         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
83429         Define.
83430         (libc_feupdateenv_53bit): Define.
83432         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
83433         53 bit (without extend i386 double precision).
83435         * math/libm-test.inc (sincos_test): Add tests for large input.
83436         (sin): Likewise.
83437         (cos): Likewise.
83439         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
83441 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
83443         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83445 2012-03-15  David S. Miller  <davem@davemloft.net>
83447         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
83448         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
83449         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
83450         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
83451         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
83452         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
83453         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
83454         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
83455         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
83456         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
83457         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
83458         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
83459         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
83460         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
83461         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
83462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
83463         file.
83464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
83465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
83466         file.
83467         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
83468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
83469         file.
83470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
83471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
83472         file.
83473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
83474         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
83475         fmin/fmax sysdep routines.
83476         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
83478 2012-03-14  David S. Miller  <davem@davemloft.net>
83480         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
83481         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
83482         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
83483         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
83484         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
83485         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
83486         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
83487         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
83488         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
83489         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
83490         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
83491         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
83492         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
83493         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
83494         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
83495         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
83496         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
83497         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
83498         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
83499         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
83500         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
83501         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
83502         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
83503         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
83504         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
83505         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
83506         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
83507         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
83508         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
83509         routines.
83510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
83511         file.
83512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
83513         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
83514         file.
83515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
83516         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
83517         file.
83518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
83519         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
83520         file.
83521         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
83522         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
83523         file.
83524         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
83525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
83526         file.
83527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
83528         file.
83529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
83530         file.
83531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
83532         file.
83533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
83534         New file.
83535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
83536         file.
83537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
83538         file.
83539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
83540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
83541         file.
83542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
83543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
83544         file.
83545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
83546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
83547         file.
83548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
83549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
83550         VIS3 routines.
83552         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
83553         New file.
83555         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83557         * sysdeps/sparc/configure.in: New file.
83558         * sysdeps/sparc/configure: Generate.
83559         * configure.in (libc_cv_sparc_as_vis3): Substitute.
83560         * configure: Regenerate.
83561         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
83562         * config.make.in (have-as-vis3): New.
83563         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
83564         available use -Av9d instead of -Av9a.
83565         * sysdeps/sparc/sparc64/Makefile: Likewise.
83566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
83567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
83568         New file.
83569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
83570         file.
83571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
83572         New file.
83573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
83574         file.
83575         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
83576         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
83577         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
83578         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
83579         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
83581         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
83582         fzeros/fnegs to load 0x80000000 into a float register instead of
83583         using the stack.
83584         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
83586 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
83588         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
83589         bits/syscall.h.
83590         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
83591         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
83592         ($(inst_includedir)/bits/syscall.h): Remove rule.
83593         ($(objpfx)bits/syscall.d): Include instead of
83594         $(objpfx)syscall-list.d.
83595         (generated): Change syscall-list.h and syscall-list.d to
83596         bits/syscall.h and bits/syscall.d.
83598 2012-03-14  Roland McGrath  <roland@hack.frob.com>
83600         [BZ #13846]
83601         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
83603 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
83605         [BZ #13841]
83606         * math/s_csqrt.c: Include <float.h>.
83607         (__csqrt): Scale large or subnormal inputs.
83608         * math/s_csqrtf.c: Likewise.
83609         * math/s_csqrtl.c: Likewise.
83610         * math/libm-test.inc (csqrt_test): Add more tests.
83611         * sysdeps/i386/fpu/libm-test-ulps: Update.
83612         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83614         [BZ #13840]
83615         * math/libm-test.inc (hypot_test): Add more tests.
83617 2012-03-13  David S. Miller  <davem@davemloft.net>
83619         [BZ #13840]
83620         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
83621         double-precision for the calculation instead of scaling.
83623 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
83625         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
83626         manipulate bits before adding and subtracting TWO52[sx].
83627         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
83628         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
83629         Likewise.
83630         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
83632 2012-03-13  David S. Miller  <davem@davemloft.net>
83634         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
83635         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
83636         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
83637         rtld-global-offsets.h
83638         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
83640         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
83641         large parameters.
83643         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
83645         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
83646         'err' in the ifdef scope in which it is actually used.
83648         * nss/nss_db/db-init.c: Include string.h
83650 2012-03-12  David S. Miller  <davem@davemloft.net>
83652         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
83653         masking out of the most significant byte of random value used.
83654         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
83655         Fix coding style in previous change.
83657         * sysdeps/unix/sysv/linux/kernel-features.h
83658         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
83659         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
83660         expression.
83661         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
83662         later.
83664 2012-03-11  David S. Miller  <davem@davemloft.net>
83666         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
83667         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
83668         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
83669         for 'resultvar' otherwise things get truncated on 64-bit.
83671         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
83672         Fix masking out of the most significant byte of random value used.
83674         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83676 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
83678         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83680 2012-03-09  David S. Miller  <davem@davemloft.net>
83682         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
83683         variables with appropriate CPP guards.
83684         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
83685         from the frame pointer, not the stack pointer.  Correct layout
83686         comments.  Fix test on resulting framesize and the management of
83687         the outregs buffer for pltexit.  Preserve floating point return
83688         values across _dl_call_pltexit call.
83689         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
83690         framesize and the management of the outregs buffer for pltexit.
83691         Preserve floating point return values across _dl_call_pltexit
83692         call.
83693         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
83694         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
83695         (la_sparc64_gnu_pltexit): New functions.
83696         (print_exit): Fix format string for return register value.
83698 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
83700         * sunrpc/Makefile (others): Add rpcgen.
83701         ($(objpfx)rpcgen): Remove special build rule and dependency on
83702         libc.
83703         * sunrpc/rpcgen.c: New file.
83705 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
83707         [BZ #13673]
83708         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
83709         * stdio-common/bug-vfprintf-nargs.c: Likewise.
83710         * sysdeps/i386/crti.S: Likewise.
83711         * sysdeps/i386/crtn.S: Likewise.
83712         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
83713         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
83714         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
83715         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
83716         * sysdeps/sh/crti.S: Likewise.
83717         * sysdeps/sh/crtn.S: Likewise.
83718         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
83720         [BZ #13673]
83721         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
83722         with URL.
83723         * locale/programs/locfile-kw.gperf: Likewise.
83724         * locale/programs/charmap-kw.h: Regenerated.
83725         * locale/programs/locfile-kw.h: Likewise.
83727         [BZ #13673]
83728         * intl/plural.y: Replace FSF snail mail address with URL.
83729         * intl/plural.c: Regenerated.
83731 2012-03-09  Richard Henderson  <rth@twiddle.net>
83733         * include/math_private.h: Remove file.
83734         * math/math_private.h: Move file ...
83735         * sysdeps/generic/math_private.h: ... here.
83737         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
83738         * sysdeps/powerpc/fpu/math_private.h: Likewise.
83739         * sysdeps/x86_64/fpu/math_private.h: Likewise.
83741         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
83742         and <math_private.h>.
83743         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
83744         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
83745         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
83746         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
83747         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
83748         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
83749         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
83750         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
83751         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
83752         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
83753         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
83754         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
83755         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
83756         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
83757         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
83758         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
83759         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
83760         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
83761         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
83762         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
83763         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
83764         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
83765         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
83766         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
83767         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
83768         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
83769         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
83770         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
83771         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
83772         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
83773         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
83774         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
83775         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
83776         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
83777         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
83778         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
83779         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
83780         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
83781         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
83782         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
83783         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
83784         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
83785         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
83786         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
83787         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
83788         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
83789         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
83790         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
83791         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
83792         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
83793         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
83794         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
83795         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
83796         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
83797         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
83798         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
83799         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
83800         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
83801         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
83802         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
83803         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
83804         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
83805         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
83806         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
83807         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
83808         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
83809         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
83810         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
83811         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
83812         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
83813         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
83814         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
83815         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
83816         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
83817         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
83818         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
83819         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
83820         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
83821         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
83822         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
83823         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
83824         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
83825         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
83826         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
83827         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
83828         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
83829         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
83830         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
83831         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
83832         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
83833         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
83834         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
83835         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
83836         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
83837         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
83838         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
83839         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
83840         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
83841         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
83842         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
83843         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
83844         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
83845         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
83846         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
83847         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
83848         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
83849         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
83850         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
83851         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
83852         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
83853         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
83854         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
83855         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
83856         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
83857         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
83858         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
83859         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
83860         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
83861         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
83862         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
83863         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
83864         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
83865         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
83866         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
83867         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
83868         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
83869         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
83870         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
83871         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
83872         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
83873         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
83874         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
83875         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
83876         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
83877         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
83878         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
83879         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
83880         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
83881         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
83882         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
83883         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
83884         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
83885         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
83886         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
83887         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
83888         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
83889         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
83890         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
83891         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
83892         * sysdeps/ieee754/k_standard.c: Likewise.
83893         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
83894         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
83895         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
83896         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
83897         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
83898         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
83899         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
83900         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
83901         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
83902         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
83903         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
83904         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
83905         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
83906         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
83907         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
83908         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
83909         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
83910         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
83911         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
83912         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
83913         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
83914         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
83915         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
83916         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
83917         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
83918         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
83919         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
83920         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
83921         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
83922         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
83923         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
83924         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
83925         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
83926         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
83927         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
83928         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
83929         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
83930         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
83931         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
83932         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
83933         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
83934         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
83935         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
83936         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
83937         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
83938         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
83939         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
83940         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
83941         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
83942         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
83943         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
83944         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
83945         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
83946         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
83947         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
83948         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
83949         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
83950         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
83951         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
83952         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
83953         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
83954         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
83955         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
83956         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
83957         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
83958         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
83959         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
83960         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
83961         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
83962         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
83963         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
83964         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
83965         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
83966         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
83967         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
83968         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
83969         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
83970         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
83971         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
83972         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
83973         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
83974         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
83975         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
83976         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
83977         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
83978         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
83979         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
83980         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
83981         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
83982         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
83983         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
83984         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
83985         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
83986         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
83987         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
83988         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
83989         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
83990         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
83991         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
83992         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
83993         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
83994         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
83995         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
83996         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
83997         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
83998         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
83999         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
84000         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
84001         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
84002         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
84003         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
84004         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
84005         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
84006         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
84007         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
84008         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
84009         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
84010         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
84011         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
84012         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
84013         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
84014         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
84015         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
84016         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
84017         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
84018         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
84019         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
84020         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
84021         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
84022         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
84023         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
84024         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
84025         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
84026         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
84027         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
84028         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
84029         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
84030         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
84031         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
84032         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
84033         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
84034         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
84035         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
84036         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
84037         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
84038         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
84039         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
84040         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
84041         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
84042         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
84043         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
84044         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
84045         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
84046         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
84047         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
84048         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
84049         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
84050         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
84051         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
84052         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
84053         * sysdeps/ieee754/s_lib_version.c: Likewise.
84054         * sysdeps/ieee754/s_matherr.c: Likewise.
84055         * sysdeps/ieee754/s_signgam.c: Likewise.
84056         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
84057         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
84058         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
84059         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
84060         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
84061         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
84062         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
84063         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
84064         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
84065         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
84066         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
84067         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
84068         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
84069         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
84070         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
84071         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
84072         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
84073         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
84074         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
84075         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
84076         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
84078 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
84080         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
84081         * sunrpc/rpc_main.c: Likewise.
84082         * sunrpc/rpc_svcout.c: Likewise.
84084 2012-03-09  David S. Miller  <davem@davemloft.net>
84086         * include/math_private.h: New file.
84088 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
84090         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
84091         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
84092         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
84093         from <bits/socket_type.h>.
84094         (enum __socket_type): Don't define here.
84095         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
84096         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
84097         bits/socket_type.h.
84099         [BZ #13566]
84100         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
84101         checking __USE_GNU.
84103         * Makerules ($(inst_includedir)/%.h): New rule.
84104         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
84105         (install-others): Remove variable setting.
84106         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
84108 2012-03-08  Richard Henderson  <rth@twiddle.net>
84110         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
84111         from macro to inline function; merge with the
84112         !__LIBC_INTERNAL_MATH_INLINES version.
84113         (__ieee754_sqrtf): Likewise.
84115         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
84116         to inline function.
84117         (__rintf, __floor, __floorf): Likewise.
84119         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
84120         macro to inline function.
84121         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
84123         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
84124         not <math/math_private.h>.
84126 2012-03-08  David S. Miller  <davem@davemloft.net>
84128         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
84129         copyright year.
84130         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
84132 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
84134         * resolv/gai_misc.c (handle_requests): Fix struct timespec
84135         normalization.
84136         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
84137         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
84139 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
84141         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
84142         be defined individually, they must be defined as a block.  Define
84143         S for printing a string instead of hidint the different by using a
84144         macro for adding the 'l'.
84145         * stdio-common/tst-fphex-wide.c: Adjust.
84147 2012-03-07  Marek Polacek  <polacek@redhat.com>
84149         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
84151 2012-03-08  Marek Polacek  <polacek@redhat.com>
84153         [BZ #13806]
84154         * stdio-common/Makefile (tests): Add tst-fphex-wide.
84155         * stdio-common/tst-fphex.c: Define a few macros to make the
84156         test reusable.  Use them.
84157         * stdio-common/tst-fphex-wide.c: New file.
84159 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
84161         [BZ #6911]
84162         * manual/macros.texi (gnusystems): New macro.
84163         (nongnusystems): Likewise.
84164         (gnulinuxhurdsystems): Likewise.
84165         (gnuhurdsystems): Likewise..
84166         (gnulinuxsystems): Likewise.
84167         * manual/charset.texi: Use new macros or @theglibc{} to refer to
84168         variants of the GNU system, not "GNU system".
84169         * manual/conf.texi: Likewise.
84170         * manual/errno.texi: Likewise.  Update example of errno macro
84171         expansion.
84172         * manual/filesys.texi: Likewise.
84173         (getumask): Document as specific to GNU/Hurd.
84174         * manual/install.texi: Likewise.  Reword some references to
84175         GNU/Linux.
84176         * manual/intro.texi: Likewise.
84177         * manual/io.texi: Likewise.
84178         (File Name Portability): Detail which constraints are inapplicable
84179         to all GNU systems and which are only inapplicable to GNU/Hurd.
84180         * manual/job.texi: Likewise.
84181         * manual/llio.texi: Likewise.
84182         (O_NOCTTY): Document as present on GNU/Linux.
84183         * manual/maint.texi: Likewise.
84184         * manual/memory.texi: Likewise.
84185         * manual/pattern.texi: Likewise.
84186         * manual/pipe.texi: Likewise.
84187         * manual/process.texi: Likewise.
84188         * manual/resource.texi: Likewise.
84189         (RUSAGE_CHILDREN): Remove statement about specifying a particular
84190         child on GNU/Hurd.
84191         * manual/setjmp.texi: Likewise.
84192         * manual/signal.texi: Likewise.
84193         * manual/startup.texi: Likewise.
84194         * manual/stdio.texi: Likewise.
84195         * manual/terminal.texi: Likewise.
84196         (ONLCR): Document as POSIX.
84197         (OXTABS): Document availability on GNU/Linux as XTABS.
84198         (ONOEOT): Document availability separately from other bits.
84199         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
84200         * manual/time.texi: Likewise.
84201         * manual/users.texi: Likewise.
84202         * INSTALL: Regenerated.
84203         * sysdeps/gnu/errlist.c: Regenerated.
84205         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
84206         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
84207         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
84208         puts.
84209         * configure: Regenerated.
84211 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
84213         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
84214         default includes instead of AC_HEADER_CHECK.
84215         * sysdeps/i386/configure: Regenerated.
84217         [BZ #10716]
84218         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
84219         * math/s_cacoshf.c (__cacoshf): Likewise.
84220         * math/s_cacoshl.c (__cacoshl): Likewise.
84221         * math/s_casinh.c (__casinh): Set signs of result from argument.
84222         * math/s_casinhf.c (__casinhf): Likewise.
84223         * math/s_casinhl.c (__casinhl): Likewise.
84224         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
84225         (casinh_test): Add more tests.
84226         * sysdeps/i386/fpu/libm-test-ulps: Update.
84227         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84229 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
84231         * po/zh_TW.po: Update from translation team.
84233         * login/Makefile (distribute): Remove variable.
84234         * catgets/Makefile: Likewise.
84235         * mach/Makefile: Likewise.
84236         * malloc/Makefile: Likewise.
84237         * misc/Makefile: Likewise.
84238         * iconv/Makefile: Likewise.
84239         * nscd/Makefile: Likewise.
84240         * hurd/Makefile: Likewise.
84241         * manual/Makefile: Likewise.
84242         * locale/Makefile: Likewise.
84243         * intl/Makefile: Likewise.
84244         * conform/Makefile: Likewise.
84245         * nss/Makefile: Likewise.
84246         * time/Makefile: Likewise.
84247         * soft-fp/Makefile: Likewise.
84248         * dirent/Makefile: Likewise.
84249         * gmon/Makefile: Likewise.
84250         * po/Makefile: Likewise.
84251         * rt/Makefile: Likewise.
84252         * socket/Makefile: Likewise.
84253         * math/Makefile: Likewise.
84254         * signal/Makefile: Likewise.
84255         * debug/Makefile: Likewise.
84256         * elf/Makefile: Likewise.
84257         * timezone/Makefile: Likewise.
84258         * stdlib/Makefile: Likewise.
84259         * iconvdata/Makefile: Likewise.
84260         * sunrpc/Makefile: Likewise.
84261         * io/Makefile: Likewise.
84262         * argp/Makefile: Likewise.
84263         * inet/Makefile: Likewise.
84264         * hesiod/Makefile: Likewise.
84265         * grp/Makefile: Likewise.
84266         * csu/Makefile: Likewise.
84267         * wctype/Makefile: Likewise.
84268         * crypt/Makefile: Likewise.
84269         * libio/Makefile: Likewise.
84270         * string/Makefile: Likewise.
84271         * nis/Makefile: Likewise.
84272         * resolv/Makefile: Likewise.
84273         * stdio-common/Makefile: Likewise.
84274         * wcsmbs/Makefile: Likewise.
84275         * dlfcn/Makefile: Likewise.
84276         * posix/Makefile: Likewise.
84278         [BZ #6959]
84279         * timezone/Makefile: Don't install timezone files, just the programs
84280         and scripts.
84282 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
84284         * nss/databases.def: Add missing gshadow entry.
84286         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
84288 2012-03-06  Marek Polacek  <polacek@redhat.com>
84290         [BZ #13726]
84291         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
84292         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
84293         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
84294         * stdio-common/tst-long-dbl-fphex.c: New file.
84296 2012-03-06  David S. Miller  <davem@davemloft.net>
84298         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
84299         (set_obp_int): New function.
84300         (get_obp_int): New function.
84301         (__get_clockfreq_via_dev_openprom): Likewise.
84302         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
84303         Avoid unused variable warnings on 'val' and use builtin_expect.
84304         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
84305         __builtin_expect.
84306         (INLINE_CLONE_SYSCALL): Likewise.
84308 2012-03-05  David S. Miller  <davem@davemloft.net>
84310         * sysdeps/sparc/fpu/libm-test-ulps: Update.
84312 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
84314         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84316         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
84317         only for |x| >= 40.
84318         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
84320 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
84322         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
84323         Replace gettimeofday with __vdso_gettimeofday.
84325         * sysdeps/unix/sysv/linux/x86_64/init-first.c
84326         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
84327         __vdso_clock_gettime and __vdso_getcpu.
84329         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
84330         time with __vdso_time.
84332 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
84334         * manual/lang.texi (size_t): Note types to which size_t may be
84335         equivalent with the GNU C Library, but do not describe when
84336         differences between them are significant.
84338 2012-03-05  Andreas Jaeger  <aj@suse.de>
84340         * sysdeps/i386/fpu/libm-test-ulps: Update.
84342 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
84344         [BZ #3976]
84345         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
84346         (__ieee754_pow): Save and restore rounding mode and use
84347         round-to-nearest for main computations.
84348         * math/libm-test.inc (pow_test_tonearest): New function.
84349         (pow_test_towardzero): Likewise.
84350         (pow_test_downward): Likewise.
84351         (pow_test_upward): Likewise.
84352         (main): Call the new functions.
84353         * sysdeps/i386/fpu/libm-test-ulps: Update.
84354         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84356         [BZ #3976]
84357         * math/libm-test.inc (cosh_test_tonearest): New function.
84358         (cosh_test_towardzero): Likewise.
84359         (cosh_test_downward): Likewise.
84360         (cosh_test_upward): Likewise.
84361         (sinh_test_tonearest): Likewise.
84362         (sinh_test_towardzero): Likewise.
84363         (sinh_test_downward): Likewise.
84364         (sinh_test_upward): Likewise.
84365         (main): Call the new functions.
84366         * sysdeps/i386/fpu/libm-test-ulps: Update.
84367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84369 2012-03-05  Tom de Vries  <tom@codesourcery.com>
84371         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
84372         default stack guard is set in last bytes.
84373         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
84375 2012-03-05  Kees Cook  <keescook@chromium.org>
84377         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
84379         [BZ #13656]
84380         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
84381         possibly allocate from heap instead of stack.
84382         * stdio-common/bug-vfprintf-nargs.c: New file.
84383         * stdio-common/Makefile (tests): Add nargs overflow test.
84385 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
84387         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84389 2012-03-03  Marek Polacek  <polacek@redhat.com>
84391         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
84392         * math/math_private.h: Likewise.
84393         * stdlib/tst-strtod.c: Likewise.
84394         * sysdeps/i386/i486/bits/atomic.h: Likewise.
84395         * sysdeps/x86_64/bits/atomic.h: Likewise.
84397 2012-03-02  David S. Miller  <davem@davemloft.net>
84399         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
84400         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
84401         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
84402         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
84403         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
84404         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
84405         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
84406         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
84408 2012-03-02  Roland McGrath  <roland@hack.frob.com>
84410         [BZ #13792]
84411         * manual/examples/README: New file, says the example source files
84412         can be used under GPL>=2.
84413         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
84414         line containing just "*/".
84415         * manual/examples/add.c: Add copyright header (GPL>=2).
84416         * manual/examples/argp-ex1.c: Likewise.
84417         * manual/examples/argp-ex2.c: Likewise.
84418         * manual/examples/argp-ex3.c: Likewise.
84419         * manual/examples/argp-ex4.c: Likewise.
84420         * manual/examples/atexit.c: Likewise.
84421         * manual/examples/db.c: Likewise.
84422         * manual/examples/dir.c: Likewise.
84423         * manual/examples/dir2.c: Likewise.
84424         * manual/examples/execinfo.c: Likewise.
84425         * manual/examples/filecli.c: Likewise.
84426         * manual/examples/filesrv.c: Likewise.
84427         * manual/examples/fmtmsgexpl.c: Likewise.
84428         * manual/examples/genpass.c: Likewise.
84429         * manual/examples/inetcli.c: Likewise.
84430         * manual/examples/inetsrv.c: Likewise.
84431         * manual/examples/isockad.c: Likewise.
84432         * manual/examples/longopt.c: Likewise.
84433         * manual/examples/memopen.c: Likewise.
84434         * manual/examples/memstrm.c: Likewise.
84435         * manual/examples/mkfsock.c: Likewise.
84436         * manual/examples/mkisock.c: Likewise.
84437         * manual/examples/mygetpass.c: Likewise.
84438         * manual/examples/pipe.c: Likewise.
84439         * manual/examples/popen.c: Likewise.
84440         * manual/examples/rprintf.c: Likewise.
84441         * manual/examples/search.c: Likewise.
84442         * manual/examples/select.c: Likewise.
84443         * manual/examples/setjmp.c: Likewise.
84444         * manual/examples/sigh1.c: Likewise.
84445         * manual/examples/sigusr.c: Likewise.
84446         * manual/examples/stpcpy.c: Likewise.
84447         * manual/examples/strdupa.c: Likewise.
84448         * manual/examples/strftim.c: Likewise.
84449         * manual/examples/strncat.c: Likewise.
84450         * manual/examples/subopt.c: Likewise.
84451         * manual/examples/swapcontext.c: Likewise.
84452         * manual/examples/termios.c: Likewise.
84453         * manual/examples/testopt.c: Likewise.
84454         * manual/examples/testpass.c: Likewise.
84455         * manual/examples/timeval_subtract.c: Likewise.
84457         [BZ #13792]
84458         * manual/time.texi (Elapsed Time): Move timeval_subtract example
84459         function to ...
84460         * manual/timeval_subtract.c.texi: ... here, new file.
84462 2012-03-02  David S. Miller  <davem@davemloft.net>
84464         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
84466 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
84468         [BZ #3976]
84469         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
84470         (__sin): Save and restore rounding mode and use round-to-nearest
84471         for all computations.
84472         (__cos): Save and restore rounding mode and use round-to-nearest
84473         for all computations.
84474         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
84475         <fenv.h>.
84476         (tan): Save and restore rounding mode and use round-to-nearest for
84477         all computations.
84478         * math/libm-test.inc (cos_test_tonearest): New function.
84479         (cos_test_towardzero): Likewise.
84480         (cos_test_downward): Likewise.
84481         (cos_test_upward): Likewise.
84482         (sin_test_tonearest): Likewise.
84483         (sin_test_towardzero): Likewise.
84484         (sin_test_downward): Likewise.
84485         (sin_test_upward): Likewise.
84486         (tan_test_tonearest): Likewise.
84487         (tan_test_towardzero): Likewise.
84488         (tan_test_downward): Likewise.
84489         (tan_test_upward): Likewise.
84490         (main): Call the new functions.
84491         * sysdeps/i386/fpu/libm-test-ulps: Update.
84492         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84494         [BZ #10135]
84495         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
84496         small n, then large n, before computing and testing k+n.
84497         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
84498         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
84499         Likewise.
84500         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
84501         Likewise.
84502         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
84503         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
84504         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
84505         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
84506         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
84507         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
84508         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
84509         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
84510         * math/libm-test.inc (scalbn_test): Add more tests.
84511         (scalbln_test): Likewise.
84513         * manual/filesys.texi (mode_t): Describe constraints on size and
84514         signedness, not exact equivalence to a particular type.
84515         (ino_t): Likewise.
84516         (ino64_t): Likewise.
84517         (dev_t): Likewise.
84518         (nlink_t): Likewise.
84519         (blkcnt_t): Likewise.
84520         (blkcnt64_t): Likewise.
84521         * manual/llio.texi (off_t): Likewise.
84523         [BZ #3976]
84524         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
84525         (__ieee754_exp): Save and restore rounding mode and use
84526         round-to-nearest for all computations.
84527         * math/libm-test.inc (exp_test_tonearest): New function.
84528         (exp_test_towardzero): Likewise.
84529         (exp_test_downward): Likewise.
84530         (exp_test_upward): Likewise.
84531         (main): Call the new functions.
84532         * sysdeps/i386/fpu/libm-test-ulps: Update.
84533         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84535 2012-03-01  Chris Demetriou  <cgd@google.com>
84537         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
84538         have predictable order.
84540 2012-03-01  David S. Miller  <davem@davemloft.net>
84542         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
84544         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
84545         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
84546         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
84547         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
84549         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
84550         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
84551         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
84552         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
84553         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
84554         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
84555         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
84556         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
84557         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
84559         * sysdeps/sparc/fpu/libm-test-ulps: Update.
84561         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
84562         * sysdeps/sparc/fpu/libm-test-ulps: to here.
84563         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
84565         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
84566         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
84567         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
84568         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
84569         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
84570         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
84571         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
84572         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
84573         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
84574         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
84575         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
84576         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
84577         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
84578         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
84579         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
84580         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
84581         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
84582         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
84583         * sysdeps/sparc/elf/configure: Regenerated.
84585 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
84587         * configure.in (AS, LD): Require binutils 2.20 or later.
84588         * configure: Regenerated.
84589         * manual/install.texi (Tools for Compilation): Give binutils 2.20
84590         as required minimum version.
84591         * INSTALL: Regenerated.
84593         [BZ #2541]
84594         [BZ #4108]
84595         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
84596         before squaring exponent.
84597         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
84598         bottom long double and 27 bits of top long double before squaring
84599         exponent.
84600         * math/libm-test.inc (erfc_test): Add more tests.
84601         * sysdeps/i386/fpu/libm-test-ulps: Update.
84602         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
84603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84605 2012-03-01  Kai Tietz  <ktietz@redhat.com>
84607         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
84608         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
84609         containing bit-fields.
84610         * soft-fp/extended.h (_FP_UNION_E): Likewise.
84611         * soft-fp/single.h (_FP_UNION_S): Likewise.
84612         * soft-fp/double.h (_FP_UNION_D): Likewise.
84614 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
84616         [BZ #13786]
84617         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
84618         not include ../strcmp.S.
84619         [USE_AS_STRNCASECMP_L]: Likewise.
84620         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
84621         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
84622         * sysdeps/i386/i686/multiarch/strncase_l-c.c
84623         (__strncasecmp_l_ia32): Define as alias to
84624         __strncasecmp_l_nonascii.
84626         [BZ #5794]
84627         * math/libm-test.inc (expm1_test): Add test for bug 5794.
84628         * sysdeps/i386/fpu/libm-test-ulps: Update.
84629         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84631         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
84632         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84634 2012-02-29  Jeff Law  <law@redhat.com>
84636         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
84637         out of bounds read.
84639 2012-02-29  Marek Polacek  <polacek@redhat.com>
84641         [BZ #13706]
84642         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
84643         * elf/Makefile: Add rules to run tst-unused-dep.out.
84645 2012-02-28  David S. Miller  <davem@davemloft.net>
84647         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
84648         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
84649         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
84650         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
84651         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
84652         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
84654 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
84656         * math/libm-test.inc (llround_test): Move one test from
84657         lround_test.  Use TEST_f_L in moved test.
84658         (lround_test): Move misplaced test to llround_test.  Add testcase
84659         from bug 2561.
84661 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
84663         * sysdeps/x86_64/fpu/e_expf.S: New file.
84664         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
84666 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
84668         [BZ #13637]
84669         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
84670         of remain_len that may cause incomplete multi-byte character and
84671         false match.
84672         * posix/bug-regex33.c: New file.
84673         * posix/Makefile (tests): Add bug-regex33.
84675 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
84677         * manual/macros.texi: New file.
84678         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
84679         * manual/libc.texinfo: Include macros.texi.
84680         * manual/creatute.texi: Likewise.
84681         * manual/install.texi: Likewise.
84682         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
84683         @glibcadj{} in references to the GNU C Library.
84684         * manual/charset.texi: Likewise.
84685         * manual/conf.texi: Likewise.
84686         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
84687         when not using those macros.
84688         * manual/creature.texi: Likewise.
84689         * manual/crypt.texi: Likewise.
84690         * manual/errno.texi: Likewise.
84691         * manual/filesys.texi: Likewise.
84692         * manual/header.texi: Likewise.
84693         * manual/install.texi: Likewise.
84694         * manual/intro.texi: Likewise.
84695         * manual/io.texi: Likewise.
84696         * manual/job.texi: Likewise.
84697         * manual/lang.texi: Likewise.
84698         * manual/libc.texiinfo: Likewise.
84699         * manual/llio.texi: Likewise.
84700         * manual/locale.texi: Likewise.
84701         * manual/maint.texi: Likewise.
84702         * manual/math.texi: Likewise.
84703         * manual/memory.texi: Likewise.
84704         * manual/message.texi: Likewise.
84705         * manual/nss.texi: Likewise.
84706         * manual/pattern.texi: Likewise.
84707         * manual/process.texi: Likewise.
84708         * manual/resource.texi: Likewise.
84709         * manual/search.texi: Likewise.
84710         * manual/setjmp.texi: Likewise.
84711         * manual/signal.texi: Likewise.
84712         * manual/socket.texi: Likewise.
84713         * manual/startup.texi: Likewise.
84714         * manual/stdio.texi: Likewise.
84715         * manual/string.texi: Likewise.
84716         * manual/sysinfo.texi: Likewise.
84717         * manual/syslog.texi: Likewise.
84718         * manual/terminal.texi: Likewise.
84719         * manual/time.texi: Likewise.
84720         * manual/users.texi: Likewise.
84721         * INSTALL: Regenerated.
84722         * NOTES: Regenerated.
84723         * sysdeps/gnu/errlist.c: Regenerated.
84725 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
84727         * include/dirent.h: Include <dirstream.h> before
84728         <dirent/dirent.h>.
84730 2012-02-28  David S. Miller  <davem@davemloft.net>
84732         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
84733         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
84734         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
84735         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
84737 2012-02-27  David S. Miller  <davem@davemloft.net>
84739         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
84740         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
84741         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
84742         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
84744         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
84745         frame pointer instead of stack pointer relative arg slot.
84746         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
84747         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
84748         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
84750 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
84752         [BZ #3992]
84753         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
84755 2012-02-27  David S. Miller  <davem@davemloft.net>
84757         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
84758         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
84759         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
84760         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
84761         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
84762         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
84763         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
84764         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
84766 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
84768         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
84769         later.  Allow versions 5-9.
84770         * configure: Regenerated.
84771         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
84772         required minimum version and 4.6 as recommended version.  Do not
84773         mention bugs in GCC 2.7 and 2.8.
84774         * INSTALL: Regenerated.
84776 2012-02-27  David S. Miller  <davem@davemloft.net>
84778         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
84779         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
84780         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
84781         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
84782         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
84783         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
84784         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
84785         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
84787         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
84788         manipulate bits before adding and subtracting TWO112[sx].
84789         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
84791 2012-02-27  Roland McGrath  <roland@hack.frob.com>
84793         [BZ #13775]
84794         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
84795         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
84796         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
84797         being in POSIX, because they are in 1003.1-2008.
84799         * rt/tst-aio.c: Include <fcntl.h>.
84800         * rt/tst-aio7.c: Likewise.
84801         * rt/tst-aio64.c: Likewise.
84803         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
84805 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
84807         * manual/install.texi (--with-headers): Describe headers as
84808         interface headers, not private headers.
84809         (Specific advice for GNU/Linux systems): Describe use of headers
84810         from "make headers_install", not private headers from older
84811         kernels.
84812         * INSTALL: Regenerated.
84813         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
84814         Change to 2.6.19.
84815         * sysdeps/unix/sysv/linux/configure: Regenerated.
84817         * manual/llio.texi (fclean): Remove documentation.
84819         * manual/Makefile (libc-texi-generated): New variable.  Include
84820         version.texi.
84821         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
84822         $(libc-texi-generated), not duplicated list of files.
84823         (version.texi, stamp-version): New rules.
84824         (realclean): Remove $(libc-texi-generated), not individual files
84825         from that list.  Do not remove dir-add.texinfo.
84826         * manual/libc.texinfo: Comment out uses of edition numbers and
84827         references to printed manual.  Remove last-updated dates.
84828         (EDITION): Comment out.
84829         (ISBN): Likewise.
84830         (VERSION, UPDATED): Remove.
84831         (version.texi): Include.
84833 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
84835         * sysdeps/posix/spawni.c: Include <signal.h>.
84836         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
84837         * sysdeps/pthread/aio_fsync.c: Likewise.
84839 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
84841         * conform/Makefile (tests): Run only when not cross-compiling and
84842         when fast-check is not defined.
84844         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
84845         * conform/data/limits.h-data: Fixes for POSIX2008.
84846         * conform/run-conformtest.sh: Run all tests.
84847         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
84848         headers.
84849         * include/bits/dlfcn.h: Likewise.
84850         * include/langinfo.h: Likewise.
84851         * include/monetary.h: Likewise.
84852         * include/sys/poll.h: Likewise.
84854         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
84855         for __USE_GNU.
84856         * posix/spawn.h: Define __need_sigset_t.
84857         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
84858         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
84859         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
84860         to get sigevent_t only.
84861         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
84862         only for __USE_GNU.
84863         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
84864         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
84865         process_vm_writev only for __USE_GNU.
84866         * termios/termios.h: Declare tcgetsid also for POSIX2008.
84868         * conform/Makefile: For now ignore errors from run-conformtest.
84869         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
84870         POSIX to avoid namespace pollution.  Don't prepend headers.
84871         * conform/data/aio.h-data: Fixes for POSIX testing.
84872         * conform/data/fcntl.h-data: Likewise.
84873         * conform/data/glob.h-data: Likewise.
84874         * conform/data/grp.h-data: Likewise.
84875         * conform/data/pthread.h-data: Likewise.
84876         * conform/data/pwd.h-data: Likewise.
84877         * conform/data/signal.h-data: Likewise.
84878         * conform/data/spawn.h-data: Likewise.
84879         * conform/data/stdio.h-data: Likewise.
84880         * conform/data/stdlib.h-data: Likewise.
84881         * conform/data/stropts.h-data: Likewise.
84882         * conform/data/sys/mman.h-data: Likewise.
84883         * conform/data/sys/stat.h-data: Likewise.
84884         * conform/data/sys/types.h-data: Likewise.
84885         * conform/data/sys/wait.h-data: Likewise.
84886         * conform/data/time.h-data: Likewise.
84887         * conform/data/unistd.h-data: Likewise.
84888         * conform/data/utime.h-data: Likewise.
84890         * io/sys/stat.h: fchmod was always in POSIX.
84891         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
84892         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
84893         * rt/aio.h: Define __need_timespec before including <time.h>.
84894         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
84895         struct.  Add forward declaration of pthread_attr_t and use it in
84896         sigevent.
84897         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
84898         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
84899         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
84900         always remove CLK_TCK definition.
84902 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
84904         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
84906 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
84908         * conform/run-conformtest.sh: New file.
84909         * conform/Makefile: Run run-conformtest for tests.
84910         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
84911         support.
84913         * conform/data/uchar.h-data: New file.
84914         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
84915         * conform/data/arpa/inet.h-data: Likewise.
84916         * conform/data/assert.h-data: Likewise.
84917         * conform/data/complex.h-data: Likewise.
84918         * conform/data/cpio.h-data: Likewise.
84919         * conform/data/ctype.h-data: Likewise.
84920         * conform/data/dirent.h-data: Likewise.
84921         * conform/data/dlfcn.h-data: Likewise.
84922         * conform/data/errno.h-data: Likewise.
84923         * conform/data/fcntl.h-data: Likewise.
84924         * conform/data/float.h-data: Likewise.
84925         * conform/data/fmtmsg.h-data: Likewise.
84926         * conform/data/fnmatch.h-data: Likewise.
84927         * conform/data/ftw.h-data: Likewise.
84928         * conform/data/glob.h-data: Likewise.
84929         * conform/data/grp.h-data: Likewise.
84930         * conform/data/iconv.h-data: Likewise.
84931         * conform/data/inttypes.h-data: Likewise.
84932         * conform/data/langinfo.h-data: Likewise.
84933         * conform/data/libgen.h-data: Likewise.
84934         * conform/data/limits.h-data: Likewise.
84935         * conform/data/locale.h-data: Likewise.
84936         * conform/data/math.h-data: Likewise.
84937         * conform/data/monetary.h-data: Likewise.
84938         * conform/data/mqueue.h-data: Likewise.
84939         * conform/data/ndbm.h-data: Likewise.
84940         * conform/data/net/if.h-data: Likewise.
84941         * conform/data/netdb.h-data: Likewise.
84942         * conform/data/netinet/in.h-data: Likewise.
84943         * conform/data/nl_types.h-data: Likewise.
84944         * conform/data/poll.h-data: Likewise.
84945         * conform/data/pthread.h-data: Likewise.
84946         * conform/data/pwd.h-data: Likewise.
84947         * conform/data/regex.h-data: Likewise.
84948         * conform/data/sched.h-data: Likewise.
84949         * conform/data/search.h-data: Likewise.
84950         * conform/data/semaphore.h-data: Likewise.
84951         * conform/data/setjmp.h-data: Likewise.
84952         * conform/data/signal.h-data: Likewise.
84953         * conform/data/spawn.h-data: Likewise.
84954         * conform/data/stdarg.h-data: Likewise.
84955         * conform/data/stdio.h-data: Likewise.
84956         * conform/data/stdlib.h-data: Likewise.
84957         * conform/data/string.h-data: Likewise.
84958         * conform/data/strings.h-data: Likewise.
84959         * conform/data/stropts.h-data: Likewise.
84960         * conform/data/sys/ipc.h-data: Likewise.
84961         * conform/data/sys/mman.h-data: Likewise.
84962         * conform/data/sys/msg.h-data: Likewise.
84963         * conform/data/sys/resource.h-data: Likewise.
84964         * conform/data/sys/select.h-data: Likewise.
84965         * conform/data/sys/sem.h-data: Likewise.
84966         * conform/data/sys/shm.h-data: Likewise.
84967         * conform/data/sys/socket.h-data: Likewise.
84968         * conform/data/sys/stat.h-data: Likewise.
84969         * conform/data/sys/statvfs.h-data: Likewise.
84970         * conform/data/sys/time.h-data: Likewise.
84971         * conform/data/sys/timeb.h-data: Likewise.
84972         * conform/data/sys/times.h-data: Likewise.
84973         * conform/data/sys/types.h-data: Likewise.
84974         * conform/data/sys/uio.h-data: Likewise.
84975         * conform/data/sys/un.h-data: Likewise.
84976         * conform/data/sys/utsname.h-data: Likewise.
84977         * conform/data/sys/wait.h-data: Likewise.
84978         * conform/data/syslog.h-data: Likewise.
84979         * conform/data/tar.h-data: Likewise.
84980         * conform/data/termios.h-data: Likewise.
84981         * conform/data/utime.h-data: Likewise.
84982         * conform/data/utmpx.h-data: Likewise.
84983         * conform/data/varargs.h-data: Likewise.
84984         * conform/data/wchar.h-data: Likewise.
84985         * conform/data/wctype.h-data: Likewise.
84986         * conform/data/wordexp.h-data: Likewise.
84988         * include/stropts.h: New file.
84989         * include/uchar.h: New file.
84990         * include/aio.h: Changes to allow conformtest.pl to use the headers.
84991         * include/assert.h: Likewise.
84992         * include/ctype.h: Likewise.
84993         * include/dirent.h: Likewise.
84994         * include/dlfcn.h: Likewise.
84995         * include/fcntl.h: Likewise.
84996         * include/fnmatch.h: Likewise.
84997         * include/glob.h: Likewise.
84998         * include/grp.h: Likewise.
84999         * include/libio.h: Likewise.
85000         * include/locale.h: Likewise.
85001         * include/math.h: Likewise.
85002         * include/net/if.h: Likewise.
85003         * include/netdb.h: Likewise.
85004         * include/netinet/in.h: Likewise.
85005         * include/pthread.h: Likewise.
85006         * include/pwd.h: Likewise.
85007         * include/regex.h: Likewise.
85008         * include/sched.h: Likewise.
85009         * include/search.h: Likewise.
85010         * include/setjmp.h: Likewise.
85011         * include/signal.h: Likewise.
85012         * include/stdio.h: Likewise.
85013         * include/stdlib.h: Likewise.
85014         * include/string.h: Likewise.
85015         * include/sys/cdefs.h: Likewise.
85016         * include/sys/mman.h: Likewise.
85017         * include/sys/msg.h: Likewise.
85018         * include/sys/resource.h: Likewise.
85019         * include/sys/select.h: Likewise.
85020         * include/sys/socket.h: Likewise.
85021         * include/sys/stat.h: Likewise.
85022         * include/sys/statvfs.h: Likewise.
85023         * include/sys/time.h: Likewise.
85024         * include/sys/times.h: Likewise.
85025         * include/sys/uio.h: Likewise.
85026         * include/sys/utsname.h: Likewise.
85027         * include/sys/wait.h: Likewise.
85028         * include/termios.h: Likewise.
85029         * include/time.h: Likewise.
85030         * include/ulimit.h: Likewise.
85031         * include/unistd.h: Likewise.
85032         * include/utime.h: Likewise.
85033         * include/wchar.h: Likewise.
85034         * include/wctype.h: Likewise.
85035         * include/wordexp.h: Likewise.
85037         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
85039         * time/time.h: TIME_UTC must be a macro.
85040         Make timespec_get available for ISO C11 only as well.
85042 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
85044         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
85045         Reported by Peng Haitao <penght@cn.fujitsu.com>.
85047 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
85049         * configure.in: Use -o not -a in test for unsupported multi-arch.
85051 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
85053         * manual/texinfo.tex: Update to version 2012-01-19.16.
85055 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
85057         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
85059 2012-02-24  Roland McGrath  <roland@hack.frob.com>
85061         [BZ #13738]
85062         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
85063         * manual/fdl-1.3.texi: New file.
85064         * manual/fdl-1.1.texi: File removed.
85066         [BZ #13738]
85067         * manual/libc.texinfo (FDL_VERSION): New @set.
85068         Use it for mention of FDL in cover text.
85069         (Documentation License): Use it in @include file name.
85071 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
85072             Roland McGrath  <roland@hack.frob.com>
85074         [BZ #5461]
85075         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
85076         (not LONG_LONG_MAX and LONG_LONG_MIN.
85077         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
85078         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
85079         name.
85080         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
85082 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
85084         [BZ #2547]
85085         [BZ #11365]
85086         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
85087         manipulate bits before adding and subtracting TWO23[sx].
85088         * math/libm-test.inc (nearbyint_test): Add more tests.
85090 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
85092         [BZ #2548]
85093         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
85094         bits before adding and subtracting TWO23[sx].
85095         * math/libm-test.inc (rint_test): Add more tests.
85096         (rint_test_tonearest): Likewise.
85097         (rint_test_towardzero): Likewise.
85098         (rint_test_downward): Likewise.
85099         (rint_test_upward: Likewise.
85101 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
85103         [BZ #10110]
85104         * include/stdc-predef.h: New file.  Extracted from features.h.
85105         * include/features.h: Include stdc-predef.h.
85106         * Makefile (headers): Add stdc-predef.h.
85107         * CONFORMANCE (Compiler limitations): Update.
85109 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
85111         * manual/libc.texinfo (VERSION, UPDATED): Revert.
85113 2012-02-21  David S. Miller  <davem@davemloft.net>
85115         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
85116         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
85118 2012-02-20  David S. Miller  <davem@davemloft.net>
85120         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
85121         using a normal save/restore sequence, rather than allocating a
85122         dummy stack frame just to store a frame pointer and restore.
85123         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
85125 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
85127         * manual/install.texi: Fix stray word in line-wrapped comment.
85129 2012-02-20  David S. Miller  <davem@davemloft.net>
85131         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
85132         both binutils and gcc support GOTDATA.
85134         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
85135         "rd %pc" in the PIC register setup sequences.
85137         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
85138         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
85139         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
85140         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
85141         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
85142         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
85143         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
85144         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
85145         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
85146         (SYSCALL_ERROR_HANDLER): Likewise.
85147         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
85148         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
85149         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
85150         (SYSCALL_ERROR_HANDLER): Likewise.
85152         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
85153         (HAVE_GCC_GOTDATA): New.
85154         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
85155         relocation support in both binutils and gcc.
85156         * sysdeps/sparc/elf/configure: Regenerate.
85158         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
85159         * sysdeps/sparc/sparc32/elf/configure: Delete.
85160         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
85161         * sysdeps/sparc/sparc64/elf/configure: Delete.
85162         * sysdeps/sparc/elf/configure.in: New file.
85163         * sysdeps/sparc/elf/configure: Generate.
85165         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
85166         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
85167         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
85168         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
85169         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
85171 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
85173         * manual/install.texi: Do not mention specific glibc version
85174         numbers.
85175         * manual/libc.texinfo (VERSION, UPDATED): Update.
85176         (@copying): Use @copyright{} and range of years.
85178 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
85180         [BZ #13695]
85181         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
85182         [crti.S not in sysdirs] (generated): Do not append.
85183         [crti.S not in sysdirs] (omit-deps): Likewise.
85184         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
85185         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
85186         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
85187         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
85188         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
85189         Likewise.
85190         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
85191         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
85192         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
85193         * csu/defs.awk: Remove file.
85194         * sysdeps/generic/initfini.c: Likewise.
85195         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
85196         variable.
85197         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
85198         Likewise.
85200 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
85202         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
85203         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
85204         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
85205         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
85206         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
85207         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
85208         <bits/epoll.h>.
85209         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
85210         (__EPOLL_PACKED): Define to empty if not defined by
85211         <bits/epoll.h>.
85212         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
85213         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
85214         bits/epoll.h.
85216 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
85218         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
85219         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
85220         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
85221         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
85222         <bits/timerfd.h>.
85223         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
85224         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
85225         bits/timerfd.h.
85227 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
85229         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
85230         in C locale.
85231         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
85232         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
85233         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
85234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85236 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
85238         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
85239         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
85241 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
85243         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
85244         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
85245         defined.
85246         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
85247         Likewise.
85248         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
85249         entry for 2.16.
85251 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
85253         * math/w_acos.c: Use non-signaling floating-point comparisons.
85254         * math/w_acosf.c: Likewise.
85255         * math/w_acosh.c: Likewise.
85256         * math/w_acoshf.c: Likewise.
85257         * math/w_acoshl.c: Likewise.
85258         * math/w_acosl.c: Likewise.
85259         * math/w_asin.c: Likewise.
85260         * math/w_asinf.c: Likewise.
85261         * math/w_asinl.c: Likewise.
85262         * math/w_atanh.c: Likewise.
85263         * math/w_atanhf.c: Likewise.
85264         * math/w_atanhl.c: Likewise.
85265         * math/w_exp2.c: Likewise.
85266         * math/w_exp2f.c: Likewise.
85267         * math/w_exp2l.c: Likewise.
85268         * math/w_j0.c: Likewise.
85269         * math/w_j0f.c: Likewise.
85270         * math/w_j0l.c: Likewise.
85271         * math/w_j1.c: Likewise.
85272         * math/w_j1f.c: Likewise.
85273         * math/w_j1l.c: Likewise.
85274         * math/w_jn.c: Likewise.
85275         * math/w_jnf.c: Likewise.
85276         * math/w_log.c: Likewise.
85277         * math/w_log10.c: Likewise.
85278         * math/w_log10f.c: Likewise.
85279         * math/w_log10l.c: Likewise.
85280         * math/w_log2.c: Likewise.
85281         * math/w_log2f.c: Likewise.
85282         * math/w_log2l.c: Likewise.
85283         * math/w_logf.c: Likewise.
85284         * math/w_logl.c: Likewise.
85285         * math/w_sqrt.c: Likewise.
85286         * math/w_sqrtf.c: Likewise.
85287         * math/w_sqrtl.c: Likewise.
85288         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
85289         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
85290         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
85291         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
85292         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
85294 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
85296         [BZ #9739]
85297         * manual/string.texi (strnlen): Use correct parameter name in
85298         equivalent expression.
85300 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
85302         [BZ #11174]
85303         * manual/users.texi (seteuid): Consistently use neweuid for
85304         argument name.
85306 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
85308         [BZ #13704]
85309         * manual/nss.texi (Services in the NSS configuration): Correct
85310         list of services in example configuration file.
85312 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
85314         [BZ #11322]
85315         * manual/arith.texi: Remove statements about negative zero
85316         behaving identically to zero.
85318 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
85320         [BZ #5993]
85321         * manual/install.texi: Do not document upgrading from libc5.
85323 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
85325         [BZ #4596]
85326         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
85328 2012-02-18  David S. Miller  <davem@davemloft.net>
85330         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
85331         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
85332         %o7 across the call.
85333         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
85334         instead.
85335         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
85336         SETUP_PIC_REG_LEAF.
85337         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
85338         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
85339         * sysdeps/sparc/crtn.S: Likewise.
85341 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
85343         * aout/Makefile: Remove.
85345 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
85347         [BZ #13058]
85348         * manual/examples/argp-ex1.c (main): Format definition in GNU
85349         style.
85350         * manual/examples/argp-ex2.c (main): Likewise.
85351         * manual/examples/argp-ex3.c (main): Likewise.
85352         * manual/examples/argp-ex4.c (main): Likewise.
85353         * manual/examples/longopt.c (main): Use new-style prototype
85354         definition.
85355         * manual/examples/strncat.c (main): Specify return type and use
85356         (void) for arguments.
85357         * manual/examples/subopt.c (main): Use char **argv argument.
85359 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
85361         [BZ #5077]
85362         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
85363         rounding modes.
85365 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
85367         [BZ #6907]
85368         * manual/string.texi (strchr): Change when strchrnul is
85369         recommended.
85371 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
85373         [BZ #174]
85374         * manual/locale.texi (setlocale): Document LOCPATH.
85376 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
85378         [BZ #10210]
85379         * manual/process.texi (execle): Move @dots{} before last argument.
85381 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
85383         [BZ #12047]
85384         * manual/charset.texi (Generic Charset Conversion): Fix typo
85385         (LC_TYPE -> LC_CTYPE).
85387 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
85389         [BZ #5805]
85390         * manual/arith.texi (scalbn): Use @var{} on parameter names.
85391         (scalbnf): Likewise.
85392         (scalbnl): Likewise.
85393         (scalbln): Likewise.
85394         (scalblnf): Likewise.
85395         (scalblnl): Likewise.
85396         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
85397         (vwarnx): Likewise.
85398         (verr): Likewise.
85399         (verrx): Likewise.
85400         * manual/filesys.texi (telldir): Use braces around return type.
85401         * manual/llio.texi (mmap): Add space after comma.
85402         (mmap64): Likewise.
85403         * manual/math.texi (jn): Use @var{} on parameter names.
85404         (jnf): Likewise.
85405         (jnl): Likewise.
85406         (yn): Likewise.
85407         (ynf): Likewise.
85408         (ynl): Likewise.
85409         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
85410         line.
85411         * manual/resource.texi (ulimit): Use @dots{} instead of literal
85412         "...".
85413         (sched_get_priority_min): Remove semicolon on @deftypefun line.
85414         (sched_get_priority_max): Likewise.
85415         * manual/signal.texi (sigvec): Add space after comma.
85416         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
85417         names.
85418         (if_indextoname): Likewise.
85419         (if_freenameindex): Likewise.
85420         (sendto): Use ',' instead of '.' in prototype.
85421         * manual/startup.texi (syscall): Use @dots{} instead of literal
85422         "...".
85423         * manual/stdio.texi (__fpending): Separate initial words of
85424         paragraph from @deftypefun line.
85425         * manual/syslog.texi (syslog): Use @dots{} instead of literal
85426         "...".
85427         (vsyslog): Use @var{} on parameter names.
85428         * manual/terminal.texi (stty): Use @var{} on parameter names.
85429         * manual/users.texi (getutmp): Use @var{} on parameter names.
85430         (getutmpx): Likewise.
85432 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
85434         [BZ #6884]
85435         * manual/stdio.texi (fopen): Fix typos in description of
85436         ",ccs=STRING".
85438 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
85440         [BZ #4026]
85441         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
85442         get clock_id definition.
85444 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
85446         [BZ #4822]
85447         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
85448         (madvise): Cast every argument to void on its own.
85450 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
85452         [BZ #9902]
85453         * manual/startup.texi (Exit Status): Fix typo.
85455 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
85457         [BZ #10140]
85458         * manual/examples/argp-ex1.c: Include <stdlib.h>.
85459         * manual/examples/argp-ex2.c: Likewise.
85460         * manual/examples/argp-ex3.c: Likewise.
85462 2012-02-16  Richard Henderson  <rth@redhat.com>
85464         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
85465         * sysdeps/s390/s390-32/initfini.c: Remove.
85466         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
85467         * sysdeps/s390/s390-64/initfini.c: Remove.
85469 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
85471         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
85472         compiler output for sysdeps/generic/initfini.c.
85473         * sysdeps/sh/elf/initfini.c: Remove file.
85475 2012-02-16  David S. Miller  <davem@davemloft.net>
85477         [BZ #11494]
85478         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
85480         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
85481         * sysdeps/sparc/crti.S: New file.
85482         * sysdeps/sparc/crtn.S: New file.
85483         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
85484         * sysdeps/sparc/sparc64/Makefile: Likewise.
85486 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
85488         [BZ #3335]
85489         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
85491 2012-02-15  Roland McGrath  <roland@hack.frob.com>
85493         [BZ #4822]
85494         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
85496         * mach/devstream.c (cookie_io_functions_t): Macro removed.
85497         (write, read, close): Likewise.
85498         Patch by Aurelien Jarno <aurelien@aurel32.net>.
85500 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
85502         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
85503         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
85504         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
85505         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
85506         <bits/signalfd.h>.
85507         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
85508         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
85509         bits/signalfd.h.
85511 2012-02-14  Marek Polacek  <polacek@redhat.com>
85513         * sysdeps/x86_64/crti.S: New file.
85514         * sysdeps/x86_64/crtn.S: New file.
85515         * sysdeps/x86_64/elf/initfini.c: Remove file.
85517 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
85519         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
85520         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
85521         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
85522         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
85523         <bits/inotify.h>.
85524         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
85525         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
85526         bits/inotify.h.
85528 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
85530         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
85531         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
85532         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
85533         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
85534         <bits/eventfd.h>.
85535         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
85536         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
85537         bits/eventfd.h.
85539 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
85541         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
85542         __feraiseexcept instead of feraiseexcept.
85544         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
85545         nanosleep invocations.
85546         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
85547         strings, and add error checking for a nanosleep invocations.
85549 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
85551         Replace FSF snail mail address with URLs, as per GNU coding standards.
85552         Most of the snail mail addresses were wrong anyway, and omitting
85553         them makes the source code easier to maintain.  Almost all of the
85554         changes are to license notices and to locale LC_IDENTIFICATION
85555         addresses, except for this one:
85556         * manual/libc.texinfo: In "Published by", give the FSF's URL,
85557         not its snail mail address.
85559 2012-02-09  Richard Henderson  <rth@twiddle.net>
85561         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
85562         of kernel-features.h.
85564         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
85566 2012-02-08  Marek Polacek  <polacek@redhat.com>
85568         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
85569         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
85570         * sysdeps/gnu/_G_config.h: Likewise.
85571         * sysdeps/generic/_G_config.h: Likewise.
85573 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
85575         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
85576         tests.
85577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85579         * sysdeps/powerpc/powerpc32/crti.S: New file.
85580         * sysdeps/powerpc/powerpc32/crtn.S: New file.
85581         * sysdeps/powerpc/powerpc64/crti.S: New file.
85582         * sysdeps/powerpc/powerpc64/crtn.S: New file.
85584         * Makeconfig (have-initfini): Don't set.
85585         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
85586         * configure.in (nopic_initfini): Don't substitute.
85587         * config.h.in (HAVE_INITFINI): Don't #undef.
85588         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
85589         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
85591 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
85593         Support crti.S and crtn.S provided directly by architectures.
85594         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
85595         [crti.S in sysdirs] (omit-deps): Likewise.
85596         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
85597         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
85598         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
85599         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
85600         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
85601         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
85602         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
85603         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
85604         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
85605         compiler output for sysdeps/generic/initfini.c.
85606         * sysdeps/i386/elf/Makefile: Remove file.
85607         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
85609 2012-02-07  Marek Polacek  <polacek@redhat.com>
85611         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
85612         * sysdeps/gnu/_G_config.h: Likewise.
85613         * sysdeps/mach/hurd/_G_config.h: Likewise.
85615 2012-02-07  Marek Polacek  <polacek@redhat.com>
85617         * math/Makefile (tests): Add tst-CMPLX2.
85618         * math/tst-CMPLX2.c: New file.
85620 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
85622         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
85624         * math/libm-test.inc (jn_test): Add missing L suffix.
85626 2012-02-06  Marek Polacek  <polacek@redhat.com>
85628         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
85629         * sysdeps/i386/fpu/e_powf.S: Likewise.
85630         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
85631         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
85632         * sysdeps/i386/fpu/e_acosh.S: Likewise.
85633         * sysdeps/i386/fpu/e_pow.S: Likewise.
85634         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
85635         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
85636         * sysdeps/i386/fpu/s_expm1.S: Likewise.
85637         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
85638         * sysdeps/i386/fpu/e_log2.S: Likewise.
85639         * sysdeps/i386/fpu/e_log2l.S: Likewise.
85640         * sysdeps/i386/fpu/e_scalb.S: Likewise.
85641         * sysdeps/i386/fpu/e_powl.S: Likewise.
85642         * sysdeps/i386/fpu/s_log1p.S: Likewise.
85643         * sysdeps/i386/fpu/e_log10f.S: Likewise.
85644         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
85645         * sysdeps/i386/fpu/e_logl.S: Likewise.
85646         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
85647         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
85648         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
85649         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
85650         * sysdeps/i386/fpu/e_log2f.S: Likewise.
85651         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
85652         * sysdeps/i386/fpu/e_log.S: Likewise.
85653         * sysdeps/i386/fpu/s_cexp.S: Likewise.
85654         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
85655         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
85656         * sysdeps/i386/fpu/e_logf.S: Likewise.
85657         * sysdeps/i386/fpu/e_log10l.S: Likewise.
85658         * sysdeps/i386/fpu/e_atanh.S: Likewise.
85659         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
85660         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
85661         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
85662         * sysdeps/i386/fpu/e_log10.S: Likewise.
85663         * sysdeps/i386/fpu/s_frexp.S: Likewise.
85664         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
85665         * sysdeps/i386/fpu/s_asinh.S: Likewise.
85666         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
85667         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
85668         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
85669         * sysdeps/i386/asm-syntax.h: Likewise.
85670         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
85671         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
85672         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
85673         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
85674         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
85675         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
85676         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
85677         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
85678         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
85679         * sysdeps/powerpc/sysdep.h: Likewise.
85680         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
85681         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
85683 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
85685         [BZ #411]
85686         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
85688 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
85690         * sysdeps/i386/sysdep.h: Include <features.h>.
85691         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
85692         version.
85694 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
85696         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
85697         Define.
85698         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
85699         LOAD_PIC_REG_STR.
85701 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
85703         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
85704         (SETUP_PIC_REG): Use GET_PC_THUNK.
85705         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
85706         macro.
85708 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
85710         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
85711         for non-PIC compilation.
85712         (SETUP_PIC_REG): Add .p2align directive.
85713         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
85714         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
85715         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
85716         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
85717         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
85718         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
85719         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
85720         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
85721         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
85722         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
85723         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
85724         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
85725         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
85726         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
85727         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
85728         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
85729         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
85730         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
85731         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
85732         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
85733         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
85734         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
85735         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
85736         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
85737         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
85738         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
85739         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
85740         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
85741         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
85742         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
85743         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
85744         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
85745         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
85746         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
85747         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
85748         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
85749         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
85750         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
85751         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
85752         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
85753         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
85755 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
85757         * math/tst-CMPLX.c: Include <stdio.h>.
85759 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
85761         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
85762         float.
85763         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
85764         * sysdeps/sparc/bits/mathdef.h: Likewise.
85766 2012-01-31  Marek Polacek  <polacek@redhat.com>
85768         * libio/libio.h: Don't define _PARAMS.
85769         * locale/programs/config.h: Don't define PARAMS.
85770         * stdlib/strtol_l.c: Likewise.
85771         (__strtol_l): Remove PARAMS from the prototype.
85773 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
85775         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
85776         names.  Just use the correct names.  Remove unnecessary wrapper
85777         functions.
85778         * malloc/arena.c: Likewise.
85779         * malloc/hooks.c: Likewise.
85781         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
85782         ARENA_TEST says not to.  Simplify test for creation of a new arena.
85783         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
85785 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
85787         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
85788         into tail calls.
85789         (update_get_addr): New function.
85790         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
85791         GET_ADDR_MODULE parameter.
85793 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
85795         * crypt/cert.c: Remove __STDC__ conditionals.
85796         * crypt/crypt-entry.c: Likewise.
85797         * crypt/crypt_util.c: Likewise.
85798         * libio/filedoalloc.c: Likewise.
85799         * libio/fileops.c: Likewise.
85800         * libio/genops.c: Likewise.
85801         * libio/iofclose.c: Likewise.
85802         * libio/iofdopen.c: Likewise.
85803         * libio/iofopen.c: Likewise.
85804         * libio/iofopen64.c: Likewise.
85805         * libio/iogetdelim.c: Likewise.
85806         * libio/iopopen.c: Likewise.
85807         * libio/obprintf.c: Likewise.
85808         * libio/oldfileops.c: Likewise.
85809         * libio/oldiofclose.c: Likewise.
85810         * libio/oldiofdopen.c: Likewise.
85811         * libio/oldiofopen.c: Likewise.
85812         * libio/oldiopopen.c: Likewise.
85813         * libio/wfiledoalloc.c: Likewise.
85814         * libio/wgenops.c: Likewise.
85815         * locale/programs/xmalloc.c: Likewise.
85816         * misc/syslog.c: Likewise.
85817         * stdio-common/xbug.c: Likewise.
85818         * string/memchr.c: Likewise.
85819         * string/memcmp.c: Likewise.
85820         * string/memrchr.c: Likewise.
85821         * string/rawmemchr.c: Likewise.
85822         * sysdeps/posix/getcwd.c: Likewise.
85823         * time/strftime_l.c: Likewise.
85825 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
85827         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
85828         * config.make.in (config-cflags-sse2avx): Define.
85829         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
85830         Fix typo.
85832 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
85834         * scripts/config.guess: Update from upstream config git repository.
85835         * scripts/config.sub: Likewise.
85837 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
85839         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
85840         (EM_NUM): Update.
85841         (R_TILEPRO_*, R_TILEGX_*): New macros.
85843         * scripts/firstversions.awk: Fix bug in version range handling.
85845         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
85847         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
85849         * include/sys/epoll.h: New file.
85850         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
85851         libc_hidden_def.
85853 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
85855         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
85856         Avoid unnecessary __WORDSIZE == 64 test.
85857         (fmaxf): Use VEX format if possible.
85858         (fmax): Likewise.
85859         (fminf): Likewise.
85860         (fmin): Likewise.
85862         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
85863         * math/math_private.h: Remove libc_fegetround* and
85864         libc_fesetround*.
85865         * sysdeps/i386/configure.in: Check for -msse2avx.
85866         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
85867         also if SSE2AVX is defined.
85868         Remove libc_fegetround* and libc_fesetround*.
85869         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
85870         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
85871         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
85872         of HAS_YMM_USABLE.
85873         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
85874         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
85875         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
85876         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
85877         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
85879         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
85881 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
85883         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
85884         size is not set.
85885         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
85887 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
85889         [BZ #13618]
85890         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
85891         relocation.
85892         * Makeconfig (libm): Define.
85893         * elf/Makefile: Add rules to build and run tst-relsort1.
85894         * elf/tst-relsort1.c: New file.
85895         * elf/tst-relsort1mod1.c: New file.
85896         * elf/tst-relsort1mod2.c: New file.
85898 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
85900         * math/s_ldexp.c: Remove __STDC__ conditionals.
85901         * math/s_ldexpf.c: Likewise.
85902         * math/s_ldexpl.c: Likewise.
85903         * math/s_nextafter.c: Likewise.
85904         * math/s_nexttowardf.c: Likewise.
85905         * math/s_significand.c: Likewise.
85906         * math/s_significandf.c: Likewise.
85907         * math/s_significandl.c: Likewise.
85908         * math/w_jnl.c: Likewise.
85909         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
85910         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
85911         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
85912         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
85913         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
85914         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
85915         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
85916         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
85917         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
85918         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
85919         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
85920         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
85921         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
85922         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
85923         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
85924         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
85925         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
85926         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
85927         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
85928         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
85929         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
85930         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
85931         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
85932         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
85933         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
85934         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
85935         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
85936         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
85937         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
85938         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
85939         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
85940         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
85941         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
85942         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
85943         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
85944         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
85945         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
85946         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
85947         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
85948         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
85949         * sysdeps/ieee754/k_standard.c: Likewise.
85950         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
85951         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
85952         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
85953         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
85954         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
85955         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
85956         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
85957         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
85958         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
85959         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
85960         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
85961         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
85962         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
85963         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
85964         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
85965         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
85966         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
85967         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
85968         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
85969         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
85970         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
85971         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
85972         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
85973         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
85974         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
85975         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
85976         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
85977         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
85978         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
85979         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
85980         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
85981         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
85982         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
85983         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
85984         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
85985         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
85986         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
85987         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
85988         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
85989         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
85990         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
85991         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
85992         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
85993         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
85994         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
85995         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
85996         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
85997         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
85998         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
85999         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
86000         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
86001         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
86002         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
86003         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
86004         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
86005         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
86006         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
86007         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
86008         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
86009         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
86010         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
86011         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
86012         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
86013         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
86014         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
86015         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
86016         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
86017         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
86018         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
86019         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
86020         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
86021         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
86022         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
86023         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
86024         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
86025         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
86026         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
86027         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
86028         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
86029         * sysdeps/ieee754/s_matherr.c: Likewise.
86030         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
86031         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
86032         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
86033         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
86035 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
86037         * crypt/md5.h: Remove __STDC__ conditionals.
86038         * libio/libioP.h: Likewise.
86039         * locale/programs/config.h: Likewise.
86040         * sysdeps/generic/sysdep.h: Likewise.
86041         * sysdeps/i386/asm-syntax.h: Likewise.
86042         * sysdeps/s390/asm-syntax.h: Likewise.
86043         * sysdeps/unix/sysdep.h: Likewise.
86044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
86045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
86047 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
86049         * libio/libio.h: Remove __STDC__ conditionals.
86050         * malloc/obstack.h: Likewise.
86051         * math/complex.h: Likewise.
86052         * math/math.h: Likewise.
86053         * sysdeps/generic/_G_config.h: Likewise.
86054         * sysdeps/gnu/_G_config.h: Likewise.
86055         * sysdeps/mach/hurd/_G_config.h: Likewise.
86056         * sysdeps/powerpc/bits/mathdef.h: Likewise.
86057         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
86058         * sysdeps/sparc/bits/mathdef.h: Likewise.
86060 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
86062         [BZ #13583]
86063         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
86064         Clean up HAS_* macros.
86065         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
86066         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
86067         possible.
86068         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
86069         HAS_AVX.
86070         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
86071         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
86072         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
86073         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
86074         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
86076 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
86078         * elf/tst-unique3.cc (gets): Remove declaration.
86079         * elf/tst-unique3lib.cc (gets): Likewise.
86080         * elf/tst-unique3lib2.cc (gets): Likewise.
86081         * elf/tst-unique4.cc (gets): Likewise.
86083 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
86085         * include/stdio.h: Add C++ protection.  Add gets declarations and
86086         definitions.
86087         * debug/tst-chk1.c: Don't declare gets here.
86088         * stdio-common/tst-gets.c: Likewise.
86090 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
86092         * posix/glob: Remove directory.
86094 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
86096         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
86098 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
86100         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
86101         of the non-standard EPFNOSUPPORT.
86103 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
86105         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
86106         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
86107         ANYWHERE set to 1 only on KERN_NO_SPACE error.
86109 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
86111         * wcsmbs/uchar.h: Test __STDC_VERSION__.
86113 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
86115         * nscd/aicache.c (addhstaiX): Do not cache negative results of
86116         transient errors.
86117         * nscd/grpcache.c (cache_addgr): Likewise.
86118         * nscd/hstcache.c (cache_addhst): Likewise.
86119         * nscd/initgrcache.c (addinitgroupsX): Likewise.
86120         * nscd/pwdcache.c (cache_addpw): Likewise.
86121         * nscd/servicescache.c (cache_addserv): Likewise.
86123 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
86125         * malloc/malloc.c: Various cleanups.
86126         * malloc/hooks.c: Likewise.
86128         * stdlib/Makefile (tests): Add bug-fmtmsg1.
86129         * stdlib/bug-fmtmsg1.c: New file.
86131         * stdlib/fmtmsg.c (init): Add missing unlock.
86132         Patch by Peng Haitao <penght@cn.fujitsu.com>.
86134 2012-01-12  Marek Polacek  <polacek@redhat.com>
86136         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
86137         and _GNU_SOURCE.
86139 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
86141         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
86142         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
86143         macro to ensure uniqueness of label name.
86144         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
86145         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
86147 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
86149         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
86151         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
86152         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
86153         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
86154         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
86156 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
86158         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
86160         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
86161         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
86162         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
86164         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
86166         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
86167         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
86168         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
86169         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
86171         * math/bits/math-finite.h: Add ldexp support.
86173 2012-01-10  Marek Polacek  <polacek@redhat.com>
86175         * locale/programs/localedef.h (show_archive_content): Add noreturn
86176         attribute.
86178 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
86180         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
86182 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
86184         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
86186         * io/Makefile (headers): Add bits/poll2.h.
86188 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
86190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
86191         typo #include statement.
86193 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
86195         * include/sys/cdefs.h: Define __attribute_alloc_size.
86196         * catgets/gencat.c: Add alloc_size attribute and apply consistently
86197         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
86198         * elf/pldd.c: Likewise.
86199         * iconv/iconv_charmap.c: Likewise.
86200         * iconv/iconvconfig.c: Likewise.
86201         * iconv/strtab.c: Likewise.
86202         * locale/programs/locale.c: Likewise.
86203         * locale/programs/localedef.h: Likewise.
86204         * locale/programs/simple-hash.c: Likewise.
86205         * nscd/nscd.h: Likewise.
86206         * nss/makedb.c: Likewise.
86207         * sysdeps/generic/ldconfig.h: Likewise.
86208         * locale/programs/localedef.c: Remove xmalloc prototype.
86209         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
86211 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
86213         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
86214         appropriate.
86216 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
86218         * math/Makefile (tests): Add tst-CMPLX.
86219         * math/tst-CMPLX.c: New file.
86221         * math/complex.h (CMPLXL): Fix typo.
86223         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
86224         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
86225         GLIBC_2.16.
86226         * debug/tst-chk1.c: Add poll and ppoll tests.
86227         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
86228         * include/sys/poll.h: Add hidden proto for ppoll.
86229         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
86230         * sysdeps/mach/hurd/ppoll.c: Likewise.
86231         * io/ppoll.c: Likewise.
86232         * debug/poll_chk.c: New file.
86233         * debug/ppoll_chk.c: New file.
86234         * include/bits/poll2.h: New file.
86235         * io/bits/poll2.h: New file.
86237         [BZ #1350]
86238         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
86240         * configure.in: static is always set to yes.  Remove.
86241         * config.make.in: Don't set build-static.
86242         * Makeconfig: Remove use of build-static.
86243         * dlfcn/Makefile: Likewise.
86244         * elf/Makefile: Likewise.
86245         * math/Makefile: Likewise.
86246         * misc/Makefile: Likewise.
86247         * nptl/Makefile: Likewise.
86248         * sysdeps/mach/hurd/Makefile: Likewise.
86250         * configure.in: PWD_P is not used anymore.
86251         * config.make.in: Remove PWD_P entry.
86253         * configure.in: Remove last remnants of RANLIB.
86254         No need to check for signed size_t anymore.
86255         Don't set libc_commonpagesize and libc_relro_required here for Alpha
86256         and IA-64.
86257         Remove __builtin_expect test because we require at least gcc 3.4.
86258         * aclocal.m4: Likewise.
86260         * wcsmbs/mbrtoc16.c: Implement using towc function.
86261         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
86262         * wcsmbs/wcsmbsload.c: Likewise.
86263         * iconv/gconv_simple.c: Likewise.
86264         * iconv/gconv_int.h: Likewise.
86265         * iconv/gconv_builtin.h: Likewise.
86266         * iconv/iconv_prog.c: Remove CHAR16 handling.
86268         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
86270         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
86272         * configure.in: Remove --with-elf and --enable-bounded options.
86273         Dont set base_machine for ia64.  More non-ELF conditions removed.
86274         Remove testing and setting of leading underscore information.
86275         * config.make.in (build-bounded): Set to no.
86276         * config.h.in: Remove NO_UNDERSCORES entry.
86277         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
86278         them.
86279         * csu/start.c: Remove !NO_UNDERSCORE code.
86280         * locale/localeinfo.h: Likewise.
86281         * sysdeps/generic/machine-gmon.h: Likewise.
86282         * sysdeps/generic/sysdep.h: Likewise.
86283         * sysdeps/i386/sysdep.h: Likewise.
86284         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
86285         * sysdeps/mach/sysdep.h: Likewise.
86286         * sysdeps/s390/s390-32/sysdep.h: Likewise.
86287         * sysdeps/s390/s390-64/sysdep.h: Likewise.
86288         * sysdeps/sh/sysdep.h: Likewise.
86289         * sysdeps/sparc/sparc32/alloca.S: Likewise.
86290         * sysdeps/unix/i386/sysdep.S: Likewise.
86291         * sysdeps/unix/sparc/start.c: Likewise.
86292         * sysdeps/unix/sparc/sysdep.S: Likewise.
86293         * sysdeps/unix/sparc/sysdep.h: Likewise.
86294         * sysdeps/unix/start.c: Likewise.
86295         * sysdeps/unix/x86_64/sysdep.S: Likewise.
86296         * sysdeps/x86_64/sysdep.h: Likewise.
86298 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
86300         [BZ #13553]
86301         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
86302         for non-gcc.
86303         * argp/argp-fmtstream.h: Use const instead __const.
86304         * argp/argp.h: Likewise.
86305         * assert/assert.h: Likewise.
86306         * bits/fenv.h: Likewise.
86307         * bits/sched.h: Likewise.
86308         * bits/sigset.h: Likewise.
86309         * bits/sigthread.h: Likewise.
86310         * catgets/nl_types.h: Likewise.
86311         * conform/data/pthread.h-data: Likewise.
86312         * crypt/crypt-private.h: Likewise.
86313         * crypt/crypt.h: Likewise.
86314         * crypt/crypt_util.c: Likewise.
86315         * ctype/ctype.h: Likewise.
86316         * debug/execinfo.h: Likewise.
86317         * debug/mbsnrtowcs_chk.c: Likewise.
86318         * debug/mbsrtowcs_chk.c: Likewise.
86319         * debug/wcsnrtombs_chk.c: Likewise.
86320         * debug/wcsrtombs_chk.c: Likewise.
86321         * debug/wcstombs_chk.c: Likewise.
86322         * dirent/dirent.h: Likewise.
86323         * dlfcn/dlfcn.h: Likewise.
86324         * elf/neededtest4.c: Likewise.
86325         * grp/grp.h: Likewise.
86326         * gshadow/gshadow.h: Likewise.
86327         * iconv/gconv.h: Likewise.
86328         * iconv/gconv_int.h: Likewise.
86329         * iconv/gconv_simple.c: Likewise.
86330         * iconv/iconv.h: Likewise.
86331         * iconv/loop.c: Likewise.
86332         * iconv/skeleton.c: Likewise.
86333         * include/aio.h: Likewise.
86334         * include/aliases.h: Likewise.
86335         * include/argz.h: Likewise.
86336         * include/arpa/inet.h: Likewise.
86337         * include/assert.h: Likewise.
86338         * include/dirent.h: Likewise.
86339         * include/dlfcn.h: Likewise.
86340         * include/execinfo.h: Likewise.
86341         * include/fcntl.h: Likewise.
86342         * include/fenv.h: Likewise.
86343         * include/glob.h: Likewise.
86344         * include/grp.h: Likewise.
86345         * include/libintl.h: Likewise.
86346         * include/mntent.h: Likewise.
86347         * include/netdb.h: Likewise.
86348         * include/pwd.h: Likewise.
86349         * include/rpc/netdb.h: Likewise.
86350         * include/sched.h: Likewise.
86351         * include/search.h: Likewise.
86352         * include/shadow.h: Likewise.
86353         * include/signal.h: Likewise.
86354         * include/stdio.h: Likewise.
86355         * include/stdlib.h: Likewise.
86356         * include/string.h: Likewise.
86357         * include/sys/socket.h: Likewise.
86358         * include/sys/stat.h: Likewise.
86359         * include/sys/statfs.h: Likewise.
86360         * include/sys/statvfs.h: Likewise.
86361         * include/sys/syslog.h: Likewise.
86362         * include/sys/time.h: Likewise.
86363         * include/sys/uio.h: Likewise.
86364         * include/time.h: Likewise.
86365         * include/unistd.h: Likewise.
86366         * include/utmp.h: Likewise.
86367         * include/wchar.h: Likewise.
86368         * include/wctype.h: Likewise.
86369         * inet/aliases.h: Likewise.
86370         * inet/arpa/inet.h: Likewise.
86371         * inet/netinet/ether.h: Likewise.
86372         * inet/netinet/in.h: Likewise.
86373         * intl/libintl.h: Likewise.
86374         * io/bits/fcntl2.h: Likewise.
86375         * io/fcntl.h: Likewise.
86376         * io/ftw.h: Likewise.
86377         * io/sys/poll.h: Likewise.
86378         * io/sys/stat.h: Likewise.
86379         * io/sys/statfs.h: Likewise.
86380         * io/sys/statvfs.h: Likewise.
86381         * io/utime.h: Likewise.
86382         * libio/bits/stdio.h: Likewise.
86383         * libio/bits/stdio2.h: Likewise.
86384         * libio/libio.h: Likewise.
86385         * libio/libioP.h: Likewise.
86386         * libio/stdio.h: Likewise.
86387         * locale/lc-ctype.c: Likewise.
86388         * locale/locale.h: Likewise.
86389         * login/utmp.h: Likewise.
86390         * malloc/arena.c: Likewise.
86391         * malloc/malloc.c: Likewise.
86392         * malloc/malloc.h: Likewise.
86393         * malloc/mcheck.c: Likewise.
86394         * malloc/mtrace.c: Likewise.
86395         * math/bits/mathcalls.h: Likewise.
86396         * math/fenv.h: Likewise.
86397         * math/math_private.h: Likewise.
86398         * misc/bits/error.h: Likewise.
86399         * misc/bits/syslog.h: Likewise.
86400         * misc/err.h: Likewise.
86401         * misc/error.h: Likewise.
86402         * misc/fstab.h: Likewise.
86403         * misc/mntent.h: Likewise.
86404         * misc/regexp.h: Likewise.
86405         * misc/search.h: Likewise.
86406         * misc/sgtty.h: Likewise.
86407         * misc/sys/mman.h: Likewise.
86408         * misc/sys/syslog.h: Likewise.
86409         * misc/sys/uio.h: Likewise.
86410         * misc/sys/xattr.h: Likewise.
86411         * misc/ttyent.h: Likewise.
86412         * nis/rpcsvc/ypclnt.h: Likewise.
86413         * nss/nss.h: Likewise.
86414         * posix/bits/unistd.h: Likewise.
86415         * posix/fnmatch.h: Likewise.
86416         * posix/glob.h: Likewise.
86417         * posix/sched.h: Likewise.
86418         * posix/spawn.h: Likewise.
86419         * posix/sys/wait.h: Likewise.
86420         * posix/unistd.h: Likewise.
86421         * posix/wordexp.h: Likewise.
86422         * pwd/pwd.h: Likewise.
86423         * resolv/netdb.h: Likewise.
86424         * resource/sys/resource.h: Likewise.
86425         * rt/aio.h: Likewise.
86426         * rt/bits/mqueue2.h: Likewise.
86427         * rt/mqueue.h: Likewise.
86428         * shadow/shadow.h: Likewise.
86429         * signal/signal.h: Likewise.
86430         * socket/send.c: Likewise.
86431         * socket/sendto.c: Likewise.
86432         * socket/sys/socket.h: Likewise.
86433         * stdio-common/printf.h: Likewise.
86434         * stdlib/bits/stdlib.h: Likewise.
86435         * stdlib/fmtmsg.h: Likewise.
86436         * stdlib/monetary.h: Likewise.
86437         * stdlib/stdlib.h: Likewise.
86438         * stdlib/ucontext.h: Likewise.
86439         * streams/stropts.h: Likewise.
86440         * string/argz.h: Likewise.
86441         * string/bits/string2.h: Likewise.
86442         * string/string.h: Likewise.
86443         * string/strings.h: Likewise.
86444         * sunrpc/rpc/auth.h: Likewise.
86445         * sunrpc/rpc/auth_des.h: Likewise.
86446         * sunrpc/rpc/clnt.h: Likewise.
86447         * sunrpc/rpc/netdb.h: Likewise.
86448         * sunrpc/rpc/pmap_clnt.h: Likewise.
86449         * sunrpc/rpc/xdr.h: Likewise.
86450         * sysdeps/generic/inttypes.h: Likewise.
86451         * sysdeps/generic/net/if.h: Likewise.
86452         * sysdeps/generic/sys/swap.h: Likewise.
86453         * sysdeps/gnu/net/if.h: Likewise.
86454         * sysdeps/gnu/utmpx.h: Likewise.
86455         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
86456         * sysdeps/i386/i486/bits/string.h: Likewise.
86457         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
86458         * sysdeps/s390/bits/string.h: Likewise.
86459         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
86460         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
86461         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
86462         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
86463         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
86464         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
86465         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
86466         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
86467         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
86468         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
86469         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
86470         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
86471         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
86472         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
86473         * sysdeps/unix/sysv/linux/readv.c: Likewise.
86474         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
86475         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
86476         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
86477         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
86478         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
86479         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
86480         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
86481         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
86482         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
86483         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
86484         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
86485         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
86486         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
86487         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
86488         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
86489         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
86490         * sysvipc/sys/ipc.h: Likewise.
86491         * sysvipc/sys/msg.h: Likewise.
86492         * sysvipc/sys/sem.h: Likewise.
86493         * sysvipc/sys/shm.h: Likewise.
86494         * termios/termios.h: Likewise.
86495         * time/sys/time.h: Likewise.
86496         * time/time.h: Likewise.
86497         * wcsmbs/bits/wchar2.h: Likewise.
86498         * wcsmbs/uchar.h: Likewise.
86499         * wcsmbs/wchar.h: Likewise.
86500         * wctype/wctype.h: Likewise.
86502         [BZ #13551]
86503         * Makeconfig: Remove all but ELF support including AIX support.
86504         * Makerules: Likewise.
86505         * config.h.in: Likewise.
86506         * config.make.in: Likewise.
86507         * configure: Likewise.
86508         * configure.in: Likewise.
86509         * csu/Makefile: Likewise.
86510         * csu/version.c: Likewise.
86511         * debug/Makefile: Likewise.
86512         * dlfcn/Makefile: Likewise.
86513         * elf/Makefile: Likewise.
86514         * extra-lib.mk: Likewise.
86515         * iconv/Makefile: Likewise.
86516         * include/libc-symbols.h: Likewise.
86517         * include/shlib-compat.h: Likewise.
86518         * resolv/Makefile: Likewise.
86519         * resolv/res_libc.c: Likewise.
86520         * rt/Makefile: Likewise.
86521         * sysdeps/i386/asm-syntax.h: Likewise.
86522         * sysdeps/i386/sysdep.h: Likewise.
86523         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
86524         * sysdeps/mach/sysdep.h: Likewise.
86525         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
86526         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
86527         * sysdeps/s390/asm-syntax.h: Likewise.
86528         * sysdeps/s390/s390-32/sysdep.h: Likewise.
86529         * sysdeps/s390/s390-64/sysdep.h: Likewise.
86530         * sysdeps/sh/sysdep.h: Likewise.
86531         * sysdeps/unix/sparc/sysdep.h: Likewise.
86532         * sysdeps/wordsize-32/divdi3.c: Likewise.
86533         * sysdeps/x86_64/sysdep.h: Likewise.
86535         * argp/Versions: Remove _argp_unlock_xxx.
86537         [BZ #13559]
86538         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
86539         * abilist/libBrokenLocale.abilist: Likewise.
86540         * abilist/libanl.abilist: Likewise.
86541         * abilist/libc.abilist: Likewise.
86542         * abilist/libcrypt.abilist: Likewise.
86543         * abilist/libdl.abilist: Likewise.
86544         * abilist/libm.abilist: Likewise.
86545         * abilist/libnsl.abilist: Likewise.
86546         * abilist/libpthread.abilist: Likewise.
86547         * abilist/libresolv.abilist: Likewise.
86548         * abilist/librt.abilist: Likewise.
86549         * abilist/libthread_db.abilist: Likewise.
86550         * abilist/libutil.abilist: Likewise.
86551         * abilist/libnss_db.abilist: New file.
86553         * scripts/abilist.awk: Add support for indirect functions.
86555         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
86557         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
86559         * shlib-versions: Remove entries for ports architectures.
86561         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
86562         files in ports.
86563         * elf/stackguard-macros.h: Remove support for IA-64.
86564         * elf/tst-auditmod1.c: Likewise.
86565         * sysdeps/generic/ldsodefs.h: Likewise.
86567         * sysdeps/unix/sysv/linux/configure.in: Ports should define
86568         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
86569         configure files.
86571         [BZ #13552]
86572         * configure.in: Remove --enable-omitfp support.
86573         * FAQ.in: Adjust.
86574         * config.make.in: Likewise.
86575         * Makeconfig: Likewise.
86576         * manual/install.texi: Likewise.
86578         In case anyone cares, the IA-64 architecture could move to ports.
86579         * sysdeps/ia64/*: Removed.
86580         * sysdeps/unix/sysv/linux/ia64/*: Removed.
86581         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
86583         [BZ #13555]
86584         * configure.in: Remove entries for unsupported architectures.
86586         [BZ #13533]
86587         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
86588         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
86589         routines.
86590         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
86591         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
86592         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
86593         fall back to using wcrtomb.
86594         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
86595         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
86596         renaming.
86597         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
86598         * wcsmbs/tst-c16c32-1.c: New file.
86600         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
86601         local variable.
86603         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
86605         * elf/tst-unique3.cc: Add explicit declaration of gets.
86606         * elf/tst-unique3lib.cc: Likewise.
86607         * elf/tst-unique3lib2.cc: Likewise.
86608         * elf/tst-unique4.cc: Likewise.
86610         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
86612 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
86614         [BZ #13566]
86615         * assert/assert.h (static_assert): Don't define for C++.
86616         * libio/stdio.h (gets): Do declare for C++ <= C++11.
86617         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
86619 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
86621         * iconv/loop.c (single loop): Fix assertion in storing of
86622         remaining bytes.
86624         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
86626 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
86628         * posix/getconf.c: Update copyright year.
86629         * nss/getent.c: Likewise.
86630         * nss/makedb.c: Likewise.
86631         * iconv/iconvconfig.c: Likewise.
86632         * iconv/iconv_prog.c: Likewise.
86633         * elf/ldconfig.c: Likewise.
86634         * elf/pldd.c: Likewise.
86635         * elf/sotruss.ksh: Likewise.
86636         * catgets/gencat.c: Likewise.
86637         * csu/version.c: Likewise.
86638         * elf/ldd.bash.in: Likewise.
86639         * elf/sprof.c (print_version): Likewise.
86640         * locale/programs/locale.c: Likewise.
86641         * locale/programs/localedef.c: Likewise.
86642         * login/programs/pt_chown.c: Likewise.
86643         * nscd/nscd.c (print_version): Likewise.
86644         * debug/xtrace.sh: Likewise.
86645         * malloc/memusage.sh: Likewise.
86646         * malloc/mtrace.pl: Likewise.
86647         * debug/catchsegv.sh: Likewise.
86649 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
86651         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
86652         pure attribute.
86654 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
86656         [BZ #13533]
86657         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
86658         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
86659         transformations.
86660         * iconv/gconv_int.h: Likewise.
86661         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
86662         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
86663         from libc for GLIBC_2.16.
86664         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
86665         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
86666         * wcsmbs/uchar.h: Really define mbstate_t.
86667         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
86668         * wcsmbs/c16rtomb.c: New file.
86669         * wcsmbs/mbrtoc16.c: New file.
86670         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
86671         for C/POSIX locale.
86672         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
86673         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
86675         * wcsmbs/wchar.h: Add missing __restrict.
86677 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
86679         [BZ #13532]
86680         * time/Makefile (routines): Add timespec_get.
86681         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
86682         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
86683         timespec for ISO C11.
86684         * time/timespec_get.c: New file.
86685         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
86686         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
86688         [BZ #13531]
86689         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
86690         * stdlib/stdlib.h: Declare aligned_alloc.
86691         * Versions.def: Add GLIBC_2.16 for libc.
86692         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
86694         [BZ 13527]
86695         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
86696         ISO C11.
86698         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
86699         code.
86701         [BZ #13528]
86702         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
86704         [BZ #13529]
86705         * assert/assert.h (static_assert): Define.
86707         * version.h: Update for 2.16 development version.
86709         [BZ #13526]
86710         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
86711         _ISOC11_SOURCE.
86713         * version.h (RELEASE): Bump for 2.15 release.
86714         * include/features.h (__GLIBC_MINOR__): Bump to 15.
86716         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
86717         Patch by Marek Polacek <mpolacek@redhat.com>.
86719         * bits/byteswap.h: Protect long long constants with __extension__.
86720         * sysdeps/i386/bits/byteswap.h: Likewise.
86721         * sysdeps/ia64/bits/byteswap.h: Likewise.
86722         * sysdeps/s390/bits/byteswap.h: Likewise.
86723         * sysdeps/x86_64/bits/byteswap.h: Likewise.
86725 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86727         [BZ #13540]
86728         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
86729         destination buffer.
86730         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
86732 2011-12-23  Marek Polacek  <polacek@redhat.com>
86734         * elf/dl-addr.c (determine_info): Add inline keyword.
86735         * elf/tst-auditmod4b.c (check_avx): Likewise.
86736         * elf/tst-auditmod6b.c (check_avx): Likewise.
86737         * elf/tst-auditmod6c.c (check_avx): Likewise.
86738         * elf/tst-auditmod7b.c (check_avx): Likewise.
86740 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
86742         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
86743         !__SSE_MATH__.
86745 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86747         [BZ #13540]
86748         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
86749         processing for last bytes.
86751 2011-08-06  Bruno Haible  <bruno@clisp.org>
86753         [BZ #13061]
86754         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
86755         U+0385, not to U+1FEE.
86757         [BZ #13062]
86758         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
86759         entry for U+00A5 U+0301.
86761 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
86763         [BZ #13166]
86764         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
86765         buffer for the output is too small.
86767         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
86768         optimization.
86770         [BZ #13185]
86771         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
86772         SSE flags if possible.
86774 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86776         [BZ #13540]
86777         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
86778         processing for last bytes.
86780 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
86782         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
86783         (syscall-list-default-options, syscall-list-default-condition)
86784         (syscall-list-includes): Define.
86785         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
86786         list of ABIs and options and #if conditions for each ABI.  Do not
86787         handle common syscalls between ABIs specially.
86788         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
86789         Remove.
86790         (syscall-list-variants, syscall-list-32bit-options)
86791         (syscall-list-32bit-condition, syscall-list-64bit-options)
86792         (syscall-list-64bit-condition): Define.
86793         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
86794         (syscall-list-variants, syscall-list-32bit-options)
86795         (syscall-list-32bit-condition, syscall-list-64bit-options)
86796         (syscall-list-64bit-condition): Define.
86797         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
86798         Remove.
86799         (syscall-list-variants, syscall-list-32bit-options)
86800         (syscall-list-32bit-condition, syscall-list-64bit-options)
86801         (syscall-list-64bit-condition): Define.
86802         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
86803         Remove.
86804         (syscall-list-variants, syscall-list-32bit-options)
86805         (syscall-list-32bit-condition, syscall-list-64bit-options)
86806         (syscall-list-64bit-condition): Define.
86808 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
86810         * locale/iso-639.def: Add brx entry.
86812         [BZ #13328]
86813         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
86814         Proposed by Mariusz_Cukr <marcukr@op.pl>.
86816         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
86817         __feraiseexcept_renamed.
86819 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
86821         [BZ #13538]
86822         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
86823         EPOLLET with unsigned values.
86824         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
86825         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
86827         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
86828         to large cancellation.
86829         * math/s_cacoshf.c: Likewise.
86830         * math/s_cacoshl.c: Likewise.
86832 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
86834         [BZ #13305]
86835         [BZ #12786]
86836         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
86837         * math/s_cacoshf.c: Likewise.
86838         * math/s_cacoshl.c: Likewise.
86840 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
86842         [BZ #13439]
86843         * iconv/gconv.h: Define __GCONV_SWAP.
86844         * iconvdata/unicode.c: The swap bit must be stored in __flags.
86845         * iconvdata/utf-16.c: Likewise.
86846         * iconvdata/utf-32.c: Likewise.
86848 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
86850         [BZ #13524]
86851         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
86852         numerator after shifting it by one limb.
86854 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
86856         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
86857         under [__USE_EXTERN_INLINES].
86859 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
86861         [BZ #13446]
86862         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
86864 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
86866         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
86867         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
86868         optimized code.
86869         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
86870         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
86871         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
86872         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
86873         for strncasecmp/strncasecmp_l compilation.
86874         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
86875         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
86877 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
86879         [BZ #13484]
86880         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
86881         of __asm__.
86883 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
86885         [BZ #13506]
86886         * time/tzfile.c (__tzfile_read): Check values from file header.
86888 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
86890         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
86891         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
86892         * powerpc/powerpc32/dl-start.S: Likewise.
86893         * powerpc/powerpc32/elf/start.S: Likewise.
86894         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
86895         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
86896         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
86897         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
86898         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
86899         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
86900         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
86901         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
86902         * powerpc/powerpc32/fpu/s_round.S: Likewise.
86903         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
86904         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
86905         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
86906         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
86907         * powerpc/powerpc32/memset.S: Likewise.
86908         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
86909         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
86910         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
86911         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
86912         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
86913         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
86914         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
86915         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
86916         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
86917         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
86918         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
86919         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
86920         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
86922 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
86924         * math/libm-test.inc: Added more nearbyint tests.
86925         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
86926         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
86927         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
86928         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
86930 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
86932         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
86933         FD_CLOEXEC.
86935 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86937         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
86938         Add wcscpy-ssse3 wcscpy-c.
86939         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
86940         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
86941         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
86942         * sysdeps/x86_64/wcschr.S: New file.
86943         * sysdeps/x86_64/wcsrchr.S: New file.
86944         * string/test-strcmp.c: Remove checking of wcscmp function for
86945         wrong alignments.
86946         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
86947         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
86948         wcsrchr-sse2 wcsrchr-c.
86949         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
86950         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
86951         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
86952         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
86953         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
86954         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
86955         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
86956         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
86957         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
86958         * wcsmbc/wcschr.c (WCSCHR): New macro.
86960 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86962         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
86963         * wcsmbs/test-wcsrchr.c: New file.
86964         * string/test-strrchr.c: Add wcsrchr support.
86965         (WIDE): New macro.
86966         * wcsmbs/test-wcscpy.c: New file.
86967         * string/test-strcpy.c: Add wcscpy support.
86968         (WIDE): New macro.
86970 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
86972         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
86973         the inner loop.
86975 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
86977         [BZ #13472]
86978         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
86980 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
86982         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
86983         Minor optimizations.
86985         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
86986         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
86987         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
86989 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
86991         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
86992         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
86993         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
86994         for gcc to avoid warnings.
86995         * inet/Makefile (tests): Add tst-checks.
86996         * inet/tst-checks.c: New file.
86998         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
86999         warning.
87001         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
87002         __wmemcmp_sse2.
87004         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
87005         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
87007         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
87009 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
87011         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
87012         problem.
87014         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
87016 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
87018         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
87019         conditional on GCC version.
87020         (__arch_compare_and_exchange_val_8_acq)
87021         (__arch_compare_and_exchange_val_16_acq)
87022         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
87023         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
87024         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
87026 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
87028         * sysdeps/sh/backtrace.c: New file.
87030 2011-12-02  Andreas Schwab  <schwab@redhat.com>
87032         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
87033         parenthesis.
87035 2011-12-01  Andreas Schwab  <schwab@redhat.com>
87037         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
87038         falling back to utime.
87040 2011-11-30  Andreas Schwab  <schwab@redhat.com>
87042         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
87043         expectations for float.
87045 2011-11-29  Andreas Schwab  <schwab@redhat.com>
87047         * locale/weight.h (findidx): Add parameter len.
87048         * locale/weightwc.h (findidx): Likewise.
87049         * posix/fnmatch_loop.c (FCT): Adjust caller.
87050         * posix/regcomp.c (build_equiv_class): Likewise.
87051         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
87052         * posix/regexec.c (check_node_accept_bytes): Likewise.
87053         * string/strcoll_l.c (STRCOLL): Likewise.
87054         * string/strxfrm_l.c (STRXFRM): Likewise.
87056 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
87058         * Makefile.in: Remove CVSOPT handling.
87059         * configure.in: Remove use of AC_REVISION.
87060         * iconvdata/Makefile (distribute): No need to filter out CVS.
87061         * scripts/list-sources.sh: Remove CVS, subversion and monotone
87062         handling.
87064 2011-11-16  Andreas Schwab  <schwab@redhat.com>
87066         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
87067         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
87068         [USE_AS_STRNCASECMP_L]: Likewise.
87069         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
87070         NO_TLS_DIRECT_SEG_REFS.
87071         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
87072         Fix argument offsets for non-PIC.
87073         [USE_AS_STRNCASECMP_L]: Likewise.
87074         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
87075         NO_TLS_DIRECT_SEG_REFS.
87077 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
87079         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
87080         O_CLOEXEC.
87081         * locale/loadlocale.c (_nl_load_locale): Likewise.
87083 2011-11-15  Andreas Schwab  <schwab@redhat.com>
87085         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
87086         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
87087         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
87088         (SYSCALL_GETTIME): Set errno on error.
87090         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
87091         count references to noai6ai_cached.
87093 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
87095         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
87097         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
87098         FD_CLOEXEC for /proc/self/maps.
87100         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
87101         FD_CLOEXEC for /proc/meminfo.
87103         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
87104         gai.conf.
87106         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
87107         FD_CLOEXEC for given file.
87109         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
87111         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
87112         FD_CLOEXEC for /etc/hosts.
87113         (_gethtent): Likewise.
87115         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
87117         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
87118         cancellation and set FD_CLOEXEC for /etc/netgroup.
87120         * nss/nss_files/files-key.c (search): Don't allow cancellation when
87121         reading /etc/publickey.
87123         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
87124         allow cancellation when reading /etc/group.
87126         * nss/nss_files/files-alias.c (internal_setent): Don't allow
87127         cancellation.
87128         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
87130         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
87131         when using data file.
87133         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
87135         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
87136         (write_nis_obj): Use "c" and "e" in fopen.
87138         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
87140         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
87142         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
87144         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
87146         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
87147         locale.alias.
87149         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
87151         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
87153         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
87155         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
87156         file parsing and set FD_CLOEXEC.
87158 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
87160         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
87162 2011-11-14  Andreas Schwab  <schwab@redhat.com>
87164         * malloc/arena.c (arena_get2): Don't call reused_arena when
87165         _int_new_arena failed.
87167 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
87169         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
87170         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
87171         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
87172         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
87173         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
87174         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
87175         to compile strcasecmp and strncasecmp.
87176         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
87177         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
87179         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
87181 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
87183         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
87184         locale-defines.sym to gen-as-const-headers.
87185         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
87186         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
87187         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
87188         to compile strcasecmp and strncasecmp.
87189         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
87190         strcasecmp_l and strncasecmp_l.
87191         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
87192         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
87193         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
87194         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
87195         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
87196         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
87197         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
87198         * sysdeps/i386/i686/multiarch/strncase.S: New file.
87199         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
87200         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
87201         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
87203 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
87205         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
87206         result of SYSDEP_GETTIME_CPU to retval.
87207         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
87208         parameter list to macro.  Remove trailing semicolon.  Adjust users.
87210         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
87211         variable.
87213         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
87214         mantissa words.
87215         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
87217         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
87218         from unused variable.
87220         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
87221         DWARF definitions.
87222         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
87223         for assembling.
87225         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
87226         over namespaces.
87228         * sunrpc/rpc_prot.c (rejected): Fix case value.
87230         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
87231         unsigned long long int to avoid warnings in shift.
87233         * posix/regex_internal.c (re_string_reconstruct): Actually use result
87234         of use of trans.
87235         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
87236         variable tmp.
87238         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
87239         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
87240         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
87242         * nis/nis_table.c (nis_list): Use variable of correct type for
87243         result of __follow_path call.
87245 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
87247         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
87248         of math functions ceil, trunc, floor, round, and sqrt, when
87249         avaliable on the platform.
87250         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
87251         name clash.
87252         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
87253         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
87254         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
87256 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
87258         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
87259         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
87261 2011-11-11  Roland McGrath  <roland@hack.frob.com>
87263         * include/unistd.h: Fix __readlink return type.
87264         Reported by Chris Metcalf <cmetcalf@tilera.com>.
87266 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
87268         * stdlib/ucontext.h: Undo last change for makecontext.
87270 2011-11-11  Andreas Schwab  <schwab@redhat.com>
87272         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
87274         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
87275         * setjmp/setjmp.h: Mark functions as non-leaf.
87276         * setjmp/bits/setjmp2.h: Likewise.
87277         * stdlib/ucontext.h: Likewise.
87279 2011-11-10  Andreas Schwab  <schwab@redhat.com>
87281         * malloc/arena.c (_int_new_arena): Don't increment narenas.
87282         (reused_arena): Don't check arena limit.
87283         (arena_get2): Atomically check arena limit.
87285 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
87287         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
87288         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
87290         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
87291         instructions.
87293 2011-11-07  Andreas Schwab  <schwab@redhat.com>
87295         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
87296         handler when locking.
87298         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
87299         Fix size of allocated buffer.
87301 2011-11-04  Andreas Schwab  <schwab@redhat.com>
87303         [BZ #10103]
87304         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
87305         declarations for long double functions.
87306         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
87308         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
87310 2011-11-03  Andreas Schwab  <schwab@redhat.com>
87312         * nscd/nscd.c (main): Don't start AVC thread until credentials are
87313         installed.
87315         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
87316         is disabled.
87318 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
87320         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
87322 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
87324         * include/alloca.h (stackinfo_alloca_round): Define.
87325         (extend_alloca): Use it.
87326         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
87327         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
87328         here.
87330         * scripts/check-local-headers.sh: Ignore libaudit.h.
87332         * nscd/Makefile (extra-objs): Make recursively expanded.
87334 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
87336         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
87337         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
87339         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
87340         * posix/tst-rfc3484-2.c: Likewise.
87341         * posix/tst-rfc3484-3.c: Likewise.
87343         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
87344         process_vm_writev.
87345         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
87346         process_vm_writev.
87347         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
87348         process_vm_writev from libc using GLIBC_2.15 version.
87350         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
87352 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
87354         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
87355         stack usage.
87357 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
87359         [BZ #13367]
87360         * nss/getent.c (initgroups_keys): Show error message in case no group
87361         names are given.
87363         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
87364         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
87365         __bump_nl_timestamp.
87366         * nscd/connections (nscd_init): When host database is served open
87367         netlink socket and request notification about configuration changes.
87368         (main_loop_poll): Track netlink file descriptor and bump timestamp
87369         in case data becomes available.
87370         (main_loop_epoll): Likewise.
87371         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
87372         (database_pers_head): Add extra_data fileds.
87373         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
87374         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
87375         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
87376         Adjust caller.
87377         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
87378         in6ai data, call __free_in6ai.
87379         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
87380         Add -DHAVE_NETLINK.
87381         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
87382         interface information.  Reuse previous data if netlink timestamp
87383         is not changed.
87384         (__bump_nl_timestamp): New function.
87385         (__free_in6ai): New function.
87387 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
87389         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
87390         close_not_cancel_no_status here.
87391         (__check_pf): Reorganize code a bit to not call close twice if OOM.
87393 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
87395         [BZ #13276]
87396         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
87397         return value.
87399         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
87400         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
87401         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
87403 2011-07-03  Andreas Jaeger  <aj@suse.de>
87405         [BZ #10709]
87406         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
87407         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
87408         * math/libm-test.inc (sin_test): Add test case.
87410 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
87412         [BZ #13337]
87413         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
87414         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
87416         * elf/chroot_canon.c (chroot_canon): Cleanups.
87418         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
87420         [BZ #13335]
87421         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
87422         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
87424         * string/test-strchr.c: Make usable for strchrnul testing.
87425         * string/test-strchrnul.c: New file.
87426         * string/Makefile (strop-tests): Add strchrnul.
87428         * po/it.po: Update from translation team.
87429         * po/es.po: Likewise.
87431 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
87433         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
87434         the three constants needed as parameters.  Drop the others.
87435         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
87436         __m128i_strloadu_tolower.
87437         Create and initialize variable zero and use it in all the places
87438         where _mm_setzero_si128 was used.
87440         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
87441         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
87442         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
87443         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
87444         anymore.
87445         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
87446         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
87447         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
87448         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
87449         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
87450         __mpranred, __mptan.
87451         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
87452         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
87453         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
87454         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
87455         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
87456         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
87457         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
87458         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
87459         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
87461 2011-10-28  Andreas Schwab  <schwab@redhat.com>
87463         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
87464         redefine if SHARED.
87465         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
87467         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
87468         wide char related routines to wcsmbs subdir.
87470 2011-10-27  Andreas Schwab  <schwab@redhat.com>
87472         [BZ #13344]
87473         * misc/sys/cdefs.h (__THROWNL): Define.
87474         * posix/unistd.h: Use __THREADNL instead of __THREAD
87475         for memory synchronization functions.
87477 2011-10-26  Roland McGrath  <roland@hack.frob.com>
87479         [BZ #13349]
87480         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
87481         doesn't exist.
87482         * manual/stdio.texi (Obstack Streams): Node removed.
87484 2011-10-26  Andreas Schwab  <schwab@redhat.com>
87486         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
87487         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
87488         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
87490         * math/math_private.h (math_force_eval): Allow non-addressable
87491         arguments.
87492         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
87494 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
87496         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
87497         file is not needed.
87499         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
87500         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
87501         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
87502         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
87503         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
87504         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
87505         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
87506         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
87507         Add AVX variants.
87508         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
87509         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
87510         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
87511         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
87512         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
87513         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
87514         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
87515         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
87516         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
87517         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
87518         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
87519         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
87520         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
87521         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
87522         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
87523         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
87524         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
87525         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
87526         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
87528         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
87529         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
87531         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
87532         place.  Use VEX encoding when compiling for AVX.
87534 2011-10-25  Andreas Schwab  <schwab@redhat.com>
87536         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
87537         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
87539         * string/test-strchr.c (do_test): Don't generate NUL bytes.
87541 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
87543         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
87544         useless if() expression.
87545         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
87546         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
87547         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
87548         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
87549         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
87550         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
87551         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
87552         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
87553         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
87554         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
87555         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
87556         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
87557         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
87558         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
87559         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
87560         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
87561         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
87562         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
87563         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
87565         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
87567 2011-10-25  Andreas Schwab  <schwab@redhat.com>
87569         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
87570         condition.
87571         * elf/dl-fini.c (_dl_sort_fini): Likewise.
87573 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
87575         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
87576         .text section.  Avoid duplicate constants.
87577         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
87578         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
87579         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
87580         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
87581         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
87582         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
87583         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
87584         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
87585         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
87586         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
87587         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
87588         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
87589         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
87590         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
87591         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
87592         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
87593         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
87594         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
87595         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
87596         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
87597         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
87598         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
87599         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
87600         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
87601         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
87602         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
87603         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
87604         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
87605         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
87606         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
87607         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
87608         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
87609         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
87610         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
87611         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
87612         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
87613         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
87614         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
87615         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
87616         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
87617         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
87618         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
87619         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
87620         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
87621         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
87623 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
87625         * sysdeps/x86_64/dla.h: Move to ...
87626         * sysdeps/x86_64/fpu/dla.h: ...here.
87627         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
87628         situations.  Use __builtin_fma only for gcc 4.6 and up.
87630         * config.make.in: Add have-mfma4 entry.
87631         * configure.in: Substitute libc_cv_cc_fma4.
87632         * math/Makefile (dbl-only-routines): Add sincostab.
87633         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
87634         Use __sincostab not sincos.
87635         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
87636         name is a macro.
87637         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
87638         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
87639         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
87640         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
87641         using __copysign.
87642         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
87643         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
87644         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
87645         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
87646         and __inv.
87647         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
87648         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
87649         __copysign.
87650         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
87651         define aliases when function name is a macro.
87652         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
87653         sysdeps/ieee754/dbl-64/sincos.tbl.
87654         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
87655         fma4-enabled routines.
87656         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
87657         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
87658         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
87659         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
87660         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
87661         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
87662         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
87663         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
87664         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
87665         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
87666         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
87667         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
87668         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
87669         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
87670         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
87671         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
87672         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
87673         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
87674         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
87675         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
87676         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
87677         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
87678         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
87679         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
87680         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
87681         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
87682         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
87683         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
87684         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
87685         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
87687         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
87688         rename.
87689         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
87690         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
87691         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
87692         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
87693         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
87694         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
87695         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
87696         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
87698 2011-10-24  Andreas Schwab  <schwab@redhat.com>
87700         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
87702 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
87704         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
87706         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
87707         prediction.
87708         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
87710         * string/strnlen.c: Don't define STRNLEN, reverse logic.
87711         Remove unused variable magic_bits.
87712         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
87714         * string/strnlen.c: Define and use STRNLEN macro.
87715         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
87716         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
87717         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
87718         * wcsmbs/wcslen.c: Define and use WCSLEN.
87719         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
87720         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
87721         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
87722         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
87723         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
87724         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
87725         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
87727 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87729         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
87730         strnlen-sse2-no-bsf.
87731         Rename strlen-no-bsf to strlen-sse2-no-bsf.
87732         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
87733         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
87734         Add strnlen support.
87735         (USE_AS_STRNLEN): New macro.
87736         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
87737         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
87738         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
87739         * sysdeps/x86_64/wcslen.S: New file.
87741 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
87743         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
87744         XMM-moves are used for copying on small sizes.
87746 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87748         * wcsmbs/Makefile (strop-tests): Add wcschr.
87749         * wcsmbs/test-wcschr.c: New file.
87750         * string/test-strchr.c: Update.
87751         Add wcschr support.
87752         (WIDE): New macro.
87754 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87756         * wcsmbs/Makefile (strop-tests): Add wcslen.
87757         * wcsmbs/test-wcslen.c: New file.
87758         * string/test-strlen.c: Update.
87759         Add wcslen support.
87760         (WIDE): New macro.
87762 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
87764         * po/it.po: Update from translation team.
87766 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87768         * sysdeps/x86_64/wcscmp.S: Update.
87769         Fix wrong comparison semantics.
87770         wcscmp shall use signed comparison not unsigned.
87771         Don't use substraction to avoid overflow bug.
87772         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
87773         * wcsmbc/wcscmp.c: Likewise.
87774         * string/test-strcmp.c: Likewise.
87775         Add new tests to check cases with negative values.
87777 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
87779         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
87780         * sysdeps/x86_64/dla.h: ...here.  New file.
87781         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
87782         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
87783         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
87784         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
87785         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
87786         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
87787         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
87788         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
87789         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
87791 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
87793         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
87794         __ynl_finite aliases.
87796 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
87798         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
87800         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
87801         define DLA_FMA.
87802         [DLA_FMA] (EMULV): Use DLA_FMA.
87803         [DLA_FMA] (MUL12): Use EMULV.
87804         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
87805         that are not needed.
87806         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
87807         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
87808         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
87809         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
87810         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
87811         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
87812         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
87814 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
87816         * math/s_nan.c: Undef __nan.
87817         * math/s_nanf.c: Undef __nanf.
87818         * math/s_nanl.c: Undef __nanl.
87819         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
87820         "math_private.h".
87822 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
87824         * math/s_catan.c: Add branch predictions.
87825         * math/s_catanf.c: Likewise.
87826         * math/s_catanh.c: Likewise.
87827         * math/s_catanhf.c: Likewise.
87828         * math/s_catanhl.c: Likewise.
87829         * math/s_catanl.c: Likewise.
87830         * math/s_cexp.c: Likewise.
87831         * math/s_cexpf.c: Likewise.
87832         * math/s_cexpl.c: Likewise.
87833         * math/s_clog.c: Likewise.
87834         * math/s_clog10.c: Likewise.
87835         * math/s_clog10f.c: Likewise.
87836         * math/s_clog10l.c: Likewise.
87837         * math/s_clogf.c: Likewise.
87838         * math/s_clogl.c: Likewise.
87839         * math/s_csqrt.c: Likewise.
87840         * math/s_csqrtf.c: Likewise.
87841         * math/s_csqrtl.c: Likewise.
87842         * math/s_ctanf.c: Likewise.
87843         * math/s_ctanh.c: Likewise.
87844         * math/s_ctanhf.c: Likewise.
87845         * math/s_ctanhl.c: Likewise.
87846         * math/s_ctanl.c: Likewise.
87848         * math/math_private.h: Define __nan, __nanf, __nanl.
87849         * math/s_cacosh.c: Include <math_private.h>.
87850         * math/s_cacoshl.c: Likewise.
87851         * math/s_casinh.c: Likewise.
87852         * math/s_casinhf.c: Likewise.
87853         * math/s_casinhl.c: Likewise.
87854         * math/s_ccos.c: Rely entire on ccosh.
87855         * math/s_ccosf.c: Rely entire on ccoshf.
87856         * math/s_ccosl.c: Rely entirely on ccoshl.
87857         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
87858         Remove tests for FE_INVALID.
87859         * math/s_ccoshf.c: Likewise.
87860         * math/s_ccoshl.c: Likewise.
87861         * math/s_csin.c: Likewise.
87862         * math/s_csinf.c: Likewise.
87863         * math/s_csinh.c Likewise.
87864         * math/s_csinhf.c: Likewise.
87865         * math/s_csinhl.c: Likewise.
87866         * math/s_csinl.c: Likewise.
87867         * math/s_ctan.c: Likewise.
87868         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
87869         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
87870         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
87872 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
87874         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
87875         compilation problems.
87877         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
87878         __builtin_expect.
87880 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
87882         * sysdeps/i386/configure.in: Test for -mfma4 option.
87883         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
87884         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
87885         COMMON_CPUID_INDEX_80000001.
87886         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
87887         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
87888         use it if FMA3 is not supported.
87889         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
87891         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
87892         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
87894 2011-10-20  Andreas Schwab  <schwab@redhat.com>
87896         [BZ #12892]
87897         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
87898         it would create a cycle with a link time dependency.
87900 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
87902         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
87903         instruction.
87904         * string/Makefile (strop-tests): Add rawmemchr.
87905         * string/test-rawmemchr.c: New file.
87907         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
87908         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
87909         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
87910         when compiling str{,n}casecmp and when AVX is available.  Hook up
87911         new optimized code in initializers.
87913 2011-10-19  Andreas Schwab  <schwab@redhat.com>
87915         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
87916         __feraiseexcept instead of feraiseexcept.
87918 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
87920         * math/math_private.h: Define defaults for libc_fetestexcept and
87921         libc_feupdateenv.
87922         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
87923         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
87924         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
87925         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
87926         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
87927         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
87928         libc_fetestexcept and libc_feupdateenv.
87930         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
87931         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
87932         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
87933         * sysdeps/x86_64/fpu/math_private.h: Define special version of
87934         libc_feholdexcept_setround.
87936         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
87937         Add s_nearbyint-c and s_nearbyintf-c.
87938         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
87939         nearbyintf inlines.
87940         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
87941         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
87942         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
87943         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
87945         * math/math_private.h: Define defaults for libc_fegetround,
87946         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
87947         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
87948         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
87949         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
87950         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
87951         standard functions.
87952         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
87953         Remove comments and hacks for old compiler versions.
87954         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
87955         libc_fegetround, libc_fesetround, libc_feholdexcept, and
87956         libc_feholdexceptl.
87958 2011-10-18  Andreas Schwab  <schwab@redhat.com>
87960         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
87961         (__feraiseexcept_renamed): Add __NTH.
87962         (feraiseexcept): Add __NTH.  Rename local variables to fix
87963         namespace violations.
87965 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
87967         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
87969         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
87971         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
87972         recently added interfaces.
87973         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
87975         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
87976         about macro parameter expansion.
87978         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
87979         __NO_MATH_INLINES is defined.  Cleanups.
87981         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
87982         and __floorf is target has SSE4.1.
87983         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
87984         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
87985         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
87986         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
87988         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
87989         name.
87990         (floorf): Likewise.
87992         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
87994 2011-10-17  Andreas Schwab  <schwab@redhat.com>
87996         * misc/sys/cdefs.h: Fix last change.
87998         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
87999         database lookup.
88001 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
88003         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
88005         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
88006         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
88007         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
88008         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
88009         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
88010         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
88011         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
88012         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
88013         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
88014         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
88015         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
88016         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
88017         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
88018         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
88019         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
88020         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
88021         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
88022         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
88023         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
88024         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
88025         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
88026         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
88028         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
88029         ceil, ceilf, floor, floorf.
88031         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
88032         Perform IRELATIVE relocations last.
88034         * elf/do-rel.h: Add another parameter nrelative, replacing the
88035         local variable with the same name.  Change name of the function
88036         to end in Rel or Rela (uppercase).
88037         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
88038         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
88039         elf_dynamic_do_##reloc function.
88041 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
88043         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
88044         is sufficient, at least on modern CPUs.
88046         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
88048         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
88049         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
88051         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
88052         __expl_finite.
88053         * math/bits/math-finite.h: Add entries for exp.
88054         * math/e_expl.c: Add __*_finite alias.
88055         * sysdeps/i386/fpu/e_exp.S: Likewise.
88056         * sysdeps/i386/fpu/e_expf.S: Likewise.
88057         * sysdeps/i386/fpu/e_expl.c: Likewise.
88058         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
88059         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
88060         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
88061         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
88062         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
88063         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
88064         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
88066         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
88067         is sufficient, at least on modern CPUs.
88069         * ctype/ctype-info.c (__ctype_init): Define.
88070         * include/ctype.h (__ctype_init): Declare.
88071         (__ctype_b_loc): The variable is always initialized.
88072         (__ctype_toupper_loc): Likewise.
88073         (__ctype_tolower_loc): Likewise.
88074         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
88075         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
88077 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
88079         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
88081         * configure.in: Also look in $cxxmachine/include for C++ system
88082         headers.
88084 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88086         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
88087         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
88088         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
88089         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
88090         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
88091         (USE_AS_WMEMCMP): New macro.
88092         Fixing indents.
88093         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
88094         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
88095         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
88096         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
88097         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
88098         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
88099         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
88100         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
88101         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
88102         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
88103         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
88104         (USE_AS_WMEMCMP): New macro.
88105         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
88106         * sysdeps/string/test-memcmp.c: Update.
88107         Fix simple_wmemcmp.
88108         Add new tests.
88109         * wcsmbs/wmemcmp.c: Update.
88110         (WMEMCMP): New macro.
88111         Fix overflow bug.
88113 2011-10-12  Andreas Jaeger  <aj@suse.de>
88115         [BZ #13268]
88116         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
88118 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
88120         * libio/iofwide.c (do_length): Avoid warning.
88122         * ctype/ctype.h (__isctype_f): Add missing __THROW.
88124 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
88126         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
88128         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
88129         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
88130         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
88131         * sysdeps/i386/i686/fpu/e_log.S: New file.
88132         * sysdeps/i386/i686/fpu/e_logf.S: New file.
88133         * sysdeps/i386/i686/fpu/e_logl.S: New file.
88135         * ctype/ctype.h: Add support for inlined isXXX functions when
88136         compiling C++ code.
88138 2011-10-14  Andreas Schwab  <schwab@redhat.com>
88140         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
88142         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
88144 2011-10-13  Roland McGrath  <roland@hack.frob.com>
88146         [BZ #13291]
88147         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
88149 2011-10-13  Andreas Schwab  <schwab@redhat.com>
88151         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
88152         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
88153         feraiseexcept.
88155         * sysdeps/x86_64/memrchr.S: Check for zero size.
88157         * string/stratcliff.c: Add memrchr tests.
88159 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88161         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
88162         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
88163         rawmemchr-sse2 rawmemchr-sse2-bsf.
88164         * sysdeps/i386/i686/multiarch/memchr.S: New file.
88165         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
88166         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
88167         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
88168         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
88169         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
88170         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
88171         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
88172         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
88173         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
88174         * string/memrchr.c (MEMRCHR): New macro.
88176 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
88178         Add integration with gcc's -ffinite-math-only and optimize wrapper
88179         functions in libm.
88180         * Versions.def: Define GLIBC_2.15 version for libm.
88181         * math/Makefile (headers): Add bits/math-finite.h.
88182         * math/bits/math-finite.h: New file.
88183         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
88184         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
88185         * math/e_acoshl.c: Add __*_finite alias.
88186         * math/e_acosl.c: Likewise.
88187         * math/e_asinl.c: Likewise.
88188         * math/e_atan2l.c: Likewise.
88189         * math/e_atanhl.c: Likewise.
88190         * math/e_coshl.c: Likewise.
88191         * math/e_exp10.c: Likewise.
88192         * math/e_exp10f.c: Likewise.
88193         * math/e_exp10l.c: Likewise.
88194         * math/e_exp2l.c: Likewise.
88195         * math/e_fmodl.c: Likewise.
88196         * math/e_gammal_r.c: Likewise.
88197         * math/e_hypotl.c: Likewise.
88198         * math/e_j0l.c: Likewise.
88199         * math/e_j1l.c: Likewise.
88200         * math/e_jnl.c: Likewise.
88201         * math/e_lgammal_r.c: Likewise.
88202         * math/e_log10l.c: Likewise.
88203         * math/e_log2l.c: Likewise.
88204         * math/e_logl.c: Likewise.
88205         * math/e_powl.c: Likewise.
88206         * math/e_sinhl.c: Likewise.
88207         * math/e_sqrtl.c: Likewise.
88208         * math/e_scalb.c: Completely rewritten and optimized.
88209         * math/e_scalbf.c: Likewise.
88210         * math/e_scalbl.c: Likewise.
88211         * math/w_acos.c: Likewise.
88212         * math/w_acosf.c: Likewise.
88213         * math/w_acosl.c: Likewise.
88214         * math/w_acosh.c: Likewise.
88215         * math/w_acoshf.c: Likewise.
88216         * math/w_acoshl.c: Likewise.
88217         * math/w_asin.c: Likewise.
88218         * math/w_asinf.c: Likewise.
88219         * math/w_asinl.c: Likewise.
88220         * math/w_atan2.c: Likewise.
88221         * math/w_atan2f.c: Likewise.
88222         * math/w_atan2l.c: Likewise.
88223         * math/w_atanh.c: Likewise.
88224         * math/w_atanhf.c: Likewise.
88225         * math/w_atanhl.c: Likewise.
88226         * math/w_exp10.c: Likewise.
88227         * math/w_exp10f.c: Likewise.
88228         * math/w_exp10l.c: Likewise.
88229         * math/w_fmod.c: Likewise.
88230         * math/w_fmodf.c: Likewise.
88231         * math/w_fmodl.c: Likewise.
88232         * math/w_j0.c: Likewise.
88233         * math/w_j0f.c: Likewise.
88234         * math/w_j0l.c: Likewise.
88235         * math/w_j1.c: Likewise.
88236         * math/w_j1f.c: Likewise.
88237         * math/w_j1l.c: Likewise.
88238         * math/w_jn.c: Likewise.
88239         * math/w_jnf.c: Likewise.
88240         * math/w_log.c: Likewise.
88241         * math/w_logf.c: Likewise.
88242         * math/w_logl.c: Likewise.
88243         * math/w_log10.c: Likewise.
88244         * math/w_log10f.c: Likewise.
88245         * math/w_log10l.c: Likewise.
88246         * math/w_log2.c: Likewise.
88247         * math/w_log2f.c: Likewise.
88248         * math/w_log2l.c: Likewise.
88249         * math/w_pow.c: Likewise.
88250         * math/w_powf.c: Likewise.
88251         * math/w_powl.c: Likewise.
88252         * math/w_remainder.c: Likewise.
88253         * math/w_remainderf.c: Likewise.
88254         * math/w_remainderl.c: Likewise.
88255         * math/w_scalb.c: Likewise.
88256         * math/w_scalbf.c: Likewise.
88257         * math/w_scalbl.c: Likewise.
88258         * math/w_sqrt.c: Likewise.
88259         * math/w_sqrtf.c: Likewise.
88260         * math/w_sqrtl.c: Likewise.
88261         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
88262         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
88263         used.
88264         * math/math_private.h: Declare __kernel_standard_f.
88265         * math/w_cosh.c: Remove cruft and optimize a bit.
88266         * math/w_coshf.c: Likewise.
88267         * math/w_coshl.c: Likewise.
88268         * math/w_exp2.c: Likewise.
88269         * math/w_exp2f.c: Likewise.
88270         * math/w_exp2l.c: Likewise.
88271         * math/w_hypot.c: Likewise.
88272         * math/w_hypotf.c: Likewise.
88273         * math/w_hypotl.c: Likewise.
88274         * math/w_lgamma.c: Likewise.
88275         * math/w_lgamma_r.c: Likewise.
88276         * math/w_lgammaf.c: Likewise.
88277         * math/w_lgammaf_r.c: Likewise.
88278         * math/w_lgammal.c: Likewise.
88279         * math/w_lgammal_r.c: Likewise.
88280         * math/w_sinh.c: Likewise.
88281         * math/w_sinhf.c: Likewise.
88282         * math/w_sinhl.c: Likewise.
88283         * math/w_tgamma.c: Likewise.
88284         * math/w_tgammaf.c: Likewise.
88285         * math/w_tgammal.c: Likewise.
88286         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
88287         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
88288         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
88289         Minor optimizations.  Pretty printing.  Remove cruft.
88290         * sysdeps/i386/fpu/e_acosf.S: Likewise.
88291         * sysdeps/i386/fpu/e_acosh.S: Likewise.
88292         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
88293         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
88294         * sysdeps/i386/fpu/e_acosl.c: Likewise.
88295         * sysdeps/i386/fpu/e_asin.S: Likewise.
88296         * sysdeps/i386/fpu/e_asinf.S: Likewise.
88297         * sysdeps/i386/fpu/e_atan2.S: Likewise.
88298         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
88299         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
88300         * sysdeps/i386/fpu/e_atanh.S: Likewise.
88301         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
88302         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
88303         * sysdeps/i386/fpu/e_exp10.S: Likewise.
88304         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
88305         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
88306         * sysdeps/i386/fpu/e_exp2.S: Likewise.
88307         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
88308         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
88309         * sysdeps/i386/fpu/e_fmod.S: Likewise.
88310         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
88311         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
88312         * sysdeps/i386/fpu/e_hypot.S: Likewise.
88313         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
88314         * sysdeps/i386/fpu/e_log.S: Likewise.
88315         * sysdeps/i386/fpu/e_log10.S: Likewise.
88316         * sysdeps/i386/fpu/e_log10f.S: Likewise.
88317         * sysdeps/i386/fpu/e_log10l.S: Likewise.
88318         * sysdeps/i386/fpu/e_log2.S: Likewise.
88319         * sysdeps/i386/fpu/e_log2f.S: Likewise.
88320         * sysdeps/i386/fpu/e_log2l.S: Likewise.
88321         * sysdeps/i386/fpu/e_logf.S: Likewise.
88322         * sysdeps/i386/fpu/e_logl.S: Likewise.
88323         * sysdeps/i386/fpu/e_pow.S: Likewise.
88324         * sysdeps/i386/fpu/e_powf.S: Likewise.
88325         * sysdeps/i386/fpu/e_powl.S: Likewise.
88326         * sysdeps/i386/fpu/e_remainder.S: Likewise.
88327         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
88328         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
88329         * sysdeps/i386/fpu/e_scalb.S: Likewise.
88330         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
88331         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
88332         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
88333         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
88334         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
88335         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
88336         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
88337         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
88338         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
88339         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
88340         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
88341         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
88342         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
88343         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
88344         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
88345         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
88346         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
88347         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
88348         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
88349         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
88350         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
88351         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
88352         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
88353         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
88354         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
88355         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
88356         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
88357         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
88358         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
88359         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
88360         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
88361         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
88362         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
88363         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
88364         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
88365         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
88366         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
88367         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
88368         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
88369         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
88370         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
88371         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
88372         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
88373         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
88374         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
88375         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
88376         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
88377         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
88378         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
88379         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
88380         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
88381         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
88382         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
88383         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
88384         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
88385         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
88386         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
88387         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
88388         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
88389         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
88390         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
88391         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
88392         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
88393         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
88394         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
88395         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
88396         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
88397         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
88398         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
88399         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
88400         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
88401         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
88402         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
88403         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
88404         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
88405         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
88406         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
88407         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
88408         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
88409         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
88410         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
88411         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
88412         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
88413         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
88414         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
88415         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
88416         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
88417         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
88418         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
88419         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
88420         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
88421         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
88422         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
88423         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
88424         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
88425         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
88426         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
88427         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
88428         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
88429         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
88430         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
88431         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
88432         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
88433         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
88434         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
88435         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
88436         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
88437         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
88438         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
88439         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
88440         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
88441         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
88442         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
88443         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
88444         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
88445         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
88446         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
88447         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
88448         (__isnanf): Likewise.
88449         (__isinf_ns): Likewise.
88450         (__isinf_nsf): Likewise.
88451         (__finite): Likewise.
88452         (__finitef): Likewise.
88453         (__ieee754_sqrt): Define as macro.
88454         (__ieee754_sqrtf): Define as macro.
88455         (__ieee754_sqrtl): Define as macro.
88456         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
88457         inlined copy.
88458         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
88459         __FINITE_MATH_ONLY__ consistent.
88460         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
88462 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
88464         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
88465         of rawmemchr.
88467         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
88469 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
88471         * po/ja.po: Update from translation team.
88473 2011-10-08  Roland McGrath  <roland@hack.frob.com>
88475         * locale/programs/locarchive.c (prepare_address_space): New function.
88476         (create_archive, enlarge_archive, open_archive): Use it.
88478         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
88479         inside [SHARED], where it is used.
88481         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
88483         * nss/getent.c (netgroup_keys): Remove unused variable.
88484         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
88486 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
88488         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
88489         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
88490         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
88491         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
88492         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
88493         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
88494         * math/Makefile (libm-calls): Add s_isinf_ns.
88495         * math/divtc3.c: Use __isinf_nsl instead of isinf.
88496         * math/multc3.c: Likewise.
88497         * math/s_casin.c: Likewise.
88498         * math/s_casinf.c: Likewise.
88499         * math/s_casinl.c: Likewise.
88500         * math/s_ccos.c: Likewise.
88501         * math/s_ccosf.c: Likewise.
88502         * math/s_ccosl.c: Likewise.
88503         * math/s_ctan.c: Likewise.
88504         * math/s_ctanf.c: Likewise.
88505         * math/s_ctanh.c: Likewise.
88506         * math/s_ctanhf.c: Likewise.
88507         * math/s_ctanhl.c: Likewise.
88508         * math/s_ctanl.c: Likewise.
88509         * math/w_fmod.c: Likewise.
88510         * math/w_fmodf.c: Likewise.
88511         * math/w_fmodl.c: Likewise.
88512         * math/w_remainder.c: Likewise.
88513         * math/w_remainderf.c: Likewise.
88514         * math/w_remainderl.c: Likewise.
88515         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
88516         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
88517         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
88518         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
88519         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
88520         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
88521         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
88522         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
88524         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
88525         of the number.
88526         * stdio-common/printf_fphex.c: Likewise.
88527         * stdio-common/printf_size.c: Likewise.
88529         * math/e_exp10.c: Include math_private.h using <...> not "...".
88530         * math/e_exp10f.c: Likewise.
88531         * math/e_exp10l.c: Likewise.
88532         * math/e_exp2l.c: Likewise.
88533         * math/e_j0l.c: Likewise.
88534         * math/e_j1l.c: Likewise.
88535         * math/e_jnl.c: Likewise.
88536         * math/e_lgammal_r.c: Likewise.
88537         * math/e_rem_pio2l.c: Likewise.
88538         * math/e_scalb.c: Likewise.
88539         * math/e_scalbf.c: Likewise.
88540         * math/e_scalbl.c: Likewise.
88541         * math/k_cosl.c: Likewise.
88542         * math/k_sinl.c: Likewise.
88543         * math/k_tanl.c: Likewise.
88544         * math/s_cacoshf.c: Likewise.
88545         * math/s_catan.c: Likewise.
88546         * math/s_catanf.c: Likewise.
88547         * math/s_catanh.c: Likewise.
88548         * math/s_catanhf.c: Likewise.
88549         * math/s_catanhl.c: Likewise.
88550         * math/s_catanl.c: Likewise.
88551         * math/s_ccosh.c: Likewise.
88552         * math/s_ccoshf.c: Likewise.
88553         * math/s_ccoshl.c: Likewise.
88554         * math/s_cexp.c: Likewise.
88555         * math/s_cexpf.c: Likewise.
88556         * math/s_cexpl.c: Likewise.
88557         * math/s_clog.c: Likewise.
88558         * math/s_clog10.c: Likewise.
88559         * math/s_clog10f.c: Likewise.
88560         * math/s_clog10l.c: Likewise.
88561         * math/s_clogf.c: Likewise.
88562         * math/s_clogl.c: Likewise.
88563         * math/s_csin.c: Likewise.
88564         * math/s_csinf.c: Likewise.
88565         * math/s_csinh.c: Likewise.
88566         * math/s_csinhf.c: Likewise.
88567         * math/s_csinhl.c: Likewise.
88568         * math/s_csinl.c: Likewise.
88569         * math/s_csqrt.c: Likewise.
88570         * math/s_csqrtf.c: Likewise.
88571         * math/s_csqrtl.c: Likewise.
88572         * math/s_ctan.c: Likewise.
88573         * math/s_ctanf.c: Likewise.
88574         * math/s_ctanh.c: Likewise.
88575         * math/s_ctanhf.c: Likewise.
88576         * math/s_ctanhl.c: Likewise.
88577         * math/s_ctanl.c: Likewise.
88578         * math/s_ldexp.c: Likewise.
88579         * math/s_ldexpf.c: Likewise.
88580         * math/s_ldexpl.c: Likewise.
88581         * math/s_significand.c: Likewise.
88582         * math/s_significandf.c: Likewise.
88583         * math/s_significandl.c: Likewise.
88584         * math/w_acos.c: Likewise.
88585         * math/w_acosf.c: Likewise.
88586         * math/w_acosh.c: Likewise.
88587         * math/w_acoshf.c: Likewise.
88588         * math/w_acoshl.c: Likewise.
88589         * math/w_acosl.c: Likewise.
88590         * math/w_asin.c: Likewise.
88591         * math/w_asinf.c: Likewise.
88592         * math/w_asinl.c: Likewise.
88593         * math/w_atan2.c: Likewise.
88594         * math/w_atan2f.c: Likewise.
88595         * math/w_atan2l.c: Likewise.
88596         * math/w_atanh.c: Likewise.
88597         * math/w_atanhf.c: Likewise.
88598         * math/w_atanhl.c: Likewise.
88599         * math/w_cosh.c: Likewise.
88600         * math/w_coshf.c: Likewise.
88601         * math/w_coshl.c: Likewise.
88602         * math/w_dremf.c: Likewise.
88603         * math/w_exp10.c: Likewise.
88604         * math/w_exp10f.c: Likewise.
88605         * math/w_exp10l.c: Likewise.
88606         * math/w_exp2.c: Likewise.
88607         * math/w_exp2f.c: Likewise.
88608         * math/w_fmod.c: Likewise.
88609         * math/w_fmodf.c: Likewise.
88610         * math/w_fmodl.c: Likewise.
88611         * math/w_hypot.c: Likewise.
88612         * math/w_hypotf.c: Likewise.
88613         * math/w_hypotl.c: Likewise.
88614         * math/w_j0.c: Likewise.
88615         * math/w_j0f.c: Likewise.
88616         * math/w_j0l.c: Likewise.
88617         * math/w_j1.c: Likewise.
88618         * math/w_j1f.c: Likewise.
88619         * math/w_j1l.c: Likewise.
88620         * math/w_jn.c: Likewise.
88621         * math/w_jnf.c: Likewise.
88622         * math/w_jnl.c: Likewise.
88623         * math/w_lgamma.c: Likewise.
88624         * math/w_lgamma_r.c: Likewise.
88625         * math/w_lgammaf.c: Likewise.
88626         * math/w_lgammaf_r.c: Likewise.
88627         * math/w_lgammal.c: Likewise.
88628         * math/w_lgammal_r.c: Likewise.
88629         * math/w_log.c: Likewise.
88630         * math/w_log10.c: Likewise.
88631         * math/w_log10f.c: Likewise.
88632         * math/w_log10l.c: Likewise.
88633         * math/w_log2.c: Likewise.
88634         * math/w_log2f.c: Likewise.
88635         * math/w_log2l.c: Likewise.
88636         * math/w_logf.c: Likewise.
88637         * math/w_logl.c: Likewise.
88638         * math/w_pow.c: Likewise.
88639         * math/w_powf.c: Likewise.
88640         * math/w_powl.c: Likewise.
88641         * math/w_remainder.c: Likewise.
88642         * math/w_remainderf.c: Likewise.
88643         * math/w_remainderl.c: Likewise.
88644         * math/w_scalb.c: Likewise.
88645         * math/w_scalbf.c: Likewise.
88646         * math/w_scalbl.c: Likewise.
88647         * math/w_sinh.c: Likewise.
88648         * math/w_sinhf.c: Likewise.
88649         * math/w_sinhl.c: Likewise.
88650         * math/w_sqrt.c: Likewise.
88651         * math/w_sqrtf.c: Likewise.
88652         * math/w_sqrtl.c: Likewise.
88653         * math/w_tgamma.c: Likewise.
88654         * math/w_tgammaf.c: Likewise.
88655         * math/w_tgammal.c: Likewise.
88657         * po/ja.po: Update from translation team.
88659 2011-09-29  Andreas Jaeger  <aj@suse.de>
88661         [BZ #13179]
88662         * sunrpc/netname.c (netname2host): Fix logic.
88664         [BZ #6779]
88665         [BZ #6783]
88666         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
88667         correctly.
88668         * math/w_remainder.c (__remainder): Likewise.
88669         * math/w_remainderf.c (__remainderf): Likewise.
88670         * math/libm-test.inc (remainder_test): Add test cases.
88672 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
88674         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
88675         sdiv_qrnnd.
88677 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
88679         * string/test-memcmp.c: Avoid unncessary #defines.
88680         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
88682 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88684         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
88685         Use new sse2 version for core i3 - i7 as it's faster
88686         than sse42 version.
88687         (bit_Prefer_PMINUB_for_stringop): New.
88688         * sysdeps/x86_64/rawmemchr.S: Update.
88689         Replace with faster SSE2 version.
88690         * sysdeps/x86_64/memrchr.S: New file.
88691         * sysdeps/x86_64/memchr.S: Update.
88692         Replace with faster SSE2 version.
88694 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
88696         * elf/dl-load.c (lose): Add cast to avoid warning.
88698 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
88700         * po/ca.po: Update from translation team.
88702         * inet/getnetgrent_r.c: Hook up nscd.
88703         * nscd/Makefile (routines): Add nscd_netgroup.
88704         (nscd-modules): Add netgroupcache.
88705         (CFLAGS-netgroupcache.c): Define.
88706         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
88707         (cache_search): Add const to second parameter.
88708         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
88709         INNETGR.
88710         (dbs): Add netgrdb entry.
88711         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
88712         (verify_persistent_db): Handle netgrdb.
88713         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
88714         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
88715         GETFDNETGR.
88716         (netgroup_response_header): Define.
88717         (innetgroup_response_header): Define.
88718         (datahead): Add netgroup_response_header and innetgroup_response_header
88719         elements.
88720         * nscd/nscd.conf: Add entries for netgroup cache.
88721         * nscd/nscd.h (dbtype): Add netgrdb.
88722         (_PATH_NSCD_NETGROUP_DB): Define.
88723         (netgroup_iov_disabled): Declare.
88724         (xmalloc, xcalloc, xrealloc): Move declarations here.
88725         (cache_search): Adjust prototype.
88726         Add netgroup-related prototypes.
88727         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
88728         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
88729         (__nscd_innetgr): Declare.
88730         * nscd/selinux.c (perms): Use access_vector_t as element type and
88731         add netgroup-related initializers.
88732         * nscd/netgroupcache.c: New file.
88733         * nscd/nscd_netgroup.c: New file.
88734         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
88735         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
88736         For four parameters use innetgr.
88737         * nss/nss_files/files-init.c: Add definition and callback for netgr.
88738         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
88739         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
88740         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
88742         * nscd/connections.c (register_traced_file): Don't register file
88743         for disabled databases.
88745 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
88747         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
88749         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
88750         from tree and freeing node.
88752 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
88754         * nss/nsswitch.c (__nss_database_lookup): Handle
88755         nss_parse_service_list out of memory case.
88757 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
88759         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
88760         out of memory case.
88762 2011-10-04  Andreas Schwab  <schwab@redhat.com>
88764         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
88765         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
88766         pass it down.
88767         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
88768         elf_machine_rela, elf_machine_lazy_rel.
88769         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
88770         (ELF_DYNAMIC_DO_REL): Likewise.
88771         (ELF_DYNAMIC_DO_RELA): Likewise.
88772         (ELF_DYNAMIC_RELOCATE): Likewise.
88773         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
88774         to ELF_DYNAMIC_DO_REL.
88775         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
88776         (dl_main): In trace mode always set __RTLD_NOIFUNC.
88777         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
88778         elf_machine_rela.
88779         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
88780         skip_ifunc, don't call ifunc function if non-zero.
88781         (elf_machine_rela): Likewise.
88782         (elf_machine_lazy_rel): Likewise.
88783         (elf_machine_lazy_rela): Likewise.
88784         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
88785         (elf_machine_lazy_rel): Likewise.
88786         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
88787         Likewise.
88788         (elf_machine_lazy_rel): Likewise.
88789         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
88790         Likewise.
88791         (elf_machine_lazy_rel): Likewise.
88792         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
88793         (elf_machine_lazy_rel): Likewise.
88794         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
88795         (elf_machine_lazy_rel): Likewise.
88796         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
88797         (elf_machine_lazy_rel): Likewise.
88798         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
88799         (elf_machine_lazy_rel): Likewise.
88800         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
88801         (elf_machine_lazy_rel): Likewise.
88802         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
88803         (elf_machine_lazy_rel): Likewise.
88805 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
88807         * nss/nss_files/files-init.c (_nss_files_init): Use static
88808         initialization for all the *_traced_file variables.
88810 2011-09-28  Andreas Schwab  <schwab@redhat.com>
88812         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
88814 2011-09-27  Roland McGrath  <roland@hack.frob.com>
88816         [BZ #13226]
88817         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
88819 2011-09-27  Andreas Schwab  <schwab@redhat.com>
88821         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
88822         Reread the line before reparsing it.
88824 2011-09-26  Andreas Schwab  <schwab@redhat.com>
88826         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
88828 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
88829             Maxim Kuvyrkov  <maxim@codesourcery.com>
88830             Joseph Myers  <joseph@codesourcery.com>
88832         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
88833         if needed for __stack_chk_guard.
88835 2011-09-19  Roland McGrath  <roland@hack.frob.com>
88837         * sysdeps/posix/spawni.c (script_execute): Always define it.
88838         It will be optimized away if unused.
88839         (maybe_script_execute): New function.
88840         (__spawni): Call it.
88842         * Makerules: Don't include tls.make.
88843         (config-tls): Always set to thread.
88844         * tls.make.c: File removed.
88846 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
88848         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
88849         * config.make.in (CPPFLAGS-config): New substituted variable.
88851 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
88853         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
88855         [BZ #13192]
88856         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
88857         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
88859 2011-09-15  Roland McGrath  <roland@hack.frob.com>
88861         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
88862         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
88863         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
88864         (CALL_FAIL): Likewise.
88865         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
88866         (CALL_FAIL): Macro removed.
88867         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
88869 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
88871         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
88872         for __FINITE_MATH_ONLY__ == 1.
88874 2011-09-15  Andreas Schwab  <schwab@redhat.com>
88876         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
88877         __ieee754_sqrt instead of sqrt.
88878         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
88879         __ieee754_sqrtf instead of sqrtf.
88880         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
88881         __floorf instead of floorf.
88882         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
88883         __floorf, __truncf instead of floorf, truncf.
88885 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
88887         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
88889         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
88890         __extern_always_inline.
88891         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
88892         32-bit.
88894 2011-09-14  Andreas Schwab  <schwab@redhat.com>
88896         * elf/rtld.c (dl_main): Also relocate in dependency order when
88897         doing symbol dependency testing.
88899 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
88901         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
88902         Always define `refsym'.
88904 2011-09-13  Andreas Schwab  <schwab@redhat.com>
88906         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
88907         (__FD_ELT): Renamed from __FDELT.
88908         * misc/bits/select2.h (__FD_ELT): Likewise.
88909         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
88910         __FD_MASK instead of __FDELT, __FDMASK.
88911         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
88912         Likewise.
88913         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
88914         Likewise.
88916         * elf/Makefile (gen-ldd): Fix pattern.
88918         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
88919         (init_tls): Likewise.
88921 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
88923         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
88925 2011-09-12  Andreas Schwab  <schwab@redhat.com>
88927         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
88928         `struct cmsghdr *' instead of `void *'.
88929         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
88930         Likewise.
88932 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
88934         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
88935         if non-absolute.
88936         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
88937         ldd_rewrite_script.
88939 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
88941         * configure.in: Remove --with-tls option.
88942         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
88943         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
88944         out in case it is missing.
88945         * sysdeps/ia64/elf/configure.in: Likewise.
88946         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
88947         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
88948         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
88949         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
88950         * sysdeps/sh/elf/configure.in: Likewise.
88951         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
88952         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
88953         * sysdeps/x86_64/elf/configure.in: Likewise.
88954         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
88955         * sysdeps/mach/hurd/tls.h: Likewise.
88957         [BZ #13067]
88958         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
88960         [BZ #13090]
88961         * configure.in: Fix use of AC_INIT.
88963         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
88965 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
88967         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
88968         __set_errno.
88969         * malloc/hooks.c: Likewise.
88971         [BZ #11929]
88972         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
88973         variables statically.
88974         (narenas): Initialize.
88975         (list_lock): Initialize.
88976         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
88977         initializtion of main_arena and list_lock.  Small cleanups.
88978         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
88979         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
88980         Add initializers to main_arena and mp_.
88981         (malloc_state): Remove pagesize member.  Change all users to use
88982         GLRO(dl_pagesize).
88984         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
88985         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
88986         is always initialized.
88988         * malloc/malloc.c: Removed unused configurations and dead code.
88989         * malloc/arena.c: Likewise.
88990         * malloc/hooks.c: Likewise.
88991         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
88993         * include/tls.h: Removed.  USE___THREAD must always be defined.
88994         * bits/libc-tsd.h: Don't handle !USE___THREAD.
88995         * elf/dl-libc.c: Likewise.
88996         * elf/dl-tsd.c: Likewise.
88997         * include/errno.h: Likewise.
88998         * include/netdb.h: Likewise.
88999         * include/resolv.h: Likewise.
89000         * inet/herrno-loc.c: Likewise.
89001         * inet/herrno.c: Likewise.
89002         * malloc/arena.c: Likewise.
89003         * malloc/hooks.c: Likewise.
89004         * malloc/malloc.c: Likewise.
89005         * resolv/res-state.c: Likewise.
89006         * resolv/res_libc.c: Likewise.
89007         * sysdeps/i386/dl-machine.h: Likewise.
89008         * sysdeps/ia64/dl-machine.h: Likewise.
89009         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
89010         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
89011         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
89012         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
89013         * sysdeps/sh/dl-machine.h: Likewise.
89014         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
89015         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
89016         * sysdeps/unix/i386/sysdep.S: Likewise.
89017         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
89018         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
89019         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
89020         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
89021         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
89022         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
89023         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
89024         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
89025         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
89026         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
89027         * sysdeps/unix/x86_64/sysdep.S: Likewise.
89028         * sysdeps/x86_64/dl-machine.h: Likewise.
89029         * tls.make.c: Likewise.
89031         * configure.in: Remove --with-__thread option.  Make tests for
89032         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
89033         tls_model attribute fail if no support is available.  Remove
89034         USE_IN_LIBIO.
89035         * Makeconfig: Adjust for dropped configure option.  All features are
89036         now mandatory.
89037         * Makerules: Likewise.
89038         * Versions.def: Likewise.
89039         * argp/argp-fmtstream.c: Likewise.
89040         * argp/argp-fmtstream.h: Likewise.
89041         * argp/argp-help.c: Likewise.
89042         * assert/assert.c: Likewise.
89043         * config.h.in: Likewise.
89044         * config.make.in: Likewise.
89045         * configure: Likewise.
89046         * configure.in: Likewise.
89047         * csu/Versions: Likewise.
89048         * csu/init.c: Likewise.
89049         * elf/tst-audit2.c: Likewise.
89050         * elf/tst-tls10.c: Likewise.
89051         * elf/tst-tls10.h: Likewise.
89052         * elf/tst-tls11.c: Likewise.
89053         * elf/tst-tls12.c: Likewise.
89054         * elf/tst-tls14.c: Likewise.
89055         * elf/tst-tlsmod11.c: Likewise.
89056         * elf/tst-tlsmod12.c: Likewise.
89057         * elf/tst-tlsmod13.c: Likewise.
89058         * elf/tst-tlsmod13a.c: Likewise.
89059         * elf/tst-tlsmod14a.c: Likewise.
89060         * elf/tst-tlsmod15b.c: Likewise.
89061         * elf/tst-tlsmod16a.c: Likewise.
89062         * elf/tst-tlsmod16b.c: Likewise.
89063         * elf/tst-tlsmod7.c: Likewise.
89064         * elf/tst-tlsmod8.c: Likewise.
89065         * elf/tst-tlsmod9.c: Likewise.
89066         * gmon/gmon.c: Likewise.
89067         * grp/fgetgrent_r.c: Likewise.
89068         * grp/putgrent.c: Likewise.
89069         * hurd/fopenport.c: Likewise.
89070         * include/libc-symbols.h: Likewise.
89071         * include/tls.h: Likewise.
89072         * intl/gettextP.h: Likewise.
89073         * intl/loadinfo.h: Likewise.
89074         * locale/global-locale.c: Likewise.
89075         * locale/localeinfo.h: Likewise.
89076         * mach/devstream.c: Likewise.
89077         * malloc/arena.c: Likewise.
89078         * malloc/set-freeres.c: Likewise.
89079         * misc/err.c: Likewise.
89080         * misc/getttyent.c: Likewise.
89081         * misc/mntent_r.c: Likewise.
89082         * posix/getopt.c: Likewise.
89083         * posix/wordexp.c: Likewise.
89084         * pwd/fgetpwent_r.c: Likewise.
89085         * resolv/Versions: Likewise.
89086         * resolv/res_hconf.c: Likewise.
89087         * shadow/fgetspent_r.c: Likewise.
89088         * shadow/putspent.c: Likewise.
89089         * stdio-common/printf_fphex.c: Likewise.
89090         * stdio-common/tmpfile.c: Likewise.
89091         * stdlib/abort.c: Likewise.
89092         * stdlib/fmtmsg.c: Likewise.
89093         * sunrpc/auth_unix.c: Likewise.
89094         * sunrpc/clnt_perr.c: Likewise.
89095         * sunrpc/clnt_tcp.c: Likewise.
89096         * sunrpc/clnt_udp.c: Likewise.
89097         * sunrpc/clnt_unix.c: Likewise.
89098         * sunrpc/openchild.c: Likewise.
89099         * sunrpc/svc_simple.c: Likewise.
89100         * sunrpc/svc_tcp.c: Likewise.
89101         * sunrpc/svc_udp.c: Likewise.
89102         * sunrpc/svc_unix.c: Likewise.
89103         * sunrpc/xdr.c: Likewise.
89104         * sunrpc/xdr_array.c: Likewise.
89105         * sunrpc/xdr_rec.c: Likewise.
89106         * sunrpc/xdr_ref.c: Likewise.
89107         * sunrpc/xdr_stdio.c: Likewise.
89109 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
89111         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
89113 2011-07-03  Andreas Jaeger  <aj@suse.de>
89115         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
89116         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
89117         regenerate with gen-libm-tests.pl.
89119 2010-05-12  Petr Baudis  <pasky@suse.cz>
89121         [BZ #11589]
89122         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
89123         around j0() zero points by switching to j1().
89124         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
89125         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
89126         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
89127         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
89129 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
89131         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
89132         instead of 0.
89133         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
89134         instead of 0.
89135         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
89136         Patch in part by Pavel Roskin <proski@gnu.org>.
89138         [BZ #13138]
89139         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
89140         realloc.
89141         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
89142         Free memory block if necessary.
89144         [BZ #12847]
89145         * libio/genops.c (INTDEF): For string streams the _lock pointer can
89146         be NULL.  Don't lock in this case.
89148 2011-09-09  Roland McGrath  <roland@hack.frob.com>
89150         * elf/elf.h (ELFOSABI_GNU): New macro.
89151         (ELFOSABI_LINUX): Define to that.
89153 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
89155         * string/strncat.c (strncat): Undef the symbol in case it has been
89156         defined in bits/string.h.
89158 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
89160         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
89162         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
89163         link map.
89165 2011-08-17  Andreas Jaeger  <aj@suse.de>
89167         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
89169 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
89170             Ian Lance Taylor  <iant@google.com>
89172         * math/libm-test.inc (lround_test): New testcase.
89173         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
89175 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
89177         * Makefile: Remove support for automatic cvs check-ins.
89178         * Makerules: Likewise.
89179         * config.make.in: Likewise.
89180         * configure.in: Likewise.
89181         * intl/Makefile: Likewise.
89182         * locale/Makefile: Likewise.
89183         * po/Makefile: Likewise.
89184         * posix/Makefile: Likewise.
89185         * sysdeps/gnu/Makefile: Likewise.
89186         * sysdeps/mach/hurd/Makefile: Likewise.
89187         * sysdeps/sparc/sparc32/Makefile: Likewise.
89189         [BZ #13118]
89190         * posix/Makefile (bug-regex32-ENV): Define.
89191         Patch by John Stanley <jpsinthemix@verizon.net>.
89193         * misc/Makefile (headers): Add bits/select2.h.
89194         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
89195         * misc/bits/select2.h: New file.
89196         * include/bits/select2.h: New file.
89197         * debug/Makefile (routines): Add fdelt_chk.
89198         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
89199         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
89200         FD_ISSET.
89201         * debug/fdelt_chk.c: New file.
89203         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
89204         * wcsmbs/test-wmemcmp.c: Likewise.
89205         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
89206         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
89208 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89210         * string/Makefile (strop-tests): Add memcmp.
89211         * string/test-wmemcmp.c: New file.
89212         * string/test-memcmp.c: Add wmemcmp support.
89214 2011-09-08  Roland McGrath  <roland@hack.frob.com>
89216         [BZ #13153]
89217         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
89218         2011-07-19 change.
89220         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
89221         garbage value in a __mach_port_mod_refs call in the cases of the
89222         task-self and thread-self ports.
89224 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
89226         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
89228 2011-09-08  Andreas Schwab  <schwab@redhat.com>
89230         * elf/dl-load.c (lose): Check for non-null L.
89232 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
89234         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
89236         * elf/dl-libc.c (dlerror_run): Pass back error code from
89237         dl_catch_error.
89239         [BZ #13123]
89240         * elf/dl-load.c (lose): Free l_origin if it is valid.
89242         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
89243         names.
89244         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
89245         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
89246         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
89247         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
89248         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
89249         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
89251 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
89253         * sysdeps/powerpc/fpu/e_hypot.c: New file.
89254         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
89255         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
89256         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
89257         * sysdeps/powerpc/fpu/k_cosf.c: New file.
89258         * sysdeps/powerpc/fpu/k_sinf.c: New file.
89259         * sysdeps/powerpc/fpu/s_cosf.c: New file.
89260         * sysdeps/powerpc/fpu/s_sinf.c: New file.
89261         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
89262         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
89264 2011-08-15  Alan Modra  <amodra@gmail.com>
89266         [BZ #13092]
89267         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
89268         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
89269         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
89270         ppc_mcount to static-only-routines.
89271         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
89272         __mcount_internal.
89273         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
89274         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
89276 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
89278         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
89279         for finite and infinity parameters.
89281 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
89283         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
89284         and add nop instructions for throughput optimization.
89285         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
89287 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
89289         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
89290         aligned copy for power7 with vector-scalar instructions.
89291         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
89293 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
89295         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
89296         AVX check.
89298 2011-09-07  Andreas Schwab  <schwab@redhat.com>
89300         [BZ #13144]
89301         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
89302         last change.
89304 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
89306         * sysdeps/unix/sysv/linux/x86_64/init-first.c
89307         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
89308         syscall wrapper around clock_gettime in __vdso_clock_gettime.
89309         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
89310         clock_gettime.
89312 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
89314         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
89315         Forgot to demangle the pointer.
89317         * sysdeps/i386/sysdep.h: Define atom_text_section.
89318         * sysdeps/x86_64/sysdep.h: Likewise.
89319         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
89320         section with atom_text_section.
89321         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
89322         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
89323         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
89324         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
89325         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
89327         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
89328         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
89329         already be defined.  Change to take two parameters and don't assign
89330         result to variable.  Adjust all users.
89331         Define INTERNAL_GETTIME if not already defined.
89332         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
89333         call.
89334         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
89335         HAVE_CLOCK_GETTIME_VSYSCALL.
89336         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
89338         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
89339         gettimeofday vsyscall, just use time.
89341 2011-09-06  Andreas Schwab  <schwab@redhat.com>
89343         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
89344         <errno.h>.
89346 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
89348         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
89349         syscall on x86-64.
89350         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
89351         syscall.
89352         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
89353         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
89354         syscall if possible.
89356 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
89358         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
89359         e_ident.  Don't pass to find_mapsXX.
89360         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
89362 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
89364         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
89365         strchr-sse2-no-bsf strrchr-sse2-no-bsf
89366         * sysdeps/x86_64/multiarch/strchr.S: Update.
89367         Check bit_slow_BSF bit.
89368         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
89369         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
89370         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
89372 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
89374         [BZ #13134]
89375         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
89376         before glibc 2.15.
89377         (tryshell): Define.
89378         (__spawni): Change last parameter to be flag.  Test
89379         SPAWN_XFLAGS_USE_PATH flag to use path or not.
89380         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
89381         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
89382         * posix/spawni.c: Likewise.
89383         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
89384         * posix/spawnp.c: Likewise.  Change normal version to use
89385         SPAWN_XFLAGS_USE_PATH.
89386         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
89387         SPAWN_XFLAGS_TRY_SHELL.
89389         [BZ #13150]
89390         * posix/glob.h: Remove gcc 1.x support.
89392         [BZ #13068]
89393         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
89395 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
89397         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
89398         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
89399         strrchr-sse2-bsf
89400         * sysdeps/i386/i686/multiarch/strchr.S: New file.
89401         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
89402         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
89403         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
89404         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
89405         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
89407 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89409         * sysdeps/x86_64/wcscmp.S: New file.
89411         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
89412         wcscmp-c wcscmp-sse2
89413         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
89414         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
89415         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
89416         * wcsmbs/wcscmp.c: Allow renaming.
89418 2011-09-05  David S. Miller  <davem@davemloft.net>
89420         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
89421         stack slot, rather than the struct return pointer slot.
89422         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
89423         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
89424         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
89425         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
89427 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
89429         * po/ja.po: Update from translation team.
89431         [BZ #13144]
89432         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
89433         kernel in 64-bit binaries.
89435 2011-09-01  David S. Miller  <davem@davemloft.net>
89437         * elf/elf.h (HWCAP_SPARC_*): Move to..
89438         * sysdeps/sparc/sysdep.h: this new file and add new values.
89439         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
89440         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
89441         _DL_HWCAP_COUNT to 24.
89442         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
89443         entries.
89444         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
89445         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
89446         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
89447         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
89448         instead of magic constants.
89449         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
89451 2011-08-31  David S. Miller  <davem@davemloft.net>
89453         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
89454         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
89455         Reimplement to do errno handling inline.
89456         (SYSCALL_ERROR_HANDLER): New macro.
89457         (__SYSCALL_STRING): Do not do errno handling in asm.
89458         (__CLONE_SYSCALL_STRING): Delete.
89459         (__INTERNAL_SYSCALL_STRING): Delete.
89460         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
89461         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
89462         (PSEUDO): Reimplement to do errno handling inline.
89463         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
89464         (SYSCALL_ERROR_HANDLER): New macro.
89465         (__SYSCALL_STRING): Do not do errno handling in asm.
89466         (__CLONE_SYSCALL_STRING): Delete.
89467         (__INTERNAL_SYSCALL_STRING): Delete.
89468         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
89469         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
89470         i386.
89471         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
89472         (inline_syscall*): Add 'err' argument.
89473         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
89474         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
89475         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
89476         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
89478         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
89479         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
89481 2011-08-30  Andreas Schwab  <schwab@redhat.com>
89483         * elf/rtld.c (dl_main): Relocate objects in dependency order.
89485 2011-08-29  Jiri Olsa <jolsa@redhat.com>
89487         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
89488         directive.
89490 2011-08-24  David S. Miller  <davem@davemloft.net>
89492         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
89494 2011-08-24  Andreas Schwab  <schwab@redhat.com>
89496         * elf/Makefile: Add rules to build and run unload8 test.
89497         * elf/unload8.c: New file.
89498         * elf/unload8mod1.c: New file.
89499         * elf/unload8mod1x.c: New file.
89500         * elf/unload8mod2.c: New file.
89501         * elf/unload8mod3.c: New file.
89503         * elf/dl-close.c (_dl_close_worker): Reset private search list if
89504         it wasn't used.
89506 2011-08-23  David S. Miller  <davem@davemloft.net>
89508         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
89509         subtract stack bias.
89510         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
89511         %sp not %fp in calculations.
89512         (_JMPBUF_UNWINDS_ADJ): Likewise.
89514         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
89515         (aio_suspend): Call it to force an exception region around the
89516         AIO_MISC_WAIT() invocation.
89518 2011-08-23  Andreas Schwab  <schwab@redhat.com>
89520         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
89521         backslash.
89523 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
89525         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
89526         protection macro.
89527         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
89528         and <dl-machine.h>.
89529         (Elf64_FuncDesc): Remove.
89531 2011-08-22  David S. Miller  <davem@davemloft.net>
89533         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
89534         sigaltstack check, add missing cfi directives.
89535         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
89536         missing cfi directives, and sigaltstack handling.
89538 2011-08-16  Andreas Schwab  <schwab@redhat.com>
89540         [BZ #11724]
89541         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
89542         object is seen twice.
89543         * elf/dl-fini.c (_dl_sort_fini): Likewise.
89545         * elf/Makefile (distribute): Add tst-initorder2.c.
89546         (tests): Add tst-initorder2.
89547         (modules-names): Add tst-initorder2a tst-initorder2b
89548         tst-initorder2c tst-initorder2d.  Add rules to build them.
89549         ($(objpfx)tst-initorder2.out): New rule.
89550         * elf/tst-initorder2.c: New file.
89551         * elf/tst-initorder2.exp: New file.
89553 2011-08-22  Andreas Schwab  <schwab@redhat.com>
89555         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
89557         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
89558         dependencies back to end of function.
89560         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
89561         $(elfobjdir)/ld.so.
89563 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
89565         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
89566         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
89567         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
89568         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
89569         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
89570         of __vdso_gettimeofday.
89571         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
89572         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
89573         attribute_hidden.
89574         (_libc_vdso_platform_setup): Remove initialization of
89575         __vdso_gettimeofday and __vdso_time.
89577 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
89579         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
89580         and fgetc_unlocked.
89581         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
89582         getc_unlocked.
89584         * elf/dl-open.c (add_to_global): Report additions to the global scope
89585         for LD_DEBUG=scopes.
89586         (dl_open_worker): Also print scope of newly loaded dependencies.
89587         (_dl_show_scope): Indicate if there is no scope.
89589         [BZ #13114]
89590         * stdio-common/Makefile (tests): Add bug24.
89591         * stdio-common/bug24.c: New file.
89593 2011-08-19  Andreas Jaeger  <aj@suse.de>
89595         [BZ #13114]
89596         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
89597         non-existant file when using close-on-exec mode.
89599 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
89601         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
89602         the very first instruction.
89604         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
89605         the CFI state in the end.
89606         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
89607         inclusion of dl-trampoline.h.
89608         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
89610 2011-08-19  Andreas Schwab  <schwab@redhat.com>
89612         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
89613         expectations for long double.
89615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
89616         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
89618 2011-08-14  David S. Miller  <davem@davemloft.net>
89620         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
89621         artificual limit depends upon the system page size.
89623 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
89625         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
89626         * resolv/Makefile: Define CFLAGS-libresolv.
89628 2011-08-17  Andreas Schwab  <schwab@redhat.com>
89630         * nss/makedb.c (compute_tables): Make variables used in nested
89631         function static.
89633 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
89635         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
89636         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
89637         if buffer was too small.
89639         * elf/pldd.c (main): Attach to all threads in the process.
89640         Rewrite /proc handling to use *at functions.
89642 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
89644         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
89645         specifies first scope to show.
89646         (dl_open_worker): Update callers.  Move printing scope of new
89647         object to before the relocation.
89648         * elf/rtld.c (dl_main): Update _dl_show_scope call.
89649         * sysdeps/generic/ldsodefs.h: Update declaration.
89651         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
89652         string for the scope number.
89654 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
89656         * nscd/servicescache.c (cache_addserv): Make sure written is always
89657         initialized.
89659 2011-08-14  Roland McGrath  <roland@hack.frob.com>
89661         * sysdeps/i386/i486/bits/atomic.h
89662         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
89663         statement expression, so as to suppress "set but not used" warning.
89664         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
89666         * string/strncat.c (STRNCAT): Use prototype definition.
89668         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
89669         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
89670         -Iprograms here.
89671         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
89672         (localedef-modules): Add localedef.
89673         (locale-modules): Add locale.
89675         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
89676         * elf/rtld.c (dl_main): Invert order of assignment in last change,
89677         to avoid a warning.
89679 2011-08-14  David S. Miller  <davem@davemloft.net>
89681         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
89682         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
89684 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
89686         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
89687         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
89688         * elf/rtld.c (dl_main): Set l_name of vDSO.
89689         Call _dl_show_scope when DL_DEBUG_SCOPES.
89690         (process_dl_debug): Recognize scopes flag and also set it for all.
89691         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
89692         Declare _dl_show_scope.
89694         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
89695         (do_dlopen): Pass caller_dlopen to dl_open.
89696         (__libc_dlopen_mode): Initialize caller_dlopen.
89698         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
89699         of libc.  Make tolower call locale-independent.  Optimize a bit by
89700         using isdigit instead of isalnum.
89701         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
89703 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
89705         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
89706         was a dependency or dynamically loaded.
89708 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
89710         * intl/l10nflist.c: Allow architecture-specific pop function.
89711         * sysdeps/x86_64/l10nflist.c: New file.
89713         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
89714         classification.
89716 2011-08-10  Andreas Schwab  <schwab@redhat.com>
89718         * include/dirent.h: Add libc_hidden_proto for scandirat and
89719         scandirat64.  Don't declare __scandirat64.
89720         * dirent/scandirat.c: Add libc_hidden_def.
89721         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
89722         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
89724 2011-08-10  David S. Miller  <davem@davemloft.net>
89726         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
89727         enum.
89728         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
89729         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
89730         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
89732 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
89734         * Versions.def [libc]: Add GLIBC_2.15.
89735         * dirent/Makefile (routines): Add scandirat and scandirat64.
89736         * dirent/Versions [libc]: Export scandirat and scandirat64 for
89737         GLIBC_2.15.
89738         * dirent/dirent.h: Declare scandirat and scandirat64.
89739         * dirent/scandirat.c: New file.
89740         * dirent/scandirat64.c: New file.
89741         * sysdeps/wordsize-64/scandirat.c: New file.
89742         * sysdeps/wordsize-64/scandirat64.c: New file.
89743         * dirent/opendir.c: Define opendirat.
89744         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
89745         using scandirat.
89746         * dirent/scandir64.c: Adjust for scandir.c change.
89747         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
89748         __scandirat64, and __scandir_cancel_handler.
89749         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
89750         additional parameter and use openat instead of open (outside of ld.so).
89751         Add new __opendir as wrapper around __opendirat.
89752         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
89753         here without requiring old scandirat implementation.
89755 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
89757         * dirent/scandir.c (cancel_handler): Renamed to
89758         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
89759         defined.  Adjust users.
89760         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
89761         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
89763 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
89765         * string/test-string.h (IMPL): Use __STRING to expand name and then
89766         stringify it.
89768         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
89769         of cleanups.
89771 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89773         * string/Makefile: Update.
89774         (strop-tests): Append strncat.
89775         * string/test-wcscmp.c: New file.
89776         New comprehensive test for wcscmp.
89777         * string/test-strcmp.c: Update.
89778         (WIDE): New define.
89780 2011-07-22  Andreas Schwab  <schwab@redhat.com>
89782         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
89783         line.
89785 2011-07-26  Andreas Schwab  <schwab@redhat.com>
89787         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
89788         encoding to ACE if AI_IDN.
89790 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
89792         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
89793         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
89795 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
89797         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
89798         Fix overflow bug in strncat.
89799         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
89801         * string/test-strncat.c: Update.
89802         Add new tests for checking overflow bugs.
89804 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
89806         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
89807         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
89808         * sysdeps/i386/i686/multiarch/strcat.S: New file.
89809         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
89810         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
89811         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
89812         * sysdeps/i386/i686/multiarch/strncat.S: New file.
89813         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
89814         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
89816         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
89817         (USE_AS_STRCAT): Define.
89818         Add strcat and strncat support.
89819         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
89821 2011-07-25  Andreas Schwab  <schwab@redhat.com>
89823         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
89824         __n bigger than INT_MAX+1.
89825         (__strncmp_g): Likewise.
89827 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
89829         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
89830         * libio/stido.h: Likewise.
89832         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
89833         (AF_NFC): Define.
89834         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
89835         (AF_NFC): Define.
89837         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
89838         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
89839         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
89840         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
89841         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
89843         [BZ #13021]
89844         * scripts/test-installation.pl: Don't expect libnss_test1 to be
89845         installed.
89847         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
89848         typo.
89849         (_dl_x86_64_save_sse): Likewise.
89851 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
89853         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
89854         OSXSAVE.
89855         (_dl_x86_64_save_sse): Likewise.
89857         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
89859         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
89861 2011-07-21  Andreas Schwab  <schwab@redhat.com>
89863         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
89864         change.
89865         (_dl_x86_64_save_sse): Use correct AVX check.
89867 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89869         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
89870         bug in strncpy/strncat.
89871         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
89873 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
89875         * string/tester.c (test_strcat): Add tests for different alignments
89876         of source and destination.
89877         (test_strncat): Likewise.
89879 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
89881         [BZ #12852]
89882         * posix/glob.c (glob): Check passed in values before using them in
89883         expressions to avoid some overflows.
89884         (glob_in_dir): Likewise.
89886         [BZ #13007]
89887         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
89888         check for AVX enablement so that we don't crash with old kernels and
89889         new hardware.
89890         * elf/tst-audit4.c: Add same checks here.
89891         * elf/tst-audit6.c: Likewise.
89893         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
89895 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
89897         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
89899 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
89901         * po/cs.po: Update from translation team.
89902         * po/bg.po: Likewise.
89904 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
89906         * misc/sys/cdefs.h: Add support for const attribute.
89907         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
89908         to gnu_dev_{major,minor,makedev} functions.
89910 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
89912         * intl/dcigettext.c (get_output_charset): Add missing bracket.
89914 2011-07-20  Andreas Schwab  <schwab@redhat.com>
89916         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
89917         strlen results.
89919 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
89921         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
89922         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
89923         register in order to avoid conflicts with the soft frame pointer
89924         being held in r11 when necessary.
89925         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
89926         (INTERNAL_VSYSCALL_NCS): Likewise.
89928 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
89930         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
89931         * elf/dl-fini.c (_dl_fini): Adjust caller.
89932         * elf/dl-close.c (_dl_close_worker): Likewise.
89933         * sysdeps/generic/ldsodefs.h: Adjust declaration.
89935 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
89937         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
89938         "aux_cache->nlibs < 0".
89940         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
89941         in the reload-count case.
89943 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
89945         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
89946         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
89947         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
89948         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
89949         * sysdeps/x86_64/multiarch/strcat.S: New file.
89950         * sysdeps/x86_64/multiarch/strncat.S: New file.
89951         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
89952         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
89953         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
89954         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
89955         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
89956         (USE_AS_STRCAT): Define.
89957         Add strcat and strncat support.
89958         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
89959         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
89960         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
89961         * string/strncat.c: Update.
89962         (USE_AS_STRNCAT): Define.
89963         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
89964         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
89965         and i7.
89966         * sysdeps/x86_64/multiarch/init-arch.h
89967         (bit_Prefer_PMINUB_for_stringop): New.
89968         (index_Prefer_PMINUB_for_stringop): Likewise.
89969         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
89970         bit_Prefer_PMINUB_for_stringop.
89972 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
89974         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
89975         buffer64.
89976         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
89977         of casting of buffer.
89978         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
89979         buffer32 and buffer64.
89980         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
89981         writes instead of casting of buffer.
89982         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
89983         buffer32.
89984         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
89985         casting of buffer.
89987 2011-07-19  Andreas Schwab  <schwab@redhat.com>
89989         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
89991 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
89993         * nscd/nscd.c (termination_handler): Don't do anything for a database
89994         if it has not yet been initialized.
89996 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
89998         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
90000 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
90002         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
90004 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
90006         * po/nl.po: Update from translation team.
90007         * po/sv.po: Likewise.
90009 2011-07-16  Roland McGrath  <roland@hack.frob.com>
90011         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
90012         now disallowed by GCC.
90014         * configure.in (use-default-link): Default to yes if a test -shared
90015         link meets our qualifications.
90016         * configure: Regenerated.
90018         * config.make.in (output-format): New variable.
90019         * configure.in: Check for ld --print-output-format support.
90020         * configure: Regenerated.
90021         * Makerules ($(common-objpfx)format.lds)
90022         [$(output-format) != unknown]: Just use $(output-format),
90023         instead of the linker-script munging.
90025 2011-07-14  Roland McGrath  <roland@hack.frob.com>
90027         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
90028         of $(common-objpfx)shlib.lds.
90029         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
90031         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
90032         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
90034         * configure.in (-z relro check): Adjust test code to add a large
90035         writable data section after it.
90036         * configure: Regenerated.
90038 2011-07-11  Roland McGrath  <roland@hack.frob.com>
90040         * configure.in (-z relro check): Fix test code to make the variable
90041         truly const.
90042         * configure: Regenerated.
90044 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
90046         * nscd/nscd.h (struct traced_file): Define.
90047         (struct database_dyn): Remove inotify_descr, reset_res, and filename
90048         elements.  Add traced_files.
90049         (inotify_fd): Declare.
90050         (register_traced_file): Declare.
90051         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
90052         (inotify_fd): Export.
90053         (resolv_conf_descr): Remove.
90054         (nscd_init): Move inotify descriptor creation to main.
90055         Don't register files for notification here.
90056         (register_traced_file): New function.
90057         (invalidate_cache): Don't use reset_res to determine whether to call
90058         res_init, go through the list of registered files.
90059         (main_loop_poll): The inotify descriptors are now stored in the
90060         structures for the traced files.
90061         (main_loop_epoll): Likewise.
90062         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
90063         to __nss_disable_nscd.
90064         * nscd/cache.c (prune_cache): There is no single inotify descriptor
90065         for a database anymore.  Check the records for all the registered
90066         files instead.
90067         * nss/Makefile (libnss_files-routines): Add files-init.
90068         (libnss_db-routines): Add db-init.
90069         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
90070         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
90071         * nss/nss_db/db-init.c: New file.
90072         * nss/nss_files/files-init.c: New file.
90073         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
90074         __nss_lookup_function.
90075         (__nss_lookup_function): Call nss_load_library.
90076         (nss_load_all_libraries): New function.
90077         (__nss_disable_nscd): Take parameter with callback function for files
90078         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
90079         used for the cached services.
90080         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
90081         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
90082         options for features to all the files in nscd.
90084         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
90086 2011-07-10  Roland McGrath  <roland@hack.frob.com>
90088         * csu/elf-init.c (__libc_csu_init): Comment typo.
90090 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
90092         * po/pl.po: Update from translation team.
90093         * po/ja.po: Likewise.
90094         * po/ru.po: Likewise.
90095         * po/ko.po: Likewise.
90096         * po/fr.po: Likewise.
90098 2011-07-09  Roland McGrath  <roland@hack.frob.com>
90100         * configure.in (.ctors/.dtors header and trailer check):
90101         Use an empirical test on a built program.
90102         * configure: Regenerated.
90104         * configure.in (-z relro check): Use an empirical test on a built DSO.
90105         Detect, but do not require, on ia64.
90106         * configure: Regenerated.
90108         * configure.in (READELF): Find it with AC_CHECK_TOOL.
90109         Update tests that use readelf to use $READELF instead.
90110         * configure: Regenerated.
90112 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
90114         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
90115         if the result is not used.
90117 2011-07-05  Andreas Jaeger  <aj@suse.de>
90119         [BZ #9696]
90120         * stdlib/tst-strtod.c: Add testcase.
90122 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
90124         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
90125         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
90126         The latter has a higher limit.  Take additional parameter to pass to
90127         the new function.
90128         (__pathconf): Pass file to __statfs_link_max.
90129         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
90130         __statfs_link_max.
90131         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
90132         __statfs_link_max.
90134         [BZ #12868]
90135         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
90136         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
90137         Handle Lustre.
90138         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
90139         (__statfs_filesize_max): Likewise.
90140         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
90142 2011-07-05  Andreas Jaeger  <aj@suse.de>
90144         * resolv/res_comp.c (dn_skipname): Remove unused variable.
90146 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
90148         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
90149         `status' variable.
90150         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
90151         Likewise.
90153 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
90155         * Makefile (strop-tests): Add strncat.
90156         * string/test-strncat.c: New file.
90158 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
90160         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
90162 2011-06-21  Andreas Jaeger  <aj@suse.de>
90164         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
90165         Copy rule from iconvdata/Makefile.
90167 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
90169         [BZ #12922]
90170         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
90171         but no long options are defined, just return 'W'.
90173 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
90175         [BZ #9696]
90176         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
90178 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
90180         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
90181         netgroups to read.
90182         (innetgr): Likewise.
90184 2011-07-05  Roland McGrath  <roland@hack.frob.com>
90186         * config.make.in (install_root): Default to $(DESTDIR).
90188 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
90190         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
90192 2011-07-02  Roland McGrath  <roland@hack.frob.com>
90194         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
90196         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
90197         containing directory rather than embedding absolute directory names.
90199         * scripts/check-local-headers.sh: Rewritten using awk.
90200         Match by word, not by line.  Print error messages for matches.
90201         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
90203         * Makerules [shlib-lds-flags empty]:
90204         ($(common-objpfx)libc_pic.opts): New target.
90205         ($(common-objpfx)libc_pic.os.clean): New target.
90206         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
90208         * config.make.in (OBJCOPY): New variable.
90209         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
90210         * configure: Regenerated.
90212         * config.make.in (use-default-link): New variable.
90213         * configure.in (use_default_link): Grok --with-default-link to set it.
90214         * configure: Regenerated.
90215         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
90216         (shlib-lds, shlib-lds-flags): Define to empty.
90218         * Makerules (shlib-lds): New variable.
90219         (shlib-lds-flags): New variable.
90220         (build-shlib, build-moduile, build-module-asneeded): Use it.
90221         ($(common-objpfx)libc.so): Use $(shlib-lds).
90222         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
90223         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
90225         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
90226         DT_FLAGS/DT_FLAGS_1 with zero flags.
90228         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
90229         linker script munging.
90231 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
90233         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
90234         as 128-bit value.
90235         * crypt/sha512.c (sha512_process_block): Perform total addition using
90236         128-bit if possible.
90237         (__sha512_finish_ctx): Likewise.
90238         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
90239         as 64-bit value.
90240         * crypt/sha256.c (SWAP64): Define.
90241         (sha256_process_block): Perform total addition using 64-bit if
90242         possible.
90243         (__sha256_finish_ctx): Likewise.
90245 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
90247         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
90248         * nscd/initgrcache.c (addinitgroupsX): Likewise.
90249         * nscd/hstcache.c (cache_addhst): Likewise.
90250         * nscd/grpcache.c (cache_addgr): Likewise.
90251         * nscd/aicache.c (addhstaiX): Likewise.
90252         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
90254 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
90256         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
90257         * nscd/initgrcache.c (addinitgroupsX): Likewise.
90258         * nscd/hstcache.c (cache_addhst): Likewise.
90259         * nscd/grpcache.c (cache_addgr): Likewise.
90260         * nscd/aicache.c (addhstaiX): Likewise.
90262 2011-07-01  Andreas Schwab  <schwab@redhat.com>
90264         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
90265         domain only when needed.
90267 2011-06-30  Andreas Schwab  <schwab@redhat.com>
90269         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
90270         is always restored.
90272 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
90274         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
90275         are re-adding the entry.
90276         * nscd/servicescache.c (cache_addserv): Likewise.
90278 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
90280         * sysdeps/generic/dl-irel.h: fix protection against multiple
90281         inclusions.
90282         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
90284 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
90286         [BZ #12935]
90287         * malloc/memusage.sh: Fix quoting in message.
90288         * debug/xtrace.sh: Likewise.
90290         * configure.in: Remove support for --experimental-malloc option, make
90291         it the default.
90292         * config.make.in: Likewise.
90293         * malloc/Makefile: Likewise.
90295 2011-06-27  Andreas Schwab  <schwab@redhat.com>
90297         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
90298         two-byte characters.
90300 2011-06-27  Roland McGrath  <roland@hack.frob.com>
90302         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
90303         AC_CACHE_CHECK invocation.
90304         * configure: Regenerated.
90306         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
90308 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
90310         [BZ #12350]
90311         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
90312         bit from old_res_options.
90314         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
90316         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
90317         value type for setfct.
90319 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
90321         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
90322         __gettimeofday instead of gettimeofday.
90324 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
90326         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
90328 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
90330         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
90332         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
90333         info.
90335 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
90337         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
90338         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
90339         strcpy-sse2-unaligned strncpy-sse2-unaligned
90340         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
90341         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
90342         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
90343         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
90344         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
90345         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
90346         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
90347         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
90348         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
90349         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
90350         (STRCPY): Support SSE2 and SSSE3 versions.
90352 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
90354         [BZ #12874]
90355         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
90356         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
90357         kernels which artificially limit size of requests.
90359 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
90361         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
90362         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
90363         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
90364         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
90365         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
90366         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
90367         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
90368         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
90369         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
90370         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
90371         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
90372         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
90373         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
90374         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
90375         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
90376         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
90377         Enable unaligned load optimization for Intel Core i3, i5 and i7
90378         processors.
90379         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
90380         Define.
90381         (index_Fast_Unaligned_Load): Define.
90382         (HAS_FAST_UNALIGNED_LOAD): Define.
90384 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
90386         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
90388 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
90390         [BZ #12907]
90391         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
90392         until it is clear that the information is realy needed.
90393         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
90395 2011-06-22  Andreas Schwab  <schwab@redhat.com>
90397         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
90399 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
90401         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
90402         /sys/devices/system/cpu/online if it is usable.
90404         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
90405         reading the information from the /proc filesystem to once a second.
90407 2011-06-21  Andreas Jaeger  <aj@suse.de>
90409         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
90410         NULL after inclusion of kernel headers.
90412 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
90414         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
90415         calls to internal_setent.
90417         [BZ #12885]
90418         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
90419         addresses using gethostbyname4_r ignore IPv4 addresses.
90421         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
90422         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
90424         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
90426 2011-06-20  David S. Miller  <davem@davemloft.net>
90428         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
90429         inclusions.
90430         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
90432         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
90433         (elf_irel): Use it.
90434         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
90435         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
90436         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
90437         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
90438         * sysdeps/x86_64/dl-irel.h: Likewise.
90440         * elf/dl-runtime.c: Use elf_ifunc_invoke.
90441         * elf/dl-sym.c: Likewise.
90443 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
90445         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
90446         need to dereference resplen2.
90448 2011-06-14  Andreas Schwab  <schwab@redhat.com>
90450         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
90452 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
90454         * Makeconfig: Define vardbdir and inst_vardbdir.
90455         * nss/Makefile: Add rules to install db-Makefile.
90457         * nss/nss_db/db-XXX.c: Cleanup.
90459         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
90460         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
90461         GLIBC_PRIVATE.
90462         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
90463         * nss/makedb.c: Implement -g option to specify that value strings
90464         are generated and should not be added to table iterated over for
90465         get*ent calls.
90466         * nss/nss_db/db-initgroups.c: New file.
90468         * nss/getent.c: Add support for initgroups lookups through getgrouplist
90469         interface.
90471         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
90472         (internal_getgrouplist): Adjust to name change.
90473         Update use_initgroups_entry if this is not the first call.
90474         * nss/databases.def: Add initgroups entry.
90476         * nss/makedb.c (compute_tables): Check result of multiple hash table
90477         sizes to minimize maximum chain length.
90479 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
90481         * Versions.def: Add entry for libnss_db.
90482         * shlib-versions: Likewise.
90483         * nss/Makefile: Add rules to build libnss_db.
90484         * nss/Versions: Add libnss_db information.  Organize libnss_files
90485         entries better.
90486         * nss/db-Makefile: Add gshadow support.  Change rules for the new
90487         makedb progra.  Some minor improvements to generate smaller files.
90488         * nss/nss_db/nss_db.h: Move NSS database header data structures to
90489         here from...
90490         * nss/makedb.c: ...here.
90491         Improve database format to be smaller and require less memory at
90492         runtime.
90493         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
90494         db anymore.
90495         * nss/nss_db/db-netgrp.c: Likewise.
90496         * nss/nss_db/db-open.c: Likewise.
90497         * nss/nss_files/flies-XXX.x: Adjust comments.
90498         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
90499         * nss/nss_files/files-grp.c: Likewise.
90500         * nss/nss_files/files-hosts.c: Likewise.
90501         * nss/nss_files/files-network.c: Likewise.
90502         * nss/nss_files/files-proto.c: Likewise.
90503         * nss/nss_files/files-pwd.c: Likewise.
90504         * nss/nss_files/files-rpc.c: Likewise.
90505         * nss/nss_files/files-service.c: Likewise.
90506         * nss/nss_files/files-sgrp.c: Likewise.
90507         * nss/nss_files/files-spwd.c: Likewise.
90508         * nss/nss_db/db-alias.c: Removed.
90509         * nss/nss_db/dummy-db.h: Removed.
90511 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
90513         * nss/makedb.c: Rewritten to not use database library.
90514         * nss/Makefile: Update to build new makedb program.
90516 2011-06-14  Andreas Jaeger  <aj@suse.de>
90518         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
90519         memset declaration.
90521 2011-06-10  Andreas Schwab  <schwab@redhat.com>
90523         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
90524         tmpbuf.
90526 2011-06-10  Roland McGrath  <roland@hack.frob.com>
90528         * Makerules (shlib.lds): Fail if the linker script comes out empty.
90529         * elf/Makefile ($(objpfx)ld.so): Likewise.
90531         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
90532         Don't list ld.so twice in dependencies.
90534         * posix/bug-regex31.c: Include <stdlib.h>.
90536         * nscd/hstcache.c (cache_addhst): Remove unused variable.
90538         * nis/nss_compat/compat-spwd.c
90539         (getspent_next_nss_netgr): Remove unused variable.
90540         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
90542         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
90543         nonmembers" output to use the right array.
90545         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
90547         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
90549         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
90550         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
90551         * catgets/gencat.c (read_input_file): Likewise.
90552         * locale/programs/locarchive.c (enlarge_archive): Likewise.
90554         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
90555         variable definition inside #if's controlling its use.
90557         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
90559         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
90561         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
90563         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
90564         unreachable code.
90566         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
90568         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
90569         * configure: Regenerated.
90571         * Makerules: Revert last change.
90572         * elf/Makefile: Likewise.
90574 2011-06-09  Roland McGrath  <roland@hack.frob.com>
90576         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
90577         * elf/Makefile ($(objpfx)librtld.os): Likewise.
90578         (reloc-link): Likewise.
90580 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
90582         * elf/Makefile: Add rules to build pldd.
90583         * elf/pldd.c: New file.
90584         * elf/pldd-xx.c: New file.
90586 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
90588         * version.h: Update for 2.15 development version.
90590 2011-06-07  David S. Miller  <davem@davemloft.net>
90592         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
90593         ifuncs.
90594         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
90595         elf_machine_lazy_rel): Likewise.
90596         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
90597         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
90598         elf_machine_lazy_rel): Likewise.
90599         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
90600         dl_hwcap via passed in argument.
90601         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
90602         Likewise.
90604 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
90606         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
90608 2011-06-06  Roland McGrath  <roland@hack.frob.com>
90610         [BZ #12849]
90611         * manual/fdl-1.1.texi: New file, verbatim from:
90612         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
90613         * manual/lgpl-2.1.texi: New file, verbatim from:
90614         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
90615         * manual/Makefile (licenses): New variable, list those new file names.
90616         (texis): Use it.
90617         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
90619         * manual/fdl.texi: File removed.
90620         * manual/lesser.texi: File removed.
90621         * manual/libc.texinfo (Copying, Documentation License):
90622         Use new @include file names, put @appendix directive before @include.
90624 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
90626         [BZ #12841]
90627         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
90628         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
90629         (mq_open): Add __NTH.
90631 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
90633         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
90634         Assume Intel Core i3/i5/i7 processor if AVX is available.
90636 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
90638         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
90639         typo.
90641 2011-05-31  Andreas Schwab  <schwab@redhat.com>
90643         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
90644         memory.  Use alloca_account.  Fix memory leak when retrying.
90646 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
90648         * version.h (RELEASE): Bump for 2.14 release.
90649         * include/features.h (__GLIBC_MINOR__): Bump to 14.
90651         * config.make.in (RANLIB): Remove entry.
90653 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
90655         * po/Makefile (po-sed-cmd): Add ksh to extensions.
90656         (libc.pot): Work around missing support for .ksh extension in xgettext.
90658         [BZ #12684]
90659         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
90660         if both request failed.
90661         (send_dg): In case of server errors clear resplen or *resplen2.
90663         [BZ #12454]
90664         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
90665         when there are multiple maps.
90666         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
90667         (_dl_fini): Remove test here.
90669         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
90671 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
90673         [BZ #12350]
90674         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
90675         bit from old_res_options.
90676         (gaih_inet): Likewise.
90678         [BZ #11099]
90679         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
90680         as signed.
90682         * resolv/res_init.c (res_setoptions): Make the code more compact.
90684         [BZ #11558]
90685         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
90686         set RES_USEVC.
90688         [BZ #11634]
90689         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
90691         * malloc/malloc.h: Mark malloc hook variables as deprecated.
90693         [BZ #11781]
90694         * malloc/malloc.h: Declare malloc hook variables as volatile.
90696         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
90697         in last patch.
90699         [BZ #11799]
90700         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
90701         raise in the comment.
90702         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
90703         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
90704         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
90706 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
90708         [BZ #12811]
90709         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
90710         grow the buffers more if it already has to be sufficient.
90711         (build_wcs_upper_buffer): Likewise.
90712         * posix/regexec.c (check_matching): Likewise.
90713         (clean_state_log_if_needed): Likewise.
90714         (extend_buffers): Don't enlarge buffers beyond size of the input
90715         buffer.
90716         Patches mostly by Emil Wojak <emil@wojak.eu>.
90717         * posix/bug-regex32.c: New file.
90718         * posix/Makefile (tests): Add bug-regex32.
90720         * locale/findlocale.c (_nl_find_locale): Return right away if
90721         _nl_explode_name failed.
90722         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
90724         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
90726         * debug/xtrace.sh: Unify messages.
90727         * malloc/memusage.sh: Likewise.
90729         [BZ #12813]
90730         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
90731         time symbol from vDSO.  Substitute with vsyscall if not available.
90732         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
90733         __vdso_time.
90735         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
90736         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
90737         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
90738         Add sendmmsg and internal_sendmmsg.
90739         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
90740         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
90741         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
90743         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
90744         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
90745         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
90747 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
90749         [BZ #12813]
90750         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
90751         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
90752         available.
90753         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
90754         __vdso_getcpu.
90756         [BZ #12814]
90757         * iconvdata/Makefile (tests): Add bug-iconv9.
90758         * iconvdata/bug-iconv9.c: New file.
90760 2011-05-27  Andreas Schwab  <schwab@redhat.com>
90762         [BZ #12814]
90763         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
90765 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
90767         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
90768         (struct user_regs_struct): Change intcs field back to cs.
90770 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
90772         * po/ja.po: Update from translation team.
90774 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
90776         [BZ #12795]
90777         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
90778         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
90780 2011-05-20  Andreas Schwab  <schwab@redhat.com>
90782         * stdlib/longlong.h: Update from GCC.
90784 2011-05-23  Andreas Schwab  <schwab@redhat.com>
90786         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
90787         parameter name.
90788         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
90789         Add parameter name.
90790         (__sysconf): Pass it down.
90792 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
90794         [BZ #12671]
90795         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
90796         some situations.
90797         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
90798         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
90799         add in in __libc_use_alloca calls.  Adjust callers.
90800         (glob): Use malloc in some situations.
90802         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
90803         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
90804         pltexit.
90806 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
90808         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
90809         and CLOCK_BOOTTIME_ALARM.
90811         [BZ #12782]
90812         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
90813         is returned.
90815         * string/_strerror.c (__strerror_r): Print negative errors as signed
90816         numbers.
90818         [BZ #12777]
90819         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
90820         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
90821         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
90823         * configure.in: Fix typo in redirection and correct removal of test
90824         files in two cases.
90826         [BZ #12788]
90827         * locale/setlocale.c (new_composite_name): Fix test to check for
90828         identical name of all categories.
90830         [BZ #12792]
90831         * libio/filedoalloc.c (local_isatty): New function.
90832         (_IO_file_doallocate): Use local_isatty.
90833         * stdio-common/perror.c (perror): In case a new stream is used
90834         forward the stream error.
90835         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
90836         error flag.
90838 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
90840         [BZ #11884]
90841         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
90842         alloca.
90843         * include/alloca.h (extend_alloca_account): Define.
90845         [BZ #11857]
90846         * posix/regex.h: Fix comments with documentation of user-accessible
90847         fields after compilation and describe correct free'ing of pattern
90848         after re_compile_pattern.
90849         Patch by Reuben Thomas <rrt@sc3d.org>.
90851 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
90853         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
90854         and -mno-altivec to prevent the compiler from using Altivec and/or
90855         VSX instructions when the corresponding registers are not available.
90857 2011-05-19  Andreas Schwab  <schwab@redhat.com>
90859         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
90861 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
90863         * libio/freopen.c (freopen): Use __dup2, not dup2.
90864         * libio/freopen64.c (freopen64): Likewise.
90866 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
90868         [BZ #12775]
90869         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
90870         * math/Makefile (tests): Add test-powl.
90871         (CFLAGS-test-powl.c): Define.
90872         * math/test-powl.c: New file.
90874 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
90876         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
90878 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
90880         [BZ #11837]
90881         * iconvdata/gb18030.c: Update to GB18020-2005.
90883 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
90885         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
90886         RE_SYNTAX_POSIX_AWK): Update to match recent development.
90887         Patch by Aharon Robbins <arnold@skeeve.com>.
90889         [BZ #11892]
90890         * stdlib/putenv.c (putenv): Don't always create copy of the variable
90891         on the stack.
90893         [BZ #11895]
90894         * misc/pselect.c (__pselect): Handle timeout value errors hidden
90895         through underflows.
90897         [BZ #12766]
90898         * misc/error.c (error_at_line): Ensure file_name and old_file_name
90899         point to strings before performing equality test for error_one_per_line
90900         mode.
90902         [BZ #11697]
90903         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
90905         [BZ #11820]
90906         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
90907         (struct user_fpregs_struct): Avoid __uint*_t types.
90909         [BZ #6420]
90910         * malloc/mtrace.c (tr_where): Add additional parameter to point to
90911         symbol info.  Use it instead of calling _dl_addr locally.
90912         (lock_and_info): New function.
90913         (tr_freehook): Call lock_and_info and pass symbol info as additional
90914         parameter to tr_where.
90915         (tr_mallochook): Likewise.
90916         (tr_reallochook): Likewise.
90917         (tr_memalignhook): Likewise.
90919         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
90920         used and couldn't be at all thread-safe.
90922 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
90924         * libio/freopen.c (freopen): Don't close old file descriptor
90925         before the new one is opened.  Instead dup the new file descriptor
90926         to the old one after the new stream is created.
90927         * libio/freopen64.c (freopen64): Likewise.
90928         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
90929         * libio/fileops.c (_IO_new_file_close_it): Handle new
90930         _IO_FLAGS2_NOCLOSE flag.
90931         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
90932         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
90933         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
90934         _IO_FLAGS2_NOCLOSE flag.
90935         * include/unistd.h: Add hidden_proto for dup3.
90936         Define __have_dup3.
90937         * io/dup3.c: Define hidden symbol.
90938         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
90940         [BZ #7101]
90941         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
90942         when an incomplete long option is used.
90943         * posix/tst-getopt_long1.c: New file.
90944         * posix/Makefile (tests): Add tst-getopt_long1.
90946         [BZ #10138]
90947         * scripts/config.guess: Update from autoconf-2.68.
90948         * scripts/config.sub: Likewise.
90950         [BZ #10157]
90951         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
90952         tests into ...
90953         (has_cpuclock): ...this.  New function.
90954         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
90955         macro here based on has_cpuclock code.
90957         [BZ #10149]
90958         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
90959         First byte (not low byte) is now always NUL.
90960         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
90962         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
90963         Use non-cancelable interfaces.
90965         [BZ #9809]
90966         * locale/iso-639.def: Add entry for Sorani.
90968         [BZ #11901]
90969         * include/stdlib.h: Move include protection to the right place.
90970         Define abort_msg_s.  Declare __abort_msg with it.
90971         * stdlib/abort.c (__abort_msg): Adjust type.
90972         * assert/assert.c (__assert_fail_base): New function.  Majority
90973         of code from __assert_fail.  Allocate memory for __abort_msg with
90974         mmap.
90975         (__assert_fail): Now call __assert_fail_base.
90976         * assert/assert-perr.c: Remove bulk of implementation.  Use
90977         __assert_fail_base.
90978         * include/assert.hL Declare __assert_fail_base.
90979         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
90980         mmap.
90981         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
90983 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
90985         [BZ #11952]
90986         [BZ #12453]
90987         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
90988         until all modules are registered in the DTV.
90989         * elf/Makefile: Add rules to build and run tst-tls19.
90990         * elf/tst-tls19.c: New file.
90991         * elf/tst-tls19mod1.c: New file.
90992         * elf/tst-tls19mod2.c: New file.
90993         * elf/tst-tls19mod3.c: New file.
90994         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
90996         [BZ #12083]
90997         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
90998         correctly.
91000         [BZ #12601]
91001         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
91002         two-byte sequence errors.
91003         * iconvdata/Makefile (tests): Add bug-iconv8.
91004         * iconvdata/bug-iconv8.c: New file.
91006         [BZ #12626]
91007         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
91008         buf2 definition.
91010         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
91012         [BZ #12432]
91013         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
91014         (dummy_getcfa): New function.
91015         (init): Get _Unwind_GetCFA address, use dummy if not found.
91016         (backtrace_helper): In recursion check, also check whether CFA changes.
91017         (__backtrace): Completely initialize arg.
91019         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
91020         storing incomplete byte sequence in state object.  Avoid testing for
91021         guaranteed too small input if we know there is enough data available.
91023 2011-05-11  Andreas Schwab  <schwab@redhat.com>
91025         * Makeconfig (+link-pie): Indent.
91026         * Rules (binaries-pie): Define if $(have-fpie) and
91027         $(build-shared).
91028         (binaries-shared): Also filter out $(binaries-pie).
91029         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
91030         * nscd/Makefile (others-pie): Add nscd.
91031         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
91032         ($(objpfx)nscd): Remove command override.
91033         * login/Makefile (others-pie): Add pt_chown.
91034         ($(objpfx)pt_chown): Remove command override.
91035         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
91036         remove command overrides.
91038 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
91040         * libio/tst_putwc.c: Fix error messages.
91042         [BZ #12724]
91043         * libio/fileops.c (_IO_new_file_close_it): Always flush when
91044         currently writing and seek to current position when not.
91045         * libio/Makefile (tests): Add bug-fclose1.
91046         * libio/bug-fclose1.c: New file.
91048 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
91050         [BZ #12511]
91051         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
91052         don't set DF_1_NODELETE here.
91053         (do_lookup_x): When entering new entry test for copy relocation
91054         and if necessary set DF_1_NODELETE flag.
91055         * elf/tst-unique4.cc: New file.
91056         * elf/tst-unique4.h: New file.
91057         * elf/tst-unique4lib.cc: New file.
91058         * elf/Makefile: Add rules to build and run tst-unique4.
91059         Patch by Piotr Bury <pbury@goahead.com>.
91061 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
91063         [BZ #12052]
91064         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
91066         [BZ #12625]
91067         * misc/mntent_r.c (addmntent): Flush the stream after the output
91069         [BZ #12393]
91070         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
91071         (is_trusted_path_normalize): Skip initial colon.  Append slash
91072         to empty buffer.  Duplicate is_trusted_path code but allow
91073         constructed patch to be prefix.
91074         (is_dst): Allow $ORIGIN followed by /.
91075         (_dl_dst_substitute): Correct clearing of check_for_trusted.
91076         Correct testing of result of is_trusted_path_normalize
91077         (decompose_rpath): Fix warning.
91079 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
91081         [BZ #11257]
91082         * grp/initgroups.c (internal_getgrouplist): When we found the service
91083         list through the initgroups entry in nsswitch.conf do not always
91084         continue on a successful lookup.  Don't always use the
91085         __nss_group_database value if it is set.
91086         * nss/nsswitch.conf (initgroups): Change action for successful db
91087         lookup to continue for compatibility.
91089 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
91091         [BZ #11532]
91092         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
91093         and CP774 modules.
91094         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
91095         and CP774 modules.
91096         * iconvdata/tst-tables.sh: Likewise.
91097         * iconvdata/cp770.c: New file.
91098         * iconvdata/cp771.c: New file.
91099         * iconvdata/cp772.c: New file.
91100         * iconvdata/cp773.c: New file.
91101         * iconvdata/cp774.c: New file.
91102         * iconvdata/testdata/CP770: New file.
91103         * iconvdata/testdata/CP770..UTF8: New file.
91104         * iconvdata/testdata/CP771: New file.
91105         * iconvdata/testdata/CP771..UTF8: New file.
91106         * iconvdata/testdata/CP772: New file.
91107         * iconvdata/testdata/CP772..UTF8: New file.
91108         * iconvdata/testdata/CP773: New file.
91109         * iconvdata/testdata/CP773..UTF8: New file.
91110         * iconvdata/testdata/CP774: New file.
91111         * iconvdata/testdata/CP774..UTF8: New file.
91113         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
91114         END CHARMAP line.
91115         * iconvdata/gen-8bit-gap.sh: Likewise.
91116         * iconvdata/gen-8bit.sh: Likewise.
91118         * locale/iso-639.def: Add ary entry.
91120         [BZ #11258]
91121         * locale/C-translit.h.in: Add U20A1 transliteration.
91123         [BZ #12178]
91124         * locale/iso-639.def: Add wae entry.
91125         Patch by Kevin Bortis <bortis@translate-wae.ch>.
91127         [BZ #12545]
91128         * locale/programs/localedef.c (construct_output_path): Use ssize_t
91129         for n.
91131         [BZ #12711]
91132         * locale/C-translit.h.in: Add entry for U20B9.
91133         Patch by pravin.d.s@gmail.com.
91135 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
91137         [BZ #12713]
91138         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
91139         ENAMETOOLONG use generic getcwd.
91140         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
91141         in rtld.  Use *stat64.
91142         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
91143         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
91144         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
91145         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
91146         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
91147         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
91148         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
91149         __fstatat64 macros.
91150         * include/dirent.h: Add libc_hidden_proto for rewinddir.
91151         * dirent/rewinddir.c: Add libc_hidden_def.
91152         * sysdeps/mach/hurd/rewinddir.c: Likewise.
91153         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
91155         * include/dirent.h (__alloc_dir): Add flags parameter.
91156         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
91157         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
91158         __alloc_dir.
91159         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
91160         from fdopendir if O_CLOEXEC is already set.
91162 2011-03-15  Alan Modra  <amodra@gmail.com>
91164         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
91165         l_tls_firstbyte_offset non-zero.  Save padding offset in
91166         l_tls_firstbyte_offset for later use.
91167         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
91168         freeing static tls block.
91170 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
91172         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
91173         where #ifdef was intended.  The intent is to prevent ARG_MAX from
91174         being defined by the kernel headers.
91176 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
91178         [BZ #12734]
91179         * resolv/resolv.h: Define RES_NOTLDQUERY.
91180         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
91181         no-tld-query and set RES_NOTLDQUERY.
91182         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
91183         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
91184         modern BIND to search name as TLD unless forbidden.
91186 2011-05-07  Petr Baudis  <pasky@suse.cz>
91187             Ulrich Drepper  <drepper@gmail.com>
91189         [BZ #12393]
91190         * elf/dl-load.c (fillin_rpath): Move trusted path check...
91191         (is_trusted_path): ...to here.
91192         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
91193         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
91194         using is_trusted_path_normalize() in setuid scripts.
91196 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
91198         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
91199         __BEGIN/__END_DECLS.
91201 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
91203         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
91204         NSS_STATUS_NOTFOUND if no record was found.
91206 2011-05-05  Andreas Schwab  <schwab@redhat.com>
91208         * sunrpc/Makefile (headers): Add rpc/netdb.h.
91209         (headers-not-in-tirpc): Remove rpc/netdb.h
91210         * resolv/netdb.h: Revert last change.
91212 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
91214         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
91215         circular dependency between libgcc.a and libc.a.
91217 2011-05-05  Andreas Schwab  <schwab@redhat.com>
91219         * resolv/netdb.h: Don't include <rpc/netdb.h>.
91220         * nis/Makefile: Don't install rpcsvc/*.
91221         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
91222         instead of <rpc/types.h>.
91223         (MAXHOSTNAMELEN): Define.
91225 2011-05-03  Andreas Schwab  <schwab@redhat.com>
91227         * elf/ldconfig.c (add_dir): Don't crash on empty path.
91229 2011-04-28  Maciej Babinski  <mbabinski@google.com>
91231         [BZ #12714]
91232         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
91233         gethostbyname4_r when IPv6 results are possible.
91235 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
91237         [BZ #12723]
91238         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
91239         _PC_PIPE_BUF handling.
91241 2011-04-30  Bruno Haible  <bruno@clisp.org>
91243         [BZ #12717]
91244         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
91245         * resolv/netdb.h (getnameinfo): Change type of flags parameter
91246         to 'int'.
91247         * inet/getnameinfo.c (getnameinfo): Likewise.
91249 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
91251         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
91252         to groups setting in database lookup.
91253         * nss/nsswitch.conf: Add initgroups entry.
91255 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
91257         [BZ #12685]
91258         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
91259         mode string.
91260         Patch by Eric Blake <eblake@redhat.com>.
91262 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
91264         * sunrpc/Makefile (need-export-routines): Add svc_run.
91265         (routines): Remove svc_run.
91266         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
91267         * sunrpc/clnt_perr.c (clnt_perrno): Export.
91268         * sunrpc/svc_run.c (svc_run): Likewise.
91269         * sunrpc/svc_udp.c (svcudp_create): Likewise.
91271 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
91273         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
91274         problem in reallocation in last patch.
91276 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
91278         * sunrpc/Makefile: Move inclusion of Rules.
91280 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
91282         * nss/nss_files/files-initgroups.c: New file.
91283         * nss/Makefile (libnss_files-routines): Add files-initgroups.
91284         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
91285         _nss_files_initgroups_dyn.
91287 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
91289         * elf/elf.h (R_ARM_IRELATIVE): Define.
91291 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
91293         * po/ru.po: Update from translation team.
91295 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
91297         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
91298         dependencies.
91300 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
91302         [BZ #12653]
91303         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
91304         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
91305         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
91306         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
91307         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
91309 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
91311         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
91312         differing bytes.
91313         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
91314         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
91315         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
91317 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
91319         [BZ #12420]
91320         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
91321         storing it.
91322         * stdlib/bug-getcontext.c: New file.
91323         * stdlib/Makefile: Add rules to build and run bug-getcontext.
91325 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
91327         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
91328         instructions into .machine "z9-109".
91329         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
91330         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
91332 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
91334         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
91335         between environment variables and auxiliary vector.
91337 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
91339         * Makefile: Add rules to build linkobj/libc.so.
91340         * include/libc-symbols.h: Define libc_hidden_nolink.
91341         * include/rpc/auth.h: Mark functions which are to be hidden.
91342         * include/rpc/auth_des.h: Likewise.
91343         * include/rpc/auth_unix.h: Likewise.
91344         * include/rpc/clnt.h: Likewise.
91345         * include/rpc/des_crypt.h: Likewise.
91346         * include/rpc/key_prot.h: Likewise.
91347         * include/rpc/pmap_clnt.h: Likewise.
91348         * include/rpc/pmap_prot.h: Likewise.
91349         * include/rpc/pmap_rmt.h: Likewise.
91350         * include/rpc/rpc_msg.h: Likewise.
91351         * include/rpc/svc.h: Likewise.
91352         * include/rpc/svc_auth.h: Likewise.
91353         * include/rpc/xdr.h: Likewise.
91354         * nis/Makefile: Link all DSOs against linkobj/libc.so.
91355         * nss/Makefile: Likewise.
91356         * sunrpc/Makefile: Don't install headers.  Build library with normal
91357         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
91358         * sunrpc/auth_des.c: Hide exported symbols by default, export some
91359         for the compat linking library.  Remove use of INTDEF/INTUSE.
91360         * sunrpc/auth_none.c: Likewise.
91361         * sunrpc/auth_unix.c: Likewise.
91362         * sunrpc/authdes_prot.c: Likewise.
91363         * sunrpc/authuxprot.c: Likewise.
91364         * sunrpc/clnt_gen.c: Likewise.
91365         * sunrpc/clnt_perr.c: Likewise.
91366         * sunrpc/clnt_raw.c: Likewise.
91367         * sunrpc/clnt_simp.c: Likewise.
91368         * sunrpc/clnt_tcp.c: Likewise.
91369         * sunrpc/clnt_udp.c: Likewise.
91370         * sunrpc/clnt_unix.c: Likewise.
91371         * sunrpc/des_crypt.c: Likewise.
91372         * sunrpc/des_soft.c: Likewise.
91373         * sunrpc/get_myaddr.c: Likewise.
91374         * sunrpc/key_call.c: Likewise.
91375         * sunrpc/key_prot.c: Likewise.
91376         * sunrpc/netname.c: Likewise.
91377         * sunrpc/pm_getmaps.c: Likewise.
91378         * sunrpc/pm_getport.c: Likewise.
91379         * sunrpc/pmap_clnt.c: Likewise.
91380         * sunrpc/pmap_prot.c: Likewise.
91381         * sunrpc/pmap_prot2.c: Likewise.
91382         * sunrpc/pmap_rmt.c: Likewise.
91383         * sunrpc/publickey.c: Likewise.
91384         * sunrpc/rpc_cmsg.c: Likewise.
91385         * sunrpc/rpc_common.c: Likewise.
91386         * sunrpc/rpc_dtable.c: Likewise.
91387         * sunrpc/rpc_prot.c: Likewise.
91388         * sunrpc/rpc_thread.c: Likewise.
91389         * sunrpc/rtime.c: Likewise.
91390         * sunrpc/svc.c: Likewise.
91391         * sunrpc/svc_auth.c: Likewise.
91392         * sunrpc/svc_authux.c: Likewise.
91393         * sunrpc/svc_raw.c: Likewise.
91394         * sunrpc/svc_run.c: Likewise.
91395         * sunrpc/svc_simple.c: Likewise.
91396         * sunrpc/svc_tcp.c: Likewise.
91397         * sunrpc/svc_udp.c: Likewise.
91398         * sunrpc/svc_unix.c: Likewise.
91399         * sunrpc/svcauth_des.c: Likewise.
91400         * sunrpc/xcrypt.c: Likewise.
91401         * sunrpc/xdr.c: Likewise.
91402         * sunrpc/xdr_array.c: Likewise.
91403         * sunrpc/xdr_float.c: Likewise.
91404         * sunrpc/xdr_intXX_t.c: Likewise.
91405         * sunrpc/xdr_mem.c: Likewise.
91406         * sunrpc/xdr_rec.c: Likewise.
91407         * sunrpc/xdr_ref.c: Likewise.
91408         * sunrpc/xdr_sizeof.c: Likewise.
91409         * sunrpc/xdr_stdio.c: Likewise.
91411 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
91413         [BZ #12650]
91414         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
91415         * sysdeps/ia64/dl-tls.h: Likewise.
91416         * sysdeps/powerpc/dl-tls.h: Likewise.
91417         * sysdeps/s390/dl-tls.h: Likewise.
91418         * sysdeps/sh/dl-tls.h: Likewise.
91419         * sysdeps/sparc/dl-tls.h: Likewise.
91420         * sysdeps/x86_64/dl-tls.h: Likewise.
91421         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
91423 2011-03-14  Andreas Schwab  <schwab@redhat.com>
91425         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
91426         rpath element also skip the following colon.
91427         (expand_dynamic_string_token): Add is_path parameter and pass
91428         down to DL_DST_REQUIRED and _dl_dst_substitute.
91429         (decompose_rpath): Call expand_dynamic_string_token with
91430         non-zero is_path.  Ignore empty rpaths.
91431         (_dl_map_object_from_fd): Call expand_dynamic_string_token
91432         with zero is_path.
91434 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
91436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
91437         Make cancelable.
91439 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
91441         [BZ #12655]
91442         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
91443         Patch by Filipe David Manana <fdmanana@apache.org>.
91445 2011-04-07  Andreas Schwab  <schwab@redhat.com>
91447         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
91448         Maintain aligned stack.
91449         (CHECK_RSP): Remove unused macro.
91451 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
91453         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
91454         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
91456 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
91458         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
91460         * include/features.h: Mention __USE_XOPEN2K8 in comment.
91462 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
91464         [BZ #12518]
91465         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
91466         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
91467         * sysdeps/x86_64/memmove.c: New file.
91468         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
91469         (memcpy): Renamed to ...
91470         (__new_memcpy): This.
91471         (memcpy): Provide GLIBC_2_14 memcpy.
91472         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
91473         (memcpy): Provide GLIBC_2_2_5 memcpy.
91475 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
91477         [BZ #12631]
91478         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
91480 2011-03-30  Andreas Schwab  <schwab@redhat.com>
91482         * misc/syncfs.c: New file.
91483         * misc/Makefile (routines): Add syncfs.
91484         * posix/unistd.h: Declare syncfs.
91485         * sysdeps/unix/syscalls.list: Add syncfs.
91487 2011-04-01  Andreas Schwab  <schwab@redhat.com>
91489         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
91490         open_by_handle_at.
91491         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
91492         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
91493         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
91494         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
91495         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
91496         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
91497         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
91499 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
91501         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
91502         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
91503         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
91504         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
91505         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
91506         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
91507         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
91509         * io/Makefile: Compile fallocate.c, fallocate64.c, and
91510         sync_file_range.c with -fexceptions.
91511         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
91512         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
91513         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
91514         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
91515         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
91516         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
91517         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
91518         sync_file_range as cancellation point
91519         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
91520         now a wrapper around __call_sync_file_range with cancellation handling.
91521         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
91522         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
91523         function name to __call_sync_file_range.
91524         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
91525         Add call_sync_file_range.
91527 2011-04-01  Andreas Schwab  <schwab@redhat.com>
91529         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
91530         bits/timex.h.
91532 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
91534         * iconv/iconv.h: Fix typo in comment.
91535         * io/fcntl.h: Likewise.
91536         * libio/stdio.h: Likewise.
91537         * posix/spawn.h: Likewise.
91538         * posix/unistd.h: Likewise.
91539         * stdlib/stdlib.h: Likewise.
91540         * time/time.h: Likewise.
91541         * wcsmbs/wchar.h: Likewise.
91543         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
91544         open_by_handle): Add.
91545         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
91546         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
91547         Augment a few comments.
91548         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
91549         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
91550         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
91551         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
91552         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
91553         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
91554         open_by_handle.
91556         * io/fcntl.h (AT_EMPTY_PATH): Define.
91558 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
91560         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
91561         * sysdeps/unix/sysv/linux/bits/time.h: New file.
91562         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
91563         to...
91564         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
91565         * Versions.def: Add GLIBC_2.14.
91566         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
91567         Export.
91569 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
91571         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
91572         round counter.
91573         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
91575 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
91577         [BZ #12597]
91578         * string/test-strncmp.c (do_page_test): New function.
91579         (check2): Likewise.
91580         (test_main): Call check2.
91581         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
91583 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
91585         [BZ #12587]
91586         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
91587         Handle cache information in CPU leaf 4.
91588         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
91590 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
91592         [BZ #12583]
91593         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
91594         character representation.
91595         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
91597 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
91599         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
91600         END(__isnan) to END(__isnanf) to match function entry point/label
91601         EALIGN(__isnanf,...).
91603 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
91605         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
91607 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
91609         [BZ #12510]
91610         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
91611         copy from the symbol referenced in the relocation to initialize the
91612         used variable.
91613         Patch by Piotr Bury <pbury@goahead.com>.
91614         * elf/Makefile: Add rules to build and tst-unique3.
91615         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
91616         * elf/tst-unique3.cc: New file.
91617         * elf/tst-unique3.h: New file.
91618         * elf/tst-unique3lib.cc: New file.
91619         * elf/tst-unique3lib2.cc: New file.
91621         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
91623 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
91625         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
91626         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
91627         to _start.
91629 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
91631         * elf/dl-load.c (_dl_map_object): If we are looking for the first
91632         to-be-loaded object along a path to loader is ld.so.
91634 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
91635             Ulrich Drepper  <drepper@gmail.com>
91637         * sysdeps/x86_64/memset.S: After aligning destination, code
91638         branches to different locations depending on the value of
91639         misalignment, when multiarch is enabled. Fix this.
91641 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
91643         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
91644         Set _x86_64_preferred_memory_instruction for AMD processsors.
91645         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
91646         Set bit_Prefer_SSE_for_memop for AMD processors.
91648 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
91650         * libio/fmemopen.c (fmemopen): Optimize a bit.
91652 2011-03-03  Andreas Schwab  <schwab@redhat.com>
91654         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
91656 2011-03-03  Roland McGrath  <roland@redhat.com>
91658         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
91660 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
91662         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
91663         __bzero_ultra1 instead of __memset_ultra1.
91665 2011-02-23  Andreas Schwab  <schwab@redhat.com>
91666             Ulrich Drepper  <drepper@gmail.com>
91668         [BZ #12509]
91669         * include/link.h (struct link_map): Add l_orig_initfini.
91670         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
91671         returning unsuccessfully.
91672         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
91673         close of a file loaded at startup, restore the original l_initfini
91674         list.
91675         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
91676         list, store the pointer.
91677         * elf/Makefile ($(objpfx)noload-mem): New rule.
91678         (noload-ENV): Define.
91679         (tests): Add $(objpfx)noload-mem.
91680         * elf/noload.c: Include <memcheck.h>.
91681         (main): Call mtrace.  Close all opened handles.
91683 2011-02-17  Andreas Schwab  <schwab@redhat.com>
91685         [BZ #12454]
91686         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
91687         dependencies are missing.
91689 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
91691         Fix __if_freereq crash: Unlike the generic version which uses free,
91692         Hurd needs munmap.
91693         * sysdeps/mach/hurd/ifreq.h: New file.
91695 2011-01-27  Petr Baudis  <pasky@suse.cz>
91696             Ulrich Drepper  <drepper@gmail.com>
91698         [BZ 12445]#
91699         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
91700         to extend_alloca().
91701         * stdio-common/bug23.c: New file.
91702         * stdio-common/Makefile (tests): Add bug23.
91704 2010-09-28  Andreas Schwab  <schwab@redhat.com>
91705             Ulrich Drepper  <drepper@gmail.com>
91707         [BZ #12489]
91708         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
91709         before performing relro protection.  At old place add assertion
91710         to make sure nothing changed.
91712 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
91713             Glauber de Oliveira Costa  <glommer@gmail.com>
91715         * elf/elf.h: Add new ARM TLS relocs.
91717 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
91719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
91720         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
91721         cast from r3.
91722         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
91723         'tests' variable.
91724         * sysdeps/wordsize-64/tst-writev.c: New file.
91726 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
91728         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
91729         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
91730         insns in _dl_start to prevent a TOC reference before relocs are
91731         resolved.
91733 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
91735         [BZ #12469]
91736         * Makeconfig: Remove RANLIB definition.
91737         * Makerules: Don't use RANLIB.
91738         * aclocal.m4: Remove ranlib test.
91739         * configure.in: No need to check for ranlib.
91740         * elf/rtld-Rules: Don't use RANLIB.
91742 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
91744         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
91745         protection macro.
91746         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
91747         inclusion protection macro.
91749         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
91750         SIGRTMIN and SIGRTMAX and print information in that case only when
91751         SIGRTMIN is defined.
91753 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
91755         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
91756         arginfo fn returning -1.
91758         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
91759         and thousands string is zero terminated.
91761 2011-02-03  Andreas Schwab  <schwab@redhat.com>
91763         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
91764         sysdeps/unix/sysv/linux/bits/socket.h.
91766 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
91768         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
91769         (__CPU_COUNT): Remove old macros.
91770         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
91771         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
91772         (__CPU_ALLOC, __CPU_FREE): Add macros.
91773         (__sched_cpualloc, __sched_cpufree): Add declarations.
91775 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
91777         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
91778         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
91779         * nscd/aicache.c (addhstaiX): Return timeout of added value.
91780         (readdhstai): Return value of addhstaiX call.
91781         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
91782         (addgrbyX): Return value returned by cache_addgr.
91783         (readdgrbyname): Return value returned by addgrbyX.
91784         (readdgrbygid): Likewise.
91785         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
91786         (addpwbyX): Return value returned by cache_addpw.
91787         (readdpwbyname): Return value returned by addhstbyX.
91788         (readdpwbyuid): Likewise.
91789         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
91790         (addservbyX): Return value returned by cache_addserv.
91791         (readdservbyname): Return value returned by addservbyX:
91792         (readdservbyport): Likewise.
91793         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
91794         (addhstbyX): Return value returned by cache_addhst.
91795         (readdhstbyname): Return value returned by addhstbyX.
91796         (readdhstbyaddr): Likewise.
91797         (readdhstbynamev6): Likewise.
91798         (readdhstbyaddrv6): Likewise.
91799         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
91800         (readdinitgroups): Return value returned by addinitgroupsX.
91801         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
91802         (prune_cache): Keep track of timeout value of re-added entries.
91803         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
91804         * nscd/nscd.h: Adjust prototypes of readd* functions.
91806 2011-02-04  Roland McGrath  <roland@redhat.com>
91808         * nis/nis_server.c (nis_servstate): Use the right name for 0.
91809         (nis_stats): Likewise.
91810         * nis/nis_modify.c (nis_modify): Likewise.
91811         * nis/nis_remove.c (nis_remove): Likewise.
91812         * nis/nis_add.c (nis_add): Likewise.
91814         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
91816         * posix/fnmatch_loop.c: Add some consts.
91818         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
91820 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
91822         [BZ #12460]
91823         * config.make.in (config-cflags-novzeroupper): Define.
91824         * configure.in: Substitute libc_cv_cc_novzeroupper.
91825         * elf/Makefile (AVX-CFLAGS): Define.
91826         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
91827         (CFLAGS-tst-auditmod4a.c): Likewise.
91828         (CFLAGS-tst-auditmod4b.c): Likewise.
91829         (CFLAGS-tst-auditmod6b.c): Likewise.
91830         (CFLAGS-tst-auditmod6c.c): Likewise.
91831         (CFLAGS-tst-auditmod7b.c): Likewise.
91832         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
91834 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
91836         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
91837         function to the callback.
91838         Patch partly by Jiri Olsa <jolsa@redhat.com>.
91840 2011-02-02  Andreas Schwab  <schwab@redhat.com>
91842         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
91843         of errno.
91845 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
91847         [BZ #11724]
91848         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
91849         of constructors.
91850         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
91851         of destructors.
91852         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
91854         [BZ #11724]
91855         * elf/Makefile: Add rules to build and run new test.
91856         * elf/tst-initorder.c: New file.
91857         * elf/tst-initorder.exp: New file.
91858         * elf/tst-initordera1.c: New file.
91859         * elf/tst-initordera2.c: New file.
91860         * elf/tst-initordera3.c: New file.
91861         * elf/tst-initordera4.c: New file.
91862         * elf/tst-initorderb1.c: New file.
91863         * elf/tst-initorderb2.c: New file.
91864         * elf/tst-order-a1.c: New file.
91865         * elf/tst-order-a2.c: New file.
91866         * elf/tst-order-a3.c: New file.
91867         * elf/tst-order-a4.c: New file.
91868         * elf/tst-order-b1.c: New file.
91869         * elf/tst-order-b2.c: New file.
91870         * elf/tst-order-main.c: New file.
91871         New test case by George Gensure <werkt0@gmail.com>.
91873 2010-10-01  Andreas Schwab  <schwab@redhat.com>
91875         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
91876         decoding ACE if AI_CANONIDN.
91878 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
91880         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
91882 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
91884         * version.h (RELEASE): Bump for 2.13 release.
91885         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
91887         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
91889         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
91890         MADV_NOHUGEPAGE.
91891         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
91892         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
91893         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
91894         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
91895         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
91896         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
91898         * posix/getconf.c: Update copyright year.
91899         * catgets/gencat.c: Likewise.
91900         * csu/version.c: Likewise.
91901         * debug/catchsegv.sh: Likewise.
91902         * debug/xtrace.sh: Likewise.
91903         * elf/ldconfig.c: Likewise.
91904         * elf/ldd.bash.in: Likewise.
91905         * elf/sprof.c (print_version): Likewise.
91906         * iconv/iconv_prog.c: Likewise.
91907         * iconv/iconvconfig.c: Likewise.
91908         * locale/programs/locale.c: Likewise.
91909         * locale/programs/localedef.c: Likewise.
91910         * malloc/memusage.sh: Likewise.
91911         * malloc/mtrace.pl: Likewise.
91912         * nscd/nscd.c (print_version): Likewise.
91913         * nss/getent.c: Likewise.
91915         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
91916         PF_CAIF, and PF_ALG.
91917         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
91919 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
91921         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
91922         (modules-names): Use them.
91923         (ifunc-test-modules, ifunc-pie-tests): Define.
91924         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
91925         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
91926         (test-extras): Likewise.
91927         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
91928         $(compile-command.c).
91929         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
91930         (all-built-dso): Define.
91931         (check-textrel.out, check-execstack.out): Depend on it.
91933         * configure.in: Don't override --enable-multi-arch.
91935 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
91937         [BZ #6812]
91938         * nscd/hstcache.c (tryagain): Define.
91939         (cache_addhst): Return tryagain not notfound for temporary errors.
91940         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
91941         failed.
91943 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
91945         [BZ #10563]
91946         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
91947         to make the syscall.
91948         * sysdeps/unix/sysv/linux/setgroups.c: New file.
91950         [BZ #12378]
91951         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
91952         and fall back to matching as normal character if the string ends before
91953         the matching ']' is found.  This is what POSIX requires.
91954         * posix/testfnm.c: Adjust test result.
91955         * posix/globtest.sh: Adjust test result.  Add new test.
91956         * posix/tst-fnmatch.input: Likewise.
91957         * posix/tst-fnmatch2.c: Add new test.
91959 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
91961         * elf/Makefile (check-execstack): Revert last change.  Depend on
91962         check-execstack.h.
91963         (check-execstack.h): New target.
91964         (generated): Add check-execstack.h.
91965         * elf/check-execstack.c: Include "check-execstack.h".
91966         (main): Revert last change.
91967         (handle_file): Return zero if GNU_STACK is absent and
91968         DEFAULT_STACK_PERMS doesn't include PF_X.
91970 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
91972         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
91973         in child fails because the descriptor is already closed.
91974         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
91975         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
91976         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
91978         [BZ #12397]
91979         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
91980         syscall.
91982         [BZ #10484]
91983         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
91984         temporary buffer used to handle multi lookups locally.
91985         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
91987 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
91989         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
91990         loader is ld.so.
91992 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
91994         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
91995         alignment for SSE2.
91997 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
91999         [BZ #12394]
92000         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
92001         characters.  When rounding increased number of integer digits recompute
92002         number of groups.
92003         * stdio-common/tst-grouping.c: New file.
92004         * stdio-common/Makefile: Add rules to build and run tst-grouping.
92006 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
92008         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
92009         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
92011         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
92012         void.
92013         * bits/select.h: Likewise.
92015 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
92017         * po/ja.po: Update from translation team.
92019 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
92021         [BZ #11155]
92022         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
92023         implementation just like for lxstat, fxstatat, et al.
92025 2010-12-27  Jim Meyering  <meyering@redhat.com>
92027         [BZ #12348]
92028         * posix/regexec.c (build_trtable): Return failure indication upon
92029         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
92031 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
92033         [BZ #12201]
92034         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
92035         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
92036         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
92037         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
92039         [BZ #12207]
92040         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
92042         [BZ #12204]
92043         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
92044         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
92046 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
92048         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
92049         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
92050         script has SORT_BY_INIT_PRIORITY.
92051         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
92052         NO_CTORS_DTORS_SECTIONS is defined.
92053         * elf/soinit.c: Likewise.
92054         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
92055         NO_CTORS_DTORS_SECTIONS is defined.
92056         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
92057         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
92058         * sysdeps/sh/init-first.c: Likewise.
92059         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
92061 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
92063         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
92064         always use the slow path.
92066 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
92068         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
92069         similar rule which adds the sysdep directories to the header search in
92070         order to pick up the correct platform stackinfo.h.
92071         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
92072         perform test if it is, otherwise return successfully without testing.
92073         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
92074         DEFAULT_STACK_PERMS define in stackinfo.h.
92075         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
92076         defined in stackinfo.h.
92077         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
92078         DEFAULT_STACK_PERMS defined in stackinfo.h.
92079         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
92080         * sysdeps/ia64/stackinfo.h: Likewise.
92081         * sysdeps/s390/stackinfo.h: Likewise.
92082         * sysdeps/sh/stackinfo.h: Likewise.
92083         * sysdeps/sparc/stackinfo.h: Likewise.
92084         * sysdeps/x86_64/stackinfo.h: Likewise.
92085         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
92086         PF_X for powerpc64.  Retain PF_X for powerpc32.
92088 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
92090         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
92091         accurately.
92092         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
92093         GETDENTS_64BIT_ALIGNED.
92095 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
92097         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
92099 2010-12-10  Andreas Schwab  <schwab@redhat.com>
92101         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
92102         _GNU_SOURCE.
92104         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
92105         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
92106         Remove __restrict.
92107         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
92108         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
92110 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
92112         [BZ #11655]
92113         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
92114         are initialized.
92116 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
92118         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
92120 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
92122         * po/it.po: Update from translation team.
92124 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
92126         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
92127         unused codes.
92129 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
92131         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
92133 2010-11-24  Andreas Schwab  <schwab@redhat.com>
92135         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
92136         specially.
92137         (gaih_getanswer_slice): Likewise.
92139 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
92141         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
92143 2010-05-31  Petr Baudis  <pasky@suse.cz>
92145         [BZ #11149]
92146         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
92147         silently even in the chroot mode.
92149 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
92151         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
92152         last patch a bit.  Pretty printing
92154 2010-05-31  Petr Baudis <pasky@suse.cz>
92156         [BZ #10085]
92157         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
92158         initialization of skip_initgroups_dyn.
92160 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
92162         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
92163         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
92165 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
92167         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
92169 2010-11-11  Andreas Schwab  <schwab@redhat.com>
92171         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
92172         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
92173         (tst-fnmatch-ENV): Set MALLOC_TRACE.
92174         ($(objpfx)tst-fnmatch-mem): New rule.
92175         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
92176         * posix/tst-fnmatch.c (main): Call mtrace.
92178 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
92180         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
92181         Support Intel processor model 6 and model 0x2c.
92183 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
92185         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
92186           signed comparison.
92188 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
92190         [BZ #12205]
92191         * string/test-strncasecmp.c (check_result): New function.
92192         (do_one_test): Use it.
92193         (check1): New function.
92194         (test_main): Use it.
92195         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
92196         Support strcasecmp and strncasecmp.
92198 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
92200         [BZ #12194]
92201         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
92202         * sysdeps/x86_64/bits/byteswap.h: Likewise.
92204 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
92206         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
92207         IFUNC support.
92208         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
92209         memset-x86-64.
92210         * sysdeps/x86_64/multiarch/bzero.S: New file.
92211         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
92212         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
92213         * sysdeps/x86_64/multiarch/memset.S: New file.
92214         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
92215         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
92216         Set bit_Prefer_SSE_for_memop for Intel processors.
92217         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
92218         Define.
92219         (index_Prefer_SSE_for_memop): Define.
92220         (HAS_PREFER_SSE_FOR_MEMOP): Define.
92222 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
92224         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
92225         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
92227 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
92229         [BZ #12191]
92230         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
92231         (__x86_64_raw_data_cache_size_half): Likewise.
92232         (__x86_64_raw_shared_cache_size): Likewise.
92233         (__x86_64_raw_shared_cache_size_half): Likewise.
92235         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
92236         (__x86_64_raw_data_cache_size_half): Likewise.
92237         (__x86_64_raw_shared_cache_size): Likewise.
92238         (__x86_64_raw_shared_cache_size_half): Likewise.
92239         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
92240         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
92241         and __x86_64_raw_shared_cache_size_half.  Round
92242         __x86_64_data_cache_size_half, __x86_64_data_cache_size
92243         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
92244         to multiple of 256 bytes.
92246 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
92248         [BZ #12167]
92249         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
92250         of inacessible symlinks.  Verify result of symlink before returning it.
92251         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
92252         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
92254 2010-10-28  Erich Ritz  <erichritz@gmail.com>
92256         * math/math.h (isinf): Fix typo in comment.
92258 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
92260         * po/da.po: Update from translation team.
92262 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
92264         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
92265         is added to the list.
92267 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
92268             Ulrich Drepper  <drepper@gmail.com>
92270         * elf/dl-object.c (_dl_new_object): Don't append the new object to
92271         the global list here.  Move code to...
92272         (_dl_add_to_namespace_list): ...here.  New function.
92273         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
92274         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
92275         * elf/dl-load.c (lose): Don't remove the element from the list.
92276         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
92277         (_dl_map_object): Likewise.
92279 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
92281         [BZ #12159]
92282         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
92283         into all bytes of SSE register.
92284         Patch by Richard Li <richardpku@gmail.com>.
92286 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
92288         [BZ #12140]
92289         * malloc/malloc.c (_int_free): Fill correct number of bytes when
92290         perturbing.
92292 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
92294         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
92295         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
92296         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
92297         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
92298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
92299         submachine.
92300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
92302 2010-10-22  Andreas Schwab  <schwab@redhat.com>
92304         * include/dlfcn.h (__RTLD_SECURE): Define.
92305         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
92306         mode & __RTLD_SECURE instead.
92307         (open_path): Rename preloaded parameter to secure.
92308         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
92309         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
92310         * elf/dl-deps.c (openaux): Likewise.
92311         * elf/rtld.c (struct map_args): Remove is_preloaded.
92312         (map_doit): Don't use it.
92313         (dl_main): Likewise.
92314         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
92315         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
92317 2010-09-09  Andreas Schwab  <schwab@redhat.com>
92319         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
92320         (sysd-rules-targets): Remove duplicates.
92321         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
92322         rtld-%.$o dependency.
92324 2010-10-18  Andreas Schwab  <schwab@redhat.com>
92326         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
92327         _dl_map_object do it.
92329 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
92331         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
92332         fast fma builtins, define the macros in the C99 standard.
92333         (FP_FAST_FMAF): Likewise.
92334         (FP_FAST_FMAL): Likewise.
92335         * sysdeps/x86_64/bits/mathdef.h: Likewise.
92337         * bits/mathdef.h: Update copyright year.
92338         * sysdeps/powerpc/bits/mathdef.h: Likewise.
92340 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
92342         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
92343         builtins, define the macros in the C99 standard.
92344         (FP_FAST_FMAF): Likewise.
92345         (FP_FAST_FMAL): Likewise.
92346         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
92347         multiply/add.
92348         (FP_FAST_FMAF): Likewise.
92350 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
92352         [BZ #3268]
92353         * math/libm-test.inc (fma_test): Some new testcases.
92354         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
92355         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
92356         y and infinite z.  Do multiplication by C already in long double.
92357         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
92358         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
92359         y and infinite z.  Do bitwise or of inexact bit into u.d.
92360         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
92361         * sysdeps/i386/fpu/s_fmaf.S: Removed.
92362         * sysdeps/i386/fpu/s_fma.S: Removed.
92363         * sysdeps/i386/fpu/s_fmal.S: Removed.
92365 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
92367         [BZ #3268]
92368         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
92369         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
92370         computation is not scheduled after fetestexcept.  Fix value
92371         of minimum denormal long double.
92373 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
92375         [BZ #3268]
92376         * math/libm-test.inc (fma_test): Add some more tests.
92377         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
92378         correctly.
92380 2010-10-15  Andreas Schwab  <schwab@redhat.com>
92382         * scripts/data/localplt-s390-linux-gnu.data: New file.
92383         * scripts/data/localplt-s390x-linux-gnu.data: New file.
92385 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
92387         [BZ #3268]
92388         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
92389         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
92390         instead of dbl-64.
92391         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
92392         inlines.
92393         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
92394         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
92395         if one of x and y is very large and the other is subnormal.
92396         * sysdeps/s390/fpu/s_fmaf.c: New file.
92397         * sysdeps/s390/fpu/s_fma.c: New file.
92398         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
92399         * sysdeps/powerpc/fpu/s_fma.S: New file.
92400         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
92401         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
92402         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
92404 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
92406         [BZ #3268]
92407         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
92408         fma tests.
92409         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
92410         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
92411         * sysdeps/i386/i686/multiarch/s_fma.c: Include
92412         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
92413         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
92414         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
92415         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
92417 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
92419         [BZ #12078]
92420         * posix/regcomp.c (parse_branch): One more memory leak plugged.
92421         * posix/bug-regex31.input: Add test case.
92423 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
92425         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
92426         * posix/bug-regex31.input: New file.
92428         [BZ #12078]
92429         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
92430         (parse_sub_exp): Fix last change, use postorder.
92432         * posix/bug-regex31.c: New file.
92433         * posix/Makefile: Add rules to build and run bug-regex31.
92435         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
92437         [BZ #12078]
92438         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
92440         [BZ #12108]
92441         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
92442         to have entries in sys_siglist.
92444         [BZ #12093]
92445         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
92446         be NULL.
92448 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
92450         [BZ #3268]
92451         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
92452         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
92453         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
92454         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
92455         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
92456         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
92457         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
92458         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
92459         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
92460         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
92461         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
92462         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
92463         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
92464         * math/ftestexcept.c (fetestexcept): Likewise.
92465         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
92466         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
92467         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
92468         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
92469         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
92470         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
92471         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
92473 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
92475         [BZ #12107]
92476         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
92477         newline.
92479 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
92481         * string/bug-strstr1.c: New file.
92482         * string/Makefile: Add rules to build and run bug-strstr1.
92484 2010-10-05  Eric Blake  <eblake@redhat.com>
92486         [BZ #12092]
92487         * string/str-two-way.h (two_way_long_needle): Always clear memory
92488         when skipping input due to the shift table.
92490 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
92492         [BZ #12005]
92493         * malloc/mcheck.c: Handle large requests.
92495         [BZ #12077]
92496         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
92497         for strncmp and strncasecmp.
92498         * string/stratcliff.c: Add tests for strcmp and strncmp.
92499         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
92501 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
92503         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
92504         __set_fpscr.
92506 2010-09-30  Andreas Jaeger  <aj@suse.de>
92508         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
92509         (CGROUP_SUPER_MAGIC): Define.
92510         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
92511         Handle btrfs and cgroup file systems.
92512         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
92513         Likewise.
92515 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
92517         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
92518         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
92520 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
92522         [BZ #12067]
92523         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
92524         trying to locate the ELF header.
92526 2010-09-27  Andreas Schwab  <schwab@redhat.com>
92528         [BZ #11611]
92529         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
92530         Mask out sign-bit copies when constructing f_fsid.
92532 2010-09-24  Petr Baudis <pasky@suse.cz>
92534         * debug/stack_chk_fail_local.c: Add missing licence exception.
92535         * debug/warning-nop.c: Likewise.
92537 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
92539         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
92540         implementing getdents64 using getdents syscall, set d_type if
92541         __ASSUME_GETDENTS32_D_TYPE.
92543 2010-09-16  Andreas Schwab  <schwab@redhat.com>
92545         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
92546         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
92548 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
92550         [BZ #12037]
92551         * posix/unistd.h: Undo change of feature selection for ftruncate from
92552         2010-01-11.
92554 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
92556         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
92557         detection.
92559 2010-09-20  Andreas Schwab  <schwab@redhat.com>
92561         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
92562         fanotify_mark.
92563         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
92565 2010-09-14  Andreas Schwab  <schwab@redhat.com>
92567         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
92568         variables after CHECK_SP call.
92569         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
92571 2010-09-13  Andreas Schwab  <schwab@redhat.com>
92572             Ulrich Drepper  <drepper@redhat.com>
92574         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
92575         re-relocationg ld.so.
92576         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
92577         _dl_init_paths call.
92578         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
92579         here anymore.
92581 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
92583         * resolv/res_init.c (__res_vinit): Count the default server we added.
92585 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
92586             Ulrich Drepper  <drepper@redhat.com>
92588         [BZ #11968]
92589         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
92590         (____longjmp_chk): Use %ebx for saving value across system call.
92591         Add unwind info.
92593 2010-09-06  Andreas Schwab  <schwab@redhat.com>
92595         * manual/Makefile: Don't mix pattern rules with normal rules.
92597 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
92599         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
92600         operation.
92601         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
92602         * libio/iofopncook.c (_IO_cookie_init): Likewise.
92603         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
92604         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
92605         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
92606         Likewise.
92608 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
92610         [BZ #11979]
92611         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
92612         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
92614 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
92616         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
92617         * sysdeps/x86_64/addmul_1.S: Likewise.
92618         * sysdeps/x86_64/lshift.S: Likewise.
92619         * sysdeps/x86_64/mul_1.S: Likewise.
92620         * sysdeps/x86_64/rshift.S: Likewise.
92621         * sysdeps/x86_64/sub_n.S: Likewise.
92622         * sysdeps/x86_64/submul_1.S: Likewise.
92624 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
92626         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
92627         Define __sched_param instead of SCHED_* and sched_param when
92628         <bits/sched.h> is included with __need_schedparam defined.
92629         * bits/sched.h [__need_schedparam]
92630         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
92631         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
92632         (__defined_schedparam): Define to 1.
92633         (__sched_param): New structure, identical to sched_param.
92634         (__need_schedparam): Undefine.
92636 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
92638         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
92639         (epoll_create1): Declare.
92641         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
92643 2010-08-31  Andreas Schwab  <schwab@redhat.com>
92645         [BZ #7066]
92646         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
92647         shifting retval into place.
92649 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
92651         * nis/rpcsvc/nis.h: Update copyright notice.
92652         * nis/rpcsvc/nis.x: Likewise.
92653         * nis/rpcsvc/nis_callback.h: Likewise.
92654         * nis/rpcsvc/nis_callback.x: Likewise.
92655         * nis/rpcsvc/nis_object.x: Likewise.
92656         * nis/rpcsvc/nis_tags.h: Likewise.
92657         * nis/rpcsvc/yp.h: Likewise.
92658         * nis/rpcsvc/yp.x: Likewise.
92659         * nis/rpcsvc/ypupd.h: Likewise.
92660         * nis/yp_xdr.c: Likewise.
92661         * nis/ypupdate_xdr.c: Likewise.
92663         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
92664         mainly the body of pmap_getport.  Add parameters to specify timeouts.
92665         (pmap_getport): Use __libc_rpc_getport.
92666         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
92667         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
92668         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
92670 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
92672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
92673         fanotify_mark.
92675 2010-08-27  Roland McGrath  <roland@redhat.com>
92677         * sysdeps/i386/i686/multiarch/Makefile
92678         (CFLAGS-varshift.c): New variable.
92680 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
92682         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
92683         * sysdeps/i386/i686/multiarch/varshift.c: New file.
92685         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
92687         * sysdeps/x86_64/strlen.S: Minimal code improvement.
92689 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
92691         * sysdeps/x86_64/strlen.S: Unroll the loop.
92692         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
92693         strlen-sse2 strlen-sse2-bsf.
92694         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
92695         __strlen_no_bsf if bit_Slow_BSF is set.
92696         (__strlen_sse42): Removed.
92697         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
92698         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
92700 2010-08-25  Roland McGrath  <roland@redhat.com>
92702         * sysdeps/x86_64/multiarch/varshift.S: File removed.
92703         * sysdeps/x86_64/multiarch/varshift.c: New file.
92704         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
92705         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
92706         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
92707         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
92709 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
92711         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
92712         strlen-sse2 strlen-sse2-bsf.
92713         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
92714         __strlen_sse2_bsf if bit_Slow_BSF is unset.
92715         (__strlen_sse2): Removed.
92716         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
92717         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
92718         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
92719         bit_Slow_BSF for Atom.
92720         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
92721         (index_Slow_BSF): Define.
92722         (HAS_SLOW_BSF): Define.
92724 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
92726         [BZ #10851]
92727         * resolv/res_init.c (__res_vinit): When no server address at all
92728         is given default to loopback.
92730 2010-08-24  Roland McGrath  <roland@redhat.com>
92732         * configure.in: Remove config-name.h generation.
92733         * configure: Regenerated.
92734         * config-name.in: File removed.
92735         * scripts/config-uname.sh: New file.
92736         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
92737         ($(objdir)config-name.h): New target.
92739         * sunrpc/rpc_parse.h: Avoid nested comment.
92741 2010-08-24  Richard Henderson  <rth@redhat.com>
92742             Ulrich Drepper  <drepper@redhat.com>
92743             H.J. Lu  <hongjiu.lu@intel.com>
92745         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
92746         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
92747         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
92748         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
92749         _mm_alignr_epi8 with _mm_loadu_si128.
92750         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
92751         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
92752         (__m128i_shift_right): Removed.
92753         * sysdeps/i386/i686/multiarch/varshift.h: New file.
92754         * sysdeps/i386/i686/multiarch/varshift.S: New file.
92755         * sysdeps/x86_64/multiarch/varshift.h: New file.
92756         * sysdeps/x86_64/multiarch/varshift.S: New file.
92758 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
92760         * configure.in: Move assembler checks to before sysdep dir checking.
92762 2010-08-20  Petr Baudis  <pasky@suse.cz>
92764         * LICENSES: Sync the sunrpc license.
92766 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
92768         * sunrpc/auth_des.c: Update copyright notice once again.
92769         * sunrpc/auth_none.c: Likewise.
92770         * sunrpc/auth_unix.c: Likewise.
92771         * sunrpc/authdes_prot.c: Likewise.
92772         * sunrpc/authuxprot.c: Likewise.
92773         * sunrpc/bindrsvprt.c: Likewise.
92774         * sunrpc/clnt_gen.c: Likewise.
92775         * sunrpc/clnt_perr.c: Likewise.
92776         * sunrpc/clnt_raw.c: Likewise.
92777         * sunrpc/clnt_simp.c: Likewise.
92778         * sunrpc/clnt_tcp.c: Likewise.
92779         * sunrpc/clnt_udp.c: Likewise.
92780         * sunrpc/clnt_unix.c: Likewise.
92781         * sunrpc/des_crypt.c: Likewise.
92782         * sunrpc/des_soft.c: Likewise.
92783         * sunrpc/get_myaddr.c: Likewise.
92784         * sunrpc/getrpcport.c: Likewise.
92785         * sunrpc/key_call.c: Likewise.
92786         * sunrpc/key_prot.c: Likewise.
92787         * sunrpc/openchild.c: Likewise.
92788         * sunrpc/pm_getmaps.c: Likewise.
92789         * sunrpc/pm_getport.c: Likewise.
92790         * sunrpc/pmap_clnt.c: Likewise.
92791         * sunrpc/pmap_prot.c: Likewise.
92792         * sunrpc/pmap_prot2.c: Likewise.
92793         * sunrpc/pmap_rmt.c: Likewise.
92794         * sunrpc/rpc/auth.h: Likewise.
92795         * sunrpc/rpc/auth_unix.h: Likewise.
92796         * sunrpc/rpc/clnt.h: Likewise.
92797         * sunrpc/rpc/des_crypt.h: Likewise.
92798         * sunrpc/rpc/key_prot.h: Likewise.
92799         * sunrpc/rpc/netdb.h: Likewise.
92800         * sunrpc/rpc/pmap_clnt.h: Likewise.
92801         * sunrpc/rpc/pmap_prot.h: Likewise.
92802         * sunrpc/rpc/pmap_rmt.h: Likewise.
92803         * sunrpc/rpc/rpc.h: Likewise.
92804         * sunrpc/rpc/rpc_des.h: Likewise.
92805         * sunrpc/rpc/rpc_msg.h: Likewise.
92806         * sunrpc/rpc/svc.h: Likewise.
92807         * sunrpc/rpc/svc_auth.h: Likewise.
92808         * sunrpc/rpc/types.h: Likewise.
92809         * sunrpc/rpc/xdr.h: Likewise.
92810         * sunrpc/rpc_clntout.c: Likewise.
92811         * sunrpc/rpc_cmsg.c: Likewise.
92812         * sunrpc/rpc_common.c: Likewise.
92813         * sunrpc/rpc_cout.c: Likewise.
92814         * sunrpc/rpc_dtable.c: Likewise.
92815         * sunrpc/rpc_hout.c: Likewise.
92816         * sunrpc/rpc_main.c: Likewise.
92817         * sunrpc/rpc_parse.c: Likewise.
92818         * sunrpc/rpc_parse.h: Likewise.
92819         * sunrpc/rpc_prot.c: Likewise.
92820         * sunrpc/rpc_sample.c: Likewise.
92821         * sunrpc/rpc_scan.c: Likewise.
92822         * sunrpc/rpc_scan.h: Likewise.
92823         * sunrpc/rpc_svcout.c: Likewise.
92824         * sunrpc/rpc_tblout.c: Likewise.
92825         * sunrpc/rpc_util.c: Likewise.
92826         * sunrpc/rpc_util.h: Likewise.
92827         * sunrpc/rpcinfo.c: Likewise.
92828         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
92829         * sunrpc/rpcsvc/key_prot.x: Likewise.
92830         * sunrpc/rpcsvc/klm_prot.x: Likewise.
92831         * sunrpc/rpcsvc/mount.x: Likewise.
92832         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
92833         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
92834         * sunrpc/rpcsvc/rex.x: Likewise.
92835         * sunrpc/rpcsvc/rstat.x: Likewise.
92836         * sunrpc/rpcsvc/rusers.x: Likewise.
92837         * sunrpc/rpcsvc/sm_inter.x: Likewise.
92838         * sunrpc/rpcsvc/spray.x: Likewise.
92839         * sunrpc/rpcsvc/yppasswd.x: Likewise.
92840         * sunrpc/rtime.c: Likewise.
92841         * sunrpc/svc.c: Likewise.
92842         * sunrpc/svc_auth.c: Likewise.
92843         * sunrpc/svc_authux.c: Likewise.
92844         * sunrpc/svc_raw.c: Likewise.
92845         * sunrpc/svc_run.c: Likewise.
92846         * sunrpc/svc_simple.c: Likewise.
92847         * sunrpc/svc_tcp.c: Likewise.
92848         * sunrpc/svc_udp.c: Likewise.
92849         * sunrpc/svc_unix.c: Likewise.
92850         * sunrpc/svcauth_des.c: Likewise.
92851         * sunrpc/xcrypt.c: Likewise.
92852         * sunrpc/xdr.c: Likewise.
92853         * sunrpc/xdr_array.c: Likewise.
92854         * sunrpc/xdr_float.c: Likewise.
92855         * sunrpc/xdr_mem.c: Likewise.
92856         * sunrpc/xdr_rec.c: Likewise.
92857         * sunrpc/xdr_ref.c: Likewise.
92858         * sunrpc/xdr_sizeof.c: Likewise.
92859         * sunrpc/xdr_stdio.c: Likewise.
92861         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
92862         handling.
92864 2010-08-19  Andreas Schwab  <schwab@redhat.com>
92866         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
92868 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
92870         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
92871         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
92872         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
92873         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
92874         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
92875         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
92876         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
92877         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
92878         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
92879         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
92880         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
92881         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
92882         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
92883         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
92885 2010-07-26  Anton Blanchard  <anton@samba.org>
92887         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
92888         * malloc/arena.c (heap_trim): Likewise.
92890 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
92892         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
92893         here.  Not...
92894         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
92895         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
92897 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
92899         * sysdeps/i386/elf/Makefile: New file.
92901 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
92903         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
92904         from fanotify_init.
92905         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
92906         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
92908 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
92910         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
92911         of strncasecmp_l.
92912         * sysdeps/multiarch/strcmp.S: Likewise.
92914 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
92916         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
92917         strncase_l-nonascii.
92918         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
92919         Add strncase_l-ssse3.
92920         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
92921         * sysdeps/x86_64/strcmp.S: Likewise.
92922         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
92923         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
92924         * sysdeps/x86_64/strncase.S: New file.
92925         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
92926         * sysdeps/x86_64/strncase_l.S: New file.
92927         * string/Makefile (strop-tests): Add strncasecmp.
92928         * string/test-strncasecmp.c: New file.
92930         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
92931         warning.
92933         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
92934         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
92936 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
92938         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
92940 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
92942         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
92943         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
92944         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
92946 2010-05-01  Alan Modra  <amodra@gmail.com>
92948         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
92949         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
92950         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
92951         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
92952         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
92953         tidying.  Don't tail-call __sigjmp_save for static lib.
92954         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
92955         save location.
92956         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
92957         (CALL_MCOUNT): Add eh info, and nop after bl.
92958         (TAIL_CALL_SYSCALL_ERROR): New macro.
92959         (PSEUDO_RET): Use it.
92960         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
92961         Correct save location of integer regs and cr.
92962         (_dl_profile_resolve): Correct cr save location.  Delete nops
92963         after bl when SHARED.  Reduce cfi size a little by better
92964         placement of cfi directives.
92965         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
92966         make a stack frame.  Instead use parm save area as a temp.
92967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
92968         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
92969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
92970         Don't make a stack frame for parent, use parm save area.
92971         Increase child stack frame to 112 bytes.  Don't save unused reg,
92972         and adjust reg usage.  Set up cfi on error recovery and
92973         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
92974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
92975         (__makecontext): Add dummy nop after jump to exit.
92976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
92977         Use correct parm save area and cr save, reduce stack frame.
92978         Correct cfi for possible PSEUDO_RET frame setup.
92979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
92980         Branch to local label emitted by PSEUDO_RET rather than
92981         __syscall_error.
92983 2010-08-12  Andreas Schwab  <schwab@redhat.com>
92985         [BZ #11904]
92986         * locale/programs/locale.c (print_assignment): New function.
92987         (show_locale_vars): Use it.
92989 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
92991         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
92992         field.
92993         (struct statfs64): Likewise.
92994         (_STATFS_F_FLAGS): Define.
92995         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
92996         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
92997         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
92998         (ST_VALID): Define locally.
92999         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
93000         __statvfs_getflags, use the provided value.
93001         * sysdeps/unix/sysv/linux/kernel-features.h: Define
93002         __ASSUME_STATFS_F_FLAGS.
93004         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
93006         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
93007         Add sys/fanotify.h.
93008         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
93009         fanotify_mask for GLIBC_2.13.
93010         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
93011         fanotify_init and fanotify_mark.
93012         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
93013         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
93015         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
93016         Add prlimit.
93017         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
93018         prlimit64 for GLIBC_2.13.
93019         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
93020         prlimit64.
93021         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
93022         syscall.
93023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
93024         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
93025         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
93026         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
93027         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
93028         add prlimit alias.
93029         * sysdeps/unix/sysv/linux/prlimit.c: New file.
93031         [BZ #11903]
93032         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
93033         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
93035         * nss/Makefile: Add rules to build and run tst-nss-test1.
93036         * shlib-versions: Add entry for libnss_test1.
93037         * nss/nss_test1.c: New file.
93038         * nss/tst-nss-test1.c: New file.
93040         * nss/nsswitch.c (__nss_database_custom): Define new variable.
93041         (__nss_configure_lookup): Set appropriate entry in
93042         __nss_configure_lookup to true.
93043         * nss/nsswitch.h: Define enum with indeces of databases in
93044         databases and __nss_database_custom arrays.  Declare
93045         __nss_database_custom.
93046         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
93047         to avoid using nscd when custom rules are installed.
93048         * nss/getXXbyYY_r.c: Likewise.
93049         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
93051         * nss/nss_files/files-parse.c: Whitespace fixes.
93053 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
93055         [BZ #11883]
93056         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
93057         * posix/fnmatch_loop.c: Likewise.
93059 2010-07-17  Andi Kleen  <ak@linux.intel.com>
93061         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
93062         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
93063         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
93064         * Versions.def [GLIBC_2.13]: Add.
93066 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
93068         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
93069         Also fail if tpwd after pwuid call is NULL.
93071 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
93073         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
93074         when converting to ms.
93076 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
93078         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
93079         EOPNOTSUPP errors with ENOTTY.
93080         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
93081         EOPNOTSUPP errors with ENOTTY.
93083 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
93085         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
93086         Add strcasecmp_l-ssse3.
93087         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
93088         strcasecmp.
93089         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
93090         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
93091         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
93093 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
93095         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
93097         * string/Makefile (strop-tests): Add strcasecmp.
93098         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
93099         strcasecmp_l-nonascii.
93100         (gen-as-const-headers): Add locale-defines.sym.
93101         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
93102         * sysdeps/x86_64/strcasecmp.S: New file.
93103         * sysdeps/x86_64/strcasecmp_l.S: New file.
93104         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
93105         * sysdeps/x86_64/locale-defines.sym: New file.
93106         * string/test-strcasecmp.c: New file.
93108         * string/test-strcasestr.c: Test both ends of the range of characters.
93109         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
93111 2010-07-29  Roland McGrath  <roland@redhat.com>
93113         [BZ #11856]
93114         * manual/locale.texi (Yes-or-No Questions): Fix example code.
93116 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
93118         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
93119         for ld.so.
93121 2010-07-27  Andreas Schwab  <schwab@redhat.com>
93123         * manual/memory.texi (Malloc Tunable Parameters): Document
93124         M_PERTURB.
93126 2010-07-26  Roland McGrath  <roland@redhat.com>
93128         [BZ #11840]
93129         * configure.in (-fgnu89-inline check): Set and substitute
93130         gnu89_inline, not libc_cv_gnu89_inline.
93131         * configure: Regenerated.
93132         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
93134 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
93136         * string/test-strnlen.c: New file.
93137         * string/Makefile (strop-tests): Add strnlen.
93138         * string/tester.c (test_strnlen): Add a few more test cases.
93139         * string/tst-strlen.c: Better error reporting.
93141         * sysdeps/x86_64/strnlen.S: New file.
93143 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
93145         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
93146         lower-latency instructions.
93148 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
93150         * string/test-strcasestr.c: New file.
93151         * string/test-strstr.c: New file.
93152         * string/Makefile (strop-tests): Add strstr and strcasestr.
93153         * string/str-two-way.h: Don't undefine MAX.
93154         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
93156 2010-07-21  Andreas Schwab  <schwab@redhat.com>
93158         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
93159         strcasestr-nonascii.
93160         (CFLAGS-strcasestr-nonascii.c): Define.
93161         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
93162         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
93163         Remove unused attribute.
93165 2010-07-20  Roland McGrath  <roland@redhat.com>
93167         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
93168         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
93169         ld.so.cache was broken.  With it, there is no way to disable dsocaps
93170         like LD_HWCAP_MASK can disable hwcaps.
93172 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
93174         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
93176 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
93178         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
93179         call in strcasestr.
93180         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
93181         __strcasestr_sse42_nonascii.
93182         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
93183         strcasestr-nonascii.c.
93184         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
93186 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
93188         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
93189         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
93190         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
93191         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
93193 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
93195         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
93196         fcntl.
93198 2010-07-06  Andreas Schwab  <schwab@redhat.com>
93200         [BZ #11577]
93201         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
93202         dl_signal_cerror.
93204 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
93206         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
93207         _PC_PIPE_BUF using F_GETPIPE_SZ.
93209 2010-07-05  Roland McGrath  <roland@redhat.com>
93211         * manual/arith.texi (Rounding Functions): Fix rint description
93212         implicit in round description.
93214 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
93216         * elf/Makefile: Fix linking for a few tests to make recent linker
93217         happy.
93219 2010-06-30  Andreas Schwab  <schwab@redhat.com>
93221         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
93222         $(common-objpfx)libc_nonshared.a.
93224 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
93226         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
93227         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
93228         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
93229         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
93230         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
93231         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
93232         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
93233         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
93234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
93235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
93236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
93237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
93238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
93239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
93240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
93241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
93242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
93243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
93244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
93245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
93246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
93247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
93248         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
93249         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
93250         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
93251         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
93252         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
93253         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
93254         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
93255         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
93256         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
93257         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
93258         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
93259         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
93260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
93261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
93262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
93263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
93264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
93265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
93266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
93267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
93268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
93269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
93270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
93271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
93272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
93273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
93275 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
93277         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
93278         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
93279         * string/memmove.c (memmove): Renamed to ...
93280         (MEMMOVE): ...this.  Default to memmove.
93281         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
93282         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
93283         (END_CHK): Define.
93284         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
93285         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
93286         mempcpy-ssse3-back memmove-ssse3-back.
93287         * sysdeps/x86_64/multiarch/bcopy.S: New file .
93288         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
93289         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
93290         * sysdeps/x86_64/multiarch/memcpy.S: New file.
93291         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
93292         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
93293         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
93294         * sysdeps/x86_64/multiarch/memmove.c: New file.
93295         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
93296         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
93297         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
93298         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
93299         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
93300         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
93301         Define.
93302         (index_Fast_Copy_Backward): Define.
93303         (HAS_ARCH_FEATURE): Define.
93304         (HAS_FAST_REP_STRING): Define.
93305         (HAS_FAST_COPY_BACKWARD): Define.
93307 2010-06-21  Andreas Schwab  <schwab@redhat.com>
93309         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
93310         Restore proper fallback handling.
93312 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
93314         [BZ #11701]
93315         * posix/group_member.c (__group_member): Correct checking loop.
93317         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
93318         OOM in getpwuid_r correctly.  Return error number when the caller
93319         should return, otherwise -1.
93320         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
93321         call returning > 0 value.
93322         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
93324 2010-06-07  Andreas Schwab  <schwab@redhat.com>
93326         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
93327         libc_nonshared.a from targets in modules-names.
93329 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
93331         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
93332         requires it.
93334 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
93336         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
93337         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
93338         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
93339         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
93341 2010-06-02  Andreas Schwab  <schwab@redhat.com>
93343         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
93345 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
93347         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
93348         and F_GETPIPE_SZ.
93349         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
93350         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
93351         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
93352         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
93353         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
93354         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
93356 2010-06-14  Roland McGrath  <roland@redhat.com>
93358         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
93360 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
93362         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
93363         __REDIRECT followed by __THROW.
93364         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
93365         * posix/getopt.h (getopt): Likewise.
93367 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
93369         * hurd/lookup-at.c (__file_name_lookup_at): Accept
93370         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
93371         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
93372         in AT_FLAGS.
93373         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
93374         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
93376 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
93378         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
93380 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
93382         [BZ #11640]
93383         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93384         Properly check family and model.
93386 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
93388         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
93390 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
93392         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
93394 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
93396         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
93397         symbol reference.
93399 2010-05-19  Andreas Schwab  <schwab@redhat.com>
93401         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
93402         symbol reference.
93404 2010-05-21  Andreas Schwab  <schwab@redhat.com>
93406         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
93407         and internal_recvmmsg.
93408         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
93409         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
93410         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
93411         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
93413         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
93414         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
93415         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
93417 2010-05-20  Andreas Schwab  <schwab@redhat.com>
93419         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
93421 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
93423         POWER7 optimizations.
93424         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
93425         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
93427 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
93429         * version.h: Update for 2.13 development version.
93431 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
93433         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
93434         exceptions.  Return 0.
93436 2010-05-07  Roland McGrath  <roland@redhat.com>
93438         * elf/ldconfig.c (main): Add a const.
93440 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
93442         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
93443         (args_options): Add no-idn option.
93444         (ahosts_keys_int): Add idn_flags to ai_flags.
93445         (parse_option): Handle 'i' option to clear idn_flags.
93447         * malloc/malloc.c (_int_free): Possible race in the most recently
93448         added check.  Only act on the data if no current modification
93449         happened.
93451 See ChangeLog.17 for earlier changes.